build: update cross-repo angular dependencies (22.0.x)#33326
Open
angular-robot wants to merge 1 commit into
Open
build: update cross-repo angular dependencies (22.0.x)#33326angular-robot wants to merge 1 commit into
angular-robot wants to merge 1 commit into
Conversation
232268f to
4e3aa90
Compare
See associated pull request for more information.
4e3aa90 to
40af6c4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
22.0.0-rc.2→22.0.022.0.0-rc.2→22.0.022.0.0-rc.2→22.0.022.0.0-rc.2→22.0.022.0.0-rc.2→22.0.022.0.0-rc.2→22.0.022.0.0-rc.2→22.0.022.0.0-rc.2→22.0.022.0.0-rc.2→22.0.022.0.0-rc.2→22.0.022.0.0-rc.2→22.0.0a450a24→2606bcf22.0.0-rc.2→22.0.022.0.0-rc.2→22.0.022.0.0-rc.2→22.0.022.0.0-rc.2→22.0.022.0.0-rc.2→22.0.022.0.0-rc.2→22.0.09ee8a68→6a613f2c898ddb→0ee3ac545441c7→fe03af5🔡 If you wish to disable git hash updates, add
":disableDigestUpdates"to the extends array in your config.Release Notes
angular/angular-cli (@angular-devkit/build-angular)
v22.0.0Compare Source
Breaking Changes
@angular-devkit/architect-clipackage is no longer available. ThearchitectCLI tool has been moved to the@angular-devkit/architectpackage.@angular-devkit/build-angular:jestand@angular-devkit/build-angular:web-test-runnerbuilders have been removed.@angular/build
@angular/build:dev-server (ng serve)now assigns the highest priority to thePORTenvironment variable. This value will override any port configurations specified inangular.jsonor via the--portcommand-line flag. This includes the default port 4200.istanbul-lib-instrumentis now an optional peer dependency.Projects using karma with code coverage enabled will need to ensure that istanbul-lib-instrument is installed. Note:
ng updatewill automatically add this dependency during the update process.@angular/ssr
Deprecations
@angular-devkit/build-angular
@angular-devkit/build-webpack
@angular/ssr
@ngtools/webpack
@angular/cli
ChangeDetectionStrategy.Eager@schematics/angular
ChangeDetectionStrategy.DefaultwithEager@angular-devkit/architect-clipackage@angular-devkit/build-angular
@angular-devkit/build-webpack
@angular/build
experimentalPlatformtoplatformin application builder@angular/ssr
@ngtools/webpack
v22.0.0-rc.3: 22.0.0-rc.3Compare Source
@schematics/angular
@angular/cli
@angular/build
@angular/ssr
angular/angular (@angular/common)
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)