Skip to content

Pythons/angular 21 upgrade#270

Merged
so-kaushal merged 49 commits intoteam/pythonsfrom
pythons/angular-21-upgrade
Mar 12, 2026
Merged

Pythons/angular 21 upgrade#270
so-kaushal merged 49 commits intoteam/pythonsfrom
pythons/angular-21-upgrade

Conversation

@so-kaushal
Copy link
Contributor

https://scheduleonce.atlassian.net/browse/ONCEHUB-112987
Upgrade knowledgeowl-angular library from Angular 20 to Angular 21

This pull request introduces a major update to the project, primarily focused on upgrading Angular and related dependencies to version 21, updating Node.js support to 24.13.0, and modernizing the ESLint configuration. It also removes the legacy .eslintrc.json in favor of a new eslint.config.js and updates the CI/CD workflows to use the latest tooling. The package version is bumped to 6.0.0-beta.0 to reflect these breaking changes.

Dependency and Version Upgrades:

  • Upgraded all Angular packages and devDependencies (such as @angular/core, @angular/cli, etc.) to version 21.x, updated typescript to 5.9.3, switched to typescript-eslint 8.x, and removed rxjs as a direct dependency. The package version is now 6.0.0-beta.0. (package.json, src/package.json, src/package-lock.json) [1] [2] [3]
  • Updated the Node.js version in CI and npm publish workflows to 24.13.0, ensuring compatibility with the latest Node and toolchain. (.github/workflows/ci.yml, .github/workflows/npm-publish.yml) [1] [2]

ESLint Configuration Modernization:

  • Removed the old .eslintrc.json and introduced a new eslint.config.js using the flat config format, aligning with the latest ESLint and Angular ESLint recommendations. This also updates rule sets, selectors, and disables deprecated rules. (.eslintrc.json, eslint.config.js) [1] [2]

Other Notable Changes:

  • Updated the CHANGELOG.md to document the new version and reference the associated Jira ticket.
  • Minor tweaks to TypeScript config and npm scripts for improved test reliability and compatibility. (src/tsconfig.lib.json, package.json) [1] [2]

These changes collectively modernize the codebase, improve maintainability, and ensure compatibility with the latest Angular and Node.js ecosystems.

rameshwarverma and others added 30 commits January 15, 2026 12:41
update Angular packages to version 20.3.14 and 20.3.16 and document dependency updates in CHANGELOG
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.21...4.17.23)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…ash-4.17.23

build(deps): bump lodash from 4.17.21 to 4.17.23
Bumps [hono](https://github.com/honojs/hono) from 4.11.4 to 4.11.7.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.11.4...v4.11.7)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.11.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…o-4.11.7

build(deps-dev): bump hono from 4.11.4 to 4.11.7
Bumps [tar](https://github.com/isaacs/node-tar) to 7.5.7 and updates ancestor dependency [@angular/cli](https://github.com/angular/angular-cli). These dependencies need to be updated together.


Updates `tar` from 7.5.2 to 7.5.7
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v7.5.2...v7.5.7)

Updates `@angular/cli` from 20.3.14 to 20.3.15
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md)
- [Commits](angular/angular-cli@v20.3.14...v20.3.15)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.7
  dependency-type: indirect
- dependency-name: "@angular/cli"
  dependency-version: 20.3.15
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
…ti-b625c48170

