Skip to content

fix(deps): update angular to v22#603

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-angular
Open

fix(deps): update angular to v22#603
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-angular

Conversation

@renovate

@renovate renovate Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@angular-eslint/builder (source) 21.4.022.0.0 age confidence
@angular-eslint/eslint-plugin (source) 21.4.022.0.0 age confidence
@angular-eslint/eslint-plugin-template (source) 21.4.022.0.0 age confidence
@angular-eslint/schematics (source) 21.4.022.0.0 age confidence
@angular-eslint/template-parser (source) 21.4.022.0.0 age confidence
@angular/animations (source) 21.2.1422.0.1 age confidence
@angular/build ^21.2.2^22.0.0 age confidence
@angular/cdk 21.2.1222.0.1 age confidence
@angular/cli 21.2.1222.0.1 age confidence
@angular/common (source) 21.2.1422.0.1 age confidence
@angular/compiler (source) 21.2.1422.0.1 age confidence
@angular/compiler-cli (source) 21.2.1422.0.1 age confidence
@angular/core (source) 21.2.1422.0.1 age confidence
@angular/forms (source) 21.2.1422.0.1 age confidence
@angular/material 21.2.1222.0.1 age confidence
@angular/platform-browser (source) 21.2.1422.0.1 age confidence
@angular/platform-browser-dynamic (source) 21.2.1422.0.1 age confidence
@angular/router (source) 21.2.1422.0.1 age confidence

Release Notes

angular-eslint/angular-eslint (@​angular-eslint/builder)

v22.0.0

Compare Source

