From 17a2c398ccd9d6ff21c3262ed3e26739ccb8322c Mon Sep 17 00:00:00 2001 From: Konstantin Konstantinov Date: Fri, 16 Jan 2026 12:46:33 +0200 Subject: [PATCH 1/2] readme fix (#1391) --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a6c67bf62..132abe2a5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # MCP TypeScript SDK -> [!IMPORTANT] **This is the `main` branch which contains v2 of the SDK (currently in development, pre-alpha).** +> [!IMPORTANT] +> **This is the `main` branch which contains v2 of the SDK (currently in development, pre-alpha).** > > We anticipate a stable v2 release in Q1 2026. Until then, **v1.x remains the recommended version** for production use. v1.x will continue to receive bug fixes and security updates for at least 6 months after v2 ships to give people time to upgrade. > From 8bf13e4569d90cd03ce0ad5017797b6f5ac17d36 Mon Sep 17 00:00:00 2001 From: Konstantin Konstantinov Date: Fri, 16 Jan 2026 12:48:51 +0200 Subject: [PATCH 2/2] flaky test fix (#1392) --- packages/middleware/node/test/streamableHttp.test.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/middleware/node/test/streamableHttp.test.ts b/packages/middleware/node/test/streamableHttp.test.ts index ea6c09333..b406b80c0 100644 --- a/packages/middleware/node/test/streamableHttp.test.ts +++ b/packages/middleware/node/test/streamableHttp.test.ts @@ -2291,6 +2291,11 @@ describe.each(zodTestMatrix)('$zodVersionLabel', (entry: ZodMatrixEntry) => { const { done } = await Promise.race([readPromise, timeoutPromise]); expect(done).toBe(true); + // Wait a bit to ensure the next notification gets a different timestamp. + // The eventStore uses Date.now() in event IDs, and if two events have the same + // timestamp, the UUID suffix ordering is random and may not preserve creation order. + await new Promise(resolve => setTimeout(resolve, 5)); + // Send a notification while client is disconnected await mcpServer.server.sendLoggingMessage({ level: 'info', data: 'Missed while disconnected' });