Skip to content

chore: enter pre-release mode (rc) → Stack family 1.0.0-rc.0#647

Merged
coderdan merged 1 commit into
mainfrom
chore/enter-1.0.0-rc
Jul 14, 2026
Merged

chore: enter pre-release mode (rc) → Stack family 1.0.0-rc.0#647
coderdan merged 1 commit into
mainfrom
chore/enter-1.0.0-rc

Conversation

@coderdan

@coderdan coderdan commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Enters changesets pre-release mode (rc tag) and adds a major changeset for the Stack 1.0 family so the next release cuts 1.0.0-rc.0.

What this PR does

  • .changeset/pre.json — enters pre mode with tag rc.
  • .changeset/stack-1-0-0-rc.md — a major changeset for @cipherstash/stack, @cipherstash/stack-drizzle, @cipherstash/stack-supabase, and stash.

Verified locally (throwaway changeset version): those four resolve to 1.0.0-rc.0; other packages with pending changesets take their own bump with an -rc.0 suffix (e.g. @cipherstash/schema → 3.0.2-rc.0).

What happens after merge

  1. The changesets/action opens/updates a "Version Packages" PR showing 1.0.0-rc.0 for the four. That PR is the review gate — nothing publishes until it's merged.
  2. Merging the Version Packages PR runs pnpm run release → publishes under the rc npm dist-tag (pre mode does this automatically; latest stays on current stable).

Publishing prerequisites

  • New-package bootstrap — DONE. @cipherstash/stack-drizzle and @cipherstash/stack-supabase had never been published, so npm OIDC trusted publishing couldn't authenticate them (a trusted publisher is configured per existing package). They have now been bootstrapped on the registry and trusted publishing is configured for both, so the OIDC publish in release.yml will authenticate them like the existing packages. No change to release.yml was needed — and deliberately no NPM_TOKEN was added (it would make changesets/action write a token .npmrc that shadows OIDC and fail the whole run: E404, OIDC trusted publishing E404 when publishing scoped packages from changesets/action npm/cli#8976).

⚠️ Still read before merging the Version Packages PR

  • Pre mode is repo-wide and sticky to main. While pre.json is on main, every package with pending changesets publishes as -rc.0 under the rc tag (not just the four), and successive merges yield rc.1, rc.2, …. For GA: pnpm changeset pre exit, PR to main, merge.

https://claude.ai/code/session_01MxTTPaPP16m6br7Hoab94w

Enter changesets pre mode with the `rc` tag and add a major changeset for the
Stack 1.0 family: @cipherstash/stack, @cipherstash/stack-drizzle,
@cipherstash/stack-supabase, and stash. The changesets action will produce a
Version Packages PR at 1.0.0-rc.0 for these; merging that PR publishes under the
`rc` npm dist-tag (latest stays on the current stable).

Claude-Session: https://claude.ai/code/session_01MxTTPaPP16m6br7Hoab94w
@coderdan coderdan requested a review from a team as a code owner July 14, 2026 04:58
@changeset-bot

changeset-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7c7dbca

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

This PR includes changesets to release 11 packages
Name Type
@cipherstash/stack Major
@cipherstash/stack-drizzle Major
@cipherstash/stack-supabase Major
stash Major
@cipherstash/bench Patch
@cipherstash/migrate Major
@cipherstash/prisma-next Patch
@cipherstash/test-kit Patch
@cipherstash/basic-example Patch
@cipherstash/prisma-next-example Patch
@cipherstash/e2e 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

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Configures Changesets prerelease mode and adds a release-candidate changeset for coordinated major releases of the Stack packages and stash CLI.

Changes

Stack 1.0 release candidate

Layer / File(s) Summary
Release configuration and coordinated version bumps
.changeset/pre.json, .changeset/stack-1-0-0-rc.md
Configures the rc prerelease channel and initial package versions, then declares major release-candidate bumps for the Stack package family and stash.

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

Possibly related PRs

  • cipherstash/stack#337: Both changes update Changesets-driven release/versioning for the Stack and CLI packages.
🚥 Pre-merge checks | ✅ 5
✅ 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 matches the main change: enabling rc pre-release mode and publishing the Stack family as 1.0.0-rc.0.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/enter-1.0.0-rc

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 puts the repo into Changesets pre-release mode using the rc dist-tag and adds a major changeset to bump the Stack 1.0 family to 1.0.0-rc.0 on the next versioning run.

Changes:

  • Adds .changeset/pre.json to enter Changesets pre mode (mode: "pre", tag: "rc") with initialVersions aligned to current workspace package versions.
  • Adds a new major changeset (.changeset/stack-1-0-0-rc.md) for @cipherstash/stack, @cipherstash/stack-drizzle, @cipherstash/stack-supabase, and stash to move them together to the 1.0.0-rc.x line.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.changeset/pre.json Enables repo-wide pre-release mode under the rc tag with correct initial version baselines.
.changeset/stack-1-0-0-rc.md Introduces the major version bump changeset that drives the Stack 1.0 RC cut for the four packages.

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

@coderdan coderdan removed the request for review from auxesis July 14, 2026 05:27
@coderdan coderdan merged commit 4ed9db5 into main Jul 14, 2026
11 checks passed
@coderdan coderdan deleted the chore/enter-1.0.0-rc branch July 14, 2026 05:27
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