Skip to content

Upgrade reqwest to 0.13.2#669

Merged
alexhancock merged 1 commit intomodelcontextprotocol:mainfrom
DaleSeo:up-reqwest
Feb 17, 2026
Merged

Upgrade reqwest to 0.13.2#669
alexhancock merged 1 commit intomodelcontextprotocol:mainfrom
DaleSeo:up-reqwest

Conversation

@DaleSeo
Copy link
Contributor

@DaleSeo DaleSeo commented Feb 17, 2026

Motivation and Context

reqwest 0.13 ships with rustls as the default TLS backend and renames several TLS features. This PR bumps the SDK from reqwest 0.12 to 0.13.2 across the main library and all examples.

oauth2 v5.0 depends on reqwest ^0.12 through its built-in reqwest feature, which would pull in a second, incompatible copy of reqwest. To avoid that, we disable oauth2's reqwest feature and provide our own OAuthReqwestClient wrapper that implements oauth2::AsyncHttpClient against reqwest 0.13.

How Has This Been Tested?

All existing tests pass.

Breaking Changes

The user-facing TLS feature names (reqwest, reqwest-native-tls, reqwest-tls-no-provider) are unchanged. Users who also depend on reqwest directly will need to bump to "0.13" in their Cargo.toml so that types unify, but no code changes are needed.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

@github-actions github-actions bot added T-dependencies Dependencies related changes T-config Configuration file changes T-core Core library changes T-examples Example code changes T-transport Transport layer changes labels Feb 17, 2026
@alexhancock alexhancock marked this pull request as ready for review February 17, 2026 18:36
@alexhancock alexhancock merged commit 021a431 into modelcontextprotocol:main Feb 17, 2026
11 checks passed
@github-actions github-actions bot mentioned this pull request Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-config Configuration file changes T-core Core library changes T-dependencies Dependencies related changes T-examples Example code changes T-transport Transport layer changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants