From 6cb9875b881b69a859a1a872cea62ddd74401aa5 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Mon, 5 Oct 2026 12:02:55 +0900 Subject: [PATCH] Release 1.7.0 This release lets a web application finish the OAuth authorization in the request that receives the redirect, bounds the `initialize` request a session retains and the resource URIs a `subscriptions/listen` stream retains, validates icons given as Hashes through `MCP::Icon`, and repairs two `subscriptions/listen` cases: a request that cannot be encoded is refused, and a removed stream is marked closed. The two bounds and the icon validation reject what earlier releases accepted and ship in a minor release under the exceptions described in VERSIONING.md; raise `max_initialize_request_bytes:` and `max_resource_subscription_bytes:` (or set them to `nil`) where the byte bounds are too tight, and give Hash icons only the `MCP::Icon` members with a valid `src`. --- CHANGELOG.md | 26 ++++++++++++++++++++++++++ lib/mcp/version.rb | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d7e384a..91faa0fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.7.0] - 2026-10-05 + +This release lets a web application finish the OAuth authorization in the request that receives the redirect, +bounds the `initialize` request a session retains and the resource URIs a `subscriptions/listen` stream retains, +validates icons given as Hashes through `MCP::Icon`, and repairs two `subscriptions/listen` cases: a request that +cannot be encoded is refused, and a removed stream is marked closed. +The two bounds and the icon validation reject what earlier releases accepted and ship in a minor release under +the exceptions described in [VERSIONING.md](VERSIONING.md); raise `max_initialize_request_bytes:` and +`max_resource_subscription_bytes:` (or set them to `nil`) where the byte bounds are too tight, and give Hash icons only +the `MCP::Icon` members with a valid `src`. + +### Added + +- Let a web application finish authorization in the request that receives the redirect (#573) +- Bound the resource URIs a `subscriptions/listen` stream retains (#582) +- Bound the `initialize` request a session retains (#583) + +### Changed + +- Validate icons given as Hashes through `MCP::Icon` (#586) + +### Fixed + +- Refuse `subscriptions/listen` requests that cannot be encoded (#585) +- Mark a removed `subscriptions/listen` stream closed (#587) + ## [1.6.1] - 2026-09-27 This release makes the OAuth client parse `WWW-Authenticate` headers and URLs in linear time and repairs diff --git a/lib/mcp/version.rb b/lib/mcp/version.rb index 057d0fb8..7437a294 100644 --- a/lib/mcp/version.rb +++ b/lib/mcp/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module MCP - VERSION = "1.6.1" + VERSION = "1.7.0" end