Skip to content

feat(deps): bump grafana libs to latest in templates in create plugin - #2893

Merged
Ukochka merged 5 commits into
mainfrom
bump-grafana-libs-in-templates
Sep 22, 2026
Merged

Ukochka merged 5 commits into
mainfrom
bump-grafana-libs-in-templates

Conversation

@Ukochka

@Ukochka Ukochka commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Bump @grafana/* dependencies from 13.1.0 to 13.2.2 to align scaffolded plugins with the latest Grafana 13.2.2 release.

@grafana/data@13.2.2 requires react >=19 while the template still pinned React 18 that's why the PR also bumps react, react-dom, @types/react, and @types/react-dom to ^19.0.0 — it's not a separate change, just what's needed for a scaffolded plugin to install cleanly against 13.2.2. @testing-library/react@^16.3.0 already supports React 19, so no other tooling changes were required.

@Ukochka Ukochka self-assigned this Sep 21, 2026
@Ukochka
Ukochka requested a review from a team as a code owner September 21, 2026 08:18
@Ukochka Ukochka added the dependencies Update one or more dependencies version label Sep 21, 2026
@Ukochka
Ukochka requested review from ashharrison90 and jackw and removed request for a team September 21, 2026 08:18
@Ukochka Ukochka changed the title Bump grafana libs to latest in templates in create plugin feat(deps): bump grafana libs to latest in templates in create plugin Sep 21, 2026
@grafana-catalog-project-bot grafana-catalog-project-bot Bot moved this from 📬 Triage to 🔬 In review in Grafana Catalog Team Sep 21, 2026
Comment on lines +83 to +84
"react": "^19.0.0",
"react-dom": "^19.0.0"{{#if isAppType}},

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Moving to React 19 means new plugin scaffolds will only be guaranteed to work with Grafana >=13.2.0. I think it best we also change the grafanaDependency value in scaffolded src/plugin.json to reflect this.

@jackw jackw left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM! 🚀

@Ukochka
Ukochka merged commit d3c3f4b into main Sep 22, 2026
33 checks passed
@github-project-automation github-project-automation Bot moved this from 🔍 In review to 🚀 Done in Grafana Frontend Platform Sep 22, 2026
@Ukochka
Ukochka deleted the bump-grafana-libs-in-templates branch September 22, 2026 13:47
@github-project-automation github-project-automation Bot moved this from 🔬 In review to 🚀 Shipped in Grafana Catalog Team Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Update one or more dependencies version

Projects

Status: 🚀 Shipped
Status: 🚀 Done

Development

Successfully merging this pull request may close these issues.

2 participants