Upgrade Angular from v9 to v19 #150
Open
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
This PR upgrades the Angular application from version 9.0.1 to 19.0.0, spanning 10 major versions. Key changes include:
Dependency Updates:
Configuration Changes:
applicationbuilder (replacingbrowser)Code Changes:
standalone: falseto all components (Angular 19 defaults to standalone)rxjspackage pathsRemoved Files:
Review & Testing Checklist for Human
/user/:idroutes showed "Could not load user" errors. This appeared to be an external API issue but should be verified.npm testlocally./news/1,/newest/1,/show/1,/ask/1,/jobs/1and item detail pages@importrules and/division syntax that will break in future Sass versionsRecommended Test Plan:
npm installandnpm run buildto verify compilationnpm startand navigate through all routesNotes
There are 21 ESLint warnings remaining (accessibility issues, unused variables) that were downgraded from errors to allow the build to pass. These should be addressed in a follow-up PR.
Visual verification recording:
View original video (rec-57724394ecd54d99816dc4775f86f70e-edited.mp4)
Link to Devin run: https://app.devin.ai/sessions/25c3897461394591b31fc68517a93685
Requested by: Vedant Khanna (@VedantKh)