Skip to content

Mr gd crazy patch 4#1750

Open
MrGDCrazy wants to merge 11 commits intomodelcontextprotocol:mainfrom
MrGDCrazy:MrGDCrazy-patch-4
Open

Mr gd crazy patch 4#1750
MrGDCrazy wants to merge 11 commits intomodelcontextprotocol:mainfrom
MrGDCrazy:MrGDCrazy-patch-4

Conversation

@MrGDCrazy
Copy link

Motivation and Context

How Has This Been Tested?

Breaking Changes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

MrGDCrazy and others added 9 commits March 24, 2026 22:03
Added SDK Version Pin Agent documentation outlining its role, actions, scope, constraints, and examples for managing SDK dependencies across multiple repositories.
- CODEOWNERS: update auth-team paths to match v2 monorepo layout
  (old paths referenced /src/... which no longer exist, causing all
  auth-related PRs to skip required auth-team review)

- ci: align actions/checkout and actions/setup-node to @v6 in the
  publish job of main.yml (was @v4, inconsistent with build/test jobs)

- ci: add typecheck+lint gate to publish.yml before building preview
  packages (broken code could previously be published on every push)

- ci: remove continue-on-error from conformance jobs; expected-failures
  is empty so real regressions were silently swallowed

- security: remove internal error detail (String(error)) from the
  JSON-RPC parse-error response body in streamableHttp — stack traces
  and file paths should not be forwarded to clients

- refactor: convert tasks/result polling handler from unbounded
  recursion to an explicit while-loop, eliminating deep promise-chain
  accumulation for long-running tasks

https://claude.ai/code/session_01CCxV9DvdS7Bf7bck3R9FJs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Add CodeQL analysis workflow configuration
@MrGDCrazy MrGDCrazy requested a review from a team as a code owner March 25, 2026 13:50
Copilot AI review requested due to automatic review settings March 25, 2026 13:50
@changeset-bot
Copy link

changeset-bot bot commented Mar 25, 2026

⚠️ No Changeset found

Latest commit: 962c16e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 25, 2026

Open in StackBlitz

@modelcontextprotocol/client

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/client@1750

@modelcontextprotocol/server

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/server@1750

@modelcontextprotocol/express

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/express@1750

@modelcontextprotocol/hono

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/hono@1750

@modelcontextprotocol/node

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/node@1750

commit: 962c16e

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR appears to finalize a 2.0.0 release across the TypeScript SDK’s workspace packages, including version bumps, generated package changelogs, and removal of now-consumed changesets. It also includes a couple of runtime behavior tweaks (task polling + error response sanitization) and CI/workflow updates.

Changes:

  • Bump multiple workspace packages from 2.0.0-alpha.02.0.0 and add package CHANGELOG.md files; remove corresponding .changeset/* entries.
  • Adjust runtime behavior: avoid leaking raw parse errors in Streamable HTTP JSON-RPC responses; refactor tasks/result to use an iterative polling loop.
  • CI/ops updates: add check:all to publish workflow, make conformance jobs non-optional, add a CodeQL workflow, and update CODEOWNERS/agent docs.

Reviewed changes

Copilot reviewed 39 out of 39 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/integration/package.json Release version bump to 2.0.0 for integration package.
test/integration/CHANGELOG.md Add generated changelog for 2.0.0.
packages/server/src/server/streamableHttp.ts Stop including raw parse error details in JSON-RPC responses.
packages/server/package.json Release version bump to 2.0.0.
packages/server/CHANGELOG.md Add generated changelog for 2.0.0.
packages/middleware/node/package.json Release version bump to 2.0.0.
packages/middleware/node/CHANGELOG.md Add generated changelog for 2.0.0.
packages/middleware/hono/package.json Release version bump to 2.0.0.
packages/middleware/hono/CHANGELOG.md Add generated changelog for 2.0.0.
packages/middleware/express/package.json Release version bump to 2.0.0.
packages/middleware/express/CHANGELOG.md Add generated changelog for 2.0.0.
packages/core/src/shared/protocol.ts Replace recursive tasks/result polling with an iterative loop.
packages/core/package.json Release version bump to 2.0.0.
packages/core/CHANGELOG.md Add generated changelog for 2.0.0.
packages/client/package.json Release version bump to 2.0.0.
packages/client/CHANGELOG.md Add generated changelog for 2.0.0.
.github/workflows/publish.yml Add pnpm run check:all before build/publish.
.github/workflows/main.yml Update action versions used by CI jobs.
.github/workflows/conformance.yml Make conformance jobs blocking (continue-on-error: false).
.github/workflows/codeql.yml Add CodeQL scanning workflow.
.github/agents/sdk-version-pin-agent.agent.md Add agent instructions for tracking/upgrading SDK versions across dependent repos.
.github/CODEOWNERS Update auth-related ownership paths to current repo layout.
.changeset/use-scopes-supported-in-dcr.md Remove consumed changeset entry.
.changeset/twelve-dodos-taste.md Remove consumed changeset entry.
.changeset/tender-snails-fold.md Remove consumed changeset entry.
.changeset/shy-times-learn.md Remove consumed changeset entry.
.changeset/rich-hounds-report.md Remove consumed changeset entry.
.changeset/respect-capability-negotiation.md Remove consumed changeset entry.
.changeset/quick-islands-occur.md Remove consumed changeset entry.
.changeset/oauth-error-http200.md Remove consumed changeset entry.
.changeset/heavy-walls-swim.md Remove consumed changeset entry.
.changeset/funky-baths-attack.md Remove consumed changeset entry.
.changeset/fix-unknown-tool-protocol-error.md Remove consumed changeset entry.
.changeset/fix-task-session-isolation.md Remove consumed changeset entry.
.changeset/expose-auth-server-discovery.md Remove consumed changeset entry.
.changeset/cyan-cycles-pump.md Remove consumed changeset entry.
.changeset/busy-weeks-hang.md Remove consumed changeset entry.
.changeset/brave-lions-glow.md Remove consumed changeset entry.
.changeset/add-hono-peer-dep.md Remove consumed changeset entry.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants