Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix(deps): update angular to v20.0.0 #714

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2025
Merged

fix(deps): update angular to v20.0.0 #714

merged 1 commit into from
May 28, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 28, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@angular/build 20.0.0-rc.4 -> 20.0.0 age adoption passing confidence
@angular/cdk 20.0.0-rc.2 -> 20.0.0 age adoption passing confidence
@angular/cli 20.0.0-rc.4 -> 20.0.0 age adoption passing confidence
@angular/common (source) 20.0.0-rc.3 -> 20.0.0 age adoption passing confidence
@angular/compiler (source) 20.0.0-rc.3 -> 20.0.0 age adoption passing confidence
@angular/compiler-cli (source) 20.0.0-rc.3 -> 20.0.0 age adoption passing confidence
@angular/core (source) 20.0.0-rc.3 -> 20.0.0 age adoption passing confidence
@angular/forms (source) 20.0.0-rc.3 -> 20.0.0 age adoption passing confidence
@angular/material 20.0.0-rc.2 -> 20.0.0 age adoption passing confidence
@angular/platform-browser (source) 20.0.0-rc.3 -> 20.0.0 age adoption passing confidence
@angular/platform-browser-dynamic (source) 20.0.0-rc.3 -> 20.0.0 age adoption passing confidence
@angular/router (source) 20.0.0-rc.3 -> 20.0.0 age adoption passing confidence
ng-packagr 20.0.0-rc.2 -> 20.0.0 age adoption passing confidence

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
  • TypeScript versions less than 5.8 are no longer supported.
