Skip to content

5.0.0-alpha.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@ramosbugs ramosbugs released this 04 Mar 04:21
· 21 commits to main since this release

This is an API-unstable release intended for gathering feedback about breaking API changes in 5.0. It should be safe to use in applications, but further breaking API changes are expected before stabilizing the API for the 5.0.0 release (e.g., upgrading http to 1.0; see #237).

Refer to the Upgrade Guide for tips on how to upgrade from 4.x.

Breaking Changes

  • Add conditional typestates (replacing Boolean typestates from 5.0.0-alpha.1) (85ea470)
  • Consolidate HTTP client errors into oauth2::HttpClientError and flatten exports (e.g., oauth2::reqwest instead of oauth2::reqwest::reqwest) (4391eed)

Other Changes

  • Add note about spawn_blocking to docs (1fc8188)
  • Re-export curl as oauth2::curl and ureq as oauth2::ureq when the corresponding Cargo features are enabled (aff7471)

Full Changelog: 5.0.0-alpha.1...5.0.0-alpha.2