Skip to content

Commit ba25682

Browse files
committed
Release 1.6.0
This release lets an application configure, on the OAuth provider, the requests the flow makes to the authorization server: `token_request_params:` adds the parameters a server requires beyond the grant itself, and `http_client_customizer:` adds middleware to the connection the flow uses for discovery, registration, and token requests, behind a guard that refuses a request leaving the origin the flow asked for. The legacy 2025-03-26 discovery path is now taken only when the server publishes no Protected Resource Metadata: a fetch that failed to reach the server, or that answered `5xx` or `429`, raises `Flow::MetadataUnreachableError` instead, and the metadata served on that path must name the MCP server's origin as its `issuer`. The `client_credentials` and `jwt-bearer` grants run on that path, and a stored refresh token no longer crashes their providers. `MCP::Icon.new` now refuses an icon the specification's schema rejects, such as one without `src` or with `sizes` given as a String. Three entries under "Changed" reject what earlier releases accepted and ship in a minor release under the exceptions described in VERSIONING.md.
1 parent 5ce47b6 commit ba25682

2 files changed

Lines changed: 34 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.6.0] - 2026-09-21
11+
12+
This release lets an application configure, on the OAuth provider, the requests the flow makes to
13+
the authorization server: `token_request_params:` adds the parameters a server requires beyond the grant itself,
14+
and `http_client_customizer:` adds middleware to the connection the flow uses for discovery, registration,
15+
and token requests, behind a guard that refuses a request leaving the origin the flow asked for.
16+
The legacy 2025-03-26 discovery path is now taken only when the server publishes no Protected Resource Metadata:
17+
a fetch that failed to reach the server, or that answered `5xx` or `429`, raises `Flow::MetadataUnreachableError` instead,
18+
and the metadata served on that path must name the MCP server's origin as its `issuer`. The `client_credentials`
19+
and `jwt-bearer` grants run on that path, and a stored refresh token no longer crashes their providers.
20+
`MCP::Icon.new` now refuses an icon the specification's schema rejects, such as one without `src` or
21+
with `sizes` given as a String.
22+
Three entries under "Changed" reject what earlier releases accepted and ship in a minor release under
23+
the exceptions described in [VERSIONING.md](VERSIONING.md).
24+
25+
### Added
26+
27+
- Add `token_request_params:` to let a provider add parameters to the token requests it makes (#555)
28+
- Add `http_client_customizer:` to let a provider customize the HTTP client the OAuth flow uses (#560)
29+
30+
### Changed
31+
32+
- Validate the issuer of legacy authorization server metadata (#556)
33+
- Surface unreachable Protected Resource Metadata instead of falling back to legacy discovery (#561)
34+
- Validate the `src` and `sizes` of an icon against the specification (#563)
35+
36+
### Fixed
37+
38+
- Omit the body `client_id` from token requests that authenticate with HTTP Basic (#548)
39+
- Preserve the token endpoint's `error` and `error_description` in the raised error (#549)
40+
- Let the `client_credentials` and `jwt-bearer` grants run without Protected Resource Metadata (#557)
41+
- Let providers without a CIMD URL reader refresh their tokens (#559)
42+
1043
## [1.5.1] - 2026-09-09
1144

1245
This release keeps the HTTP client working with json 3.0. That release accepts the options of `JSON.parse`

lib/mcp/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module MCP
4-
VERSION = "1.5.1"
4+
VERSION = "1.6.0"
55
end

0 commit comments

Comments
 (0)