Skip to content

updated angular material to v20#34

Merged
saithis merged 16 commits intozvoove:masterfrom
vezixig:angular-update-20
Dec 9, 2025
Merged

updated angular material to v20#34
saithis merged 16 commits intozvoove:masterfrom
vezixig:angular-update-20

Conversation

@vezixig
Copy link
Contributor

@vezixig vezixig commented Dec 8, 2025

updated the following packages:

  • angular to v20
  • material to v20
  • ngx-mat-select-search to support material v20
  • typescript-eslint to latest version to support typescript 5.9.3

manual changes:

updated angular to v19

provideExperimentalZonelessChangeDetection changed to provideZoneChangeDetection

updated ngx-mat-select-search to support material v20

fixed template errors

updated typescript-eslint to latest version to support typescript 5.9.3
Copilot AI review requested due to automatic review settings December 8, 2025 07:29
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the Angular application and component library from v19 to v20, including Angular Material and related dependencies. The upgrade includes breaking changes that require API updates for SSR, change detection, and Material Design CSS variables.

Key Changes

  • Updated all Angular packages from v19.2.x to v20.3.x and Angular Material from v19.2.x to v20.2.x
  • Migrated from experimental to stable zoneless change detection API
  • Updated Material Design CSS variables from --mdc- to --mat- prefix across SCSS files
  • Updated build system from @angular-devkit/build-angular to @angular/build

Reviewed changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
main.server.ts Added BootstrapContext parameter to server bootstrap function
component-page-wrapper.component.html Fixed template type checking by calling signals and adding non-null assertions
app.config.ts Changed from provideExperimentalZonelessChangeDetection to provideZonelessChangeDetection
app.config.server.ts Updated import path for provideServerRendering from @angular/platform-server to @angular/ssr
karma.conf.js (both) Removed @angular-devkit/build-angular karma plugin (incomplete migration - see comments)
table.component.scss Updated CSS variables from --mdc- to --mat- prefix for card colors
_mixins.scss Updated CSS variables from --mdc- to --mat- prefix for button and icon colors
form.component.scss Updated CSS variables from --mdc- to --mat- prefix for card shape
form-field.component.scss Updated CSS variables from --mdc- to --mat- prefix for form field shape
form-errors.component.scss Updated CSS variables from --mdc- to --mat- prefix for chip styling
package.json Upgraded Angular to v20.3.x, Material to v20.2.x, TypeScript to 5.9.3, and related packages
angular.json Updated builders from @angular-devkit/build-angular to @angular/build and added schematics configuration (with issues - see comments)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@saithis saithis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comments

@vezixig vezixig requested a review from saithis December 8, 2025 13:27
saithis
saithis previously approved these changes Dec 8, 2025
@saithis saithis enabled auto-merge (squash) December 8, 2025 13:54
auto-merge was automatically disabled December 9, 2025 08:00

Head branch was pushed to by a user without write access

@saithis saithis enabled auto-merge (squash) December 9, 2025 08:32
@saithis saithis merged commit ec0f9f6 into zvoove:master Dec 9, 2025
1 check passed
@vezixig vezixig deleted the angular-update-20 branch December 9, 2025 08:46
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.

2 participants