feat: Upgrade Angular from 16.2.1 to 21.2.11#17
Open
devin-ai-integration[bot] wants to merge 2 commits into
Open
feat: Upgrade Angular from 16.2.1 to 21.2.11#17devin-ai-integration[bot] wants to merge 2 commits into
devin-ai-integration[bot] wants to merge 2 commits into
Conversation
Major upgrade spanning 5 major versions (16 → 17 → 18 → 19 → 20 → 21). Key changes: - Angular core/cli/material: 16.2.1 → 21.2.11 - TypeScript: 4.9.5 → 5.9.3 - RxJS: 6.x → 7.x - Zone.js: 0.13 → 0.15 - Node.js requirement: 18 → 22 (minimum 20.11.1) Breaking changes addressed: - HttpClientModule → provideHttpClient() - BrowserAnimationsModule → provideAnimationsAsync() - Added provideZoneChangeDetection() (Angular 21 requirement) - Added standalone: false to all NgModule-declared components - Migrated templates to built-in control flow (@if, @for) - Replaced polyfills.ts with angular.json polyfills array - Updated moment imports for ES module interop - Replaced TestBed.get() with TestBed.inject() - Replaced HttpClientTestingModule with provideHttpClientTesting() - Replaced karma-coverage-istanbul-reporter with karma-coverage - Updated tsconfig for bundler moduleResolution - Removed Protractor e2e (deprecated) - Removed deprecated packages (codelyzer, core-js, etc) - Updated ESLint config for typescript-eslint v8 / angular-eslint v21 See BREAKING_CHANGES.md for full documentation.
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
…ation - Added optimization:true, sourceMap:false, extractLicenses:true back to production configuration in angular.json - Removed duplicate maxlength error message blocks in visit-edit template (was 3 identical blocks, now 1, also fixed 'charaters' typo)
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.
Summary
Major framework upgrade spanning 5 major Angular versions (16 to 21), bringing the project to the latest stable Angular release.
Version Changes
Breaking Changes Addressed (20 total)
Full documentation in BREAKING_CHANGES.md.
Build and Lint
Review and Testing Checklist for Human
Notes
Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/0524698c759340d7adb9d6a3b24ac583