chore(deps): bump @angular/core, @angular/common, @angular/forms, @angular/platform-browser, @angular/platform-server, @angular/router, @angular/ssr and @angular/build in /src/clientWeb#24
Conversation
…gular/platform-browser, @angular/platform-server, @angular/router, @angular/ssr and @angular/build Bumps [@angular/core](https://github.com/angular/angular/tree/HEAD/packages/core), [@angular/common](https://github.com/angular/angular/tree/HEAD/packages/common), [@angular/forms](https://github.com/angular/angular/tree/HEAD/packages/forms), [@angular/platform-browser](https://github.com/angular/angular/tree/HEAD/packages/platform-browser), [@angular/platform-server](https://github.com/angular/angular/tree/HEAD/packages/platform-server), [@angular/router](https://github.com/angular/angular/tree/HEAD/packages/router), [@angular/ssr](https://github.com/angular/angular-cli) and [@angular/build](https://github.com/angular/angular-cli). These dependencies needed to be updated together. Updates `@angular/core` from 21.2.6 to 22.0.1 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/v22.0.1/packages/core) Updates `@angular/common` from 21.2.6 to 22.0.1 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/v22.0.1/packages/common) Updates `@angular/forms` from 21.2.6 to 22.0.1 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/v22.0.1/packages/forms) Updates `@angular/platform-browser` from 21.2.6 to 22.0.1 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/v22.0.1/packages/platform-browser) Updates `@angular/platform-server` from 21.2.6 to 22.0.1 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/v22.0.1/packages/platform-server) Updates `@angular/router` from 21.2.6 to 22.0.1 - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/v22.0.1/packages/router) Updates `@angular/ssr` from 21.2.5 to 22.0.1 - [Release notes](https://github.com/angular/angular-cli/releases) - [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md) - [Commits](angular/angular-cli@v21.2.5...v22.0.1) Updates `@angular/build` from 21.2.5 to 22.0.1 - [Release notes](https://github.com/angular/angular-cli/releases) - [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md) - [Commits](angular/angular-cli@v21.2.5...v22.0.1) --- updated-dependencies: - dependency-name: "@angular/core" dependency-version: 22.0.1 dependency-type: direct:production - dependency-name: "@angular/common" dependency-version: 22.0.1 dependency-type: direct:production - dependency-name: "@angular/forms" dependency-version: 22.0.1 dependency-type: direct:production - dependency-name: "@angular/platform-browser" dependency-version: 22.0.1 dependency-type: direct:production - dependency-name: "@angular/platform-server" dependency-version: 22.0.1 dependency-type: direct:production - dependency-name: "@angular/router" dependency-version: 22.0.1 dependency-type: direct:production - dependency-name: "@angular/ssr" dependency-version: 22.0.1 dependency-type: direct:production - dependency-name: "@angular/build" dependency-version: 22.0.1 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
|
|
| "@angular/common": "^22.0.1", | ||
| "@angular/compiler": "^21.2.0", | ||
| "@angular/core": "^21.2.0", | ||
| "@angular/forms": "^21.2.0", | ||
| "@angular/platform-browser": "^21.2.0", | ||
| "@angular/platform-server": "^21.2.0", | ||
| "@angular/router": "^21.2.0", | ||
| "@angular/ssr": "^21.2.5", | ||
| "@angular/core": "^22.0.1", | ||
| "@angular/forms": "^22.0.1", | ||
| "@angular/platform-browser": "^22.0.1", | ||
| "@angular/platform-server": "^22.0.1", | ||
| "@angular/router": "^22.0.1", | ||
| "@angular/ssr": "^22.0.1", |
There was a problem hiding this comment.
🔴 Angular major version mismatch: @angular/compiler, @angular/cli, and @angular/compiler-cli left at v21 while other packages updated to v22
The PR upgrades most @angular/* packages from ^21.x to ^22.0.1, but three packages were missed and remain at v21: @angular/compiler (line 16), @angular/cli (line 29), and @angular/compiler-cli (line 30). Angular requires all its @angular/* packages to be on the same major version. Mixing v21 and v22 will cause build failures or runtime errors due to incompatible internal APIs between the compiler (v21) and the framework core (v22).
| "@angular/common": "^22.0.1", | |
| "@angular/compiler": "^21.2.0", | |
| "@angular/core": "^21.2.0", | |
| "@angular/forms": "^21.2.0", | |
| "@angular/platform-browser": "^21.2.0", | |
| "@angular/platform-server": "^21.2.0", | |
| "@angular/router": "^21.2.0", | |
| "@angular/ssr": "^21.2.5", | |
| "@angular/core": "^22.0.1", | |
| "@angular/forms": "^22.0.1", | |
| "@angular/platform-browser": "^22.0.1", | |
| "@angular/platform-server": "^22.0.1", | |
| "@angular/router": "^22.0.1", | |
| "@angular/ssr": "^22.0.1", | |
| "@angular/common": "^22.0.1", | |
| "@angular/compiler": "^22.0.1", | |
| "@angular/core": "^22.0.1", | |
| "@angular/forms": "^22.0.1", | |
| "@angular/platform-browser": "^22.0.1", | |
| "@angular/platform-server": "^22.0.1", | |
| "@angular/router": "^22.0.1", | |
| "@angular/ssr": "^22.0.1", |
Was this helpful? React with 👍 or 👎 to provide feedback.
| "@angular/cli": "^21.2.5", | ||
| "@angular/compiler-cli": "^21.2.0", |
There was a problem hiding this comment.
🚩 devDependencies @angular/cli and @angular/compiler-cli also need updating to v22
In addition to @angular/compiler in dependencies (covered in the bug report), the devDependencies @angular/cli at line 29 (^21.2.5) and @angular/compiler-cli at line 30 (^21.2.0) were also not updated. These should be bumped to ^22.0.1 (or the appropriate v22 version) to match the rest of the Angular packages. The CLI tooling versions must align with the framework version to ensure correct compilation, schematics, and build behavior.
Was this helpful? React with 👍 or 👎 to provide feedback.
|
Superseded by #28. |
Bumps @angular/core, @angular/common, @angular/forms, @angular/platform-browser, @angular/platform-server, @angular/router, @angular/ssr and @angular/build. These dependencies needed to be updated together.
Updates
@angular/corefrom 21.2.6 to 22.0.1Release notes
Sourced from @angular/core's releases.
... (truncated)
Changelog
Sourced from @angular/core's changelog.
... (truncated)
Commits
4b0c3b8refactor(core): Update registerNgModuleType to support codegen typecheckingdbf64c8test(core): fix AI tools test flake045bb73fix(core): validate lowercase SVG animation attribute names1ee224cfix(compiler): disallow i18n event attributes5946c18fix(compiler): sanitizehref/xlink:hrefattributes of any element of the ...b1f02ebrefactor(core): add internal utility85d2d10fix(forms): harden FormGroup control lookups against prototype shadowing6e3d51drefactor(migrations): ImprovesafeNavigationMigrationheuristic01ea640refactor(core): Fix DirectiveDefinition interface to allow abstract classesa704b08docs: add Signal Forms and v22 guidance to AI best-practices and llms.txtUpdates
@angular/commonfrom 21.2.6 to 22.0.1Release notes
Sourced from @angular/common's releases.
... (truncated)
Changelog
Sourced from @angular/common's changelog.
... (truncated)
Commits
2dd65d2fix(http): pass down thereportUploadProgressandreportDownloadProgress...1bd5a56docs: deprecate XHR support for server-side rendering in HTTP docs and recomm...3c2892cfix(common): prevent prototype pollution in formatDateTimec4b5fa3fix(common): escape CSS string-terminating characters in escapeCssUrl4254eb4fix(http): preserve empty referrer option in HttpRequest167bd4cfix(http): Rejects non-HTTP(S) URLs in JSONP requestsdfff57efix(common): Limits date format string length1d87c49fix(common): use cryptographically secure SHA-256 for transfer cache key gene...ffb06c0fix(http): ensure query parameters are inserted before URL fragments4795b35fix(common): only strip a literal /index.html suffix from URLsUpdates
@angular/formsfrom 21.2.6 to 22.0.1Release notes
Sourced from @angular/forms's releases.
... (truncated)
Changelog
Sourced from @angular/forms's changelog.
... (truncated)
Commits
3f05543refactor(forms): fix initWebMcpForm description to be required11836a6fix(forms): delay mcp reading the form model by aticke51ad37fix(forms): remove animationstart listener on component destroy to prevent me...85d2d10fix(forms): harden FormGroup control lookups against prototype shadowingcdcea80fix(core): require WebMCP tool descriptions55b7b5afix(forms): setadditionalProperties: falseon generated WebMCP forme81c7e8refactor(forms): type built-in getError resultseb600aarefactor(forms): mark date and limit signal forms APIs publica97d5ecbuild: update minimum supported Node.js versions3b4ef1eperf(forms): avoid redundant invalidations in parser errors signalUpdates
@angular/platform-browserfrom 21.2.6 to 22.0.1Release notes
Sourced from @angular/platform-browser's releases.
... (truncated)
Changelog
Sourced from @angular/platform-browser's changelog.