Skip to content

Commit a7ce34b

Browse files
committed
chore: release hackney 2.0.0
- Bump version from 2.0.0-beta.1 to 2.0.0 - Update README with auto_decompress feature documentation
1 parent f9e966b commit a7ce34b

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

‎README.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ An HTTP client for Erlang. Simple, reliable, fast.
1616
- **WebSocket support** - Full WebSocket client with the same process-per-connection model.
1717
- **IPv6 first** - Happy Eyeballs algorithm tries IPv6 before IPv4 for faster connections on modern networks.
1818
- **SSL by default** - Secure connections with certificate verification using Mozilla's CA bundle.
19+
- **Automatic decompression** - Transparently decompress gzip/deflate responses with `{auto_decompress, true}`.
1920

2021
## Quick Start
2122

@@ -228,6 +229,13 @@ hackney:get(URL, [], <<>>, [
228229
]).
229230
```
230231

232+
### Automatic Decompression
233+
234+
```erlang
235+
%% Automatically decompress gzip/deflate responses
236+
hackney:get(URL, [], <<>>, [{auto_decompress, true}, with_body]).
237+
```
238+
231239
### SSL Options
232240

233241
```erlang

‎src/hackney.app.src‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{application, hackney,
55
[
66
{description, "Simple HTTP client with HTTP/1.1, HTTP/2, and HTTP/3 support"},
7-
{vsn, "2.0.0-beta.1"},
7+
{vsn, "2.0.0"},
88
{registered, [hackney_pool]},
99
{applications, [kernel,
1010
stdlib,

0 commit comments

Comments
 (0)