Skip to content

feat: add Angular 21 support (v21.0.0)#302

Open
lzukanovic wants to merge 3 commits into
plotly:masterfrom
lzukanovic:update/angular-21
Open

feat: add Angular 21 support (v21.0.0)#302
lzukanovic wants to merge 3 commits into
plotly:masterfrom
lzukanovic:update/angular-21

Conversation

@lzukanovic
Copy link
Copy Markdown

Summary

Bumps the library to v21.0.0 to add support for Angular 21, following the project's versioning convention of matching Angular's major version.

Changes

  • Updated Angular and Angular CLI to v21 via ng update @angular/core@21 @angular/cli@21
  • Updated @angular-eslint/* packages from 18.4.3 to 21.4.0 via ng update @angular-eslint/schematics@21 to match Angular version
  • Bumped version to 21.0.0 in both package.json and projects/plotly/package.json
  • Updated peer dependencies in projects/plotly/package.json to require Angular 21
  • Updated CHANGELOG.md

Checklist

  • Ran ng update with migration schematics
  • Followed the Angular v20 to v21 migration guide
  • Tests pass (ng test --code-coverage=true --progress=true --watch=false)
  • Production build succeeds (ng build plotly --configuration production)

Notes

  • The tsconfig.json has two pre-existing TypeScript 6 deprecation warnings related to baseUrl and rootDir that were present before this update and are intentionally out of scope for this PR.

Lan Zukanovic added 3 commits May 29, 2026 15:07
Run ng update @angular/core@21 @angular/cli@21
Run ng update @angular-eslint/schematics@21
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.

1 participant