5.0.0-alpha.2
Pre-release
Pre-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 ofoauth2::reqwest::reqwest
) (4391eed)
Other Changes
- Add note about
spawn_blocking
to docs (1fc8188) - Re-export
curl
asoauth2::curl
andureq
asoauth2::ureq
when the corresponding Cargo features are enabled (aff7471)
Full Changelog: 5.0.0-alpha.1...5.0.0-alpha.2