File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66module Protocol
77 module HTTP
8- VERSION = "0.56.1 "
8+ VERSION = "0.57.0 "
99 end
1010end
Original file line number Diff line number Diff line change @@ -30,6 +30,12 @@ Please see the [project documentation](https://socketry.github.io/protocol-http/
3030
3131Please see the [ project releases] ( https://socketry.github.io/protocol-http/releases/index ) for all releases.
3232
33+ ### v0.57.0
34+
35+ - Always use ` #parse ` when parsing header values from strings to ensure proper normalization and validation.
36+ - Introduce ` Protocol::HTTP::InvalidTrailerError ` which is raised when a trailer header is not allowed by the current policy.
37+ - ** Breaking** : ` Headers#each ` now yields parsed values according to the current policy. For the previous behaviour, use ` Headers#fields ` .
38+
3339### v0.56.0
3440
3541 - Introduce ` Header::*.parse(value) ` which parses a raw header value string into a header instance.
@@ -81,11 +87,6 @@ Please see the [project releases](https://socketry.github.io/protocol-http/relea
8187
8288 - Add support for ` priority: ` header.
8389
84- ### v0.33.0
85-
86- - Clarify behaviour of streaming bodies and copy ` Protocol::Rack::Body::Streaming ` to ` Protocol::HTTP::Body::Streamable ` .
87- - Copy ` Async::HTTP::Body::Writable ` to ` Protocol::HTTP::Body::Writable ` .
88-
8990## See Also
9091
9192 - [ protocol-http1] ( https://github.com/socketry/protocol-http1 ) — HTTP/1 client/server implementation using this
Original file line number Diff line number Diff line change 11# Releases
22
3- ## Unreleased
3+ ## v0.57.0
44
55 - Always use ` #parse ` when parsing header values from strings to ensure proper normalization and validation.
66 - Introduce ` Protocol::HTTP::InvalidTrailerError ` which is raised when a trailer header is not allowed by the current policy.
You can’t perform that action at this time.
0 commit comments