build(deps): bump tar and @angular/cli
revert back to use regular flow instead of composite
Bumps [qs](https://github.com/ljharb/qs) from 6.14.1 to 6.14.2.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.14.1...v6.14.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…6.14.2

build(deps): bump qs from 6.14.1 to 6.14.2
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.7 to 7.5.9.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v7.5.7...v7.5.9)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [hono](https://github.com/honojs/hono) from 4.11.7 to 4.12.0.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.11.7...v4.12.0)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…-7.5.9

build(deps-dev): bump tar from 7.5.7 to 7.5.9
Bumps [basic-ftp](https://github.com/patrickjuchli/basic-ftp) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/patrickjuchli/basic-ftp/releases)
- [Changelog](https://github.com/patrickjuchli/basic-ftp/blob/master/CHANGELOG.md)
- [Commits](patrickjuchli/basic-ftp@v5.1.0...v5.2.0)

---
updated-dependencies:
- dependency-name: basic-ftp
  dependency-version: 5.2.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…ic-ftp-5.2.0

build(deps-dev): bump basic-ftp from 5.1.0 to 5.2.0
Bumps  and [minimatch](https://github.com/isaacs/minimatch). These dependencies needed to be updated together.

Updates `minimatch` from 3.1.2 to 3.1.5
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](isaacs/minimatch@v3.1.2...v3.1.5)

Updates `minimatch` from 10.1.1 to 10.2.4
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](isaacs/minimatch@v3.1.2...v3.1.5)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 3.1.5
  dependency-type: indirect
- dependency-name: minimatch
  dependency-version: 10.2.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…o-4.12.0

build(deps-dev): bump hono from 4.11.7 to 4.12.0
dependabot bot and others added 10 commits March 4, 2026 21:03
Bumps [hono](https://github.com/honojs/hono) from 4.12.0 to 4.12.5.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.12.0...v4.12.5)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [immutable](https://github.com/immutable-js/immutable-js) from 5.1.4 to 5.1.5.
- [Release notes](https://github.com/immutable-js/immutable-js/releases)
- [Changelog](https://github.com/immutable-js/immutable-js/blob/main/CHANGELOG.md)
- [Commits](immutable-js/immutable-js@v5.1.4...v5.1.5)

---
updated-dependencies:
- dependency-name: immutable
  dependency-version: 5.1.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…utable-5.1.5

build(deps): bump immutable from 5.1.4 to 5.1.5
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.9 to 7.5.10.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v7.5.9...v7.5.10)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.10
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…o-4.12.5

build(deps-dev): bump hono from 4.12.0 to 4.12.5
…o/node-server-1.19.10

build(deps-dev): bump @hono/node-server from 1.19.9 to 1.19.10
…-7.5.10

build(deps-dev): bump tar from 7.5.9 to 7.5.10
- Bump version in package.json and package-lock.json to 6.0.0-beta.0
- Update test script to run without watch
- Upgrade tslib to ^2.8.1
- Upgrade @angular-eslint packages to ^21.3.0
- Update eslint to ^9.0.0 and angular-eslint to ^21.3.0
- Add typescript-eslint to dependencies
@so-kaushal so-kaushal self-assigned this Mar 11, 2026
Copilot AI review requested due to automatic review settings March 11, 2026 13:33
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Upgrades @oncehub/knowledgeowl-angular to Angular 21 and modernizes the toolchain (Node, TypeScript, ESLint), aligning the library and CI/CD workflows with the updated ecosystem.

Changes:

  • Upgraded Angular/TypeScript/ESLint dependencies and bumped package version to 6.0.0-beta.0.
  • Migrated ESLint configuration from legacy .eslintrc.json to flat config (eslint.config.js).
  • Updated CI and npm publish workflows to target Node 24.13.0 and adjusted test execution for CI (--watch=false).

Reviewed changes

Copilot reviewed 8 out of 12 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
package.json Updates version, scripts (CI-friendly tests), and dependency set for Angular 21 / ESLint 9 / TS 5.9.
eslint.config.js Introduces ESLint flat config using typescript-eslint + angular-eslint.
.eslintrc.json Removes legacy ESLint configuration.
.github/workflows/ci.yml Updates CI Node version targeting Node 24.13.0.
.github/workflows/npm-publish.yml Updates publish workflow (Node version, permissions, manual trigger).
tsconfig.json Removes explicit lib entries (relies on TS defaults for target: ES2022).
src/tsconfig.lib.json Removes explicit lib entries (relies on base TS defaults).
test/karma.conf.js Minor formatting cleanup.
src/package.json Bumps library package version to 6.0.0-beta.0.
src/package-lock.json Updates lockfile version references to 6.0.0-beta.0.
CHANGELOG.md Adds a new changelog entry (currently for 5.1.6).
Files not reviewed (1)
  • src/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI commented Mar 11, 2026

@so-kaushal I've opened a new pull request, #271, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link

Copilot AI commented Mar 11, 2026

@so-kaushal I've opened a new pull request, #272, to work on those changes. Once the pull request is ready, I'll request review from you.

@so-kaushal so-kaushal merged commit f95131c into team/pythons Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.