prepare for 0.19
Some checks failed
github pages / deploy (push) Has been cancelled
build / build (4.08.x, ubuntu-latest) (push) Has been cancelled
build / build (4.14.x, ubuntu-latest) (push) Has been cancelled
build / build (5.03.x, ubuntu-latest) (push) Has been cancelled

This commit is contained in:
Simon Cruanes 2025-04-17 16:31:52 -04:00
parent d7a5cca1d4
commit 6203e7a4a7
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
5 changed files with 23 additions and 4 deletions

View file

@ -1,4 +1,23 @@
## 0.19
- feat(headers): `set` will not reallocate whole list if not needed
- feat(headers): use case insensitive comparison
- fix(response): do not override "content-length" in raw response
- feat pool: expose `acquire/release` for advanced uses
## 0.18
- feat: add ?head_middlewares to `create`
- add content-type header for prometheus endpoint
- new flag ?enable_logging to disable regular logs (not debug)
- new sublibrary to deal with multipart-form-data
- feat response: add `pp_with`; have `pp` hide set-cookie headers
- fix percent encoding for < 0x10 chars
- Processing to fix incompatible -O and gcc flags
- fix: make check for 'Connection: Upgrade' header case-insensitive
## 0.17 ## 0.17
- add optional middlewares to tiny_httpd_ws - add optional middlewares to tiny_httpd_ws

View file

@ -4,7 +4,7 @@
(authors c-cube) (authors c-cube)
(maintainers c-cube) (maintainers c-cube)
(version 0.18) (version 0.19)
(source (github c-cube/tiny_httpd)) (source (github c-cube/tiny_httpd))
(homepage https://github.com/c-cube/tiny_httpd/) (homepage https://github.com/c-cube/tiny_httpd/)
(license MIT) (license MIT)

View file

@ -27,7 +27,7 @@ val with_resource : 'a t -> ('a -> 'b) -> 'b
(** Low level control over the pool. (** Low level control over the pool.
This is easier to get wrong (e.g. releasing the same resource twice) This is easier to get wrong (e.g. releasing the same resource twice)
so use with caution. so use with caution.
@since NEXT_RELEASE *) @since 0.18 *)
module Raw : sig module Raw : sig
val acquire : 'a t -> 'a val acquire : 'a t -> 'a
val release : 'a t -> 'a -> unit val release : 'a t -> 'a -> unit

View file

@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead # This file is generated by dune, edit dune-project instead
opam-version: "2.0" opam-version: "2.0"
version: "0.18" version: "0.19"
synopsis: "Minimal HTTP server using threads" synopsis: "Minimal HTTP server using threads"
maintainer: ["c-cube"] maintainer: ["c-cube"]
authors: ["c-cube"] authors: ["c-cube"]

View file

@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead # This file is generated by dune, edit dune-project instead
opam-version: "2.0" opam-version: "2.0"
version: "0.18" version: "0.19"
synopsis: "Interface to camlzip for tiny_httpd" synopsis: "Interface to camlzip for tiny_httpd"
maintainer: ["c-cube"] maintainer: ["c-cube"]
authors: ["c-cube"] authors: ["c-cube"]