Skip to content

fix: declare accurate grafanaDependency for jsx-runtime externalization#206

Merged
Sh4d1 merged 1 commit into
mainfrom
fix/grafana-dependency
Jul 21, 2026
Merged

fix: declare accurate grafanaDependency for jsx-runtime externalization#206
Sh4d1 merged 1 commit into
mainfrom
fix/grafana-dependency

Conversation

@Sh4d1

@Sh4d1 Sh4d1 commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

The plugin externalizes react/jsx-runtime (required for React 19 / Grafana 13 support), so it only loads on Grafana versions that provide that module to plugins: 12.3+ and the backport patches 12.0.10, 12.1.7 and 12.2.5. The previous >=12 declaration wrongly included versions like 12.0.0, where the config editor fails to render.

Flagged by the Grafana plugin review of v0.6.2.

The new range is the canonical output of npx @grafana/create-plugin@latest add externalize-jsx-runtime (create-plugin 7.9.0); the webpack externals part of that fixlet was already in place. Verified with plugincheck2 (no new findings) and node-semver resolution against 12.0.0–13.1.0.

🤖 Generated with Claude Code

The plugin externalizes react/jsx-runtime (required for React 19 /
Grafana 13 support), so it only loads on Grafana versions that provide
that module to plugins: 12.3+ and the backport patches 12.0.10, 12.1.7
and 12.2.5. The previous '>=12' declaration wrongly included versions
like 12.0.0, where the config editor fails to render.

Flagged by the Grafana plugin review of v0.6.2.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Sh4d1
Sh4d1 merged commit c4eb796 into main Jul 21, 2026
13 checks passed
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