Skip to content

Releases: sagebind/isahc

Security dependency updates and patches

13 May 03:03
Compare
Choose a tag to compare

Security

Dependency Updates

Curl security updates

28 Apr 23:05
Compare
Choose a tag to compare

Security

HTTP version support detection

12 Mar 05:59
Compare
Choose a tag to compare

Added

  • Add new is_http_version_supported function which allows you to check whether support for a particular HTTP version is available at runtime. When statically linking this will be entirely dependent on your build configuration, but if you are dynamically linking to libcurl then it will vary from system to system. (#368) @sagebind

Changed

Dependency Updates

New cookie APIs

13 Nov 20:01
Compare
Choose a tag to compare

Added

  • Expose new APIs for cookie construction, updating, and adding to cookie jar. You can now create your own cookies with Cookie::builder and put arbitrary cookies into the cookie jar with CookieJar::set. (#264, #349) @jacobmischka
  • Add bytes() convenience methods to ReadResponseExt and AsyncReadResponseExt which read the entire response body into a Vec<u8>. (#352) @sagebind
  • Speed up CI by adding caching to CI (#358) @sagebind

Security

Dependency Updates

Stirring performance, boys.

13 Oct 01:27
Compare
Choose a tag to compare

Fixed

  • Greatly reduce CPU usage, particularly when receiving long-running or large responses. This was caused by a bug where timeout timers were not being cleared once they expired, effectively creating a repeating timer that would cause repeated extra polls. Huge thanks to @jacobmischka for finding and fixing this bug! (#348, #350)
  • Return true for Body::is_empty for HEAD responses (#341, #343)
  • Fix code coverage analysis failing to run in CI. (#351)

Expect configurability and connection info in errors

23 Aug 04:43
Compare
Choose a tag to compare

Added

  • Expose connection info in errors with the addition of Error::local_addr and Error::remote_addr. This allows you to get the local & remote addresses involved in a request, if any, even if an error occurs. (#336, #337) @sagebind
  • Allow use of the Expect header to be configured via Configurable::expect_continue. (#303, #311, #340) @sagebind

Dependency Updates

Error docs and log improvements

18 Aug 03:59
d6a37e0
Compare
Choose a tag to compare

Added

  • Improve the documentation on Error and ErrorKind and add Error::is_timeout.

Fixed

  • Improve connection reuse log message and fix some false positives around its emission. The warning about connection reuse will now point users to the wiki page which explains the message in depth. (#335) @sagebind

Dependency Updates

Trailers and in-memory certs

14 May 03:59
Compare
Choose a tag to compare

Added

  • Add support for using in-memory client certificates. (#89, #320)
  • Add API for accessing trailer headers in responses. (#157, #256)

Changed

  • Isahc's MSRV has been increased from 1.41.0 to 1.46.0. (#321)

Fixed

  • Fix wrong link to request type in docs. (#323) @humb1t

Dependency Updates

Dependency updates

17 Apr 02:45
4f28603
Compare
Choose a tag to compare

Dependency Updates

  • Update Public Suffix List to 5cb7ed8 (#319) @teto-bot
  • Update curl version constraint to ensure MSRV.

Low speed timeouts

07 Apr 00:15
Compare
Choose a tag to compare

Added

  • Allow configuring low speed timeouts for transfers, either per-request or as a client default. (#316) @MoSal

Fixed

Changed

  • Replace flume with async-channel internally to maintain MSRV contract. (#318) @sagebind