Publishing changes npm state. Run the release workflow only with explicit maintainer approval after the release-readiness checklist is satisfied.
- Confirm
mainis green, the working tree is clean, and the compatibility matrix passed on Node 20 and 22 with minimum and current Convex versions. - Move every user-visible item from
Unreleasedinto a dated version section. - Update
packages/convex-chat/package.jsonto the intended version and refresh the lockfile without unrelated dependency changes. - Update
UPGRADING.mdfor every behaviorally breaking change. - Run the release workflow with
dry-runenabled and thenextdist-tag. - Review the tarball, public API snapshot, npm dry-run output, and provenance configuration before approving publication.
Create the version commit and signed v<version> tag, push both, then run the
manual release workflow from main with npm-tag=next and dry-run=false.
The workflow requires the GitHub npm environment and npm trusted publishing to
be configured for this repository.
After publication, install the exact public version in a clean directory, register the component, run Convex code generation against a development deployment, and smoke-test an authenticated send and read.
Only use npm-tag=latest for a non-prerelease package version after the release
candidate feedback window has closed with no unresolved critical or high-severity
defects. Verify the registry version before replacing release-candidate wording
and badges.
Do not overwrite a published npm version. If publication is incorrect, deprecate
the affected version with an explanation, restore the intended dist-tag, and ship
a new patch or prerelease. Follow UPGRADING.md for any schema or durable-data
impact.