diff --git a/CHANGES.md b/CHANGES.md new file mode 100644 index 00000000..989bb10c --- /dev/null +++ b/CHANGES.md @@ -0,0 +1,18 @@ +# 1.0.0 + +This release brings support for OCaml 5.5 and marks the completed transition to the camlworks organization and, with it, more active maintenance. 1.0.0 does not mean that Dream is feature complete or bug free, only that we use semantic versioning from now on. Stay tuned for more regular releases in the future! + +Additions and improvements: +- Require an initialization call for `Dream.memory_sessions`. Fix `Dream.memory_sessions` when combined with `Dream.scope` (@boechat107, #385) +- Shut down server on SIGTERM/SIGINT even when running in docker (@yawaramin, #406) +- Clean up socket file before binding to it if started as Unix socket server (@yawaramin, #407) +- Add `post_connect` option to `sql_pool` (@gahr, #422) +- Suppress EML template detection inside OCaml comments (@MavenRain, #431) + +Miscellaneous: +- Move project to new camlworks organization (#417) +- Update dependencies and support OCaml 5.5 (@lthms, @bensmrs, #381, #415, #434, #439) +- Support latest Mirage version (@boechat107, @hannesm, #383, #393, #395) +- Improve documentation (@aantron, @sabine, @yawaramin, @funwithcthulhu, @blendux, #372, #391, #403, #404, #423, #433) +- Improve examples (@asymmetric, @mostafatouny, @yotamN, @yawaramin, #366, #370, #379, #380, #386, #405) +- CI fixes (#416, #418, #435) diff --git a/LICENSE.md b/LICENSE.md index c90d556c..e9cded04 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,4 +1,4 @@ -Copyright (c) 2021-2024, Anton Bachin +Copyright (c) 2021-2026, Anton Bachin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/docs/web/postprocess/index.ml b/docs/web/postprocess/index.ml index 35e901e4..232d47d4 100644 --- a/docs/web/postprocess/index.ml +++ b/docs/web/postprocess/index.ml @@ -1906,7 +1906,7 @@ let invalidate_session_expected = {|
- val memory_sessions : ?lifetime:float -> middleware + val memory_sessions : ?lifetime:float -> unit -> middleware
|} @@ -1951,8 +1951,7 @@ let graphiql_expected = {|
|} let sql_pool_expected = {|
- val sql_pool : ?size:int -> -?post_connect:((module Caqti_lwt.CONNECTION) -> (unit, Caqti_error.t) Stdlib.result promise) -> string -> middleware + val sql_pool : ?size:int -> ?post_connect:(Caqti_lwt.connection -> unit promise) -> string -> middleware
|} @@ -2383,7 +2382,7 @@ let pretty_print_signatures soup = "#val-all_session_fields" all_session_fields_expected ["string"; "list"]; link_stdlib_type "#val-invalidate_session" invalidate_session_expected ["unit"]; - link_stdlib_type "#val-memory_sessions" memory_sessions_expected ["float"]; + link_stdlib_type "#val-memory_sessions" memory_sessions_expected ["float"; "unit"]; link_stdlib_type "#val-cookie_sessions" cookie_sessions_expected ["float"]; link_stdlib_type "#val-sql_sessions" sql_sessions_expected ["float"]; link_stdlib_type "#val-session_id" session_id_expected ["string"]; @@ -2405,7 +2404,7 @@ let pretty_print_signatures soup = multiline "#val-graphql" graphql_expected graphql_replacement; link_stdlib_type "#val-graphiql" graphiql_expected ["string"]; - link_stdlib_type "#val-sql_pool" sql_pool_expected ["int"; "string"]; + link_stdlib_type "#val-sql_pool" sql_pool_expected ["int"; "string"; "unit"]; multiline "#val-sql" sql_expected sql_replacement; replace "#val-log" log_expected log_replacement; diff --git a/docs/web/templates/index.html b/docs/web/templates/index.html index 25c85f69..d434db8e 100644 --- a/docs/web/templates/index.html +++ b/docs/web/templates/index.html @@ -36,7 +36,7 @@
Tidy Web framework for OCaml and ReasonML