feat(deps): bump grafana libs to latest in templates in create plugin - #2893
Merged
Merged
Conversation
Ukochka
requested review from
ashharrison90 and
jackw
and removed request for
a team
September 21, 2026 08:18
jackw
reviewed
Sep 21, 2026
Comment on lines
+83
to
+84
| "react": "^19.0.0", | ||
| "react-dom": "^19.0.0"{{#if isAppType}}, |
Collaborator
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.