Update Angular to version 20.3.6 #11
Draft
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.
Overview
This PR updates the Angular framework from version 18.0.0 to the latest stable version 20.3.6, along with all related dependencies and tooling.
Changes
Package Updates
Angular Core Packages (18.0.0 → 20.3.6):
Angular DevTools (18.0.x → 20.3.6):
Supporting Dependencies:
Migrations Applied
The update was performed using Angular CLI's
ng updatecommand, which automatically applied the following migrations:Standalone Component Flag: Added
standalone: falseto non-standalone components and directives to maintain backward compatibility with the existing module-based architecture:projects/icon/src/lib/size.directive.tsprojects/icon/src/lib/icon.component.tsprojects/icon/src/lib/icon-stack/icon-stack.component.tsprojects/demo/src/app/app.component.tsWorkspace Configuration: Updated
angular.jsonwith schematics defaults to maintain previous style guide behavior and file naming conventions.Verification
@joster-dev/icon) builds successfullyNotes
The dependency
@joster-dev/chaos-controlshows a peer dependency warning for Angular 18, but it extends the version range and continues to work correctly with Angular 20. No breaking changes were required in application code beyond the automatic migrations.Testing
Both the library and demo application have been built and verified to work correctly with the new Angular version:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.