build: update cross-repo angular dependencies (main) #31824
Merged
+733
−479
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:
11097c7->b66034521.0.0-rc.2->21.0.0fcb6a60->e52a9e821.0.0-rc.2->21.0.068a8795->cfa9aef21.0.0-rc.2->21.0.03b84f54->f1ebbc821.0.0-rc.2->21.0.05835bcb->b5ade9a21.0.0-rc.2->21.0.067db87f->f95298c21.0.0-rc.2->21.0.01e1465e->0616d2b21.0.0-rc.2->21.0.0bae19c1->d247d90e7a995f->d413efb21.0.0-rc.2->21.0.0c8dc810->71272ef21.0.0-rc.2->21.0.08feb74c->3d6145749d7316->e0bb3b232a7e1c->c3f384621.0.0-rc.2->21.0.0c3ca0dc->7613f3e100517d->298333221.0.0-rc.2->21.0.0305d28f->6f89fde21.0.0-rc.2->21.0.087b2fdd->df27df221.0.0-rc.2->21.0.0c855fff->f476846c855fff->f47684621.0.0-rc.1->21.1.0-next.0🔡 If you wish to disable git hash updates, add
":disableDigestUpdates"to the extends array in your config.Release Notes
angular/angular (@angular/animations)
v21.0.0Compare Source
Blog post "Announcing Angular v21".
Breaking Changes
common
TestBednow provides a fakePlatformLocationimplementation that supports the Navigation API. This may break some
tests, though we have not observed any failures internally. You can revert to the
old default for
TestBedby providing theMockPlatformLocationfrom@angular/common/testingin your providers:{provide: PlatformLocation, useClass: MockPlatformLocation}ngComponentOutletContentis now of typeNode[][] | undefinedinstead ofany[][] | undefined.compiler-cli
"typeCheckHostBindings": falsein theangularCompilerOptionssection of your tsconfig.the
emitDeclarationOnlyTS compiler option is enabled as this mode isnot supported.
core
The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.
Before:
After:
A schematic is provided to automatically update
main.server.tsfiles to pass theBootstrapContextto thebootstrapApplicationcall.In addition,
getPlatform()anddestroyPlatform()will now returnnulland be a no-op respectively when running in a server environment.Using a combination of
provideZoneChangeDetectionwhile also removing ZoneJS polyfills will no longer result in the
internal scheduler being disabled. All Angular applications now
consistenly use the same scheduler, and those with the Zone change detection
provider include additional automatic scheduling behaviors based on
NgZone stabilization.
(test only) - Using
provideZoneChangeDetectionin theTestBed providers would previously prevent
TestBedfrom rethrowingerrors as it should. Errors in the test will now be rethrown, regardless
of the usage of
provideZoneChangeDetection. Tests should be adjusted toprevent or account for these errors. As in previous major versions,
this behavior can be disabled with
rethrowApplicationErrors: falseinconfigureTestingModuleas a last resort.ignoreChangesOutsideZoneis no longer available as anoption for configuring ZoneJS change detection behavior.
Angular no longer provides a change detection scheduler
for ZoneJS-based change detection by default. Add
provideZoneChangeDetectionto the providers of yourbootstrapApplicationfunction or yourAppModule(if usingbootstrapModule). This provider addition will be covered by anautomated migration.
moduleIdwas removed fromComponentmetadata.The
interpolationoption on Components has been removed. Only the default{{ ... }}is now supported.elements
Fix signal input getter behavior in custom elements.
Before this change, signal inputs in custom elements required function calls to access their values (
elementRef.newInput()), while decorator inputs were accessed directly (elementRef.oldInput). This inconsistency caused confusion and typing difficulties.The getter behavior has been standardized so signal inputs can now be accessed directly, matching the behavior of decorator inputs:
Before:
elementRef.oldInputelementRef.newInput()After:
elementRef.oldInputelementRef.newInputforms
platform-browser
ApplicationConfigexport from@angular/platform-browserhas been removed.Please import
ApplicationConfigfrom@angular/coreinstead.router
lastSuccessfulNavigationis now a signal and needs to be invokedmicrotasks to complete. Tests have been found to often be highly
dependent on the exact timing of navigation completions with respect to
the microtask queue. The most common fix for tests is to ensure all
navigations have been completed before making assertions. On rare
occasions, this can also affect production applications. This can be
caused by multiple subscriptions to router state throughout the application,
both of which trigger navigations that happened to not conflict with the
previous timing.
upgrade
UpgradeAdapteris no longer available. Useupgrade/staticinsteadzone.js
Deprecations
http
HttpResponseBase.statusTextis deprecatedcommon
ngComponentOutletContent(#63674)ngModuleFactoryinput ofNgComponentOutlet(#62838)compiler
compiler-cli
@defertriggers (#64069)emitDeclarationOnlyTS compiler option enabled (#61609)core
bootstrapModuleoptions (#64354)BootstrapContextfor improved server bootstrapping (#63562)@foriteration over field is reactive (#64113)moduleIdfrom Component metadata (#63482)interpolationoption on Components. (#63474)elements
forms
debounce()rule for signal formsFormResetEventwhen resetting control (#64024)ControlValueAccessor(#64471)[field]binding instructions (#64351)http
HttpResponseBase.statusText(#64176)language-server
language-service
migrations
platform-browser
ApplicationConfigexport (#63529)router
lastSuccessfulNavigationto signal (#63057)UrlSerializerhandling of query parameters (#64449)upgrade
v21.0.0-rc.3Compare Source
compiler
core
forms
angular/components (@angular/cdk)
v21.0.0Compare Source
Breaking Changes
cdk
LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORYhas been removed.TREE_KEY_MANAGER_FACTORYhas been removed.TREE_KEY_MANAGER_FACTORY_PROVIDERhas been removed.$z-index-overlay-containerhas been removed. Use$overlay-container-z-indexinstead.$z-index-overlayhas been removed. Use$overlay-z-indexinstead.$dark-backdrop-backgroundhas been removed. Use$overlay-backdrop-colorinstead.$z-index-overlay-backdrophas been removed. Use$overlay-backdrop-z-indexinstead.TemplatePortalDirectivehas been removed. UseCdkPortalinstead.PortalHostDirectivehas been removed. UseCdkPortalOutletinstead.TestElementimplementations need to provide asetContenteditableValue.material
MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORYhas been removed.MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORYhas been removed.MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDERhas been removed.matBottomSheetanimations symbol has been removed.MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORYhas been removed.MAT_FAB_DEFAULT_OPTIONS_FACTORYhas been removed.MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORYhas been removed.AnimationCurveshas been removed.AnimationDurationshas been removed.NativeDateAdapter.useUtcForDisplayhas been removed.MAT_DATE_LOCAL_FACTORYhas been removed.MatCommonModulehas been removed.GranularSanityCheckshas been removed.MATERIAL_SANITY_CHECKShas been removed.SanityCheckshas been removed.matDatepickerAnimationssymbol has been removed.MAT_DATEPICKER_SCROLL_STRATEGY_FACTORYhas been removed.MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDERhas been removed.MAT_RANGE_DATE_SELECTION_MODEL_FACTORYhas been removed.MAT_RANGE_DATE_SELECTION_MODEL_PROVIDERhas been removed.MAT_SINGLE_DATE_SELECTION_MODEL_FACTORYhas been removed.MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDERhas been removed._defaultParamssymbol has been removed.matDialogAnimationssymbol has been removed.EXPANSION_PANEL_ANIMATION_TIMINGsymbol has been removed.matExpansionAnimationssymbol has been removed.matFormFieldAnimationssymbol has been removed.ICON_REGISTRY_PROVIDERhas been removed.ICON_REGISTRY_PROVIDER_FACTORYhas been removed.MAT_ICON_LOCATION_FACTORYhas been removed.fadeInItemssymbol has been removed.transformMenusymbol has been removed.matMenuAnimationssymbol has been removed.MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDERhas been removed.MAT_PAGINATOR_INTL_PROVIDERhas been removed.MAT_PAGINATOR_INTL_PROVIDER_FACTORYhas been removed.MAT_PROGRESS_BAR_LOCATION_FACTORYhas been removed.MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORYhas been removed.MAT_RADIO_DEFAULT_OPTIONS_FACTORYhas been removed.matSelectAnimationssymbol has been removed.MAT_SELECT_SCROLL_STRATEGY_PROVIDERhas been removed.MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORYhas been removed.matDrawerAnimationssymbol has been removed.MAT_DRAWER_DEFAULT_AUTOSIZE_FACTORYhas been removed.matSnackBarAnimationssymbol has been removed.MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORYhas been removed.matSortAnimationssymbol has been removed.MAT_SORT_HEADER_INTL_PROVIDERhas been removed.MAT_SORT_HEADER_INTL_PROVIDER_FACTORYhas been removed.matStepperAnimationssymbol has been removed.MAT_STEPPER_INTL_PROVIDERhas been removed.MAT_STEPPER_INTL_PROVIDER_FACTORYhas been removed.matTabsAnimationssymbol has been removed._MAT_INK_BAR_POSITIONER_FACTORYhas been removed.matTooltipAnimationssymbol has been removed.MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORYhas been removed.MAT_TOOLTIP_SCROLL_STRATEGY_FACTORYhas been removed.MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDERhas been removed.material-moment-adapter
MAT_MOMENT_DATE_ADAPTER_OPTIONS_FACTORYhas been removed.material-luxon-adapter
MAT_LUXON_DATE_ADAPTER_OPTIONS_FACTORYhas been removed.material-luxon-adapter
material-moment-adapter
cdk-experimental
Configuration
📅 Schedule: Branch creation - Every 2 hours, between 12:00 AM and 10:59 PM ( * 0-22/2 * * * ) in timezone Europe/Rome, 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.