mirror of
https://github.com/ocaml-multicore/eio.git
synced 2025-10-15 00:01:35 -04:00
Prepare release
This commit is contained in:
parent
a418022ab2
commit
0b56cec54f
52
CHANGES.md
52
CHANGES.md
@ -1,3 +1,55 @@
|
||||
## v0.3
|
||||
|
||||
API changes:
|
||||
|
||||
- `Net.accept_sub` is deprecated in favour of `accept_fork` (@talex5 #240).
|
||||
`Fiber.fork_on_accept`, which it used internally, has been removed.
|
||||
|
||||
- Allow short writes in `Read_source_buffer` (@talex5 #239).
|
||||
The reader is no longer required to consume all the data in one go.
|
||||
Also, add `Linux_eio.Low_level.writev_single` to expose this behaviour directly.
|
||||
|
||||
- `Eio.Unix_perm` is now `Eio.Dir.Unix_perm`.
|
||||
|
||||
New features:
|
||||
|
||||
- Add `Eio.Mutex` (@TheLortex @talex5 #223).
|
||||
|
||||
- Add `Eio.Buf_write` (@talex5 #235).
|
||||
This is a buffered writer for Eio sinks, based on Faraday.
|
||||
|
||||
- Add `Eio_mock` library for testing (@talex5 #228).
|
||||
At the moment it has mock flows and networks.
|
||||
|
||||
- Add `Eio_mock.Backend` (@talex5 #237 #238).
|
||||
Allows running tests without needing a dependency on eio_main.
|
||||
Also, as it is single-threaded, it can detect deadlocks in test code instead of just hanging.
|
||||
|
||||
- Add `Buf_read.{of_buffer, of_string, parse_string{,_exn}, return}` (@talex5 #225).
|
||||
|
||||
- Add `<*>` combinator to `Buf_read.Syntax` (@talex5 #227).
|
||||
|
||||
- Add `Eio.Dir.read_dir` (@patricoferris @talex5 #207 #218 #219)
|
||||
|
||||
Performance:
|
||||
|
||||
- Add `Buf_read` benchmark and optimise it a bit (@talex5 #230).
|
||||
|
||||
- Inline `Buf_read.consume` to improve performance (@talex5 #232).
|
||||
|
||||
Bug fixes / minor changes:
|
||||
|
||||
- Allow IO to happen even if a fiber keeps yielding (@TheLortex @talex5 #213).
|
||||
|
||||
- Fallback for `traceln` without an effect handler (@talex5 #226).
|
||||
`traceln` now works outside of an event loop too.
|
||||
|
||||
- Check for cancellation when creating a non-protected child context (@talex5 #222).
|
||||
|
||||
- eio_linux: handle EINTR when calling `getrandom` (@bikallem #212).
|
||||
|
||||
- Update to cmdliner.1.1.0 (@talex5 #190).
|
||||
|
||||
## v0.2
|
||||
|
||||
- Add support for UDP (@patricoferris #171).
|
||||
|
Loading…
x
Reference in New Issue
Block a user