Skip to content

Commit

Permalink
Add CHANGELOG entry for 4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Feb 27, 2020
1 parent 0336010 commit fde0743
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

### 4.2.0

- Add improved ConnectionLimitingPool
The new ConnectionLimitingPool limits connections instead of streams. In addition, it has improved connection handling, racing between new connections and existing connections becoming available once the limit has been reached. The older LimitedConnectionPool has been renamed to StreamLimitingPool with a class alias for backward compatibility.
- Don't set ALPN if only HTTP/1.1 is enabled, which allows connections to certain misbehaving servers (#255)

### 4.1.0

- Fix possible double resolution of promises (#244)
- Fix assertion error on invalid HTTP/2 frame (#236)
- Fix HTTP/2 connection reuse if too many concurrent streams for one connection are in use (#246)
- Allow skipping default `accept`, `accept-encoding` and `user-agent` headers (#238)
- Keep original header case for HTTP/1 requests (#250)
- Allow access to informational responses (1XX) (#239)
- Await `startReceiveResponse` event listeners on HTTP/2 before resolving the response promise (#254)
- Delay `startReceiveResponse` event until the final response is started to be received, instead of calling it for the first byte or multiple times for HTTP/2 (#254)
- Use common HTTP/2 parser from `amphp/http`

## 4.0.0

Initial release of `amphp/http-client`, the successor of `amphp/artax`.
Expand Down

0 comments on commit fde0743

Please sign in to comment.