Skip to content

chore(deps): upgrade Angular packages to v17#1

Merged
santoshyadavdev merged 2 commits intomainfrom
santoshyadavdev/angular-v17-upgrade
Apr 2, 2026
Merged

chore(deps): upgrade Angular packages to v17#1
santoshyadavdev merged 2 commits intomainfrom
santoshyadavdev/angular-v17-upgrade

Conversation

@santoshyadavdev
Copy link
Copy Markdown
Owner

@santoshyadavdev santoshyadavdev commented Apr 2, 2026

Motivation

The Harbor portal UI was still on Angular 16. This PR completes the upgrade to Angular 17, aligning with the latest LTS Angular release and enabling use of new framework features (deferred loading, improved SSR, standalone component improvements, etc.).

What changed

All Angular-related packages in src/portal/package.json have been upgraded:

Package From To
@angular/* (9 packages) ^16.2.12 ^17.3.12
@angular/cli ^16.2.16 ^17.3.17
@angular-devkit/build-angular ^16.2.16 ^17.3.17
@angular/compiler-cli ^16.2.9 ^17.3.12
@angular-eslint/* (5 packages) 16.1.2 17.5.3
@clr/angular 15.4.0 17.12.2
@ngx-translate/core 15.0.0 16.0.0
@ngx-translate/http-loader 8.0.0 16.0.0
ngx-markdown 16.0.0 17.2.1
zone.js ^0.13.3 ^0.14.10
typescript ~5.0.4 ~5.4.5

Two missing peer dependencies were also added as explicit dependencies:

  • @angular/cdk@^17.3.10 — required by @clr/angular v17 but not automatically installed
  • marked@^12.0.2 — required by ngx-markdown v17

The @angular-eslint/* packages were upgraded consistently to 17.5.3 across all five packages (the partial upgrade in the reference branch had only updated schematics but left the others at 16.1.2).

Verification

npm run build (AOT) completes successfully with no errors.

Summary by CodeRabbit

  • Chores
    • Updated Angular core packages from version 16 to version 17, improving platform stability and compatibility.
    • Upgraded build tooling and development dependencies to match Angular 17 requirements.
    • Added Angular CDK dependency to enhance component functionality.
    • Updated TypeScript and related tooling for improved development experience.

santoshyadavdev and others added 2 commits April 2, 2026 08:24
 17.3.12
 17
 17.5.3 (all packages)
 17.12.2
 16.0.0
 16.0.0
 17.2.1
 0.14.10
 5.4.5

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- @angular/cdk@^17.3.10: required by @clr/angular v17
- marked@^12.0.2: required by ngx-markdown v17

Build confirmed passing.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 2, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6b4df569-ea54-4d19-99de-af39cc9c420f

📥 Commits

Reviewing files that changed from the base of the PR and between 1c7d831 and 1369fb1.

⛔ Files ignored due to path filters (1)
  • src/portal/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • src/portal/package.json

📝 Walkthrough

Walkthrough

Angular framework and related dependencies upgraded from v16 to v17, including updates to Clarity UI, translation libraries, build tooling, and TypeScript in package.json.

Changes

Cohort / File(s) Summary
Angular Core & Framework Upgrade
src/portal/package.json
Angular core packages (@angular/animations, common, compiler, core, forms, localize, platform-browser, platform-browser-dynamic, router) upgraded from ^16.2.12 to ^17.3.12. @angular/cdk (^17.3.10) added as new dependency.
UI & Translation Dependencies
src/portal/package.json
@clr/angular upgraded from 15.4.0 to 17.12.2. @ngx-translate/core and @ngx-translate/http-loader upgraded to 16.0.0. ngx-markdown upgraded from 16.0.0 to 17.2.1. marked (^12.0.2) added.
Development & Build Tooling
src/portal/package.json
Angular CLI and related dev tools upgraded to ^17.3.x. ESLint packages upgraded from 16.1.2 to 17.5.3. TypeScript updated from ~5.0.4 to ~5.4.5. zone.js upgraded from ^0.13.3 to ^0.14.10.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested labels

enhancement

Poem

🐰 Hopping through versions with Angular grace,
From sixteen to seventeen, we quicken the pace!
TypeScript and Clarity keep up the beat,
A bundle of updates, dependency sweet!

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch santoshyadavdev/angular-v17-upgrade

Comment @coderabbitai help to get the list of available commands and usage tips.

@santoshyadavdev santoshyadavdev merged commit e595477 into main Apr 2, 2026
1 check was pending
@coderabbitai coderabbitai bot added the enhancement New feature or request label Apr 2, 2026
@coderabbitai coderabbitai bot mentioned this pull request Apr 2, 2026
5 tasks
santoshyadavdev added a commit that referenced this pull request Apr 2, 2026
…7-upgrade

chore(deps): upgrade Angular packages to v17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant