Skip to content

chore(release): bump package versions - #444

Merged
tkislan merged 5 commits into
mainfrom
release/2026-08-04
Aug 13, 2026
Merged

tkislan merged 5 commits into
mainfrom
release/2026-08-04

Conversation

@tkislan

@tkislan tkislan commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Versions

Package From To Bump Driver
@deepnote/blocks 4.6.0 4.7.0 minor New public API (#418)
@deepnote/runtime-core 0.4.0 0.5.0 minor execute({inputs}) semantics changed (#418); agent cancellation signal (#445); MCP client cleanup fix (#452)
@deepnote/database-integrations 1.5.0 1.6.0 minor Snowflake dbtServiceToken redaction (#423); nullish integration fields + fetch hardening (#453)
@deepnote/cloud — 0.1.0 first publish Required by cli@0.8.0 (#417, #419, #437, #451)
@deepnote/local-runner — 0.1.0 first publish Required by cli@0.8.0 (#419, #437)
@deepnote/cli 0.7.0 0.8.0 minor run --cloud (#417), breaking --input semantics (#418), schedule (#437), sync (#451)
@deepnote/convert 4.0.0 4.0.1 patch Markdown cells no longer emit execution_count (#431); re-pin onto blocks@4.7.0
@deepnote/reactivity 1.2.1 1.2.2 patch Re-pin onto blocks@4.7.0
@deepnote/mcp 0.4.0 0.4.1 patch Re-pin onto cli@0.8.0 + blocks@4.7.0

@deepnote/cloud and @deepnote/local-runner need 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:

1. @deepnote/blocks@4.7.0
2. @deepnote/database-integrations@1.6.0
   @deepnote/convert@4.0.1
   @deepnote/reactivity@1.2.2
   @deepnote/runtime-core@0.5.0
3. @deepnote/cloud@0.1.0
4. @deepnote/local-runner@0.1.0
5. @deepnote/cli@0.8.0
6. @deepnote/mcp@0.4.1

cloud must follow database-integrations (it depends on it) and precede local-runner, which cli in turn consumes.

🤖 Generated with Claude Code

https://claude.ai/code/session_019ym25nnxoNoaVdX3CrZwUw

Summary by CodeRabbit

  • Chores
    • Updated package versions across the Blocks, CLI, Convert, Database Integrations, MCP, Reactivity, and Runtime Core components.
    • Includes minor and patch releases to reflect the latest published package updates.

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
@coderabbitai

coderabbitai Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Seven package manifests receive version updates. The changes affect @deepnote/blocks, @deepnote/cli, @deepnote/convert, @deepnote/database-integrations, @deepnote/mcp, @deepnote/reactivity, and @deepnote/runtime-core.

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

Possibly related PRs

🚥 Pre-merge checks | ✅ 5 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Updates Docs ❓ Inconclusive Public OSS docs cover the new sync CLI and cloud import API, but the required private roadmap cannot be inspected from this checkout. Confirm that the sync feature and its release details are also recorded on the landing page in deepnote/deepnote-internal.
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the package version updates in the pull request.

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

@codecov

codecov Bot commented Aug 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.30%. Comparing base (ddda8de) to head (419874a).

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.
📢 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 marked this pull request as ready for review August 13, 2026 08:09
@tkislan
tkislan requested a review from a team as a code owner August 13, 2026 08:09
@tkislan
tkislan merged commit be57386 into main Aug 13, 2026
21 checks passed
@tkislan
tkislan deleted the release/2026-08-04 branch August 13, 2026 11:20
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