diff --git a/CHANGES.md b/CHANGES.md index 03390c50..6549798b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,10 @@ +## 0.16 + +- feat: add `Request.client_addr` accessor +- feat: add `tiny_httpd.prometheus`, a simple sub-library + to expose [prometheus](https://prometheus.io) metrics over HTTP. + ## 0.15 - fix: do not block in `accept`, enabling more graceful shutdown diff --git a/dune-project b/dune-project index 435b7f75..85c3cd36 100644 --- a/dune-project +++ b/dune-project @@ -4,7 +4,7 @@ (authors c-cube) (maintainers c-cube) -(version 0.15) +(version 0.16) (source (github c-cube/tiny_httpd)) (homepage https://github.com/c-cube/tiny_httpd/) (license MIT) diff --git a/src/Tiny_httpd_server.mli b/src/Tiny_httpd_server.mli index 621f6ed9..18c94ba2 100644 --- a/src/Tiny_httpd_server.mli +++ b/src/Tiny_httpd_server.mli @@ -129,7 +129,7 @@ module Request : sig val client_addr : _ t -> Unix.sockaddr (** Client address of the request. - @since NEXT_RELEASE *) + @since 0.16 *) val meth : _ t -> Meth.t (** Method for the request. *) diff --git a/tiny_httpd.opam b/tiny_httpd.opam index 955a14fe..72a1a50e 100644 --- a/tiny_httpd.opam +++ b/tiny_httpd.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "0.15" +version: "0.16" synopsis: "Minimal HTTP server using threads" maintainer: ["c-cube"] authors: ["c-cube"] diff --git a/tiny_httpd_camlzip.opam b/tiny_httpd_camlzip.opam index e9237299..b722c075 100644 --- a/tiny_httpd_camlzip.opam +++ b/tiny_httpd_camlzip.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "0.15" +version: "0.16" synopsis: "Interface to camlzip for tiny_httpd" maintainer: ["c-cube"] authors: ["c-cube"]