prepare for 0.18

This commit is contained in:
Simon Cruanes 2025-04-11 15:07:12 -04:00
parent 3c9e505a45
commit f6daff24c0
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
7 changed files with 9 additions and 9 deletions

View file

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

View file

@ -170,7 +170,7 @@ val create :
used instead of the [addr] and [port]. If not passed in, those will be
used. This parameter exists since 0.10.
@param enable_logging if true and [Logs] is installed, log requests. Default true.
This parameter exists since NEXT_RELEASE. Does not affect debug-level logs.
This parameter exists since 0.18. Does not affect debug-level logs.
@param get_time_s obtain the current timestamp in seconds.
This parameter exists since 0.11.

View file

@ -14,4 +14,4 @@ val dummy : bool
val fully_disable : unit -> unit
(** Totally silence logs for tiny_httpd. With [Logs] installed this means setting
the level of the tiny_httpd source to [None].
@since NEXT_RELEASE *)
@since 0.18 *)

View file

@ -126,7 +126,7 @@ val pp_with :
Default is ["set-cookie"].
@param pp_body body printer
(default fully prints String bodies, but omits stream bodies)
@since NEXT_RELEASE *)
@since 0.18 *)
val pp : Format.formatter -> t -> unit
(** Pretty print the response. The exact format is not specified. *)

View file

@ -95,10 +95,10 @@ val create_from :
{!set_top_handler} to specify how to handle incoming requests.
@param buf_size size for buffers (since 0.11)
@param head_middlewares see {!add_head_middleware} for details (since NEXT_RELEASE)
@param head_middlewares see {!add_head_middleware} for details (since 0.18)
@param middlewares see {!add_middleware} for more details.
@param enable_logging if true and [Logs] is installed,
emit logs via Logs (since NEXT_RELEASE).
emit logs via Logs (since 0.18).
Default [true].
@since 0.14
@ -158,7 +158,7 @@ val add_head_middleware : t -> Head_middleware.t -> unit
(** Add a request-header only {!Head_middleware.t}.
This is called on requests, to modify them, and returns a new request
immediately.
@since NEXT_RELEASE *)
@since 0.18 *)
(** {2 Request handlers} *)

View file

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

View file

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