Release Checklist
The project checklist for validating and publishing a Travels release.
-
Update the release version locally:
- bump
package.json - update
CHANGELOG.md, replacingUnreleasedin the version heading with the release date
- bump
-
Run local verification before tagging:
corepack enable pnpm install --frozen-lockfile pnpm --dir website install --frozen-lockfile pnpm exec playwright install chromium firefox webkit pnpm run lint pnpm run size:ci pnpm run build:doc:site pnpm run test:types pnpm run test:examples pnpm run test pnpm run test:browser pnpm run test:e2e:types pnpm run test:e2e:ci pnpm run coverage pnpm run test:mutation:smoke pnpm run benchmark:ci -
Review README performance claims against
benchmarks/README.md. -
Review persistence schema changes and migration notes.
-
Confirm
docs/compatibility.mdstill matches runtime support. -
Commit the version and changelog changes to
main.
Coordinated v3 binding release
For a major release that changes the factory or restore boundary, publish in dependency order:
- Finish every Travels gate in this checklist and publish
travels@3from the exact tested artifact. - Install the published core in clean
use-travelandzustand-travelcheckouts. Raise theirmutativepeer and development ranges to the range Travels requires (^2.0.0for Travels 3), update their lockfiles to the published versions, and rerun each repository's types, tests, production build, and package smoke test. - Publish the binding majors only after those published-core runs pass.
- In a clean consumer, install all three published packages together with
mutative@2, confirm the install reports no peer dependency conflict, and smoke test a new timeline plus an atomically restored timeline.
Local sibling links are useful candidate evidence, but they do not replace the published-package checks in steps 2 and 4. Do not tag a binding release that requires an unpublished core version.
-
Push
main, then create and push a matching release tag:VERSION=$(node -p "require('./package.json').version") git push origin main git tag "v$VERSION" git push origin "v$VERSION"The tag must match the
package.jsonversion exactly, with a leadingv.The release job picks the npm dist-tag itself: a version above the published
latestbecomeslatest, a prerelease becomesnext, and a maintenance release of an older major becomesv<major>-latest(for examplev2-latest), so it never replaces the current major. -
Confirm the tag-triggered release flow completed:
ReleaseAPI Docs, dispatched byReleasewith the release tag
The documentation workflow publishes the release-tag build to
gh-pages. Keep GitHub Pages configured to deploy from that branch at/(root). For an intentional website update outside a release, runpnpm run deploy:doc:sitefrom the repository root instead of dispatching an older release tag. -
Smoke test the published package:
npm view travels version npm pack travels --dry-run