The package major identifies its supported Angular major. master tracks the
latest Angular major; older supported majors use vN maintenance branches.
| Package line | Angular | Branch | npm tag | Status |
|---|---|---|---|---|
| 20.x | 20.x | v20 |
angular20 |
LTS through 2026-11-28 |
| 21.x | 21.x | v21 |
angular21 |
LTS |
| 22.x | 22.x | master |
angular22, latest |
Active |
Fix an issue on the oldest affected maintained branch. Forward-port the merged
commit in ascending major order with git cherry-pick -x, one linked pull
request per branch. Do not forward-port Angular migrations, dependency-major
changes, package versions, or release metadata.
master has no duplicate current-major branch. Before upgrading master to a new
Angular major, create vN from its final commit and protect that branch.
- Open a release pull request that updates both package manifests and the changelog.
- Merge only after the required CI check passes on the release commit.
- In a clean checkout, run
npm ci,npm run lint,npm test,npm run build,npm audit --omit=dev --audit-level=high, andnpm run verify:package, andnpm run verify:consumer. - Publish
dist/plotlywith npm 2FA to the branch'sangularNtag. - Install and inspect the published version. Promote it to
latestonly when it is the current Angular major, then verify all expected npm dist-tags. - Create a signed annotated
vN.x.ytag on the release commit, push it, and create a GitHub Release from the changelog entry.
Never publish a maintenance branch directly to latest. Patch releases contain
fixes and security updates; minor releases add backward-compatible features;
major releases select a new Angular compatibility line.