@​schematics/angular
Commit Type Description
e03f2b899 feat Add global error listeners to new app generation
1e137ca84 feat add migration to update moduleResolution to bundler
26fd4ea73 feat add migrations for server rendering updates
5876577af feat Add prompt for new apps to be zoneless
fdc6291dd feat add update migration to keep previous style guide generation behavior
093c5a315 feat directly use @angular/build in new projects
d6f594fe0 feat generate applications using TypeScript project references
0ab1ddf63 feat generate libraries using TypeScript project references
18e13e2ce feat remove --server-routing option
03180fe03 feat use TypeScript module preserve option for new projects
86d241629 fix add @angular/ssr dependency only when provideServerRendering import has been updated
9e6b9b537 fix add type checking of host bindings to strict config
8654b3fea fix application migration should migrate karma builder package
c557a19ef fix avoid empty polyfill option for new zoneless application
90615a88b fix default component templates to not use .ng.html extension
672ae14cd fix drop composite in tsconfig
da6ef626f fix ensure app-shell schematic consistently uses withAppShell
f126f8d34 fix ensure module discovery checks for an NgModule decorator
dc2f65999 fix generate component templates with a .ng.html file extension
23fc8e1e1 fix generate components without a .component extension/type
8d715fa94 fix generate directives without a .directive extension/type
5fc595144 fix generate guards with a dash type separator
040282d8f fix generate interceptors with a dash type separator
070d60fb3 fix generate modules with a dash type separator
e6083b57b fix generate pipes with a dash type separator
92e193c0b fix generate resolvers with a dash type separator
bc0f07b48 fix generate services without a .service extension/type
ea1143ddd fix infer app component name and path in server schematic
bcc0892a6 fix migrate provideServerRoutesConfig to provideServerRendering
5e8c6494d fix relative tsconfig paths in references
381d35fe4 fix remove empty scripts option value from new applications
148498c2b fix Remove experimental from zoneless
a910fe9ae fix remove explicit outputPath option value from generated applications
901ab60d9 fix remove explicit index option from new applications
be6f13ec1 fix remove setting files tsconfig field with SSR/Server generation
661609e3e fix set explicit type in library schematic
0f7dc2cd8 fix skip spec project reference for minimal ng new
3cf6ab0f7 fix support using default browser option when not present
b13805a77 fix use protected for class member
@​angular/cli
Commit Type Description
e513cd4aa fix add Node.js 24 as supported version
5e90c1b4e fix remove Node.js v18 support
787e510dc fix update min Node.js support to 20.19, 22.12, and 24.0
64732534e fix update minimum supported Node.js 22 version to 22.11.0
@​angular-devkit/build-angular
Commit Type Description
a42e045ba fix respect i18nDuplicateTranslation option when duplicates exist
@​angular-devkit/schematics
Commit Type Description
e6be37601 refactor remove deprecated NodePackageLinkTask
@​angular/build
Commit Type Description
d6ea6b09f feat add experimental vitest browser support to unit-testing
12def3a2e feat add experimental vitest unit-testing support
c1de63300 feat allow control of source map sources content for application builds
31c81e9c6 feat drop support for TypeScript older than 5.8
e80963036 feat expand browser support policy to widely available Baseline
3c9172159 feat integrate Chrome automatic workspace folders
9b682e625 feat support a default outputPath option for applications
d067cedf0 feat support custom resolution conditions with applications
f4be83119 feat Support Sass package importers
f36a27272 fix allow a default application browser option
f42f5c14c fix allow component HMR for templates with i18n
e36bf964a fix allow TestBed provider configuration with vitest unit-testing
769961e4a fix allow vitest-based unit testing to use watch option
3e24a59a9 fix disable TypeScript composite option with Angular compiler
b155ba1dc fix enable unit-test builder watch outside CI
7bb1f8747 fix enable unit-test reporters option
05485ede7 fix ensure com.chrome.devtools.json is consistently served after initial run
7877d9a97 fix ensure disabled vitest config loading
c8c73185a fix ensure matching coverage excludes with karma on Windows
aec95042b fix exclude only source test files with unit-test vitest support
5bea3de4c fix invalidate com.chrome.devtools.json if project is moved
1cd65a08d fix perform testing module cleanup when using Vitest
c51a540ce fix provide direct debugging support for unit test builder
c7f2cb596 fix provide vitest globals in unit-test builder
d2bfc6bd4 fix revert setup unit-test polyfills before TestBed init
0d40cdecd fix setup unit-test polyfills before TestBed init
fa3dc6387 fix show unit-test error for missing vitest browser package
247cd3352 fix show unit-test error for missing vitest package
eee816f79 fix use global unit-test hooks during TestBed init
566de64cb fix use virtual module for Karma TestBed initialization
52fbffcd7 fix warn and remove jsdom launcher when used with karma
5ff6188c4 perf directly check code for Angular partial linking
@​angular/pwa
Commit Type Description
fa0a06f9f fix support using default index option when not present
@​angular/ssr
Commit Type Description
33b9de3eb feat expose provideServerRendering and remove provideServerRouting
cdfc50c29 feat stabilize AngularNodeAppEngine, AngularAppEngine, and provideServerRouting APIs
319b8e0c2 fix manage unhandled errors in zoneless applications
2d11e8e45 fix return 302 when redirectTo is a function
059c10eb4 fix SSR should work without @angular/router
63428f3f1 perf flush headers prior to start rendering the HTML
280693231 perf optimize response times by introducing header flushing
6bd7b9b4a perf optimized request handling performance
@​ngtools/webpack
Commit Type Description
427bd846f fix disable TypeScript composite option with Angular compiler
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 the scrolled method instead.
    • DomPortalHost has been removed. Use DomPortalOutlet instead.
    • PortalInjector has been removed. Use Injector.create instead.
    • PortalHost has been removed. Use PortalOutlet instead.
    • BasePortalHost has been removed. Use BasePortalOutlet instead.
    • Constructor symbol has been removed.
    • CanStickCtor symbol has been removed.
    • mixinHasStickyInput has been removed. Implement the CanStick 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 by MatButtonHarness.getVariant no longer includes the appearance of the button. Use MatButtonHarness.getAppearance instead.
  • tabindex values set as [attr.tabindex] set on a Material button might not work as expected. Use tabindex 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.
    • The constructor of DomPortalOutlet has changed.
    • ComponentPortal.componentFactoryResolver has been removed.
    • The constructor signature of ComponentPortal has changed.
    • MatDialogConfig.componentFactoryResolver has been removed.
