Skip to content

Releases: amphp/http-client

5.0.0 Beta 12

05 Aug 15:41
v5.0.0-beta.12
4a962fe
Compare
Choose a tag to compare
5.0.0 Beta 12 Pre-release
Pre-release
  • Fixed form content encoding of reserved characters (#333)
  • Fixed gzip bodies not being decompressed after redirects by cloning request headers before sending in FollowRedirects (#332)
  • Fixed connection / memory leak (#324)
  • Fixed stream reservations not being freed (#329)
  • Copy timeouts when following redirects (#326)
  • Do not require filename for streams in Form
  • Renamed methods on Form, see 69fc084

5.0.0 Beta 11

13 Apr 05:30
v5.0.0-beta.11
0fd30c4
Compare
Choose a tag to compare
5.0.0 Beta 11 Pre-release
Pre-release
  • Removed cloning of requests – Requests are no longer clonable and no longer cloned when passed to HttpClient and in other locations.
  • Removed cloning of request attributes – You can use any value in attributes now.
  • Following redirects creates a new request now instead of cloning the original request (therefore resetting attributes)
  • Replaced FormBody with new Form API
    • Repeated form fields are no longer sent in PHP specific encoding, i.e. appids=30&appids=20 instead of appids%5B0%5D=30&appids%5B1%5D=20 (#340)
      If you need the previous names, add [] to the name of your field.
  • Replaced RequestBody with new HttpContent API
    • Added BufferedContent
    • Added StreamedContent
    • Removed Body\FileBody
    • Removed Body\FormBody
    • Removed Body\JsonBody
    • Removed Body\StreamBody
    • Removed Body\StringBody
  • Fixed potential HPack concurrency issue on HTTP/2 connections

5.0.0 Beta 10

09 Apr 15:13
v5.0.0-beta.10
1e1fc7d
Compare
Choose a tag to compare
5.0.0 Beta 10 Pre-release
Pre-release

Updated for compatibility with amphp/http@2.0-beta.3

5.0.0 Beta 9

09 Apr 15:12
v5.0.0-beta.9
abc5e45
Compare
Choose a tag to compare
5.0.0 Beta 9 Pre-release
Pre-release
  • Request now extends HttpRequest from amphp/http, gaining methods to get and set query parameters on the request instead of needing to manipulate the URI object directly.
  • Renamed header methods using the term "raw" to use "pairs" instead, e.g., getRawHeaders()getHeaderPairs(), parseRawHeaders()parseHeaderPairs()

5.0.0 Beta 8

25 Feb 15:33
v5.0.0-beta.8
2043047
Compare
Choose a tag to compare
5.0.0 Beta 8 Pre-release
Pre-release
  • Updated for compatibility with 2.0 of amphp/socket.
  • Changed dependency on amphp/http to 2.0.

5.0.0 Beta 7

08 Jan 18:30
v5.0.0-beta.7
32f6ef1
Compare
Choose a tag to compare
5.0.0 Beta 7 Pre-release
Pre-release
  • Fixed compatibility with v2.0 of amphp/byte-stream by updating ReadableStream implementations to also implement Traversable.
  • Fixed assigning the stream ID to HTTP/2 streams to guarantee stream IDs are sent sequentially to the server
  • Fixed CancelledException being wrapped in an HttpException when a request is cancelled

5.0.0 Beta 6

18 Nov 18:55
v5.0.0-beta.6
c57531f
Compare
Choose a tag to compare
5.0.0 Beta 6 Pre-release
Pre-release
  • Fixed HEAD requests using HTTP/2 when a Content-Length header was included in the response.
  • Fixed a memory leak in the HTTP/2 handler due to the write fiber not being destroyed.

5.0.0 Beta 5

07 Nov 23:08
v5.0.0-beta.5
9d2d224
Compare
Choose a tag to compare
5.0.0 Beta 5 Pre-release
Pre-release
  • Added compatibility with Revolt v1.x

5.0.0 Beta 4

04 Oct 21:25
v5.0.0-beta.4
7d5cf67
Compare
Choose a tag to compare
5.0.0 Beta 4 Pre-release
Pre-release
  • Fixed destruct order issue in Http2Stream
  • Fixed backpressure for response body for HTTP/1.x
  • Add ResolveBaseUri interceptor

5.0.0 Beta 3

16 Jun 23:42
v5.0.0-beta.3
76d0307
Compare
Choose a tag to compare
5.0.0 Beta 3 Pre-release
Pre-release
  • Fixed a memory leak in the HTTP/2 connection processor when reusing a connection over a long period of time
  • Removed deprecated exception classes Http2ConnectionException and Http2StreamException.