Skip to content

Commit 275c48b

Browse files
committed
Bump minor version.
1 parent f0d10a4 commit 275c48b

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

lib/protocol/http/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
module Protocol
77
module HTTP
8-
VERSION = "0.55.0"
8+
VERSION = "0.56.0"
99
end
1010
end

readme.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ Please see the [project documentation](https://socketry.github.io/protocol-http/
3030

3131
Please see the [project releases](https://socketry.github.io/protocol-http/releases/index) for all releases.
3232

33+
### v0.56.0
34+
35+
- Introduce `Header::*.parse(value)` which parses a raw header value string into a header instance.
36+
- Introduce `Header::*.coerce(value)` which coerces any value (`String`, `Array`, etc.) into a header instance with normalization.
37+
- `Header::*#initialize` now accepts arrays without normalization for efficiency, or strings for backward compatibility.
38+
- Update `Headers#[]=` to use `coerce(value)` for smart conversion of user input.
39+
- Normalization (e.g., lowercasing) is applied by `parse`, `coerce`, and `<<` methods, but not by `new` when given arrays.
40+
3341
### v0.55.0
3442

3543
- **Breaking**: Move `Protocol::HTTP::Header::QuotedString` to `Protocol::HTTP::QuotedString` for better reusability.
@@ -78,10 +86,6 @@ Please see the [project releases](https://socketry.github.io/protocol-http/relea
7886
- Clarify behaviour of streaming bodies and copy `Protocol::Rack::Body::Streaming` to `Protocol::HTTP::Body::Streamable`.
7987
- Copy `Async::HTTP::Body::Writable` to `Protocol::HTTP::Body::Writable`.
8088

81-
### v0.31.0
82-
83-
- Ensure chunks are flushed if required, when streaming.
84-
8589
## See Also
8690

8791
- [protocol-http1](https://github.com/socketry/protocol-http1) — HTTP/1 client/server implementation using this

releases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Releases
22

3-
## Unreleased
3+
## v0.56.0
44

55
- Introduce `Header::*.parse(value)` which parses a raw header value string into a header instance.
66
- Introduce `Header::*.coerce(value)` which coerces any value (`String`, `Array`, etc.) into a header instance with normalization.

0 commit comments

Comments
 (0)