[new release] eio (5 packages) (1.1) #25953
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Effect-based direct-style IO API for OCaml
CHANGES:
New features:
Add
Eio.Path.symlink
(@patricoferris Add symlink support ocaml-multicore/eio#715, reviewed by @talex5).Add
Eio.Pool.use ~never_block
(@SGrondin Add Eio.Pool.use ~never_block ocaml-multicore/eio#657, reviewed by @talex5).Add
Eio_unix.Net.import_socket_listening
(@alyssais Add Eio_unix.Net.import_socket_listening ocaml-multicore/eio#733).Add
Eio.Time.Timeout.sleep
(@talex5 Add Timeout.sleep ocaml-multicore/eio#726).Documentation:
Add
examples/fs
showing how to walk a directory tree (@talex5 Add examples/fs showing how to walk a directory tree ocaml-multicore/eio#730).README: explain that
read_all
reads until shutdown (@talex5 README: explain that read_all reads until shutdown ocaml-multicore/eio#717, reported by @Wenke-D).Use long dash in README title (@lucperkins Long dash in README title ocaml-multicore/eio#718).
Linux backend:
Require Linux >= 5.15 (@talex5 eio_linux: require Linux >= 5.15 ocaml-multicore/eio#720, reviewed by @SGrondin and @avsm).
Removes a work-around that required checking whether every flow was a tty.
Don't call submit immediately before wait (@talex5 eio_linux: don't call submit immediately before wait ocaml-multicore/eio#728).
This is slightly faster and makes the traces clearer.
Don't record submit events when there's nothing to submit (@talex5 eio_linux: don't record submit events when there's nothing to submit ocaml-multicore/eio#729).
Makes the traces a bit clearer.
Split flow into its own file (@talex5 eio_linux: split flow into its own file ocaml-multicore/eio#727).
Add work-around for signals race (@talex5 eio_linux: add work-around for signals race ocaml-multicore/eio#734).
POSIX backend:
Add
_BSD_SOURCE
flag to fix build on OpenBSD (@prgbln Add _BSD_SOURCE flag to fix eio_posix on OpenBSD. ocaml-multicore/eio#722).Fix sandboxed path resolution on OpenBSD (@jebrosen eio_posix: fix filesystem tests on OpenBSD ocaml-multicore/eio#723, reviewed by @talex5).
OpenBSD uses
ELOOP
when opening a symlink withO_NOFOLLOW
.Build and test:
Benchmarks: record uname, Eio backend, and number of cores (@talex5 Benchmarks: record uname, Eio backend, and number of cores ocaml-multicore/eio#719).
Update to MDX 2.4.1 for OCaml 5.2 (@talex5 Update to MDX 2.4.1 ocaml-multicore/eio#712).