Skip to content

Commit 2291cb2

Browse files
authored
Merge pull request #74 from talex5/release
Prepare release
2 parents bf2c8ef + 33e44ae commit 2291cb2

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

CHANGES.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,59 @@
1+
## v0.4
2+
3+
New features:
4+
5+
- Add `Uring.timeout` (@bikallem #59).
6+
7+
- Add `Uring.read` and `Uring.write` (@haesbaert #62).
8+
These are simple wrappers for read(2) and write(2).
9+
10+
- Add `Uring.unlink` (@talex5 #65).
11+
This uses unlinkat(2), and so can also be used to remove directories.
12+
13+
- Add support for uring probes (@talex5 #70).
14+
Allows checking whether a feature is supported by the kernel at runtime.
15+
16+
- Rename `peek` to `get_cqe_nonblocking` (@talex5 #67).
17+
The old name was confusing because it does remove the item from the ring.
18+
19+
- Update to liburing 2.2 (@talex5 #56).
20+
21+
- Add `Uring.active_ops` (@talex5 #68).
22+
Avoids needing to track the value returned by `submit`, which is important as it is sometimes called automatically.
23+
24+
- Add `Uring.iov_max` constant (@talex5 #76).
25+
26+
- Add `Uring.get_debug_stats` (@talex5 #64).
27+
This should make it easier to check that the uring is behaving as expected.
28+
29+
Performance:
30+
31+
- Introduce a Sketch buffer per Uring (@haesbaert #63).
32+
The main motivation of this change is to avoid having one malloc per packet in readv(2), writev(2) and friends.
33+
34+
- Use `submit_and_wait` where appropriate (@haesbaert #69).
35+
36+
- Add a `readv` benchmark (@talex5 #64).
37+
38+
- Avoid unnecessary use of `CAMLparam` in the C stubs (@haesbaert #61).
39+
40+
Bug fixes:
41+
42+
- Prevent ring from being used after exit (@talex5 #78).
43+
44+
Build changes:
45+
46+
- Remove use of notty for formatting benchmark results (@talex5 #71).
47+
It prevented uring from being tested on OCaml 5.
48+
49+
- Use MDX for README (@talex5 #57).
50+
51+
- Convert tests to MDX (@talex5 #58 #73).
52+
53+
- Use opam-repository syntax for license (@kit-ty-kate #72).
54+
55+
- Remove internal `is_dirty` flag (@talex5 #77).
56+
157
## v0.3
258

359
Breaking changes:

0 commit comments

Comments
 (0)