Update angular monorepo to v22#190
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
bf6f737 to
3ab7507
Compare
7baffc2 to
78b593b
Compare
78b593b to
666a124
Compare
57f6dc4 to
d978d54
Compare
80b1b3e to
3d0a5a5
Compare
aa4087f to
f0e9966
Compare
f0e9966 to
0507bff
Compare
85422e8 to
b88d92e
Compare
3a40b89 to
1128abb
Compare
1128abb to
8bf6183
Compare
8bf6183 to
a149f45
Compare
2c8178a to
ad5f5e2
Compare
ce57e72 to
a10aad5
Compare
a10aad5 to
49bbea1
Compare
afa5eff to
1546b77
Compare
1546b77 to
23ff65b
Compare
23ff65b to
091249b
Compare
1c3a17c to
b40ed19
Compare
4b67cb5 to
101a0f4
Compare
101a0f4 to
766406a
Compare
766406a to
2a2b8b6
Compare
2a2b8b6 to
301d8bb
Compare
c9e1c44 to
b9f3148
Compare
b9f3148 to
69910f3
Compare
5690bb4 to
26d40e5
Compare
84a72e2 to
fc19fb0
Compare
898a8fe to
40de7fb
Compare
2e3c5ec to
e6abea7
Compare
9206019 to
3cc8de0
Compare
87f03af to
ba977eb
Compare
bf55900 to
30c5f69
Compare
30c5f69 to
bcb3821
Compare
Contributor
Author
|
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:
15.2.10→22.0.515.2.10→22.0.515.2.10→22.0.515.2.10→22.0.515.2.10→22.0.515.2.10→22.0.515.2.10→22.0.5Release Notes
angular/angular (@angular/common)
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 formsConfiguration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.