Skip to content

Commit 3fe5755

Browse files
authored
Merge pull request #583 from talex5/release
Prepare release
2 parents b3b3c9f + d29cf2e commit 3fe5755

File tree

2 files changed

+59
-1
lines changed

2 files changed

+59
-1
lines changed

CHANGES.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,61 @@
1+
## v0.11
2+
3+
New features / API changes:
4+
5+
- Extend `Eio.Condition` API (@talex5 #563).
6+
- `loop_no_mutex` is a simpler and more efficient way to way for a condition.
7+
- `register_immediate` allows integration with other IO libraries.
8+
9+
- Expose `Eio.Stdenv.backend_id` (@bord-o #560, reviewed by @talex5).
10+
Useful in tests to report which backend is being used.
11+
12+
- Remove deprecated features (@talex5 #552, reviewed by @avsm).
13+
These were all already marked as deprecated in v0.10 and are now gone completely:
14+
- `Fiber.fork_sub`
15+
- `Eio_unix.{FD,Ipaddr,socketpair,getnameinfo}`
16+
- `Eio_linux.{FD,get_fd,get_fd_opt}`
17+
- `Eio_posix.Low_level.Fd`
18+
19+
- Allow calling `close` more than once (@talex5 #547, requested by @anmonteiro, reviewed by @patricoferris, @avsm).
20+
21+
- Add `close` to socket type (@talex5 #549).
22+
Simplifies the type signatures a bit by avoiding having to mention this everywhere.
23+
24+
Bug fixes:
25+
26+
- Fix handling of empty path strings (@talex5 #569, reported by @SGrondin).
27+
Using "" instead of "." in some places resulted in an error.
28+
29+
- eio_posix: fix update to watched FDs on cancel (@talex5 #574, reported and reviewed by @quernd).
30+
Cancelling the last watcher of an FD didn't remove it from the set passed to `poll`,
31+
which could result in constant wake-ups.
32+
33+
- eio_posix: fix `pread` at end-of-file (@talex5 #581, reported by @SGrondin).
34+
It tried to return 0 instead of `End_of_file`, triggering an assertion.
35+
36+
- eio_posix: don't reap non-Eio child processes (@talex5 #562).
37+
This allows spawning processes with e.g. the stdlib or Lwt
38+
(but see https://github.com/ocaml-multicore/lwt_eio/pull/19 for Lwt support).
39+
40+
- Preserve backtraces across `Domain_manager.run` (@talex5 #571).
41+
See https://github.com/ocaml/ocaml/issues/12362.
42+
43+
- Correct the backend selection for Cygwin (@dra27 #557).
44+
Use `eio_posix`, not `eio_windows` in this case.
45+
46+
Other changes:
47+
48+
- Simplify dune files with dune 3.9's `build_if` (@talex5 #582).
49+
50+
- Remove `Waiters` from `Eio_core` (@talex5 #567).
51+
`Eio.Switch` no longer uses this so it can finally be removed.
52+
53+
- Use `Fmt.Dump.signal` to format signals (@talex5, @MisterDA #543).
54+
55+
Documentation:
56+
57+
- Add some notes about thread-safety in the documentation (@talex5 #568).
58+
159
## v0.10
260

361
New features / API changes:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Additionally, modern operating systems provide high-performance alternatives to
7979
For example, Linux's io_uring system has applications write the operations they want to perform to a ring buffer,
8080
which Linux handles asynchronously.
8181

82-
Due to this, we anticipate many OCaml users will want to rewrite their IO code once OCaml 5.0 is released.
82+
Due to this, many OCaml users will want to rewrite their IO code.
8383
It would be very beneficial to use this opportunity to standardise a single concurrency API for OCaml,
8484
and we hope that Eio will be that API.
8585

0 commit comments

Comments
 (0)