docs(migration): add v21 → v22 migration section#2273
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Checklist
PR Type
What is the current behavior?
MIGRATION.MDhas nov21 → v22section. The v22 line ships breaking Jest builder behavior changes (#2191, #2212) and the newng add/ng updateschematics (#2267) with no migration guidance.Issue Number: N/A
What is the new behavior?
Adds a
Migration from version 21 to version 22section at the top ofMIGRATION.MDdocumenting:ng add(jest, custom-esbuild, custom-webpack) andng update @angular-builders/jest. Notes the(from, to]migration window: a project on v17–v21 can jump straight to v22 in oneng update.isolatedModulesnow defaults totrue(builder behavior change;ng updateonly advises, does not rewrite config — verified againstmigrations/v22).coverageDirectorynow scoped per-project (<projectRoot>/coverage).ng addnow available.ng add @angular-builders/jestdetects/migrates Karma/Vitest/Jest setups.Content was verified against the actual schematics implementation on
feat/builder-schematics(#2267), not the original handoff draft — the v22 migration is advisory-only, which the draft had stated incorrectly.Does this PR introduce a breaking change?
Documentation only.
Other information
Targets
release/v22. Documents behavior introduced by #2191, #2212, and #2267 — best reviewed/merged alongside that stack.