Skip to content

Commit 0bb7094

Browse files
committed
doc: update changes
1 parent 3a7019c commit 0bb7094

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

CHANGES.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,32 @@
11

2+
## 0.11
3+
4+
- breaking: remove deprecated path handlers based on scanf
5+
- breaking: more getter/setters for request/response, change signatures,
6+
make request/response private aliases
7+
8+
- fix: release semaphore in case of exception in accept
9+
10+
- feat: add a notion of Middleware
11+
- feat: add `?middlewares` param to `create`
12+
- feat: add `?get_time_s` param to `create`
13+
- feat: close connection if response's headers contains connection
14+
- feat: store `start_time` in request
15+
- feat: implement connection timeout using socket options
16+
Default is `max_keep_alive = -1.0` which preserves the original behaviour.
17+
- feat: in server-sent-events, add a `close()` function
18+
19+
- refactor(zip): compression is now a middleware
20+
- perf: pass `buf_size` in many places, set default `buf_size` to 16kb
21+
- example: update `echo` to provide a /stats/ endpoint using a middleware
22+
23+
## 0.10
24+
25+
- feat: allow socket activation by passing a raw unix socket to `create`
26+
- fix: `Unix.accept` may raise an exception
27+
(typicall Unix.EINTR, even with sigpipe blocked ?),
28+
prevent the server from stopping
29+
230
## 0.9
331

432
- support handlers that stream server-sent events to client

0 commit comments

Comments
 (0)