Upgrade to Angular 20#823
Merged
kevin-atnos merged 5 commits intomasterfrom Oct 6, 2025
Merged
Conversation
kevin-atnos
approved these changes
Oct 6, 2025
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.
This pull request upgrades the project to Angular 20 and updates several dependencies and build configurations to align with the new Angular version. It also refactors Angular templates to use the new control flow syntax (
@if,@for,@else) for improved readability and performance. These changes are essential for maintaining compatibility, leveraging new Angular features, and ensuring the codebase stays up-to-date.Framework and Dependency Upgrades
package.jsonfrom version 19 to 20, including core libraries, CLI, compiler, and related packages. Also updated other dependencies such asng2-pdfjs-viewer,ng-packagr, and@types/nodeto match compatibility requirements. [1] [2] [3] [4].tool-versionsfrom22.12.0to22.20.0to support the new Angular version.Build Configuration Changes
angular.jsonwith the new@angular/buildequivalents for application, dev-server, extract-i18n, karma, and ng-packagr. [1] [2] [3] [4] [5]schematicssection toangular.jsonfor custom component, directive, service, guard, interceptor, module, pipe, and resolver generation options.Template Refactoring
base.component.html,archive-card.component.html) to use the new control flow syntax (@if,@for,@else) instead of the older*ngIfand*ngFordirectives, improving code clarity and leveraging Angular 20 features. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17]Versioning
package.jsonfrom4.0.0to5.0.0to reflect the major upgrades and breaking changes.