---
title: "yup-oauth2 12.0.0 Breaking Changes on crates.io | Since.dev"
description: "What each yup-oauth2 release removed, renamed or changed: 44 breaking changes in 5 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/yup-oauth2
last_updated: 2026-12-04
---

# yup-oauth2 breaking changes

yup-oauth2 12.0.0 (January 27, 2025) is its newest release with breaking changes, 33 of them. The first: Removed yup_oauth2::authenticator::AuthenticatorBuilder::hyper_client. Every breaking API change we have recorded in yup-oauth2 on crates.io: 44 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `12.1.2`, released January 7, 2026. [Source repository](https://github.com/dermesser/yup-oauth2)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [10.0.0](#v-10-0-0) to [12.0.0](#v-12-0-0): 33 breaking changes in 1 version.
- From [7.0.0](#v-7-0-0) to [12.0.0](#v-12-0-0): 42 breaking changes in 4 versions.

## yup-oauth2 12.0.0 breaking changes

yup-oauth2 12.0.0, released January 27, 2025: 33 breaking changes.

- **Removed** `yup_oauth2::authenticator::AuthenticatorBuilder::hyper_client`  

yup_oauth2::authenticator::AuthenticatorBuilder::hyper_client was removed in yup-oauth2 12.0.0 [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Removed** `yup_oauth2::authenticator::DefaultHyperClient`  

yup_oauth2::authenticator::DefaultHyperClient was removed in yup-oauth2 12.0.0 [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Removed** `yup_oauth2::authenticator::HyperClientBuilder`  

yup_oauth2::authenticator::HyperClientBuilder was removed in yup-oauth2 12.0.0 [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Removed** `yup_oauth2::error::Error::OtherError`  

yup_oauth2::error::Error::OtherError was removed in yup-oauth2 12.0.0 [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Removed** `yup_oauth2::Error::OtherError`  

yup_oauth2::Error::OtherError was removed in yup-oauth2 12.0.0 [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::AccessTokenAuthenticator::builder`  

Was fn builder(access_token: String) -> AuthenticatorBuilder\<DefaultHyperClient, AccessTokenFlow>; now fn builder(access_token: String) -> AuthenticatorBuilder\<DefaultHyperClientBuilder, AccessTokenFlow>. [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::ApplicationDefaultCredentialsAuthenticator::builder`  

Was async fn builder(opts: ApplicationDefaultCredentialsFlowOpts) -> ApplicationDefaultCredentialsTypes\<DefaultHyperClient>; now async fn builder(opts: ApplicationDefaultCredentialsFlowOpts) ->... [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::authenticator::AccessTokenAuthenticator::builder`  

Was fn builder(access_token: String) -> AuthenticatorBuilder\<DefaultHyperClient, AccessTokenFlow>; now fn builder(access_token: String) -> AuthenticatorBuilder\<DefaultHyperClientBuilder, AccessTokenFlow>. [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::authenticator::ApplicationDefaultCredentialsAuthenticator::builder`  

Was async fn builder(opts: ApplicationDefaultCredentialsFlowOpts) -> ApplicationDefaultCredentialsTypes\<DefaultHyperClient>; now async fn builder(opts: ApplicationDefaultCredentialsFlowOpts) ->... [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::authenticator::Authenticator`  

Was struct Authenticator\<C>; now struct Authenticator\<C> where C: Connect + Clone + Send + Sync + 'static,. [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::authenticator::AuthorizedUserAuthenticator::builder`  

Was fn builder(authorized_user_secret: AuthorizedUserSecret) -> AuthenticatorBuilder\<DefaultHyperClient, AuthorizedUserFlow>; now fn builder(authorized_user_secret: AuthorizedUserSecret) -> AuthenticatorBuilder\<DefaultHyperClientBuilder... [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::authenticator::DeviceFlowAuthenticator::builder`  

Was fn builder(app_secret: ApplicationSecret) -> AuthenticatorBuilder\<DefaultHyperClient, DeviceFlow>; now fn builder(app_secret: ApplicationSecret) -> AuthenticatorBuilder\<DefaultHyperClientBuilder, DeviceFlow>. [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::authenticator::ExternalAccountAuthenticator::builder`  

Was fn builder(external_account_secret: ExternalAccountSecret) -> AuthenticatorBuilder\<DefaultHyperClient, ExternalAccountFlow>; now fn builder(external_account_secret: ExternalAccountSecret) ->... [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::authenticator::InstalledFlowAuthenticator::builder`  

Was fn builder(app_secret: ApplicationSecret, method: InstalledFlowReturnMethod) -> AuthenticatorBuilder\<DefaultHyperClient, InstalledFlow>; now fn builder(app_secret: ApplicationSecret, method: InstalledFlowReturnMethod) ->... [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::authenticator::ServiceAccountAuthenticator::builder`  

Was fn builder(service_account_key: ServiceAccountKey) -> AuthenticatorBuilder\<DefaultHyperClient, ServiceAccountFlowOpts>; now fn builder(service_account_key: ServiceAccountKey) -> AuthenticatorBuilder\<DefaultHyperClientBuilder... [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::authenticator::ServiceAccountImpersonationAuthenticator::builder`  

Was fn builder(authorized_user_secret: AuthorizedUserSecret, service_account_email: &str) -> AuthenticatorBuilder\<DefaultHyperClient, ServiceAccountImpersonationFlow>; now fn builder(authorized_user_secret: AuthorizedUserSecret... [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::AuthorizedUserAuthenticator::builder`  

Was fn builder(authorized_user_secret: AuthorizedUserSecret) -> AuthenticatorBuilder\<DefaultHyperClient, AuthorizedUserFlow>; now fn builder(authorized_user_secret: AuthorizedUserSecret) -> AuthenticatorBuilder\<DefaultHyperClientBuilder... [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::DeviceFlowAuthenticator::builder`  

Was fn builder(app_secret: ApplicationSecret) -> AuthenticatorBuilder\<DefaultHyperClient, DeviceFlow>; now fn builder(app_secret: ApplicationSecret) -> AuthenticatorBuilder\<DefaultHyperClientBuilder, DeviceFlow>. [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::Error::AuthError`  

Was AuthError(AuthError); now AuthError(#\[from\] AuthError). [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::error::Error::AuthError`  

Was AuthError(AuthError); now AuthError(#\[from\] AuthError). [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::error::Error::HttpClientError`  

Was HttpClientError(hyper_util::client::legacy::Error); now HttpClientError(#\[from\] SendError). [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::error::Error::HttpError`  

Was HttpError(hyper::Error); now HttpError(#\[from\] HyperError). [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::error::Error::JSONError`  

Was JSONError(serde_json::Error); now JSONError(#\[from\] serde_json::Error). [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::error::Error::LowLevelError`  

Was LowLevelError(io::Error); now LowLevelError(#\[from\] io::Error). [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::Error::HttpClientError`  

Was HttpClientError(hyper_util::client::legacy::Error); now HttpClientError(#\[from\] SendError). [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::Error::HttpError`  

Was HttpError(hyper::Error); now HttpError(#\[from\] HyperError). [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::Error::JSONError`  

Was JSONError(serde_json::Error); now JSONError(#\[from\] serde_json::Error). [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::Error::LowLevelError`  

Was LowLevelError(io::Error); now LowLevelError(#\[from\] io::Error). [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::ExternalAccountAuthenticator::builder`  

Was fn builder(external_account_secret: ExternalAccountSecret) -> AuthenticatorBuilder\<DefaultHyperClient, ExternalAccountFlow>; now fn builder(external_account_secret: ExternalAccountSecret) ->... [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::InstalledFlowAuthenticator::builder`  

Was fn builder(app_secret: ApplicationSecret, method: InstalledFlowReturnMethod) -> AuthenticatorBuilder\<DefaultHyperClient, InstalledFlow>; now fn builder(app_secret: ApplicationSecret, method: InstalledFlowReturnMethod) ->... [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::ServiceAccountAuthenticator::builder`  

Was fn builder(service_account_key: ServiceAccountKey) -> AuthenticatorBuilder\<DefaultHyperClient, ServiceAccountFlowOpts>; now fn builder(service_account_key: ServiceAccountKey) -> AuthenticatorBuilder\<DefaultHyperClientBuilder... [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::ServiceAccountImpersonationAuthenticator::builder`  

Was fn builder(authorized_user_secret: AuthorizedUserSecret, service_account_email: &str) -> AuthenticatorBuilder\<DefaultHyperClient, ServiceAccountImpersonationFlow>; now fn builder(authorized_user_secret: AuthorizedUserSecret... [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)
- **Signature changed** `yup_oauth2::storage::TokenStorage::set`  

Was async fn set(&self, scopes: &\[&str\], token: TokenInfo) -> anyhow::Result<()>; now async fn set(&self, scopes: &\[&str\], token: TokenInfo) -> Result<(), TokenStorageError>. [crates.io](https://crates.io/crates/yup-oauth2/12.0.0)

## yup-oauth2 10.0.0 breaking changes

yup-oauth2 10.0.0, released June 8, 2024: 6 breaking changes.

- **Signature changed** `yup_oauth2::authenticator::Authenticator`  

Was struct Authenticator\<S>; now struct Authenticator\<C>. [crates.io](https://crates.io/crates/yup-oauth2/10.0.0)
- **Signature changed** `yup_oauth2::authenticator::AuthenticatorBuilder::hyper_client`  

Was fn hyper_client\<NewC>(self, hyper_client: hyper::Client\<NewC>) -> AuthenticatorBuilder\<hyper::Client\<NewC>, F>; now fn hyper_client\<NewC>(self, hyper_client: hyper_util::client::legacy::Client\<NewC, String>) ->... [crates.io](https://crates.io/crates/yup-oauth2/10.0.0)
- **Signature changed** `yup_oauth2::authenticator::DefaultAuthenticator`  

Was type DefaultAuthenticator = Authenticator\<hyper_tls::HttpsConnector\<hyper::client::HttpConnector>>; now type DefaultAuthenticator = Authenticator\<hyper_tls::HttpsConnector\<hyper_util::client::legacy::connect::HttpConnector>>. [crates.io](https://crates.io/crates/yup-oauth2/10.0.0)
- **Signature changed** `yup_oauth2::authenticator::HyperClientBuilder::build_hyper_client`  

Was fn build_hyper_client(self) -> Result\<hyper::Client\<Self::Connector>, Error>; now fn build_hyper_client(self) -> Result\<hyper_util::client::legacy::Client\<Self::Connector, String>, Error>. [crates.io](https://crates.io/crates/yup-oauth2/10.0.0)
- **Signature changed** `yup_oauth2::authenticator::HyperClientBuilder::Connector`  

Was type Connector: Service\<Uri> + Clone + Send + Sync + 'static; now type Connector: Connect + Clone + Send + Sync + 'static. [crates.io](https://crates.io/crates/yup-oauth2/10.0.0)
- **Signature changed** `yup_oauth2::external_account::CredentialSource::File`  

Was File {/// file file: String}; now File {/// File name of a file containing a subject token. file: String}. [crates.io](https://crates.io/crates/yup-oauth2/10.0.0)

## yup-oauth2 9.0.0 breaking changes

yup-oauth2 9.0.0, released April 23, 2024: 1 breaking change.

- **Signature changed** `yup_oauth2::authenticator::HyperClientBuilder::build_hyper_client`  

Was fn build_hyper_client(self) -> hyper::Client\<Self::Connector>; now fn build_hyper_client(self) -> Result\<hyper::Client\<Self::Connector>, Error>. [crates.io](https://crates.io/crates/yup-oauth2/9.0.0)

## yup-oauth2 8.0.0 breaking changes

yup-oauth2 8.0.0, released October 27, 2022: 2 breaking changes.

- **Removed** `yup_oauth2::AccessToken::as_str`  

yup_oauth2::AccessToken::as_str was removed in yup-oauth2 8.0.0 [crates.io](https://crates.io/crates/yup-oauth2/8.0.0)
- **Signature changed** `yup_oauth2::storage::TokenInfo::access_token`  

Was access_token: String; now access_token: Option\<String>. [crates.io](https://crates.io/crates/yup-oauth2/8.0.0)

## yup-oauth2 7.0.0 breaking changes

yup-oauth2 7.0.0, released May 27, 2022: 2 breaking changes.

- **Signature changed** `yup_oauth2::authenticator::Authenticator`  

Was struct Authenticator\<C>; now struct Authenticator\<S>. [crates.io](https://crates.io/crates/yup-oauth2/7.0.0)
- **Signature changed** `yup_oauth2::authenticator::HyperClientBuilder::Connector`  

Was type Connector: hyper::client::connect::Connect + Clone + Send + Sync + 'static; now type Connector: Service\<Uri> + Clone + Send + Sync + 'static. [crates.io](https://crates.io/crates/yup-oauth2/7.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
