Summary
v1.1.0 marks completion of the dual-stack baseline and defined acceptance checks for the staged MCP 2026-07-28 migration tracked in #1220. MCPHub supports both 2025-11-25 and 2026-07-28: modern requests work without initialization or downstream transport sessions, while stateful tools can reuse isolated application state through an explicit state handle. This release fixes legacy-session interference with modern routing, completes protocol-validation, credential-isolation and state-lifecycle coverage, and adds bounded private list cache TTLs. Existing SSE and legacy Streamable HTTP sessions remain supported, with SSE migration documentation outlining the future deprecation path.
Features
- Advertise positive private TTLs for modern tools, prompts, resources, and resource-template lists when upstream discovery freshness is trustworthy, capped by the shortest remaining discovery lifetime and a five-second gateway budget. Uncertain freshness keeps TTLs at zero. by @samanhappy in #1277
- Document the bounded positive list TTL policy and legacy SSE deprecation and migration plan. by @samanhappy in #1276 and #1275
Fixes
- Prevent modern requests from inheriting legacy session group scope; route them using their URL and authenticated context while preserving legacy session continuation. by @samanhappy in #1273
- Expand real HTTP migration acceptance coverage for protocol metadata, credential and route isolation, state capacity, and idle cleanup. by @samanhappy in #1274
摘要
v1.1.0 标志着 #1220 所跟踪的 MCP 2026-07-28 分阶段迁移完成双协议基线与既定验收检查。MCPHub 同时支持 2025-11-25 和 2026-07-28:现代请求无需初始化或下游传输会话;需要状态的工具可通过显式状态标识复用隔离的应用状态。本版本修复旧会话对现代路由的影响,补齐协议校验、凭据隔离和状态生命周期测试,并增加有上限的私有列表缓存 TTL。现有 SSE 和旧版 Streamable HTTP 会话继续受支持,SSE 迁移文档说明后续弃用路径。
功能
- 当上游发现结果的有效期可信时,为现代工具、提示词、资源和资源模板列表提供正值私有缓存 TTL;上限取各上游剩余有效期与网关五秒预算中的最小值。有效期不确定时,TTL 保持为零。 by @samanhappy in #1277
- 补充有上限的正值列表 TTL 策略文档,以及旧版 SSE 的弃用与迁移规划。 by @samanhappy in #1276 and #1275
修复
- 防止现代请求继承旧会话的分组作用域,改为依据请求 URL 和认证上下文路由,同时保留旧客户端的会话延续行为。 by @samanhappy in #1273
- 扩展真实 HTTP 迁移验收测试,覆盖协议元数据、凭据与路由隔离、状态容量和空闲清理。 by @samanhappy in #1274
References
- feat(mcp): bound private list TTLs by discovery freshness by @samanhappy in #1277
- docs(mcp): define bounded positive list TTL policy by @samanhappy in #1276
- docs(mcp): plan legacy SSE deprecation and migration by @samanhappy in #1275
- test(mcp): complete bounded modern migration acceptance by @samanhappy in #1274
- fix(mcp): ignore legacy session scope for modern requests by @samanhappy in #1273
- Full changelog: v1.0.46...v1.1.0