Breaking changes
Async/await support
With the default feature flags, this crate no longer includes async support. To enable legacy async support using futures 0.1, use the futures-01 feature flag in Cargo.toml. To enable async/await support (requires rustc 1.39.0 or newer), use the futures-03 feature.
Special thanks to @marcelbuesing for contributing this support.
URL-based NewTypes
The URL-based NewTypes (AuthUrl, TokenUrl, RedirectUrl) no longer accept a Url type in their constructors. Instead, they parse the URLs internally, as well as maintain an unparsed copy of the input string, which is returned by Deref. This avoids the URL canonicalization performed by the url crate (e.g., adding a trailing slash for URLs with no path component). Previously, this canonicalization sometimes caused mismatches when comparing redirect URIs, which are expected to be identical. A parsed version of the URL can still be accessed by using the new .url() method.