diff --git a/_data/releases.json b/_data/releases.json index a293831..064aa35 100644 --- a/_data/releases.json +++ b/_data/releases.json @@ -1,4 +1,13 @@ [ + { + "name": "amphp\/http-client 5.0.0", + "package": "amphp\/http-client", + "tag_name": "v5.0.0", + "html_url": "https:\/\/github.com\/amphp\/http-client\/releases\/tag\/v5.0.0", + "date": "2023-10-08T16:41:47Z", + "body": "Stable release compatible with AMPHP v3 and fibers! 🎉\r\n\r\nAs with other libraries compatible with AMPHP v3, most cases of parameters or returns of `Promise` have been replaced with `ResolutionType`.\r\n\r\n- `Request` instances are mutable now and can no longer be reused.\r\n- Removed cloning of request attributes \u2013 You can use any value in attributes now. \r\n- `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.\r\n- Renamed header methods using the term \"raw\" to use \"pairs\" instead, e.g., `getRawHeaders()` \u2192 `getHeaderPairs()`, `parseRawHeaders()` \u2192 `parseHeaderPairs()`\r\n- Changed timeout unit from milliseconds to seconds (like timers in the event loop)\r\n- Removed `UnprocessedRequestException`, use `Request::isUnprocessed()` instead.\r\n- The `EventListener` interface has been reworked and event listeners can be registered with `HttpClientBuilder::listen()` now to automatically apply to each request instead of only being registered on specific requests.\r\n- Replaced `FormBody` with new `Form` API\r\n - 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)\r\n If you need the previous names, add `[]` to the name of your field.\r\n- Replaced `RequestBody` with new `HttpContent` API\r\n - Added `BufferedContent`\r\n - Added `StreamedContent`\r\n - Removed `Body\\FileBody`\r\n - Removed `Body\\FormBody`\r\n - Removed `Body\\JsonBody`\r\n - Removed `Body\\StreamBody`\r\n - Removed `Body\\StringBody`\r\n\r\nThere are no changes compared to 5.0.0 Beta 17.", + "revolt": true + }, { "name": "amphp\/websocket 2.0.1", "package": "amphp\/websocket", @@ -116,15 +125,6 @@ "body": "## What's Changed\r\n* Added re-entry support to `synchronized()` by @kelunik in https:\/\/github.com\/amphp\/sync\/pull\/26\r\n* Fixed error handling in `SharedMemoryParcel`\r\n* Fixed a typo by @thgs in https:\/\/github.com\/amphp\/sync\/pull\/25\r\n\r\n## New Contributors\r\n* @thgs made their first contribution in https:\/\/github.com\/amphp\/sync\/pull\/25\r\n\r\n**Full Changelog**: https:\/\/github.com\/amphp\/sync\/compare\/v2.0.0...v2.1.0", "revolt": true }, - { - "name": "amphp\/http-client 4.6.3", - "package": "amphp\/http-client", - "tag_name": "v4.6.3", - "html_url": "https:\/\/github.com\/amphp\/http-client\/releases\/tag\/v4.6.3", - "date": "2023-08-15T20:16:52Z", - "body": "## What's Changed\r\n* Allow `psr\/http-message` ^2 by @drealecs in https:\/\/github.com\/amphp\/http-client\/pull\/328\r\n* Allow `league\/uri` ^7 by @nicolas-grekas in https:\/\/github.com\/amphp\/http-client\/pull\/335\r\n* Fix HTTP\/2 cancellation while receiving the response\r\n\r\n## New Contributors\r\n* @drealecs made their first contribution in https:\/\/github.com\/amphp\/http-client\/pull\/328\r\n\r\n**Full Changelog**: https:\/\/github.com\/amphp\/http-client\/compare\/v4.6.2...v4.6.3", - "revolt": false - }, { "name": "amphp\/http-server-router 2.0.0", "package": "amphp\/http-server-router",