-
-
Notifications
You must be signed in to change notification settings - Fork 585
Upgrade Angular from v15 to v20 with dependency updates. #108
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
Open
rexmarkh
wants to merge
50
commits into
trungvose:master
Choose a base branch
from
rexmarkh:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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.
🚀 Angular 20 Upgrade - Major Multi-Version Update
This PR upgrades the entire Angular application from version 15 to 20.3.6 (a 5-version jump), including all related dependencies, configuration updates, and modernization improvements.
📋 Summary of Changes
Core Angular Packages Upgraded:
@angular/core: ~15.x.x → 20.3.6 (5 major versions)@angular/cli: ~15.x.x → 20.3.6@angular/common: ~15.x.x → 20.3.6@angular/compiler: ~15.x.x → 20.3.6@angular/forms: ~15.x.x → 20.3.6@angular/platform-browser: ~15.x.x → 20.3.6@angular/platform-browser-dynamic: ~15.x.x → 20.3.6@angular/router: ~15.x.x → 20.3.6@angular/animations: ~15.x.x → 20.3.6@angular/cdk: ~15.x.x → 20.2.9Supporting Dependencies Updated:
@angular-builders/custom-webpack: ~15.x.x → 20.0.0ng-zorro-antd: ~15.x.x → 20.3.1@ant-design/icons-angular: ~15.x.x → 20.0.0ngx-quill: ~15.x.x → 28.0.1quill: 1.3.7 → 2.0.3typescript: ~4.8.x → 5.9.3zone.js: ~0.12.x → 0.15.1@typescript-eslint/eslint-plugin: 5.11.0 → 7.18.0@typescript-eslint/parser: 5.11.0 → 7.18.0🔄 Multi-Version Migration Path
This upgrade involved sequential migrations through:
Angular 15 → 16 → 17 → 18 → 19 → 20
Each major version migration included:
ng update🔧 Configuration & Build System Updates
Angular Configuration:
browserTargettobuildTargetconfigurationTypeScript & Build Tools:
🎨 SCSS Modernization (Dart Sass 3.0 Preparation)
Deprecated Function Replacements:
Files Modernized:
🐛 Major Breaking Changes Addressed
Angular 15 → 20 Breaking Changes:
Third-Party Library Updates:
📊 Form UI Improvements
Create Issue Modal Enhancements:
✅ Testing & Validation
🚨 Breaking Changes & Migration Impact
Node.js Version Requirement:
TypeScript Version Jump:
Major Dependency Changes:
📝 Migration Impact Assessment
What Changed Since Angular 15:
Post-Migration Verification:
🎯 Benefits of Angular 15 → 20 Upgrade
Performance Improvements:
Developer Experience:
Future-Proofing:
📋 Comprehensive Checklist
Closes: #[issue-number] - Angular 15 to 20 upgrade requirement
Migration-Type: Major multi-version upgrade (5 versions)
Testing-Scope: Full regression testing required
Deployment-Impact: Requires Node.js environment update
Reviewed-by: [Senior Developer names - requires senior review for major version jump]
Tested-on: Node.js 22.14.0, Angular CLI 20.3.6
This is a major 5-version upgrade that touches virtually every part of the application. Key review areas: