File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ All notable changes to `mcp/sdk` will be documented in this file.
550.6.0
66-----
77
8+ * [ BC Break] Bump default protocol version to ` 2025-11-25 `
89* Allow overriding the default name pattern for Discovery
910* Add configurable session garbage collection (` gcProbability ` /` gcDivisor ` )
1011
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ public function build(): Client
153153 $ config = new Configuration (
154154 clientInfo: $ clientInfo ,
155155 capabilities: $ this ->capabilities ?? new ClientCapabilities (),
156- protocolVersion: $ this ->protocolVersion ?? ProtocolVersion::V2025_06_18 ,
156+ protocolVersion: $ this ->protocolVersion ?? ProtocolVersion::V2025_11_25 ,
157157 initTimeout: $ this ->initTimeout ,
158158 requestTimeout: $ this ->requestTimeout ,
159159 maxRetries: $ this ->maxRetries ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class Configuration
2525 public function __construct (
2626 public readonly Implementation $ clientInfo ,
2727 public readonly ClientCapabilities $ capabilities ,
28- public readonly ProtocolVersion $ protocolVersion = ProtocolVersion::V2025_06_18 ,
28+ public readonly ProtocolVersion $ protocolVersion = ProtocolVersion::V2025_11_25 ,
2929 public readonly int $ initTimeout = 30 ,
3030 public readonly int $ requestTimeout = 120 ,
3131 public readonly int $ maxRetries = 3 ,
Original file line number Diff line number Diff line change 2121interface MessageInterface extends \JsonSerializable
2222{
2323 public const JSONRPC_VERSION = '2.0 ' ;
24- public const PROTOCOL_VERSION = ProtocolVersion::V2025_06_18 ;
24+ public const PROTOCOL_VERSION = ProtocolVersion::V2025_11_25 ;
2525}
You can’t perform that action at this time.
0 commit comments