Skip to content

chore(release): bump package versions - #562

Merged
tkislan merged 1 commit into
mainfrom
release/2026-10-08
Oct 8, 2026
Merged

tkislan merged 1 commit into
mainfrom
release/2026-10-08

Conversation

@tkislan

@tkislan tkislan commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Versions

Package From To Bump Driver
@deepnote/mcp 0.5.0 0.5.1 patch @modelcontextprotocol/sdk floor ^1.30.0 → ^1.32.1 (#561)

Not released: @deepnote/blocks, cli, cloud, convert, database-integrations, local-runner, reactivity, and runtime-core. Nothing they ship has changed since their last release: their tarballs rebuilt from main match the published ones.

What each release ships

@deepnote/mcp 0.5.1 (patch)

#561's other fixes don't reach consumers: the proxy-addr override and the dev-only source-map-js and smol-toml bumps only change installs inside this repository.

Evidence

  • Every package's package.json, latest stable release tag, and npm latest agree on main (a242a4c), and chore(security): resolve pnpm audit vulnerabilities (1 critical, 2 high) #561 is the only PR since those releases that touches a package.
  • The packed @deepnote/mcp differs from the published 0.5.0 only in package.json, where the one consumer-facing change is the SDK floor.
  • mcp's public types expose the SDK's Server. Between 1.30.0 and 1.32.1, server/index.d.ts is unchanged, and its base class shared/protocol.d.ts gains one JSDoc line, so mcp's API is unchanged.
  • pnpm test (184 files, 3368 tests), pnpm typecheck, and pnpm biome:check pass.

Prepared with the /bump-package-versions skill from #541.

Publish order (after merge)

Create one GitHub release per package from the merge commit, tagged @deepnote/<name>@<version>, in this order. Let each cd.yml run publish before creating the next, so no published manifest pins a version that isn't on npm yet.

  1. @deepnote/mcp@0.5.1

Use each package's "What each release ships" list as its release notes. GitHub's generated notes list every PR in the repository range and may compare against another package's tag.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BYyMrxsMPw3Yu9zmWuusYP

Summary by CodeRabbit

  • Chores
    • Updated the MCP package version to 0.5.1. No end-user-facing feature or behavior changes are included in this update.

@deepnote/mcp 0.5.0 -> 0.5.1 (patch): @modelcontextprotocol/sdk floor ^1.32.1 (#561).
Not released: blocks, cli, cloud, convert, database-integrations, local-runner, reactivity, runtime-core (nothing shipped changed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BYyMrxsMPw3Yu9zmWuusYP
@tkislan
tkislan requested a review from a team as a code owner October 8, 2026 05:58
@coderabbitai

coderabbitai Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: c608cefd-e365-454e-af95-233249f554ae
📥 Commits

Reviewing files that changed from the base of the PR and between a242a4c and e8b47c0.

📒 Files selected for processing (1)
  • packages/mcp/package.json

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

The @deepnote/mcp package version changes from 0.5.0 to 0.5.1.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Other

Suggested reviewers: jamesbhobbs

Merge Risk: ⚪ Minimal · up to e8b47

The package release version changes to 0.5.1, with its SDK requirement unchanged. The reviewed diff presents no concrete merge-blocking risk.

🚥 Pre-merge checks | ✅ 6
✅ Passed checks (6 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately identifies a release version bump for the package. It is concise and relevant to the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Updates Docs ✅ Passed PASS — The pull request changes only packages/mcp/package.json to bump @deepnote/mcp from 0.5.0 to 0.5.1. It does not implement a feature, so this documentation check is not applicable.
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

🔧 Biome (2.5.14)
packages/mcp/package.json

Biome could not lint this file: configuration resulted in errors. Check the repository's Biome configuration and plugins.


Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.00%. Comparing base (a242a4c) to head (e8b47c0).

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #562    +/-   ##
========================================
  Coverage   90.00%   90.00%            
========================================
  Files         211      211            
  Lines       12451    12451            
  Branches     3482     3588   +106     
========================================
  Hits        11206    11206            
  Misses       1242     1242            
  Partials        3        3            

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tkislan
tkislan merged commit b5415ba into main Oct 8, 2026
22 checks passed
@tkislan
tkislan deleted the release/2026-10-08 branch October 8, 2026 06:47
tkislan added a commit that referenced this pull request Oct 8, 2026
The skill's inline shell moves into one Node script with four commands
(baselines, changes, surface, set-version) that exit 1 when a run should
stop. SKILL.md drops from 267 to 183 lines, and the facts specific to one
package move into a single "Package notes" section.

- set-version refuses a target that isn't above the last release, and checks
  npm and origin before accepting a package as already at its target.
- baselines prints npm's error code with npm-error, so an auth failure is
  distinguishable from a dropped connection.
- surface also reports the third-party packages the public types import,
  flagging a changed range, and whether the built files changed byte for byte.
- Steps 1 to 6 stay on origin/main. An open release PR is compared at step 6
  and updated at step 7, after approval.
- SKILL.md says root pnpm.overrides don't ship, and how to rate a raised
  floor on a dependency the public types expose.
- CONTRIBUTING.md no longer limits the skill to multi-package releases.

Tested with dry runs to the step 6 checkpoint: on main at b331a3f the skill
matched #552 on 8 of 9 packages and raised the ninth as an open question; on
a242a4c it produced the proposal released as #562. Every baseline status was
exercised against a simulated remote, along with set-version's refusals and
surface's fail-closed path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BYyMrxsMPw3Yu9zmWuusYP
tkislan added a commit that referenced this pull request Nov 5, 2026
…p PR (#541)

* chore(release): add a Claude Code skill that prepares the version-bump PR

Adds /bump-package-versions, a manual-only project skill for maintainers.
Per package it finds the last stable release tag, cross-checks it against
package.json on main and npm, lists the PRs merged since, diffs the public
surface (exported names, package.json fields, packed files) against the
published tarball, and picks major/minor/patch from semver plus this
repo's conventions: 0.x breaking changes and features take a minor, a new
block type is a minor for blocks and a patch for dependents, and
workspace:* pins force a release of every dependent. It pauses for
approval, bumps with `pnpm version --no-git-tag-version`, and opens a PR
shaped like #444.

CONTRIBUTING.md points to it from "Publishing packages".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015hEPMFUL7nnce55y9RVztu

* chore(release): catch bundled dependency changes and npm lookup failures

Addresses the two findings from the Codex review of this PR. Both were
verified and rated P3.

- Step 4 now also diffs the third-party packages inlined into each bundle
  against the published tarball, reading them from tsdown's //#region
  markers. Step 3's path filter can't see a change that touches only the
  root pnpm.overrides and pnpm-lock.yaml, yet such a change moves the
  yaml or zod copied into local-runner's snapshot reader. Step 3 now
  points to that check instead of keeping its own, already stale, list of
  bundled packages.
- Step 2 prints npm=none only when npm answers E404. Any other lookup
  failure prints npm=ERROR. A new table row says to re-run the loop in
  that case, instead of reading the failure as "never released".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015hEPMFUL7nnce55y9RVztu

* chore(release): pin npm lookups and make the bump skill's checks fail closed

Addresses the four follow-up issues (A to D) from the review of this PR:

- A: manifest_of sorts dependencies and peerDependencies before diffing.
  pnpm pack writes them in a nondeterministic order: 6 packs of
  @deepnote/mcp gave 6 different outputs before, and 1 after.
- B: step 7 requires npm to answer E404 for the new version. The old
  check printed nothing, and so read as "available", whenever the lookup
  failed.
- C: step 2 prints tag-on-remote=- and tag-on-main=- when a package has
  no tag, so an untagged package no longer matches the local-only-tag and
  other-branch Stop rows.
- D: every npm view and npm pack pins --@deepnote:registry to
  registry.npmjs.org, where cd.yml publishes. A plain --registry, the
  first suggestion, does not override a scoped registry in a user's
  .npmrc: npm still sent the lookup to the scoped registry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015hEPMFUL7nnce55y9RVztu

* chore(release): count install hooks as shipped and stop on untagged npm versions

Addresses the two open CodeRabbit comments on this PR.

- Step 3's "Ships" list now names all ten package.json fields that step
  4's manifest_of() diffs; it named six and left out main, module, types
  and peerDependencies. It also counts the install hooks npm runs on
  consumers' machines (preinstall, install, postinstall) and the build
  script as shipped, and "Doesn't ship" keeps only the other scripts.
  #483 added --no-fixed-extension to the build scripts of blocks and
  database-integrations, unreleased in both, which the old rule filed
  under "Doesn't ship".
- Step 2's table gets a row for tag=none with a version on npm: the
  package was published outside the release flow, so stop. No row
  covered it, and reading it as "never released" skips step 7's check
  that the version isn't on npm yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015MDLLybntQm7AD7nUQAWZX

* chore(release): move the bump skill's checks into scripts/bump.mjs

The skill's inline shell moves into one Node script with four commands
(baselines, changes, surface, set-version) that exit 1 when a run should
stop. SKILL.md drops from 267 to 183 lines, and the facts specific to one
package move into a single "Package notes" section.

- set-version refuses a target that isn't above the last release, and checks
  npm and origin before accepting a package as already at its target.
- baselines prints npm's error code with npm-error, so an auth failure is
  distinguishable from a dropped connection.
- surface also reports the third-party packages the public types import,
  flagging a changed range, and whether the built files changed byte for byte.
- Steps 1 to 6 stay on origin/main. An open release PR is compared at step 6
  and updated at step 7, after approval.
- SKILL.md says root pnpm.overrides don't ship, and how to rate a raised
  floor on a dependency the public types expose.
- CONTRIBUTING.md no longer limits the skill to multi-package releases.

Tested with dry runs to the step 6 checkpoint: on main at b331a3f the skill
matched #552 on 8 of 9 packages and raised the ninth as an open question; on
a242a4c it produced the proposal released as #562. Every baseline status was
exercised against a simulated remote, along with set-version's refusals and
surface's fail-closed path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BYyMrxsMPw3Yu9zmWuusYP

* chore(release): report a prerelease in flight on main as prerelease

cd.yml publishes only when package.json matches the tag, so a prerelease cut
from main leaves main's package.json at the prerelease version. baselines
reported that as unreleased-bump. And because cd.yml publishes without --tag,
which npm 10 turns into latest, it could also stop earlier as
published-outside-flow.

checkBaseline now reports prerelease when package.json matches a prerelease
tag that is on origin and on main, and npm's latest is either the stable tag
or that prerelease. A local-only or off-main prerelease tag, or a package.json
past the last released prerelease, still stops the run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BYyMrxsMPw3Yu9zmWuusYP

* feat(release): flag dependents of never-released packages in baselines

pnpm publishes workspace:* as the dependency's exact version, so a package that
depends on a never-released one can't be released without it. baselines now
prints a line for each such dependent, and step 2 of the skill says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VanAqwcw7e4ahv2CzsJNdV

* docs(release): drop package notes from the bump-package-versions skill

Each note restated what the code, CI, AGENTS.md, or package READMEs already
record: the CLI's tsdown.config.ts and EXTRA_PATHS, cd-pypi-cli.yml, the bin and
exports fields, and local-runner's tsdown.config.ts and README. The two steps
that pointed to the section now point to EXTRA_PATHS or stand on their own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VanAqwcw7e4ahv2CzsJNdV

* docs(release): require reading dependents' call sites before rating leaks

surface compares types, so a dependent that runs a dependency's changed code
inherits the change without any type difference. Step 5's leak rule now has the
agent grep each dependent's uses of a changed dependency, follow them to the
changed code, and never rate a dependent unaffected without reading them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VanAqwcw7e4ahv2CzsJNdV

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.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.

2 participants