⚠️ Breaking Changes
The Result.Meta field type has changed from map[string]any to *Meta. Code that directly accesses or sets this field will need to be updated:
// Before (v0.36.0 and earlier):
result.Meta = map[string]any{"key": "value"}
// After (v0.37.0):
result.Meta = &mcp.Meta{AdditionalFields: map[string]any{"key": "value"}}What's Changed
- Replace Prompts/Resources/Resource Templates by @dgageot in #518
- Update server.go race condition by @outofthisworld in #524
- task: add _meta field to relevant types as defined in MCP specification by @buraksenn in #429
- feat: implement sampling support for Streamable HTTP transport by @andig in #515
- Fix SSE transport not properly handling HTTP/2 NO_ERROR disconnections by @okoshi-f in #509
- feat: add thread-safe
SetExpectedStatefor cross-request OAuth flows by @sd2k in #500 - feat: allow to set a custom logger in the SSE and STDIO clients by @caarlos0 in #525
New Contributors
- @outofthisworld made their first contribution in #524
- @buraksenn made their first contribution in #429
- @andig made their first contribution in #515
- @okoshi-f made their first contribution in #509
- @caarlos0 made their first contribution in #525
Full Changelog: v0.36.0...v0.37.0