Skip to content

release: prepare SDK v2 for latest - #835

Merged
roncohen merged 1 commit into
mainfrom
release/sdk-v2-latest
Nov 27, 2026
Merged

roncohen merged 1 commit into
mainfrom
release/sdk-v2-latest

Conversation

@roncohen

Copy link
Copy Markdown
Contributor

Summary

Prepare the full SDK v2 release for npm latest by exiting Changesets prerelease mode. The stable version plan produces 2.0.0 for Node, Browser, React, Vue, React Native, and the CLI instead of promoting -next versions to latest.

  • Mark .changeset/pre.json as exit; leave versioning and publication to the normal Changesets release PR.
  • Require the stable-exit plan to include all six packages at 2.0.0.
  • Register manual workflow dispatch so the protected maintenance/v1 workflow can seed npm legacy tags. The main publisher still runs only on pushes to main; a manual run does not publish main.

The OpenFeature providers, Management SDK, REST alias, and evaluator keep their independent versions. OpenFeature Node's planned 1.2.9 is already published and must not be republished.

Release order

  1. Move the maintenance publisher to legacy.
  2. Merge this preparation change so Changesets updates the existing version PR to stable releases.
  3. Run the protected v1 tag migration and verify all six legacy tags before merging the stable version PR. npm trusted publishers need Allow npm dist-tag for that operation.
  4. Review and merge the stable version PR to publish 2.0.0 to latest.

The public v1/v2 documentation cutover is still separate; its publication-readiness markers are not yet on the documentation default branch.

Validation

Ran Changesets versioning in a separate, unpublished candidate worktree:

  • All six packages became 2.0.0; framework dependency ranges became ^2.0.0, and prerelease state was removed.
  • Full workspace yarn test:ci passed: 1,062 runtime tests and 48 Browser E2E cases across Chromium, Firefox, and WebKit.
  • All 11 publishable packages packed successfully; declared entry points exist. CommonJS/ESM loading and NodeNext consumer checks passed where applicable.
  • CLI-generated Node, React, and Vue consumer checks passed.
  • Package builds, docs generation, 17 release safeguards, 5 docs-publication safeguards, and 3 docs-transform tests passed. Changed-file lint, formatting, and normal hooks passed.

Management was compiled from checked-in generated sources; its generator was not rerun, and the root yarn build command was not run. Native type programs passed; no device/emulator acceptance is claimed. No npm publication or tag mutation was performed.

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Risk: high

no actionable findings

@roncohen
roncohen enabled auto-merge November 27, 2026 14:02
@roncohen
roncohen added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit fb3b1a2 Nov 27, 2026
9 checks passed
@roncohen
roncohen deleted the release/sdk-v2-latest branch November 27, 2026 14:12
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.

1 participant