You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
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/
30
30
31
31
Please see the [project releases](https://socketry.github.io/protocol-http/releases/index) for all releases.
32
32
33
+
### v0.58.0
34
+
35
+
- Move trailer validation to `Headers#add` method to ensure all additions are checked at the time of addition as this is a hard requirement.
36
+
- Introduce `Headers#header` method to enumerate only the main headers, excluding trailers. This can be used after invoking `Headers#trailer!` to avoid race conditions.
37
+
- Fix `Headers#to_h` so that indexed headers are not left in an inconsistent state if errors occur during processing.
38
+
33
39
### v0.57.0
34
40
35
41
- Always use `#parse` when parsing header values from strings to ensure proper normalization and validation.
@@ -83,10 +89,6 @@ Please see the [project releases](https://socketry.github.io/protocol-http/relea
83
89
84
90
- Add support for parsing `accept`, `accept-charset`, `accept-encoding` and `accept-language` headers into structured values.
85
91
86
-
### v0.46.0
87
-
88
-
- Add support for `priority:` header.
89
-
90
92
## See Also
91
93
92
94
-[protocol-http1](https://github.com/socketry/protocol-http1) — HTTP/1 client/server implementation using this
Copy file name to clipboardExpand all lines: releases.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Releases
2
2
3
-
## Unreleased
3
+
## v0.58.0
4
4
5
5
- Move trailer validation to `Headers#add` method to ensure all additions are checked at the time of addition as this is a hard requirement.
6
6
- Introduce `Headers#header` method to enumerate only the main headers, excluding trailers. This can be used after invoking `Headers#trailer!` to avoid race conditions.
0 commit comments