Tidy, feature-complete Web framework
Additions
Miscellaneous
.ocamlformat
(#225, Thomas Coopman).Additions
Dream.set_status
(67e91f1).Dream.stream
) and WebSockets (Dream.websocket
) unless ~close:false
is passed (cfacc84, prompted by Yawar Amin).Bugs fixed
Dream.form
should accept all Content-Type
s that have the right prefix (#203, Yawar Amin).Dream.set_cookie
should use SameSite=Lax
by default (#190, reported by Chas Emerick, Andrey Popp).camlp-streams
for OCaml 5.00.0 compatibility (#210, Patrick Ferris).Changes
Content-Length
and Transfer-Encoding
handling (2621045).Removals
Dream.content_length
middleware (2621045).Dream.lowercase_headers
middleware (5f50acf).Dream.version
accessor (2162ec7).Docs
alpha3
(#205, Thomas Haessle).Dream.form_result
constructor `Expired
(#206, Yawar Amin).~secret
(#207, reported by Tuomas Lukka).Major
t
-first style (#21).dream-pure
, to also be used in the client (2f40d67 to e106e6e, 037645f to 8652178, dd41df9, others).dream-httpaf
(110575d, acc2efc).?debug
by just using a different error handler (640a1b2).?https
to ?tls
(7320f87).Additions
sqlite:
scheme instead of sqlite3:
(#92, Anton Outkine).?csrf
to skip the CSRF check in Dream.form
, Dream.multipart
(#167, José Eduardo Monteiro).Dream.drop_cookie
(#169, Shawn McGinty).Dream.csrf_tag
, a less obtrustive replacement for Dream.form_tag
(#201, Yawar Amin).Bugs fixed
Dream.static
was setting Content-Type:
headers for non-existent files (#88, reported by Khoa Nguyen).Lwt_bytes
to minimize Unix dependencies (#107, Calascibetta Romain).Dream.redirect
~status
to only redirections (#130, Khoa Nguyen).Dream.redirect
: don't write Location
to the response body (b0f64df).SIGINT
(#151, Anton Outkine).SIGPIPE
on Windows (#158, Manas Jayanth).Examples
esy.json
(#65, Dennis Dang)..eml.html
usage (#68, Ryan Moore).esy.json
s to build on M1 (#163, Peter Mondlock).Documentation
sqlite3
URI in SQL snippet (#80, Khoa Nguyen).Changes
Dream.from_target
to Dream.split_target
(a3c1508).Dream.from_target_path
to Dream.from_path
(a3c1508).Dream.redirect
now needs a request
as argument (90bba6e).Dream.write
, Dream.write_bigstring
, Dream.verify_csrf_token
, Dream.send
, Dream.sql
(c1ba95a).Dream.identity
to Dream.no_middleware
(42625d1).multipart_form
instead of multipart-form-data
(#45, Calascibetta Romain).Dream.bigstring
to Dream.buffer
(1386bf3).Additions
r-graphql
(#51, Tom Ekander).w-live-reload
(#52, Thibaut Mattio).Dream.to_path
(a3c1508).Dream.from_filesystem
(#14).Dream.mime_lookup
(#14).Dream.no_route
(37a27c4).Fixes
Initial release.