prepare for 0.15

This commit is contained in:
Simon Cruanes 2023-12-05 15:29:01 -05:00
parent db90017ae4
commit 0766f15fe2
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
5 changed files with 22 additions and 6 deletions

View file

@ -1,4 +1,10 @@
## 0.15
- fix: do not block in `accept`, enabling more graceful shutdown
- improve help message for tiny-httpd-vfs-pack
- security: zero out buffers from pool before reusing them
## 0.14 ## 0.14
- breaking: `set_top_handler` takes a stream request, for more generality - breaking: `set_top_handler` takes a stream request, for more generality

View file

@ -2,7 +2,9 @@
(name tiny_httpd) (name tiny_httpd)
(generate_opam_files true) (generate_opam_files true)
(version 0.14) (authors c-cube)
(maintainers c-cube)
(version 0.15)
(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)
@ -13,6 +15,8 @@
(tags (http thread server tiny_httpd http_of_dir simplehttpserver)) (tags (http thread server tiny_httpd http_of_dir simplehttpserver))
(depends (depends
seq seq
base-threads
result
(ocaml (>= 4.05)) (ocaml (>= 4.05))
(odoc :with-doc) (odoc :with-doc)
(conf-libcurl :with-test) (conf-libcurl :with-test)
@ -23,6 +27,6 @@
(name tiny_httpd_camlzip) (name tiny_httpd_camlzip)
(synopsis "Interface to camlzip for tiny_httpd") (synopsis "Interface to camlzip for tiny_httpd")
(depends (depends
(tiny_httpd_camlzip (= :version)) (tiny_httpd (= :version))
(camlzip (>= 1.06)) (camlzip (>= 1.06))
(odoc :with-doc))) (odoc :with-doc)))

View file

@ -15,7 +15,7 @@ val contents : t -> string
val clear_and_zero : t -> unit val clear_and_zero : t -> unit
(** Clear the buffer and zero out its storage. (** Clear the buffer and zero out its storage.
@since NEXT_RELEASE *) @since 0.15 *)
val bytes_slice : t -> bytes val bytes_slice : t -> bytes
(** Access underlying slice of bytes. (** Access underlying slice of bytes.

View file

@ -1,7 +1,9 @@
# 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.14" version: "0.15"
synopsis: "Minimal HTTP server using threads" synopsis: "Minimal HTTP server using threads"
maintainer: ["c-cube"]
authors: ["c-cube"]
license: "MIT" license: "MIT"
tags: [ tags: [
"http" "thread" "server" "tiny_httpd" "http_of_dir" "simplehttpserver" "http" "thread" "server" "tiny_httpd" "http_of_dir" "simplehttpserver"
@ -11,6 +13,8 @@ bug-reports: "https://github.com/c-cube/tiny_httpd/issues"
depends: [ depends: [
"dune" {>= "2.9"} "dune" {>= "2.9"}
"seq" "seq"
"base-threads"
"result"
"ocaml" {>= "4.05"} "ocaml" {>= "4.05"}
"odoc" {with-doc} "odoc" {with-doc}
"conf-libcurl" {with-test} "conf-libcurl" {with-test}

View file

@ -1,13 +1,15 @@
# 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.14" version: "0.15"
synopsis: "Interface to camlzip for tiny_httpd" synopsis: "Interface to camlzip for tiny_httpd"
maintainer: ["c-cube"]
authors: ["c-cube"]
license: "MIT" license: "MIT"
homepage: "https://github.com/c-cube/tiny_httpd/" homepage: "https://github.com/c-cube/tiny_httpd/"
bug-reports: "https://github.com/c-cube/tiny_httpd/issues" bug-reports: "https://github.com/c-cube/tiny_httpd/issues"
depends: [ depends: [
"dune" {>= "2.9"} "dune" {>= "2.9"}
"tiny_httpd_camlzip" {= version} "tiny_httpd" {= version}
"camlzip" {>= "1.06"} "camlzip" {>= "1.06"}
"odoc" {with-doc} "odoc" {with-doc}
] ]