v2.1.0
Changed 1
- Replace createMcpHandler(initialize, serverOptions, config) with createMcpHandler(initialize, options) using a single options object combining ServerOptions with serverInfo, verboseLogs, and onEvent, exported as McpHandlerOptions
Removed 1
- Remove deprecated 1.x compatibility shims: basePath, streamableHttpEndpoint, sseEndpoint, sseMessageEndpoint, disableSse, redisUrl, maxDuration, and sessionIdGenerator
From mcp-handler
Minor Changes
- 8398dbd:
createMcpHandler(initialize, serverOptions, config)is nowcreateMcpHandler(initialize, options)— a single options object combining the SDK'sServerOptionswithserverInfo,verboseLogs, andonEvent(exported asMcpHandlerOptions). The deprecated 1.x compatibility shims (basePath,streamableHttpEndpoint,sseEndpoint,sseMessageEndpoint,disableSse,redisUrl,maxDuration,sessionIdGenerator) are removed.