Skip to content

Commit

Permalink
Merge pull request ocsigen#904 from ocsigen/prepare-for-release-5-5-0
Browse files Browse the repository at this point in the history
Prepare for release 5 5 0
  • Loading branch information
raphael-proust authored Nov 26, 2021
2 parents d6b223e + bab52d9 commit 8cf56b8
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 27 deletions.
48 changes: 26 additions & 22 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,52 +1,56 @@
===== dev =====
===== 5.5.0 =====

====== Deprecations ======

* Lwt_main.yield and Lwt_unix.yield are deprecated in favor of the generic Lwt.pause, and Lwt_unix.auto_yield is deprecated in favor of the new Lwt_unix.auto_pause. Currently, Lwt_main.run resolves paused promises more frequently than yielded promises; the difference is unintended but existing applications could unintentionally depend on it (#855, #858, Favonia).
* Lwt_main.yield and Lwt_unix.yield are deprecated in favor of the generic Lwt.pause, and Lwt_unix.auto_yield is deprecated in favor of the new Lwt_unix.auto_pause. Currently, Lwt_main.run resolves paused promises more frequently than yielded promises; the difference is unintended but existing applications could unintentionally depend on it. (#855, #858, Favonia)

====== Fixes ======

* Use is_blocking in dup and dup2 to fix ENOTSOCK on Windows.
(#869, Antonin Décimo)
* Use is_blocking in dup and dup2 to fix ENOTSOCK on Windows. (#869, Antonin Décimo)

* Lwt_unix.lstat was incorrectly calling Unix.stat on Win32. Fixes
the behavior of Lwt_io.with_temp_dir following symlinks to
directories on Win32. (#883, Antonin Décimo)
* Lwt_unix.lstat was incorrectly calling Unix.stat on Win32. Fixes the behavior of Lwt_io.with_temp_dir following symlinks to directories on Win32. (#883, Antonin Décimo)

* Support deleting symlinks on Windows during cleanup of Lwt_io.with_temp_dir (#886, Antonin Décimo)
* Support deleting symlinks on Windows during cleanup of Lwt_io.with_temp_dir. (#886, Antonin Décimo)

* Lwt_react.S.l[2-6]_s used polymorphic equality which could cause errors when
handling functional values. (#893, Jérôme Vouillon)
* Lwt_react.S.l[2-6]_s used polymorphic equality which could cause errors when handling functional values. (#893, Jérôme Vouillon)

* On Windows, treat ERROR_BROKEN_PIPE on read as zero-read instead
of error. See OCaml PR #4790. (#898, Antonin Décimo)
* On Windows, treat ERROR_BROKEN_PIPE on read as zero-read instead of error. See OCaml PR #4790. (#898, Antonin Décimo)

* Fix compilation under MSVC by replacing Noreturn with CAMLnoreturn. (#880, #887, Nicolás Ojeda Bär)

====== Additions ======

* Lwt_bytes.blit_from_string: string complement of Lwt_bytes.blit (#882, Hugo Heuzard).
* Lwt_bytes.blit_from_string: string complement of Lwt_bytes.blit. (#882, Hugo Heuzard)

* Lwt_seq: a Seq-like data-structure with Lwt delayed nodes (#836, #842, Zach Shipko).
* Lwt_seq: a Seq-like data-structure with Lwt delayed nodes. (#836, #842, Zach Shipko)

* Lwt_unix.auto_pause: the replacement of Lwt_unix.auto_yield that uses Lwt.pause instead of Lwt_unix.yield (#855, #858, Favonia).
* Lwt_unix.auto_pause: the replacement of Lwt_unix.auto_yield that uses Lwt.pause instead of Lwt_unix.yield. (#855, #858, Favonia)

* Lwt_stream.return, Lwt_stream.return_lwt: singleton stream constructors (#864, Boning Dong).
* Lwt_stream.return, Lwt_stream.return_lwt: singleton stream constructors. (#864, Boning Dong)

* Add ?to_dir param from Unix.symlink to Lwt_unix.symlink wrapper (#884, Antonin Décimo).
* Add ?to_dir param from Unix.symlink to Lwt_unix.symlink wrapper. (#884, Antonin Décimo)

* Lwt_stream.of_lwt_seq to convert an Lwt-sequence into an Lwt-stream (#873)
* Lwt_stream.of_lwt_seq to convert an Lwt-sequence into an Lwt-stream. (#873)

* Support IPv6 (always) and PF_UNIX (with OCaml >= 4.14) socketpair on Windows (#870, #876, Antonin Décimo, David Allsopp).
* Support IPv6 (always) and PF_UNIX (with OCaml >= 4.14) socketpair on Windows. (#870, #876, Antonin Décimo, David Allsopp)

* In the Lwt_unix module, add `?cloexec:bool` optional arguments to functions that create file descriptors (`dup`, `dup2`, `pipe`, `pipe_in`, `pipe_out`, `socket`, `socketpair`, `accept`, `accept_n`). The `?cloexec` argument is simply forwarded to the wrapped Unix function (with OCaml >= 4.05, see PR ocaml/ocaml#650), or emulated as best-effort with `Unix.set_close_on_exec` on older OCaml versions (#327, #847, #872, #901, Antonin Décimo).
* In the Lwt_unix module, add `?cloexec:bool` optional arguments to functions that create file descriptors (`dup`, `dup2`, `pipe`, `pipe_in`, `pipe_out`, `socket`, `socketpair`, `accept`, `accept_n`). The `?cloexec` argument is simply forwarded to the wrapped Unix function (with OCaml >= 4.05, see PR ocaml/ocaml#650), or emulated as best-effort with `Unix.set_close_on_exec` on older OCaml versions. (#327, #847, #872, #901, Antonin Décimo)

* Lwt_domain: helpers for using domainslib from Lwt (#860, Sudha Parimala)
* Lwt_domain: helpers for using domainslib from Lwt. (#860, Sudha Parimala)

====== Misc ======

* Code quality improvement: remove an uneeded Obj.magic (#844, Benoit Montagu).
* Code quality improvement: remove an unneeded Obj.magic. (#844, Benoit Montagu)

* On Windows, use the Unicode API in C stubs and functions introduced in OCaml 4.06 to handle Unicode strings. Raise the minimum requirement to OCaml 4.06 (on Windows only). (#843, #903, Antonin Décimo)

* More complete coverage in the CI. (#890, #894, #896, Sora Morimoto)

* Code quality improvement: use exception pattern instead of try-with. (#895, Antonin Décimo)

* Code quality improvement: fix warnings on 4.13. (#899)


===== 5.4.2 =====

====== Bugs fixed ======
Expand Down
2 changes: 1 addition & 1 deletion lwt.opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ opam-version: "2.0"

synopsis: "Promises and event-driven I/O"

version: "5.4.2"
version: "5.5.0"
license: "MIT"
homepage: "https://github.com/ocsigen/lwt"
doc: "https://ocsigen.org/lwt"
Expand Down
2 changes: 1 addition & 1 deletion lwt_domain.opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ opam-version: "2.0"

synopsis: "Helpers for using Domainslib with Lwt"

version: "1.1.4"
version: "0.1.0"
license: "MIT"
homepage: "https://github.com/ocsigen/lwt"
doc: "https://ocsigen.org/lwt/dev/api/Lwt_domain"
Expand Down
2 changes: 1 addition & 1 deletion lwt_ppx.opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ opam-version: "2.0"

synopsis: "PPX syntax for Lwt, providing something similar to async/await from JavaScript"

version: "2.0.2"
version: "2.0.3"
license: "MIT"
homepage: "https://github.com/ocsigen/lwt"
doc: "https://ocsigen.org/lwt/dev/api/Ppx_lwt"
Expand Down
2 changes: 1 addition & 1 deletion lwt_ppx_let.opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ opam-version: "2.0"

synopsis: "Dummy package context for ppx_let tests"

version: "5.4.2"
version: "5.5.0"
license: "MIT"
homepage: "https://github.com/ocsigen/lwt"
doc: "https://ocsigen.org/lwt"
Expand Down
2 changes: 1 addition & 1 deletion lwt_react.opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ opam-version: "2.0"

synopsis: "Helpers for using React with Lwt"

version: "1.1.4"
version: "1.1.5"
license: "MIT"
homepage: "https://github.com/ocsigen/lwt"
doc: "https://ocsigen.org/lwt/dev/api/Lwt_react"
Expand Down

0 comments on commit 8cf56b8

Please sign in to comment.