Skip to content

Commit ac17e61

Browse files
committed
prepare for 0.13
1 parent c2b6ac2 commit ac17e61

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

CHANGES.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## 0.13
2+
3+
- feat: `Server.run` takes `?after_init` parameter
4+
- remove dep on ounit2 and qtest
5+
- expose `Response.make_void`
6+
- Add OPTIONS method
7+
- use ocamlformat on the code
8+
9+
- fix: SSE requires no body
10+
- fix: get addr/port from the current socket
11+
- fix: missing closing crlf in chunked streams
12+
- fix: module Html was not exposed
13+
- fix: close stream after Response.output
14+
- fix(tiny-httpd-vfs-pack): allow redirections when fetching resources
15+
116
## 0.12
217

318
- add dep on `seq`

src/Tiny_httpd_server.mli

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
It is possible to use a thread pool, see {!create}'s argument [new_thread].
77
8-
@since NEXT_RELEASE
8+
@since 0.13
99
*)
1010

1111
type buf = Tiny_httpd_buf.t
@@ -234,7 +234,7 @@ module Response : sig
234234

235235
val make_void : ?headers:Headers.t -> code:int -> unit -> t
236236
(** Return a response without a body at all.
237-
@since NEXT_RELEASE *)
237+
@since 0.13 *)
238238

239239
val make : ?headers:Headers.t -> (body, Response_code.t * string) result -> t
240240
(** [make r] turns a result into a response.
@@ -568,7 +568,7 @@ val run : ?after_init:(unit -> unit) -> t -> (unit, exn) result
568568
This returns [Ok ()] if the server exits gracefully, or [Error e] if
569569
it exits with an error.
570570
571-
@param after_init is called after the server starts listening. since NEXT_RELEASE .
571+
@param after_init is called after the server starts listening. since 0.13 .
572572
573573
*)
574574

tiny_httpd.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
opam-version: "2.0"
2-
version: "0.12"
2+
version: "0.13"
33
authors: ["Simon Cruanes"]
44
maintainer: "[email protected]"
55
license: "MIT"

tiny_httpd_camlzip.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
opam-version: "2.0"
2-
version: "0.12"
2+
version: "0.13"
33
authors: ["Simon Cruanes"]
44
maintainer: "[email protected]"
55
license: "MIT"

0 commit comments

Comments
 (0)