Skip to content

Commit 2f5a468

Browse files
authored
add documentation for rack 3 api change
1 parent 56cd67b commit 2f5a468

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

UPDATING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@
55
BREAKING CHANGE: the [#255](https://github.com/savonrb/httpi/pull/225) made the gem socksify and rack gems optional dependencies.
66

77
In order to restore the old behavior, see the README section "SOCKS Proxy Support" and "Rack Mock Adapter".
8+
9+
## From 3.x to 4.x
10+
11+
BREAKING CHANGE: `HTTPI::Request#headers` and `HTTPI::Response#headers` now return `Rack::Headers` instead of `Rack::Utils::HeaderHash`. You may need to adjust any code that explicitly depends on the type of the return value of these methods.
12+
13+
This change was made to address a deprecation warning for a pending API change in the upcoming [rack](https://github.com/rack/rack) 3.1.

0 commit comments

Comments
 (0)