cdk-experimental
Commit Type Description
e456c751c feat listbox: add cdk-active class (#​30932)
6ac4c1ae2 feat listbox: readonly mode (#​30803)
96fa9fc55 feat popover-edit: Support skipping over annotated rows when the user moves focus up/down. (#​30916)
025010b64 feat tabs: add cdk-active class and update example styles (#​30950)
9a94bb76a feat tabs: support initial tab selection and add unit tests (#​31023)
1833aa32e feat ui-patterns: add expansion behavior and refactor tabs (#​30962)
fc4699744 feat ui-patterns: listbox ui pattern (#​30495)
9caed2a8a feat ui-patterns: tabs ui pattern (#​30568)
e0446ecfc fix listbox: change shift+nav behavior (#​30854)
184ceee3a fix listbox: ignore spaces during typeahead (#​30766)
44e9ccbf5 fix listbox: initial listbox focus state (#​30764)
a7df65f3e fix listbox: use meta as alternative to ctrl (#​30852)
149fe6129 fix popover-edit: use MutationObserver to detect table rows (#​30713)
16493ecab fix scrolling: Fix ExpressionChangedAfterItWasCheckedError (#​31076)
0e391700c fix tabs: handle space and enter events (#​30889)
2e34b20cb fix ui-patterns: add missing event handlers (#​30786)
4bf3591c7 fix ui-patterns: add modifier checks for regexps (#​30738)
ae8f9dd28 fix ui-patterns: fix lint and build config (#​30877)
10890983c fix ui-patterns: listbox pointer event handler (#​30843)
7343657f5 fix ui-patterns: small fixes for internal compatibi… (#​30625)
youtube-player
Commit Type Description
18ddea330 fix use safevalues (#​30773)
material
Commit Type Description
fb81ab4f2 feat button: add support for tonal button (#​30638)
e79f60558 feat button: allow appearance to be set dynamically
663585a1c feat card: support filled variant (#​29868)
82f0fa6fa feat core: handle prefers-reduced-motion automatically (#​30796)
3daa36030 feat core: introduce custom token for controlling animations (#​30749)
764a1ccd1 feat dialog: add closePredicate option
097f49d90 fix autocomplete: allow overlay backdrop by setting hasBackdrop option (#​30631)
7d360ac77 fix button-toggle: changed after checked error when updating tabindex (#​31172)
2c7199c02 fix button: align harness with new terminology
6a5943d8b fix button: combine MatButton and MatAnchor (#​30492)
3aecb3521 fix button: tonal touch target token transgression (#​30688)
77d6b69e7 fix checkbox: breaking changes for v20
907815dc5 fix checkbox: hardcode token renames (#​30752)
f01ac6e9c fix checkbox: resolve change after checked error
aba4c4437 fix chips: chip input not showing placeholder (#​30664)
33795a1a1 fix chips: implement disabledInteractive in chip input (#​30665)
92bcc67c2 fix core: include density tokens in system theme (#​30845)
5bc01c398 fix datepicker: resolve change after checked errors
227e83d24 fix dialog: breaking changes for v20
a5aade2df fix form-field: preserve aria-describedby set externally across all form controls (#​30699)
ec538b598 fix form-field: use ResizeObserver for label offset calculation (#​30702)
d120f973f fix list: resolve changed after checked error
fd162d201 fix schematics: add schematic to rename tokens (#​31051)
db090cac3 fix select: breaking changes for v20
688c430fe fix select: close panel on detach output event (#​30634)
12f96e229 fix select: resolve change after checked errors
404868707 fix sidenav: resolve changed after checked error
c6ad44c68 fix slide-toggle: breaking changes for v20
d3a8c5b89 fix slide-toggle: opacity tokens not being used (#​30946)
2d86ad441 fix slider: fix clobbered token for hover/focus/pressed (#​30754)
0e985f2c6 fix slider: handle null values in slider input (#​30621)
8b033742b fix snack-bar: change politeness level (#​30851)
40d0ab4fc fix snack-bar: rename snackbar token prefix (#​30750)
0cf6ba107 fix stepper: done icon tokens not emitted in M3 (#​30996)
e1f97f920 fix stepper: resolve changed after checked errors
c63b1fe7b fix tabs: flicker when animationDuration is set to zero (#​30966)
922c678c0 fix tabs: not emitting token in M3 (#​31136)
1a800decc fix tabs: resolve change after checked errors
6c9678e69 perf form-field: set notch outline variable only on relevant element (#​30955)
10a6ea493 perf form-field: split DOM accesses into read and write (#​31086)
cdk
Commit Type Description
06821d85a feat dialog: add closePredicate option
cf619601a feat drag-drop: introduce resetToBoundary (#​30436)
77c8534ff fix accordion: resolve changed after checked error
1167d0638 fix collections: breaking changes for v20
79e887219 fix dialog: breaking changes for v20
a2ab84da1 fix dialog: provide proper shaped Directionality (#​30898)
b3e516f2d fix drag-drop: breaking changes for v20
69eedd75f fix drag-drop: incorrect type DragConstrainPosition (#​30510)
f9973ee23 fix overlay: use MutationObserver to detach overlay (#​30703)
11599f808 fix portal: remove deprecated symbols (#​30584)
87501e866 fix schematics: support project index file discovery for object-form and default (#​30967)
8078efc21 fix table: breaking changes for v20
0f48b04dd fix table: move out unused style scheduler (#​30963)
6ffe9c748 fix table: remove private symbols from public API (#​30956)
08f4acfef perf overlay: add tree-shakeable alternatives for overlay APIs (#​30904)
material-angular-io
Commit Type Description
3a1a0b368 fix streamline directive and component metadata handling in dgeni (#​30661)
multiple
Commit Type Description
e1cf2844f fix avoid repeating selectors in m3 themes (#​30645)
3465f9271 fix ensure mat-option parents are the offsetParent (#​30977)
cb3b0a87a fix ensure re-exported module symbols can be imported (#​30667)
590971359 fix remove backwards-compatibility code (#​30747)
cda5c8e68 fix remove remaining references to ComponentFactoryResolver (#​30569)
5229fe0a0 fix rename hardcoded tokens that were renamed (#​30807)
9bf4be9e2 fix rename token prefixes to match components (#​30802)
32353fb3a fix resolve directive host binding issues (#​30606)
48894ad55 fix use DI token for tag name (#​30892)
angular/angular (@​angular/common)

v20.0.0

Compare Source

Breaking Changes

common
  • Using the Y formatter (week-numbering year) without also including w (week number) is now detected as suspicious date pattern, as y is typically intended.
  • AsyncPipe now directly catches unhandled errors in
    subscriptions and promises and reports them to the application's
    ErrorHandler. For Zone-based applications, these errors would have
    been caught by ZoneJS and reported to ErrorHandler so the result is
    generally 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 operator

    Previously an expression in the template like {{void}} referred to a
    property on the component class. After this change it now refers to the
    void operator, which would make the above example invalid. If you have
    existing expressions that need to refer to a property named void,
    change the expression to use this.void instead: {{this.void}}.

core
  • TypeScript versions less than 5.8 are no longer supported.
  • the TestBed.flushEffects() was removed - use
    the TestBed.tick() instead.
  • provideExperimentalCheckNoChangesForDebug has several
    breaking changes:
    • It is renamed to provideCheckNoChangesConfig
    • The behavior applies to all checkNoChanges runs
    • The useNgZoneOnStable option is removed. This wasn't found to be generally
      more useful than interval
  • provideExperimentalZonelessChangeDetection is
    renamed to provideZonelessChangeDetection as it is now "Developer
    Preview" rather than "Experimental".
    • InjectFlags has been removed.
    • inject no longer accepts InjectFlags.
    • Injector.get no longer accepts InjectFlags.
    • EnvironmentInjector.get no longer accepts InjectFlags.
    • TestBed.get no longer accepts InjectFlags.
    • TestBed.inject no lon

Configuration

📅 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/angular branch from ae898b2 to 41e8544 Compare May 28, 2025 16:20
@json-derulo json-derulo enabled auto-merge (rebase) May 28, 2025 16:21
@json-derulo json-derulo merged commit 380cbb2 into main May 28, 2025
9 checks passed
@json-derulo json-derulo deleted the renovate/angular branch May 28, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.