Releases: ponylang/http
0.6.1
0.6.0
Change HTTPClient handler factory creation
The handler factory for creating handlers for new requests is now provided in the constructor of the client instead of the apply method. This makes it more clear, that the client will use the same handler for all requests.
The old version would look similar to this:
let client = HTTPClient(auth)
// Later
let handler_factory = ...
client(payload, handler_factory)?
// Even later
client(other_payload, other_factory)
In the new version the handler factory needs to be supplied at the creation of the client:
let handler_factory = ...
let client = HTTPClient(auth, handler_factory)
client(payload)
// This will use the handler_factory
client(other_payload)
// To use a different handler factory, create a new client
let other_client = Client(auth, other_factory)
other_client(other_payload)
[0.6.0] - 2024-01-21
Changed
- Change HTTPClient handler factory creation (PR #106)
0.5.5
Fix bug triggered by OpenSSL 3.2
Making HTTPClient calls over SSL when using OpenSSL 3.2.0 would encounter a nasty bug. When executed in a program compiled in release mode, the program would hang. When executed in a program compiled in debug mode, the program would segfault due to infinite recursion.
[0.5.5] - 2024-01-14
Fixed
- Fix bug triggered by OpenSSL 3.2.0 (PR #105)
0.5.4
0.5.3
0.5.2
Update to work with Pony 0.49.0
Pony 0.49.0 introduced a lot of different breaking changes. We've updated to account for them all.
[0.5.2] - 2022-02-26
Fixed
- Update to work with Pony 0.49.0 (PR #80)
0.5.1
0.5.0
0.4.5
Update to work with latest ponyc
The most recent ponyc implements RFC #65 which changes the type of Env.root
.
We've updated accordingly. You won't be able to use this and future versions of the library without a corresponding update to your ponyc version.
[0.4.5] - 2022-01-16
Fixed
- Update to work with Pony 0.46.0 (PR #74)