Skip to content
This repository was archived by the owner on Jul 18, 2026. It is now read-only.

Update angular monorepo to v22 - #24

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

Update angular monorepo to v22#24
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-angular-monorepo

Conversation

@renovate

@renovaterenovateBot commented Nov 22, 2024

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

PackageChangeAgeConfidence
@angular/common (source)^18.0.2^22.0.0ageconfidence
@angular/compiler (source)^18.0.2^22.0.0ageconfidence
@angular/compiler-cli (source)^18.0.2^22.0.0ageconfidence
@angular/core (source)^18.0.2^22.0.0ageconfidence
@angular/platform-browser (source)^18.0.2^22.0.0ageconfidence
@angular/platform-browser-dynamic (source)^18.0.2^22.0.0ageconfidence

Release Notes

angular/angular (@​angular/common)

v22.0.7

Compare Source

common
CommitTypeDescription
91e33aa1defixavoid prototype lookups in date format caches
compiler
CommitTypeDescription
5b516e3a58fixparsing of an empty template literal interpolation
compiler-cli
CommitTypeDescription
c88ddde1c9fixre-tag SourceFiles after TsCreateProgramDriver.updateFiles()
core
CommitTypeDescription
94d9591b51fixallow static attributes for explicit input transforms
c89f71a74cfixignore processing instruction syntax in templates
70500e4067fixpreserve explicit input transform write type
forms
CommitTypeDescription
1b9964675ffixallow multiple async validators
64d6d47a0cfixpreserve intermediate number values in signal forms
6cf7446afafixprevent stale CVA writeback during debounce
http
CommitTypeDescription
20b7dc3023fixprevent interceptor signal reads from leaking into calling reactive contexts
localize
CommitTypeDescription
22d5a091d1fixbuild runtime translations map with a null prototype
8ce1fcf7fafixuse Object.hasOwn for placeholder lookup in translate
platform-browser
CommitTypeDescription
b34bf0dce8fixprevent ReDoS in SOURCEMAP_URL_REGEXP

v22.0.6

Compare Source

compiler
CommitTypeDescription
fd4ddcafedfixuse regular optional chaining expression for safe function calls in TCBs
compiler-cli
CommitTypeDescription
534fe81a89fixapply debugName transform to required signal queries
3b08201bfbfixdetect uninvoked signals in bound expressions using ternary
forms/signals
CommitTypeDescription
171669f7b2fixmake extractValue reactive for compat AbstractControl values
migrations
CommitTypeDescription
0a6af1496bfixpreserve transitive NgModule references when pruning
d4a926a762fixremove stale model import in model-output migration
router
CommitTypeDescription
c238bd2ad7fixhandle outlet named proto in segment group maps
8e6d7f7190fixuse safe hasOwnProperty when parsing query params

v22.0.5

Compare Source

common
CommitTypeDescription
eb8fb9fe58fixuse Object.hasOwn in I18nSelectPipe to handle null-prototype and shadowed mappings
compiler-cli
CommitTypeDescription
baf09a9939fixinclude toSignal in debugName transform
core
CommitTypeDescription
e598dc843ffiximprove input writes migration in best effort mode
ced0180b06fixreject dynamic script host elements
router
CommitTypeDescription
ca13b42e7cfixfix malformed jsdoc comment for RouterLinkWithHref export

v22.0.4

Compare Source

migrations
CommitTypeDescription
fd37f09f37fixresolve migration failure when tsconfig specifies rootDir

v22.0.3

Compare Source

compiler
CommitTypeDescription
f90c20df40fixaccount for NgModule dependencies in JIT-compiled partial declarations
f4f7f3755cfixremove unused import breaking CI in 22.0.x
compiler-cli
CommitTypeDescription
06d854929cfixreport diagnostic instead of crashing on malformed host binding
core
CommitTypeDescription
2799304259fixavoid uncaught promise errors in injectAsync prefetching
http
CommitTypeDescription
8cdc202dfcfixprevent caching of responses with Set-Cookie headers
service-worker
CommitTypeDescription
b4a5a2fb4efixpreserve referrer in asset requests
a16f9b2263fixpreserve referrer policy in asset requests
upgrade
CommitTypeDescription
bcc648f4b6fixsupport model() signals in downgradeComponent

v22.0.2

Compare Source

common
CommitTypeDescription
94ea403563fixescape anchor fragment in shadow DOM name selector
6c1f3e9d49fixskip transfer cache for uncacheable HTTP traffic (#​69316)
compiler
CommitTypeDescription
6f1171991afixrestrict possible event handler check to property names longer than 2 characters
core
CommitTypeDescription
528a34f766fixavoid caching missing locale data
e17e8d5422fixescape overlapping comment delimiters in escapeCommentText
59dea13f80fixguard against DOM clobbering in declareExperimentalWebMcpTool
3a48abc15cfixpreserve leave animation for sibling instances sharing a TNode
93d0a5f95cfixprevent unsubscribe during emit from throwing off other listeners
b32ee7ceb3fixtreat iframe credentialless as security-sensitive
f902d1d35eperfdetect existing signal dependency without checking all producer links
http
CommitTypeDescription
6867f77ec7fixdistinguish repeated transfer cache params
7ef1399068fixskip transfer cache for fetch credentialed requests (#​69316)
migrations
CommitTypeDescription
15314c1736fixmigration skip any target are not build or test

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
CommitTypeDescription
c4b5fa3c92fixescape CSS string-terminating characters in escapeCssUrl
dfff57ede9fixLimits date format string length
3c2892c8dffixprevent prototype pollution in formatDateTime
1d87c49f6efixuse cryptographically secure SHA-256 for transfer cache key generation
compiler
CommitTypeDescription
1ee224ca30fixdisallow i18n event attributes
a56f1cdf8ffixmore robust logic to check if regex can be optimized
5946c18275fixsanitize href/xlink:href attributes of any element of the MathML namespace
393b84caf8fixsanitize two-way properties
compiler-cli
CommitTypeDescription
3d9ca2f173fixbind switch exhaustive check expressions
core
CommitTypeDescription
669146b0e7fixdisable WebMCP during SSR
562a566eadfixHandle synchronous errors in PendingTasks.run function
fa546f382dfixharden TransferState restoration against DOM clobbering
29fdb98684fixprevent dangling prevConsumer reference from leaking destroyed views (#​68681)
cdcea80327fixrequire WebMCP tool descriptions
4289c4c840fixupdate comment for Default change detection
3dd433b39afixuse Object.hasOwn to handle null-prototype objects in toStylingKeyValueArray
045bb736b3fixvalidate lowercase SVG animation attribute names
forms
CommitTypeDescription
11836a670afixdelay mcp reading the form model by a tick
85d2d100e3fixharden FormGroup control lookups against prototype shadowing
e51ad374eafixremove animationstart listener on component destroy to prevent memory leak
55b7b5a6b6fixset additionalProperties: false on generated WebMCP form
http
CommitTypeDescription
ffb06c0514fixensure query parameters are inserted before URL fragments
2dd65d21e6fixpass down the reportUploadProgress and reportDownloadProgress on post/patch requests
4254eb416cfixpreserve empty referrer option in HttpRequest
167bd4c162fixRejects non-HTTP(S) URLs in JSONP requests
language-service
CommitTypeDescription
43a0e28729fixprevent external template inlay hints from appearing in TS files
platform-server
CommitTypeDescription
ed48ca7f51fixharden platform location origin validation during SSR
1881ede3a7refactordeprecate ServerXhr
router
CommitTypeDescription
43edc8410ffixuse native URL object for navigation boundary and comparison
service-worker
CommitTypeDescription
cf97b1f828fixStrips 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
CommitTypeDescription
47fcbc4704featallow safe navigation to correctly narrow down nullables
2896c93cc1featAngular expressions with optional chaining returns undefined
e850643b1bfeatSupport comments in html element.
96be4f429bfixabstract emitter producing incorrect code for dynamic imports
488d962bc7fixDon't bind inputs/outputs for data- attributes
2c5aabb9dafixdon't escape dollar sign in literal expression
c7aef8ec5dfixenforce parentheses containing arguments for :host-context
b225a5d902fixinvalid type checking code if field name needs to be quoted
ab9154ab75fixnormalize tag names with custom namespaces in DomElementSchemaRegistry (#​68868)
8a1533c9adfixpreserve leading commas in animation definitions
194f723f66fixremove dedicated support for legacy shadow DOM selectors
4c25a42e98fixremove deprecated shadow CSS encapsulation polyfills
6ff620a033fixsanitize dynamic href and xlink:href bindings on SVG a elements (#​68868)
7dc1017e51fixsimplify handling of colon host with a selector list
d99ab0e040fixstop generating unused field
03db2aefaafixthrow on duplicate input/outputs
786ef8261ffixthrow on invalid in expressions
ccb7d427e4fixtype check invalid for loops
compiler-cli
CommitTypeDescription
b8d3f36ed9featadd support for Node.js 26.0.0
7f9450219ffeatAdds warning for prefetch without main defer trigger
2eae497a04featsupport external TCBs with copied content in specific mode
e5f96c2d88fixanimation events not type checked properly when bound through HostListener decorator
9218140348fixresolve TCB mapping failure for safe property reads with as any
7a0d6b8df2fixtransform dropping exclamationToken from properties
ca67828ee2refactorintroduce NG8023 compile-time diagnostic for duplicate selectors
core
CommitTypeDescription
17d3ea44e2featadd IdleRequestOptions support to IdleService
3b0ae5fef0featadd provideWebMcpTools
444b024d49featAdd a injectAsync helper function
3bc095d508featAdd a schematics to migrate provideHttpClient to keep using the HttpXhrBackend implementation.
5a7c1e62dcfeatadd ability to cache resources for SSR
cb4cb77053featAdd migration to add ChangeDetectionStrategy.Eager where applicable
2206efa55ffeatadd special return statuses for resource params
246a984a5dfeatadd TestBed.getFixture
b918beda32featallow debouncing signals
8bc31a515ffeatAllow other expression for exhaustive typechecking
4e331062e8featallow synchronous values for stream Resources
a0aa8304cdfeatbootstrap via ApplicationRef with config
9c55fcb3e6featde-duplicate host directives
8fe025f514featdrop support for TypeScript 5.9
2f5ab541eafeatenhance profiling with documentation URLs
ef1810197bfeatexport experimental declareWebMcpTool support
75f2cb8f56featimplement Angular DI graph in-page AI tool
8f3d0b9d97featintroduce @Service decorator
df659b8d0cfeatre-introduce nested leave animations scoped to component boundaries
8ce9cc4f6bfeatregister AI runtime debugging tools
eae8f7e30bfeatSet default Component changeDetection strategy to OnPush
cdda51a3b2featsupport bootstrapping Angular applications underneath shadow roots
a5981b83a6featsupport customization of @​defer's on idle behavior
98eb24cea0featSupport optional timeout for idle deferred triggers
dc3131c639featTestBed.getFixture -> TestBed.getLastFixture and update implementation
9f479ae964featUpdate Testability to use PendingTasks for stability indicator
8ebae1de33fixallow service with factory on abstract classes
f9d8da6924fixbind global context to idle callback shims in @​defer's idle service
61a48e99aafixdo not register dom triggers when defer blocks are in manual mode
49748b5c79fixenforce return type for service factory
16adbbf423fixensure custom controls resolve transitive host directives
50e599e73efixlazy-initialize debounced state to prevent computation cycle
7aad302c3efixmark service decorator as stable
a08e4fb93cfixnormalize tag names in runtime i18n attribute security context lookup (#​68868)
b20f0fe078fixprevent rxResource from leaking a subscription
22f8b0a500fixresolver function not matching expected type
88d138ccc8fixsupport prefix-insensitive DOM schema lookups and compile-time i18n attribute validation
bfe6f6c2a5fixsynchronize core sanitization schema with compiler
5e99ae9f00fixwiden type for directive inputs/outputs
b9b5c279b4refactorenhance AnimationCallbackEvent.animationComplete signature
69fb1614efrefactorremove checkNoChanges from the public API.
36936872c9refactorremove createNgModuleRef
9d76ac8229refactorremove ComponentFactoryResolver & ComponentFactory from the api surface
b1f5181ffdrefactorremove ComponentFactoryResolver & ComponentFactory from the api surface""
forms

| Commit | Type | Description |

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

renovateBot commented Nov 22, 2024

Copy link
Copy Markdown
ContributorAuthor

⚠️ 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: 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 could not resolve
npm error
npm error While resolving: @angular-devkit/build-angular@18.0.3
npm error Found: @angular/compiler-cli@22.0.7
npm error node_modules/@angular/compiler-cli
npm error dev @angular/compiler-cli@"^22.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @angular/compiler-cli@"^18.0.0" from @angular-devkit/build-angular@18.0.3
npm error node_modules/@angular-devkit/build-angular
npm error dev @angular-devkit/build-angular@"^18.0.3" from the root project
npm error
npm error Conflicting peer dependency: @angular/compiler-cli@18.2.14
npm error node_modules/@angular/compiler-cli
npm error peer @angular/compiler-cli@"^18.0.0" from @angular-devkit/build-angular@18.0.3
npm error node_modules/@angular-devkit/build-angular
npm error dev @angular-devkit/build-angular@"^18.0.3" 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-07-16T15_37_19_368Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-07-16T15_37_19_368Z-debug-0.log

@renovate
renovateBotforce-pushed the renovate/major-angular-monorepo branch from 343ed9d to 1109c6cCompareMay 28, 2025 20:27
@renovaterenovateBot changed the title Update angular monorepo to v19 (major)Update angular monorepo to v20 (major)May 28, 2025
@renovate
renovateBotforce-pushed the renovate/major-angular-monorepo branch from 1109c6c to d3c7440CompareNovember 19, 2025 21:26
@renovaterenovateBot changed the title Update angular monorepo to v20 (major)Update angular monorepo to v21 (major)Nov 19, 2025
@renovaterenovateBot changed the title Update angular monorepo to v21 (major)Update angular monorepo to v21May 12, 2026
@renovate
renovateBotforce-pushed the renovate/major-angular-monorepo branch from d3c7440 to d1dc400CompareJune 3, 2026 15:39
@renovaterenovateBot changed the title Update angular monorepo to v21Update angular monorepo to v22Jun 3, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants