feat: migrate from Angular 19 to Angular 20#290
Open
francischabot wants to merge 1 commit intoVilledeMontreal:masterfrom
Open
feat: migrate from Angular 19 to Angular 20#290francischabot wants to merge 1 commit intoVilledeMontreal:masterfrom
francischabot wants to merge 1 commit intoVilledeMontreal:masterfrom
Conversation
- Update all @angular/* packages from 19.x to 20.x - Update @angular/cdk from 19.x to 20.x - Update @angular-devkit/build-angular, @angular/cli to 20.x - Update @angular-eslint/* packages to 20.x - Update ng-packagr from 19.x to 20.x - Replace removed PortalInjector with Injector.create() in snack-bar service - Add try-catch around focusInitialElementWhenReady() in modal container to handle CDK focus trap errors during test teardown (Angular 20 now rethrows errors from listeners that were previously silent) - Add afterEach cleanup in modal tests to properly close modals - Fix button test import path (dist/angular-ui -> relative import) - Adjust modal mobile width test threshold for CDK 20 overlay changes - Add standalone: false to all storybook example components (Angular 20 changed standalone default to true) - Bump library version to 20.0.0 with peer deps >=20.0.0 <21.0.0 Signed-off-by: Francis Chabot <francis.chabot@montreal.ca>
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.
Upgrades the library from Angular 19 to Angular 20.
Angular 20 migration
@angular/*and@angular/cdkpackages bumped to~20.x@angular-devkit/build-angular,@angular/clibumped to~20.x@angular-eslint/*packages bumped to~20.xng-packagrbumped to~20.x20.0.0with peer deps>=20.0.0 <21.0.0Breaking change fixes
PortalInjectorwithInjector.create()in snack-bar servicetry-catcharoundfocusInitialElementWhenReady()in modal container (Angular 20 rethrows errors from listeners that were previously silent)Test fixes
afterEachcleanup in modal tests to properly close modalsdist/angular-ui→ relative import)Storybook fix
standalone: falseto all Storybook example components (Angular 20 changed thestandalonedefault totrue)Tests
TOTAL: 111 SUCCESS