Skip to content

Commit

Permalink
prepare for 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Jul 18, 2021
1 parent 6c810fb commit 9961bd1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

## 0.9

- support handlers that stream server-sent events to client

## 0.8

- bump to ocaml 4.04
Expand Down
6 changes: 3 additions & 3 deletions src/Tiny_httpd.mli
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ val add_path_handler_stream :
and {{: https://jvns.ca/blog/2021/01/12/day-36--server-sent-events-are-cool--and-a-fun-bug/}
this blog post}.
@since NEXT_RELEASE
@since 0.9
*)
module type SERVER_SENT_GENERATOR = sig
val set_headers : Headers.t -> unit
Expand All @@ -594,7 +594,7 @@ end

type server_sent_generator = (module SERVER_SENT_GENERATOR)
(** Server-sent event generator
@since NEXT_RELEASE *)
@since 0.9 *)

val add_route_server_sent_handler :
?accept:(unit Request.t -> (unit, Response_code.t * string) result) ->
Expand All @@ -612,7 +612,7 @@ val add_route_server_sent_handler :
This handler stays on the original thread (it is synchronous).
@since NEXT_RELEASE *)
@since 0.9 *)

(** {2 Run the server} *)

Expand Down
2 changes: 1 addition & 1 deletion tiny_httpd.opam
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
opam-version: "2.0"
version: "0.8"
version: "0.9"
authors: ["Simon Cruanes"]
maintainer: "[email protected]"
license: "MIT"
Expand Down
2 changes: 1 addition & 1 deletion tiny_httpd_camlzip.opam
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
opam-version: "2.0"
version: "0.8"
version: "0.9"
authors: ["Simon Cruanes"]
maintainer: "[email protected]"
license: "MIT"
Expand Down

0 comments on commit 9961bd1

Please sign in to comment.