🚀 Features
  • ⚠️ drop support for eslint v8 and legacy eslintrc config format (#​3056)
  • builder: add suppressionsLocation option (#​3034)
⚠️ Breaking Changes
  • drop support for eslint v8 and legacy eslintrc config format (#​3056)
❤️ Thank You

21.4.0 (2026-05-13)

🚀 Features
  • builder: add apply-suppressions option (#​2974)
❤️ Thank You
  • Finn Bayer

21.3.1 (2026-03-17)

🩹 Fixes
  • narrow build target cache outputs to avoid clobbering compile artifacts" (#​2943)
  • narrow build target cache outputs to avoid clobbering compile artifacts (#​2940)
❤️ Thank You

21.3.0 (2026-03-05)

🚀 Features
❤️ Thank You
  • Jason Weinzierl

21.2.0 (2026-01-29)

This was a version bump only for builder to align it with other projects, there were no code changes.

21.1.0 (2025-12-08)

🩹 Fixes
❤️ Thank You

21.0.1 (2025-11-23)

This was a version bump only for builder to align it with other projects, there were no code changes.

angular-eslint/angular-eslint (@​angular-eslint/eslint-plugin)

v22.0.0

Compare Source

🚀 Features
  • ⚠️ eslint-plugin: remove deprecated no-conflicting-lifecycle rule (#​3060)
  • ⚠️ eslint-plugin: [prefer-on-push-component-change-detection] flag only opting out of OnPush, make recommended (#​3058)
  • support the Angular v22 @​Service decorator (#​3057)
  • ⚠️ drop support for eslint v8 and legacy eslintrc config format (#​3056)
⚠️ Breaking Changes
  • eslint-plugin: remove deprecated no-conflicting-lifecycle rule (#​3060)
  • eslint-plugin: [prefer-on-push-component-change-detection] flag only opting out of OnPush, make recommended (#​3058)
    prefer-on-push-component-change-detection no longer reports components that omit changeDetection (omission now means OnPush in v22); it now only reports components that opt out of OnPush via ChangeDetectionStrategy.Eager or the deprecated ChangeDetectionStrategy.Default. The rule is also now part of the recommended config, so projects extending it may see new reports — notably on components the Angular v22 migration set to Eager. The suggestion message id suggestAddChangeDetectionOnPush has been renamed to suggestChangeToOnPush.
  • drop support for eslint v8 and legacy eslintrc config format (#​3056)
❤️ Thank You

21.4.0 (2026-05-13)

🩹 Fixes
  • eslint-plugin: append fixes in prefer-on-push-change-detection, use-injectable-provided-in (#​2969)
❤️ Thank You

21.3.1 (2026-03-17)

🩹 Fixes
  • eslint-plugin: [no-uncalled-signals] properly handle statements with unary operators (#​2926)
  • narrow build target cache outputs to avoid clobbering compile artifacts" (#​2943)
  • narrow build target cache outputs to avoid clobbering compile artifacts (#​2940)
❤️ Thank You

21.3.0 (2026-03-05)

🚀 Features
  • eslint-plugin: [no-uncalled-signals] detect Signal member access (#​2848)
  • add support for ESLint v10 (#​2903)
  • eslint-plugin: add computed-must-return rule (#​2882)
🩹 Fixes
  • eslint-plugin: [no-uncalled-signals] detect Signal type correctly (#​2907)
  • eslint-plugin: [no-uncalled-signals] add check InputSignalWithTransform (#​2879)
❤️ Thank You

21.2.0 (2026-01-29)

🚀 Features
  • eslint-plugin: [no-implicit-takeuntil-destroyed] add rule (#​2803)
❤️ Thank You

21.1.0 (2025-12-08)

🚀 Features
  • eslint-plugin: add prefer-signal-model rule to encourage using model() for two-way bindings (#​2818)
❤️ Thank You
  • Karan Mistry

21.0.1 (2025-11-23)

This was a version bump only for eslint-plugin to align it with other projects, there were no code changes.

angular-eslint/angular-eslint (@​angular-eslint/eslint-plugin-template)

v22.0.0

Compare Source

🚀 Features
  • ⚠️ drop support for eslint v8 and legacy eslintrc config format (#​3056)
⚠️ Breaking Changes
  • drop support for eslint v8 and legacy eslintrc config format (#​3056)
❤️ Thank You

21.4.0 (2026-05-13)

🚀 Features
  • eslint-plugin-template: [cyclomatic-complexity] add variant option (#​2976)
🩹 Fixes
  • eslint-plugin: [prefer-template-literal] do not check inline templates (#​2959)
  • eslint-plugin-template: [eqeqeq] could not destructure null (#​2922)
  • eslint-plugin-template: [no-non-null-assertion] report nested arrays (#​2991)
❤️ Thank You

21.3.1 (2026-03-17)

🩹 Fixes
  • prefer-self-closing-tags: add selectedcontent nonAriaElements (#​2939)
  • narrow build target cache outputs to avoid clobbering compile artifacts" (#​2943)
  • narrow build target cache outputs to avoid clobbering compile artifacts (#​2940)
❤️ Thank You

21.3.0 (2026-03-05)

🚀 Features
  • add support for ESLint v10 (#​2903)
  • eslint-plugin-template: add no-non-null-assertion rule (#​2885)
🩹 Fixes
  • eslint-plugin-template: [prefer-template-literal] preserve nested non string binary + operation (#​2902)
❤️ Thank You
  • Guillaume DROUARD
  • Jason Weinzierl

21.2.0 (2026-01-29)

🚀 Features
  • eslint-plugin-template: support ignore attributes for prefer-static-string-properties rule (#​2852)
  • eslint-plugin-template: add prefer-class-binding rule to enforce class binding over ngClass (#​2827)
🩹 Fixes
❤️ Thank You

21.1.0 (2025-12-08)

This was a version bump only for eslint-plugin-template to align it with other projects, there were no code changes.

21.0.1 (2025-11-23)

🩹 Fixes
  • eslint-plugin-template: [prefer-contextual-for-variables] fix overlapping fixes for semicolon-separated let declarations (#​2802)
  • eslint-plugin-template: [prefer-template-literal] handle chained concatenations correctly (#​2801)
❤️ Thank You
angular-eslint/angular-eslint (@​angular-eslint/schematics)

v22.0.0

Compare Source

🚀 Features
  • ⚠️ drop support for eslint v8 and legacy eslintrc config format (#​3056)
⚠️ Breaking Changes
  • drop support for eslint v8 and legacy eslintrc config format (#​3056)
❤️ Thank You

21.4.0 (2026-05-13)

🩹 Fixes
❤️ Thank You

21.3.1 (2026-03-17)

This was a version bump only for schematics to align it with other projects, there were no code changes.

21.3.0 (2026-03-05)

🚀 Features
❤️ Thank You
  • Jason Weinzierl

21.2.0 (2026-01-29)

This was a version bump only for schematics to align it with other projects, there were no code changes.

21.1.0 (2025-12-08)

🩹 Fixes
❤️ Thank You

21.0.1 (2025-11-23)

This was a version bump only for schematics to align it with other projects, there were no code changes.

angular-eslint/angular-eslint (@​angular-eslint/template-parser)

v22.0.0

Compare Source

🚀 Features
  • template-parser: traverse v22 arrow function, spread and tagged-template expression nodes (#​3059)
  • ⚠️ drop support for eslint v8 and legacy eslintrc config format (#​3056)
⚠️ Breaking Changes
  • drop support for eslint v8 and legacy eslintrc config format (#​3056)
❤️ Thank You

21.4.0 (2026-05-13)

🩹 Fixes
❤️ Thank You
  • Guillaume DROUARD

21.3.1 (2026-03-17)

This was a version bump only for template-parser to align it with other projects, there were no code changes.

21.3.0 (2026-03-05)

🚀 Features
  • add support for ESLint v10 (#​2903)
  • eslint-plugin-template: add no-non-null-assertion rule (#​2885)
🩹 Fixes
❤️ Thank You
  • Guillaume DROUARD
  • Jason Weinzierl

21.2.0 (2026-01-29)

🩹 Fixes

21.1.0 (2025-12-08)

This was a version bump only for template-parser to align it with other projects, there were no code changes.

21.0.1 (2025-11-23)

This was a version bump only for template-parser to align it with other projects, there were no code changes.

angular/angular (@​angular/animations)

v22.0.1

Compare Source

Deprecations

platform-server
  • XHR support in @angular/platform-server is deprecated. Use standard fetch APIs instead.
    (cherry picked from commit 8446e46)
common
Commit Type Description
c4b5fa3c92 fix escape CSS string-terminating characters in escapeCssUrl
dfff57ede9 fix Limits date format string length
3c2892c8df fix prevent prototype pollution in formatDateTime
1d87c49f6e fix use cryptographically secure SHA-256 for transfer cache key generation
compiler
Commit Type Description
1ee224ca30 fix disallow i18n event attributes
a56f1cdf8f fix more robust logic to check if regex can be optimized
5946c18275 fix sanitize href/xlink:href attributes of any element of the MathML namespace
393b84caf8 fix sanitize two-way properties
compiler-cli
Commit Type Description
3d9ca2f173 fix bind switch exhaustive check expressions
core
Commit Type Description
669146b0e7 fix disable WebMCP during SSR
562a566ead fix Handle synchronous errors in PendingTasks.run function
fa546f382d fix harden TransferState restoration against DOM clobbering
29fdb98684 fix prevent dangling prevConsumer reference from leaking destroyed views (#​68681)
cdcea80327 fix require WebMCP tool descriptions
4289c4c840 fix update comment for Default change detection
3dd433b39a fix use Object.hasOwn to handle null-prototype objects in toStylingKeyValueArray
045bb736b3 fix validate lowercase SVG animation attribute names
forms
Commit Type Description
11836a670a fix delay mcp reading the form model by a tick
85d2d100e3 fix harden FormGroup control lookups against prototype shadowing
e51ad374ea fix remove animationstart listener on component destroy to prevent memory leak
55b7b5a6b6 fix set additionalProperties: false on generated WebMCP form
http
Commit Type Description
ffb06c0514 fix ensure query parameters are inserted before URL fragments
2dd65d21e6 fix pass down the reportUploadProgress and reportDownloadProgress on post/patch requests
4254eb416c fix preserve empty referrer option in HttpRequest
167bd4c162 fix Rejects non-HTTP(S) URLs in JSONP requests
language-service
Commit Type Description
43a0e28729 fix prevent external template inlay hints from appearing in TS files
platform-server
Commit Type Description
ed48ca7f51 fix harden platform location origin validation during SSR
1881ede3a7 refactor deprecate ServerXhr
router
Commit Type Description
43edc8410f fix use native URL object for navigation boundary and comparison
service-worker
Commit Type Description
cf97b1f828 fix Strips sensitive headers on cross-origin redirects

v22.0.0

Compare Source

Blog post "Announcing Angular v22".

Breaking Changes

compiler
  • This change will trigger the nullishCoalescingNotNullable and optionalChainNotNullable diagnostics on exisiting projects.
    You might want to disable those 2 diagnotiscs in your tsconfig temporarily.
  • data prefixed attribute no-longer bind inputs nor outputs.
  • The compiler will throw when there a when inputs, outputs or model are binding to the same input/outputs.
  • in variables will throw in template expressions.
compiler-cli
  • Elements with multiple matching selectors will now throw at compile time.
core
  • The second arguement of appRef.bootstrap does not accept any anymore. Make sure the element you pass is not nullable.
    • TypeScript versions older than 6.0 are no longer supported.
  • Leave animations are no longer limited to the element being removed.
  • Component with undefined changeDetection property are now OnPush by default. Specify changeDetection: ChangeDetectionStrategy.Eager to keep the previous behavior.
  • change AnimationCallbackEvent.animationComplete signature
  • ChangeDetectorRef.checkNoChanges was removed. In tests use fixture.detectChanges() instead.
  • createNgModuleRef was removed, use createNgModule instead
  • ComponentFactoryResolver and ComponentFactory are no longer available. Pass the component class directly to APIs that previously required a factory, such as ViewContainerRef.createComponent or use the standalone createComponentFunction.
  • ComponentFactoryResolver and ComponentFactory are no longer available. Pass the component class directly to APIs that previously required a factory, such as ViewContainerRef.createComponent or use the standalone createComponent function.
forms
  • min and max validation rules no longer support
    string values. Bound values must be numbers or null.
http
  • Use the HttpXhrBackend with provideHttpClient(withXhr) if you want to keep supporting upload progress reports.
platform-browser
  • This removes styles when they appear to no longer be used by an associated host. However other DOM on the page may still be affected by those styles if not leveraging ViewEncapsulation.Emulated or if those styles are used by elements outside of Angular, potentially causing other DOM to appear unstyled.
  • Hammer.js integration has been removed. Use your own implementation.
router
  • The return type for TitleStrategy.getResolvedTitleForRoute
    was previously 'any' while the actual return type could only be either string
    or undefined. The return type now reflects the possible values correctly.
    Code that reads the value may need to be adjusted.

    (cherry picked from commit ad37f52)

  • The currentSnapshot parameter in CanMatchFn and the canMatch method of the CanMatch interface is now required. While this was already the behavior of the Router at runtime, existing class implementations of CanMatch must now include the third argument to satisfy the interface.

  • paramsInheritanceStrategy now defaults to 'always'

    The default value of paramsInheritanceStrategy has been changed from 'emptyOnly' to 'always'. This means that route parameters are inherited from all parent routes by default. To restore the previous behavior, set paramsInheritanceStrategy to 'emptyOnly' in your router configuration.

  • provideRoutes() has been removed. Use provideRouter() or ROUTES as multi token if necessary.

upgrade
  • Deprecated getAngularLib/setAngularLib have been removed use getAngularJSGlobal/setAngularJSGlobal instead.

Deprecations

http
  • withFetch is now deprecated, it can be safely removed.
  • The reportProgress option is deprecated please use reportUploadProgress & reportDownloadProgress instead.
compiler
Commit Type Description
47fcbc4704 feat allow safe navigation to correctly narrow down nullables
2896c93cc1 feat Angular expressions with optional chaining returns undefined
e850643b1b feat Support comments in html element.
96be4f429b fix abstract emitter producing incorrect code for dynamic imports
488d962bc7 fix Don't bind inputs/outputs for data- attributes
2c5aabb9da fix don't escape dollar sign in literal expression
c7aef8ec5d fix enforce parentheses containing arguments for :host-context
b225a5d902 fix invalid type checking code if field name needs to be quoted
ab9154ab75 fix normalize tag names with custom namespaces in DomElementSchemaRegistry (#​68868)
8a1533c9ad fix preserve leading commas in animation definitions
194f723f66 fix remove dedicated support for legacy shadow DOM selectors
4c25a42e98 fix remove deprecated shadow CSS encapsulation polyfills
6ff620a033 fix sanitize dynamic href and xlink:href bindings on SVG a elements (#​68868)
7dc1017e51 fix simplify handling of colon host with a selector list
d99ab0e040 fix stop generating unused field
03db2aefaa fix throw on duplicate input/outputs
786ef8261f fix throw on invalid in expressions
ccb7d427e4 fix type check invalid for loops
compiler-cli
Commit Type Description
b8d3f36ed9 feat add support for Node.js 26.0.0
7f9450219f feat Adds warning for prefetch without main defer trigger
2eae497a04 feat support external TCBs with copied content in specific mode
e5f96c2d88 fix animation events not type checked properly when bound through HostListener decorator
9218140348 fix resolve TCB mapping failure for safe property reads with as any
7a0d6b8df2 fix transform dropping exclamationToken from properties
ca67828ee2 refactor introduce NG8023 compile-time diagnostic for duplicate selectors
core
Commit Type Description
17d3ea44e2 feat add IdleRequestOptions support to IdleService
3b0ae5fef0 feat add provideWebMcpTools
444b024d49 feat Add a injectAsync helper function
3bc095d508 feat Add a schematics to migrate provideHttpClient to keep using the HttpXhrBackend implementation.
5a7c1e62dc feat add ability to cache resources for SSR
cb4cb77053 feat Add migration to add ChangeDetectionStrategy.Eager where applicable
2206efa55f feat add special return statuses for resource params
246a984a5d feat add TestBed.getFixture
b918beda32 feat allow debouncing signals
8bc31a515f feat Allow other expression for exhaustive typechecking
4e331062e8 feat allow synchronous values for stream Resources
a0aa8304cd feat bootstrap via ApplicationRef with config
9c55fcb3e6 feat de-duplicate host directives
8fe025f514 feat drop support for TypeScript 5.9
2f5ab541ea feat enhance profiling with documentation URLs
ef1810197b feat export experimental declareWebMcpTool support
75f2cb8f56 feat implement Angular DI graph in-page AI tool
8f3d0b9d97 feat introduce @Service decorator
df659b8d0c feat re-introduce nested leave animations scoped to component boundaries
8ce9cc4f6b feat register AI runtime debugging tools
eae8f7e30b feat Set default Component changeDetection strategy to OnPush
cdda51a3b2 feat support bootstrapping Angular applications underneath shadow roots
a5981b83a6 feat support customization of @​defer's on idle behavior
98eb24cea0 feat Support optional timeout for idle deferred triggers
dc3131c639 feat TestBed.getFixture -> TestBed.getLastFixture and update implementation
9f479ae964 feat Update Testability to use PendingTasks for stability indicator
8ebae1de33 fix allow service with factory on abstract classes
f9d8da6924 fix bind global context to idle callback shims in @​defer's idle service
61a48e99aa fix do not register dom triggers when defer blocks are in manual mode
49748b5c79 fix enforce return type for service factory
16adbbf423 fix ensure custom controls resolve transitive host directives
50e599e73e fix lazy-initialize debounced state to prevent computation cycle
7aad302c3e fix mark service decorator as stable
a08e4fb93c fix normalize tag names in runtime i18n attribute security context lookup (#​68868)
b20f0fe078 fix prevent rxResource from leaking a subscription
22f8b0a500 fix resolver function not matching expected type
88d138ccc8 fix support prefix-insensitive DOM schema lookups and compile-time i18n attribute validation
bfe6f6c2a5 fix synchronize core san

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: ui/package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: ui@0.0.0
npm error Found: typescript@5.9.3
npm error node_modules/typescript
npm error   dev typescript@"5.9.3" from the root project
npm error
npm error Could not resolve dependency:
npm error peer typescript@">=6.0 <6.1" from @angular/build@22.0.1
npm error node_modules/@angular/build
npm error   dev @angular/build@"^22.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-06-11T02_36_26_259Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-06-11T02_36_26_259Z-debug-0.log

@renovate renovate Bot force-pushed the renovate/major-angular branch from da48b09 to 952679e Compare June 10, 2026 22:30
@renovate renovate Bot force-pushed the renovate/major-angular branch from 952679e to c59af18 Compare June 11, 2026 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants