Skip to content

feat: upgrade to Angular 21#2075

Open
LuisWolf-Snapaddy wants to merge 4 commits intoswimlane:masterfrom
LuisWolf-Snapaddy:master
Open

feat: upgrade to Angular 21#2075
LuisWolf-Snapaddy wants to merge 4 commits intoswimlane:masterfrom
LuisWolf-Snapaddy:master

Conversation

@LuisWolf-Snapaddy
Copy link

@LuisWolf-Snapaddy LuisWolf-Snapaddy commented Jan 21, 2026

Addresses:

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:
    • Upgrade to Angular v21 using ng update
      • Automatically ran control-flow migration
      • Used else block instead of duplicate negated if block
      • Fixed tracking so hopefully more unique identifiers are used
    • Upgrade to some other libraries
      • Especially Prettier to correctly format control-flow

What is the current behavior? (You can also link to an open issue here)

  • Not compatible with Angular 21

What is the new behavior?

  • Compatible with Angular v21

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

  • I started the demo application and everything seems to work fine
  • I was not able to test the library in our own application, since I didn't publish it / symlinked it into the node_modules

Note

Upgrade to Angular v21 and template migration

  • Bumps Angular framework/tooling to 21.1.x and updates related deps (RxJS, Zone.js, AJV, d3 types, ESLint plugins, ng-packagr, Karma, TypeScript 5.9, Prettier 3)
  • Migrates templates from *ngIf/*ngFor to Angular control-flow (@if, @for) across chart components (area, bar, line, bubble, heat map, gauge, number-card, axes, legends, common)
  • Removes old trackBy implementations and associated imports; leverages @for tracking expressions
  • Minor refactors/constructor formatting and gradient/tooltip rendering adjustments to align with new template syntax
  • No API changes noted; goal is Angular 21 compatibility

Written by Cursor Bugbot for commit fc1a74c. This will update automatically on new commits. Configure here.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@daiscog
Copy link

daiscog commented Feb 26, 2026

@marjan-georgiev @steveblue are you able to help get this merged please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants