Update dependency @angular/common to v22 #21
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
andras/life-towers!21
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/angular-common-22.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^21.2.0→^22.0.0Release Notes
angular/angular (@angular/common)
v22.2.4Compare Source
compiler
compiler-cli
core
forms
http
language-service
migrations
router
upgrade
v22.2.3Compare Source
common
compiler
@boundaryblocks in the control flow content projection diagnosticcompiler-cli
core
forms
migrations
router
v22.2.2Compare Source
compiler
<ng-template>nested in various namespaces@letdeclarations in the control flow content projection diagnosticcompiler-cli
core
onErrorhandler to prevent signal write exceptionsforms
Object.iswhen comparing control bindings in signal formslanguage-service
router
v22.2.1Compare Source
common
compiler
compiler-cli
core
http
reportProgressofhttpResourceasreportDownloadProgressplatform-server
router
v22.2.0Compare Source
compiler
compiler-cli
core
Injectorfrom a view or content queryforms
readOnlyHintanduntrustedContentHintfor WebMCP implicit signal formslanguage-service
@boundaryblocks (#70463)router
v22.1.8Compare Source
common
compiler
compiler-cli
core
forms
platform-server
router
v22.1.7Compare Source
compiler
@forcollection expression before appending non-null assertioncore
forms
v22.1.6Compare Source
compiler
@propertydeclarationscompiler-cli
core
platform-server
router
v22.1.5Compare Source
compiler-cli
core
forms
nameinput on ControlValueAccessormigrations
platform-server
router
v22.1.4Compare Source
common
compiler
compiler-cli
core
forms
language-service
migrations
platform-server
v22.1.3Compare Source
animations
common
compiler
core
forms
FormFieldis appliedhttp
language-server
platform-browser
router
v22.1.2Compare Source
compiler
compiler-cli
core
forms
http
router
v22.1.1Compare Source
core
http
v22.1.0Compare Source
Deprecations
http
HttpClient.jsonp,HttpClientJsonpModule, and related JSONP classes/functions are deprecated. Use standard HTTP requests instead.common
compiler
compiler-cli
core
@contentforms
http
language-service
migrations
then/elsekeywords in control flow migrationplatform-server
router
v22.0.8Compare Source
common
core
forms
pendingstatus propagates to the root form in signal formshttp
migrations
v22.0.7Compare Source
common
compiler
compiler-cli
core
forms
http
localize
platform-browser
v22.0.6Compare Source
compiler
compiler-cli
forms/signals
migrations
router
v22.0.5Compare Source
common
compiler-cli
core
router
v22.0.4Compare Source
migrations
v22.0.3Compare Source
compiler
compiler-cli
core
http
service-worker
upgrade
v22.0.2Compare Source
common
compiler
core
http
migrations
v22.0.1Compare Source
Deprecations
platform-server
@angular/platform-serveris deprecated. Use standardfetchAPIs instead.(cherry picked from commit
8446e46)common
compiler
href/xlink:hrefattributes of any element of the MathML namespacecompiler-cli
core
forms
tickadditionalProperties: falseon generated WebMCP formhttp
reportUploadProgressandreportDownloadProgresson post/patch requestslanguage-service
platform-server
router
service-worker
v22.0.0Compare Source
Blog post "Announcing Angular v22".
Breaking Changes
compiler
nullishCoalescingNotNullableandoptionalChainNotNullablediagnostics on exisiting projects.You might want to disable those 2 diagnotiscs in your
tsconfigtemporarily.invariables will throw in template expressions.compiler-cli
core
anyanymore. Make sure the element you pass is not nullable.changeDetectionproperty are nowOnPushby default. SpecifychangeDetection: ChangeDetectionStrategy.Eagerto keep the previous behavior.ChangeDetectorRef.checkNoChangeswas removed. In tests usefixture.detectChanges()instead.createNgModuleRefwas removed, usecreateNgModuleinsteadComponentFactoryResolverandComponentFactoryare no longer available. Pass the component class directly to APIs that previously required a factory, such asViewContainerRef.createComponentor use the standalonecreateComponentFunction.ComponentFactoryResolverandComponentFactoryare no longer available. Pass the component class directly to APIs that previously required a factory, such asViewContainerRef.createComponentor use the standalonecreateComponentfunction.forms
minandmaxvalidation rules no longer supportstring values. Bound values must be numbers or null.
http
HttpXhrBackendwithprovideHttpClient(withXhr)if you want to keep supporting upload progress reports.platform-browser
host. However other DOM on the page may still be affected by those styles if not leveragingViewEncapsulation.Emulatedor if those styles are used by elements outside of Angular, potentially causing other DOM to appear unstyled.router
The return type for
TitleStrategy.getResolvedTitleForRoutewas previously 'any' while the actual return type could only be either
stringor
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
currentSnapshotparameter inCanMatchFnand thecanMatchmethod of theCanMatchinterface is now required. While this was already the behavior of the Router at runtime, existing class implementations ofCanMatchmust 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. UseprovideRouter()orROUTESas multi token if necessary.upgrade
getAngularLib/setAngularLibhave been removed usegetAngularJSGlobal/setAngularJSGlobalinstead.Deprecations
http
withFetchis now deprecated, it can be safely removed.reportProgressoption is deprecated please usereportUploadProgress&reportDownloadProgressinstead.compiler
undefineddata-attributescompiler-cli
core
IdleRequestOptionssupport toIdleServiceprovideWebMcpToolsinjectAsynchelper functionprovideHttpClientto keep using theHttpXhrBackendimplementation.ChangeDetectionStrategy.Eagerwhere applicableApplicationRefwith configdeclareWebMcpToolsupport@ServicedecoratorcheckNoChangesfrom the public API.createNgModuleRefforms
reloadValidationto Signal Forms to manually trigger async validationto`FormRootto be used without submission options (#67727)SignalFormsConfigto a readonly APItouchedmodel into an input andtouchoutputsetValuein reactive formshttp
FetchBackendas default for theHttpBackendimplementationhttpResourcefrom leaking a subscriptionreportUploadProgress&reportDownloadProgressoptionslanguage-service
@Inputwith transformsmigrations
platform-browser
hostis droppedrouter
optionsoptional parameter forwithComponentInputBindingprovideRoutesfunction.service-worker
upgrade
getAngularLib/setAngularLibv21.2.26Compare Source
upgrade
v21.2.25Compare Source
platform-server
router
v21.2.24Compare Source
router
v21.2.23Compare Source
platform-server
v21.2.22Compare Source
platform-server
v21.2.21Compare Source
platform-browser
v21.2.20Compare Source
core
http
v21.2.19Compare Source
compiler
http
platform-server
v21.2.18Compare Source
compiler-cli
core
http
service-worker
v21.2.17Compare Source
Deprecations
platform-server
@angular/platform-serveris deprecated. Use standardfetchAPIs instead.common
compiler
core
http
platform-server
service-worker
v21.2.16Compare Source
common
compiler
core
platform-server
v21.2.15Compare Source
common
compiler
⚠️ 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:
The artifact failure details are included below:
File name: frontend/package-lock.json
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.