Add 2025-06-18 as supported version (#529)
This commit is contained in:
parent
521bb7bde2
commit
0e6184a4aa
2 changed files with 9 additions and 5 deletions
|
|
@ -39,7 +39,7 @@ public sealed class SseClientTransportOptions
|
|||
/// Streamable HTTP transport and automatically fall back to SSE transport if the server doesn't support it.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http">Streamable HTTP transport specification</see>.
|
||||
/// <see href="https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#streamable-http">Streamable HTTP transport specification</see>.
|
||||
/// <see href="https://modelcontextprotocol.io/specification/2024-11-05/basic/transports#http-with-sse">HTTP with SSE transport specification</see>.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
|
|
|
|||
|
|
@ -29,12 +29,13 @@ internal sealed partial class McpSession : IDisposable
|
|||
"mcp.server.operation.duration", "Measures the duration of inbound message processing.", longBuckets: false);
|
||||
|
||||
/// <summary>The latest version of the protocol supported by this implementation.</summary>
|
||||
internal const string LatestProtocolVersion = "2025-03-26";
|
||||
internal const string LatestProtocolVersion = "2025-06-18";
|
||||
|
||||
/// <summary>All protocol versions supported by this implementation.</summary>
|
||||
internal static readonly string[] SupportedProtocolVersions =
|
||||
[
|
||||
"2024-11-05",
|
||||
"2025-03-26",
|
||||
LatestProtocolVersion,
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue