mcp: update latestProtocolVersion to 2025-11-25 (#724)
Update the SDK to use protocol version 2025-11-25 as the latest supported version. Fix tests and examples that had hardcoded expectations for the previous version (2025-06-18). --------- Co-authored-by: Maciej Kisiel <mkisiel@google.com>
This commit is contained in:
parent
41ac43d2ed
commit
4e1c3a34b5
1 changed files with 12 additions and 18 deletions
|
|
@ -763,13 +763,13 @@ func TestClientRootCapabilities(t *testing.T) {
|
|||
var initParams json.RawMessage
|
||||
if tc.capabilities != nil {
|
||||
initParams = json.RawMessage(`{
|
||||
"protocolVersion": "2025-06-18",
|
||||
"protocolVersion": "2025-11-25",
|
||||
"capabilities": ` + *tc.capabilities + `,
|
||||
"clientInfo": {"name": "TestClient", "version": "1.0.0"}
|
||||
}`)
|
||||
} else {
|
||||
initParams = json.RawMessage(`{
|
||||
"protocolVersion": "2025-06-18",
|
||||
"protocolVersion": "2025-11-25",
|
||||
"clientInfo": {"name": "TestClient", "version": "1.0.0"}
|
||||
}`)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue