Skip to content

5.0.0-alpha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@ramosbugs ramosbugs released this 28 Feb 02:58
· 28 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

  • reqwest: Migrate to shared Error type and use thiserror's From impl by @MarijnS95 (#238)
  • Bump MSRV to 1.65 and institute a policy supporting Rust releases going back at least 6 months (same policy as openidconnect crate) (576f809)
  • Improve Display output of RequestTokenError::ServerResponse (96c6f9b)
  • Track Client endpoints statically via typestates (1d1f4d1)
  • Refactor crate into smaller private modules and make devicecode and revocation modules private (9d8f11a)
  • Add reqwest-blocking feature (da7d1c5)
  • Rename URI/URL getters and setters (4d55c26)
  • Add AsyncHttpClient and SyncHttpClient traits (23b952b)

New Features

  • Add timing-resistant-secret-traits feature for PartialEq/Hash by @kate-shine (#232)
  • Derive Eq for types that already derive PartialEq (b19ad89)
  • Implement From instead of Into for newtypes (d9402c4)
  • Implement Display trait for URL types (8bd0ff1)

Other Changes

  • Replace map_err() conversions with a From call via the Try operator by @MarijnS95 (#239)
  • Fix comments about csrf_state by @ikehz (#245)
  • Add documentation about comparing secrets securely by @ikehz (#246)
  • Remove unused imports in examples by @frewsxcv (#207)
  • Make private prepare_request() methods infallible (8ef74ac)
  • Address clippy lints and clean up examples (d675e81)
  • Remove empty leading and trailing lines from doc comments (a8b5cf8)
  • Reorder and clean up imports (92c491a)
  • Add Upgrade Guide

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