Skip to content

fix(client): update eventsource-parser for large SSE responses - #2846

Open
Sthreal wants to merge 1 commit into
modelcontextprotocol:mainfrom
Sthreal:fix/771-eventsource-parser-memory
Open

Sthreal wants to merge 1 commit into
modelcontextprotocol:mainfrom
Sthreal:fix/771-eventsource-parser-memory

Conversation

@Sthreal

@Sthreal Sthreal commented Sep 23, 2026

Copy link
Copy Markdown

Summary

Update the shared eventsource-parser catalog entry to ^3.0.8, which includes the upstream fix for excessive memory retention while processing large SSE responses.

This updates @modelcontextprotocol/client to eventsource-parser@3.0.8; eventsource@3.0.7 now also resolves its parser dependency to 3.0.8.

Closes #771.

Verification

  • pnpm --filter @modelcontextprotocol/client test → 887 passed / 0 failed
  • pnpm --filter @modelcontextprotocol/client typecheck
  • pnpm --filter @modelcontextprotocol/client exec eslint src/
  • pnpm install --frozen-lockfile

No runtime source changes are required for this dependency-level fix.

@Sthreal
Sthreal requested a review from a team as a code owner September 23, 2026 08:57
@changeset-bot

changeset-bot Bot commented Sep 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b9dfa83

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@modelcontextprotocol/client Patch
@modelcontextprotocol/codemod Patch
@modelcontextprotocol/core Patch
@modelcontextprotocol/server-legacy Patch
@modelcontextprotocol/server Patch
@modelcontextprotocol/core-internal Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Sep 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

@modelcontextprotocol/client

npm i https://pkg.pr.new/@modelcontextprotocol/client@2846

@modelcontextprotocol/codemod

npm i https://pkg.pr.new/@modelcontextprotocol/codemod@2846

@modelcontextprotocol/core

npm i https://pkg.pr.new/@modelcontextprotocol/core@2846

@modelcontextprotocol/server

npm i https://pkg.pr.new/@modelcontextprotocol/server@2846

@modelcontextprotocol/server-legacy

npm i https://pkg.pr.new/@modelcontextprotocol/server-legacy@2846

@modelcontextprotocol/express

npm i https://pkg.pr.new/@modelcontextprotocol/express@2846

@modelcontextprotocol/fastify

npm i https://pkg.pr.new/@modelcontextprotocol/fastify@2846

@modelcontextprotocol/hono

npm i https://pkg.pr.new/@modelcontextprotocol/hono@2846

@modelcontextprotocol/node

npm i https://pkg.pr.new/@modelcontextprotocol/node@2846

commit: b9dfa83

@claude claude Bot added the v2 Ideas, requests and plans for v2 of the SDK which will incorporate major changes and fixes label Sep 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2 Ideas, requests and plans for v2 of the SDK which will incorporate major changes and fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Memory leak in StreamableHTTP and SSE

1 participant