chore(deps): update angular to v21 (major) #1568
Open
+2,313
−1,122
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.




This PR contains the following updates:
20.3.12->21.0.420.3.12->21.0.420.3.12->21.0.420.3.12->21.0.420.3.14->21.0.620.3.14->21.0.620.3.14->21.0.620.3.14->21.0.620.3.14->21.0.620.3.14->21.0.620.3.12->21.0.420.3.2->21.0.1Release Notes
angular/angular-cli (@angular-devkit/build-angular)
v21.0.4Compare Source
@schematics/angular
inlineSourcesfrom library tsconfig template@angular/build
@angular/ssr
v21.0.3Compare Source
@angular-devkit/build-angular
@angular/build
v21.0.2Compare Source
@angular/cli
@modelcontextprotocol/sdkto v1.24.0@angular-devkit/schematics
@angular/build
reportsDirectoryoptionv21.0.1Compare Source
@angular/cli
@schematics/angular
esModuleInteropandmoduleResolutionwhen module ispreservejasmine.clock().mockDate()@angular/build
isTTYas a function--includepaths to posix@angular/ssr
X-Forwarded-PrefixandAPP_BASE_HREFin redirectsv21.0.0Compare Source
Breaking Changes
@angular/cli
ngcommands will no longer automatically detect and usecnpmas the package manager. As an alternative use the.npmrcfile to ensure npm uses the cnpm registry.@angular/build
javascriptEnabledoption for Less is no longer supported. Projects relying on inline JavaScript within Less files will need to refactor their stylesheets to remove this dependency.@schematics/angular
addTypeToClassNameoption to relevant schematicsincludeoption to jasmine-to-vitest schematicng newpackageManagerinpackage.jsonon new projectsng newaddImportsoption to jasmine-vitest schematicmoduleResolutiontobundler@angular/cli
--jsonoutput tong versionlist_projectsMCP toolng addfunctionalityng versionoutput with more detailsng versioncommand outputfind_examplestool to a stable toolcnpmng adddry runng addng add@angular-devkit/build-angular
jestandjest-environment-jsdomto allow version 30@angular/build
browserViewportoption for vitest browser tests.test.tsfiles by default in unit test builderdefineoption to dev-serverglobalsto be set to falseɵgetOrCreateAngularServerAppis always defined after errorsjavascriptEnabledoption for Lessng servewith SSR (#31723)v20.3.13Compare Source
@angular/cli
@modelcontextprotocol/sdkto v1.24.0angular/angular (@angular/common)
v21.0.6Compare Source
Breaking Changes
forms
The shape of
SignalFormsConfig.classeshas changedPreviously each function in the
classesmap took aFieldState. Nowit takes a
Fielddirective.For example if you previously had:
You would need to update to:
(cherry picked from commit
348f149)(cherry picked from commit
ae0c590)core
forms
language-service
v21.0.5Compare Source
core
InjectionTokenwith factory onlyforms
v21.0.4Compare Source
compiler
compiler-cli
forms
Fielddirective[
v21.0.3](https://redirect.github.Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 12:59 AM, on day 1 of the month ( * 0 1 * * ) in timezone Europe/Bucharest, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.