Repository navigation
chore(release): bump package versions - #444
Merged
Merged
Conversation
blocks 4.7.0, runtime-core 0.5.0, database-integrations 1.6.0, cli 0.8.0, convert 4.0.1, reactivity 1.2.2, mcp 0.4.1. @deepnote/cloud ships at its existing 0.1.0 as a first publish; @deepnote/local-runner is held back. convert, reactivity and mcp have no source changes since their last tags. They are bumped because internal deps are declared `workspace:*`, which pnpm publishes as an exact pin — without a republish they stay welded to blocks@4.6.0 (and mcp to cli@0.7.0), so MCP users would not receive the input-override fix and install trees would carry two copies of @deepnote/blocks. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019ym25nnxoNoaVdX3CrZwUw
Contributor
📝 WalkthroughWalkthroughSeven package manifests receive version updates. The changes affect Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (5 passed)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #444 +/- ##
=======================================
Coverage 88.30% 88.30%
=======================================
Files 191 191
Lines 10697 10697
Branches 3079 3079
=======================================
Hits 9446 9446
Misses 1249 1249
Partials 2 2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
tkislan
marked this pull request as ready for review
August 13, 2026 08:09
dinohamzic
approved these changes
Aug 13, 2026
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Versions
@deepnote/blocks@deepnote/runtime-coreexecute({inputs})semantics changed (#418); agent cancellation signal (#445); MCP client cleanup fix (#452)@deepnote/database-integrationsdbtServiceTokenredaction (#423); nullish integration fields + fetch hardening (#453)@deepnote/cloudcli@0.8.0(#417, #419, #437, #451)@deepnote/local-runnercli@0.8.0(#419, #437)@deepnote/clirun --cloud(#417), breaking--inputsemantics (#418),schedule(#437),sync(#451)@deepnote/convertexecution_count(#431); re-pin ontoblocks@4.7.0@deepnote/reactivityblocks@4.7.0@deepnote/mcpcli@0.8.0+blocks@4.7.0@deepnote/cloudand@deepnote/local-runnerneed no bump — both are already at 0.1.0 and neither has ever been published.Publish order (after merge)
Per
CONTRIBUTING.md, cut package-scoped GitHub releases from the merge commit. Order is topological so no published manifest briefly points at a version that isn't on npm yet:cloudmust followdatabase-integrations(it depends on it) and precedelocal-runner, whichcliin turn consumes.🤖 Generated with Claude Code
https://claude.ai/code/session_019ym25nnxoNoaVdX3CrZwUw
Summary by CodeRabbit