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
On this page
Latest version 12.1.2, released January 7, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
- From 10.0.0 to 12.0.0: 33 breaking changes in 1 version.
- From 7.0.0 to 12.0.0: 42 breaking changes in 4 versions.
yup-oauth2 12.0.0 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 - Removed
yup_oauth2::authenticator::DefaultHyperClient
yup_oauth2::authenticator::DefaultHyperClient was removed in yup-oauth2 12.0.0 crates.io - Removed
yup_oauth2::authenticator::HyperClientBuilder
yup_oauth2::authenticator::HyperClientBuilder was removed in yup-oauth2 12.0.0 crates.io - Removed
yup_oauth2::error::Error::OtherError
yup_oauth2::error::Error::OtherError was removed in yup-oauth2 12.0.0 crates.io - Removed
yup_oauth2::Error::OtherError
yup_oauth2::Error::OtherError was removed in yup-oauth2 12.0.0 crates.io - 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 - Signature changed
yup_oauth2::ApplicationDefaultCredentialsAuthenticator::builder
Was async fn builder(opts: ApplicationDefaultCredentialsFlowOpts) -> ApplicationDefaultCredentialsTypes<DefaultHyperClient>; now async fn builder(opts: ApplicationDefaultCredentialsFlowOpts) ->... crates.io - 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 - Signature changed
yup_oauth2::authenticator::ApplicationDefaultCredentialsAuthenticator::builder
Was async fn builder(opts: ApplicationDefaultCredentialsFlowOpts) -> ApplicationDefaultCredentialsTypes<DefaultHyperClient>; now async fn builder(opts: ApplicationDefaultCredentialsFlowOpts) ->... crates.io - Signature changed
yup_oauth2::authenticator::Authenticator
Was struct Authenticator<C>; now struct Authenticator<C> where C: Connect + Clone + Send + Sync + 'static,. crates.io - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - Signature changed
yup_oauth2::Error::AuthError
Was AuthError(AuthError); now AuthError(#[from] AuthError). crates.io - Signature changed
yup_oauth2::error::Error::AuthError
Was AuthError(AuthError); now AuthError(#[from] AuthError). crates.io - Signature changed
yup_oauth2::error::Error::HttpClientError
Was HttpClientError(hyper_util::client::legacy::Error); now HttpClientError(#[from] SendError). crates.io - Signature changed
yup_oauth2::error::Error::HttpError
Was HttpError(hyper::Error); now HttpError(#[from] HyperError). crates.io - Signature changed
yup_oauth2::error::Error::JSONError
Was JSONError(serde_json::Error); now JSONError(#[from] serde_json::Error). crates.io - Signature changed
yup_oauth2::error::Error::LowLevelError
Was LowLevelError(io::Error); now LowLevelError(#[from] io::Error). crates.io - Signature changed
yup_oauth2::Error::HttpClientError
Was HttpClientError(hyper_util::client::legacy::Error); now HttpClientError(#[from] SendError). crates.io - Signature changed
yup_oauth2::Error::HttpError
Was HttpError(hyper::Error); now HttpError(#[from] HyperError). crates.io - Signature changed
yup_oauth2::Error::JSONError
Was JSONError(serde_json::Error); now JSONError(#[from] serde_json::Error). crates.io - Signature changed
yup_oauth2::Error::LowLevelError
Was LowLevelError(io::Error); now LowLevelError(#[from] io::Error). crates.io - 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 - 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 - 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 - 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 - 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
yup-oauth2 10.0.0 breaking changes
- Signature changed
yup_oauth2::authenticator::Authenticator
Was struct Authenticator<S>; now struct Authenticator<C>. crates.io - 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 - 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 - 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 - 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 - 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
yup-oauth2 9.0.0 breaking changes
- 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
yup-oauth2 8.0.0 breaking changes
- Removed
yup_oauth2::AccessToken::as_str
yup_oauth2::AccessToken::as_str was removed in yup-oauth2 8.0.0 crates.io - Signature changed
yup_oauth2::storage::TokenInfo::access_token
Was access_token: String; now access_token: Option<String>. crates.io
yup-oauth2 7.0.0 breaking changes
- Signature changed
yup_oauth2::authenticator::Authenticator
Was struct Authenticator<C>; now struct Authenticator<S>. crates.io - 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
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.