Repository navigation
A Futures Fall
This release includes an upgrade to the much awaited futures 0.3, as well as some great new features and a few small breaking improvements to the API.
Breaking Changes
- Upgrade from futures-preview to futures 0.3. Largely the same as futures-preview, but a breaking change due to the crate switch. (#116) @sagebind
- The
preferred_http_version()method has been removed in favor of a newVersionNegotiationAPI with more robust configuration, including support for HTTP/2 Prior Knowledge. Generally this will be a mechanical migration frompreferred_http_version()toversion_negotiation(). If you were previously passing inVersion::HTTP_2in order to enable HTTP/2 on insecure requests, you can now remove this as Isahc will include anUpgradeheader and switch to HTTP/2 automatically by default. (#129) @sagebind - A couple various boolean SSL options have been replaced with an
ssl_options()method that permits you to set multiple flags with greater granularity and control. (#128) @sagebind
Added
- Added options for setting a CA certificate, disabling certificate revocation checks, and disabling proxies globally or for specific hosts. (#124) @ohadravid
- Document json feature in examples. (#121) @gbip
- Add a new API for HTTP auth. This includes a new crate feature
spnegowhich allows you to configure HTTP Negotiate. Basic and digest auth are also supported. (#115) @sagebind
Changed
- Update mockito requirement from 0.21 to 0.22 (#123) @dependabot-preview
- Update crossbeam-utils requirement from 0.6 to 0.7 (#117) @dependabot-preview
- Update indicatif requirement from 0.12 to 0.13 (#119) @dependabot-preview
- Update crossbeam-channel requirement from 0.3 to 0.4 (#120) @dependabot-preview