fix(deps): update angular to v20.0.0 #714
Merged
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:
20.0.0-rc.4
->20.0.0
20.0.0-rc.2
->20.0.0
20.0.0-rc.4
->20.0.0
20.0.0-rc.3
->20.0.0
20.0.0-rc.3
->20.0.0
20.0.0-rc.3
->20.0.0
20.0.0-rc.3
->20.0.0
20.0.0-rc.3
->20.0.0
20.0.0-rc.2
->20.0.0
20.0.0-rc.3
->20.0.0
20.0.0-rc.3
->20.0.0
20.0.0-rc.3
->20.0.0
20.0.0-rc.2
->20.0.0
Release Notes
angular/angular-cli (@angular/build)
v20.0.0
Compare Source
Breaking Changes
@angular/cli
Node.js v18 is no longer supported with Angular.
Before updating a project to Angular v20, the Node.js version must be
at least 20.11.1. For the full list of supported Node.js versions,
see https://angular.dev/reference/versions.
Node.js versions from 22.0 to 22.10 are no longer supported
@schematics/angular
--server-routing
option has been removed from several schematics. Server routing will be used when using the application builder.@angular-devkit/schematics
The
NodePackageLinkTask
has been removed without a replacement. Create a custom task if needed.Note: This does not affect application developers.
@angular/build
@schematics/angular
moduleResolution
tobundler
@angular/build
in new projects--server-routing
option@angular/ssr
dependency only whenprovideServerRendering
import has been updated.ng.html
extensionwithAppShell
.ng.html
file extension.component
extension/typeprovideServerRoutesConfig
toprovideServerRendering
scripts
option value from new applicationsoutputPath
option value from generated applications@angular/cli
@angular-devkit/build-angular
@angular-devkit/schematics
NodePackageLinkTask
@angular/build
browser
optioncomposite
option with Angular compilercom.chrome.devtools.json
is consistently served after initial runcom.chrome.devtools.json
if project is moved@angular/pwa
@angular/ssr
provideServerRendering
and removeprovideServerRouting
AngularNodeAppEngine
,AngularAppEngine
, andprovideServerRouting
APIs@angular/router
@ngtools/webpack
angular/components (@angular/cdk)
v20.0.0
Compare Source
Breaking Changes
cdk
SelectionModel.clear
now returns a boolean.SelectionModel.deselect
now returns a boolean.SelectionModel.select
now returns a boolean.SelectionModel.setSelection
now returns a boolean.SelectionModel.toggle
now returns a boolean.DIALOG_SCROLL_STRATEGY_PROVIDER
has been removed.DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY
has been removed.DragDropRegistry
is no longer generic.DragDropRegistry.scroll
has been removed. Use thescrolled
method instead.DomPortalHost
has been removed. UseDomPortalOutlet
instead.PortalInjector
has been removed. UseInjector.create
instead.PortalHost
has been removed. UsePortalOutlet
instead.BasePortalHost
has been removed. UseBasePortalOutlet
instead.Constructor
symbol has been removed.CanStickCtor
symbol has been removed.mixinHasStickyInput
has been removed. Implement theCanStick
interface instead.CanStick
has been removed.CDK_TABLE_TEMPLATE
has been removed.StickyDirection
has been removed.StickyStyler
has been removed.material
ButtonVariant
which is returned byMatButtonHarness.getVariant
no longer includes the appearance of the button. UseMatButtonHarness.getAppearance
instead.tabindex
values set as[attr.tabindex]
set on a Material button might not work as expected. Usetabindex
for static values, or[tabindex]
/[tabIndex]
for dynamic ones.MAT_CHECKBOX_REQUIRED_VALIDATOR
has been removed.MAT_CHECKBOX_VALUE_ACCESSOR
has been removed.MatCheckboxRequiredValidator
has been removed._MatCheckboxRequiredValidatorModule
has been removed.MAT_DIALOG_SCROLL_STRATEGY_PROVIDER
has been removed.MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY
has been removed.matSelectAnimations.transformPanelWrap
has been removed.MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR
has been removed.MAT_SLIDE_TOGGLE_VALUE_ACCESSOR
has been removed.MatSlideToggleRequiredValidator
has been removed._MatSlideToggleRequiredValidatorModule
has been removed.multiple
DialogConfig.componentFactoryResolver
has been removed.DomPortalOutlet
has changed.ComponentPortal.componentFactoryResolver
has been removed.ComponentPortal
has changed.MatDialogConfig.componentFactoryResolver
has been removed.cdk-experimental
youtube-player
material
cdk
resetToBoundary
(#30436)material-angular-io
multiple
angular/angular (@angular/common)
v20.0.0
Compare Source
Breaking Changes
common
Y
formatter (week-numbering year) without also includingw
(week number) is now detected as suspicious date pattern, asy
is typically intended.AsyncPipe
now directly catches unhandled errors insubscriptions and promises and reports them to the application's
ErrorHandler
. For Zone-based applications, these errors would havebeen caught by ZoneJS and reported to
ErrorHandler
so the result isgenerally the same. The change to the exact mechanism for reporting can
result in differences in test environments that will require test
updates.
compiler
'in' in an expression now refers to the operator
void
in an expression now refers to the operatorPreviously an expression in the template like
{{void}}
referred to aproperty on the component class. After this change it now refers to the
void
operator, which would make the above example invalid. If you haveexisting expressions that need to refer to a property named
void
,change the expression to use
this.void
instead:{{this.void}}
.core
TestBed.flushEffects()
was removed - usethe
TestBed.tick()
instead.provideExperimentalCheckNoChangesForDebug
has severalbreaking changes:
provideCheckNoChangesConfig
useNgZoneOnStable
option is removed. This wasn't found to be generallymore useful than
interval
provideExperimentalZonelessChangeDetection
isrenamed to
provideZonelessChangeDetection
as it is now "DeveloperPreview" rather than "Experimental".
InjectFlags
has been removed.inject
no longer acceptsInjectFlags
.Injector.get
no longer acceptsInjectFlags
.EnvironmentInjector.get
no longer acceptsInjectFlags
.TestBed.get
no longer acceptsInjectFlags
.TestBed.inject
no lonConfiguration
📅 Schedule: 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.
This PR was generated by Mend Renovate. View the repository job log.