This release includes breaking changes for platform teams planning a safe upgrade.
✓ No known CVEs patched in this version
Topics
Summary
AI summaryFixed race condition in StateMachineGate.transition() causing undefined abort context and cache performance issue.
Full changelog
Fixed
-
StateMachineGate.transition() race with XState subscriber (Bug #1) — Added await Promise.resolve() after actor.send() to flush microtasks before reading _currentState.
-
SandboxEngine abort handler context undefined (Bug #2) — Introduced mutable ctxRef wrapper so onAbort always sees the latest context after createContext() resolves.
-
BuildPipeline ToolResponse shape heuristic false-positive (Bug #3) — Removed structural duck-type fallback; only TOOL_RESPONSE_BRAND symbol is trusted for identification.
-
recompile() cache fast-path O(n) loop (Bug #4) — Replaced for...of builder count loop with registry.size (Map.size, O(1)). Added readonly size to RegistryDelegate.
Test Suite
- 7 regression tests in StateMachineGate.transition-race.test.ts
- 5 regression tests in SandboxAbortContextRef.test.ts
- 13 regression tests in BuildPipeline.toolresponse-brand.test.ts
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About vinkius-labs/mcp-fusion
A TypeScript framework for building production-ready MCP servers with automatic tool discovery, multi-transport support (stdio/SSE/HTTP), built-in validation, and zero-config setup.
Related context
Related tools
Beta — feedback welcome: [email protected]