Plugins
Cube logo

Cube

Grafana Labs

Get plugin

Changelog

0.6.5 (2026-08-21)

Bug Fixes

  • treat scenes' all-value sentinel (=| $__all) as a no-op (#587) (b725b1d)

0.6.4 (2026-08-21)

Bug Fixes

  • adhoc: drop AdHoc filters inapplicable to a query's Cube view (#307) (#495) (dc4130d)
  • adhoc: partition getTagValues scoping filters + time dimension by view (#498) (#499) (fe0ba7e)
  • adhoc: treat scenes' match-all filter (=~ .*) as no-op instead of equals '.*' (#531) (d4d3996)
  • adhoc: wire AdHoc filters via request.filters (#127) + #307 demo (#507) (c45b7f3)
  • deps: apply js-yaml override to @istanbuljs/load-nyc-config (#563) (7ca859c)
  • deps: bump fast-uri to 3.1.5 to fix CVE-2026-18446 (#535) (62151c5)
  • deps: update dependency @grafana/plugin-ui to v0.17.4 (#577) (7aa0888)
  • deps: update grafana monorepo to v13.1.2 (#544) (f53ba8f)
  • deps: update grafana monorepo to v13.1.3 (#556) (8aedab8)
  • deps: update module github.com/grafana/grafana-plugin-sdk-go to v0.295.0 (#529) (a5adc40)
  • deps: update module github.com/grafana/grafana-plugin-sdk-go to v0.296.1 (#553) (16b91b2)
  • deps: update module github.com/grafana/grafana-plugin-sdk-go to v0.296.2 (#562) (b02c264)

0.6.3 (2026-07-27)

Features

  • format: support Cube measure format → Grafana units (#246) (#459) (2185fde)

Bug Fixes

  • adhoc: scope filter values by dashboard time range ($cubeTimeDimension) (#35) (#454) (84a3613)
  • backend: preserve upstream /v1/load status + transient retry & transport classification (#118) (#431) (c51844b)
  • deps: force brace-expansion 5.0.8 via minimatch 10 override (GHSA-mh99-v99m-4gvg) (#476) (f52495c)
  • deps: update dependency @grafana/plugin-ui to v0.17.1 (#413) (5529e5d)
  • deps: update dependency @grafana/plugin-ui to v0.17.2 (#451) (971cf18)
  • deps: update dependency @grafana/plugin-ui to v0.17.3 (#456) (1283a59)
  • deps: update fast-uri to 3.1.4 (CVE-2026-16221) (#410) (1052d46)
  • deps: update fast-uri to patched 3.1.3 (CVE-2026-13676) (#406) (6bdb84c)
  • deps: update grafana monorepo to v13.1.0 (#414) (ab8e5ec)
  • deps: update grafana monorepo to v13.1.1 (#448) (47230b9)
  • deps: update js-yaml to patched 4.3.0/3.15.0 (CVE-2026-59869) (#383) (a792b10)
  • deps: update module github.com/grafana/grafana-plugin-sdk-go to v0.292.1 (#376) (77902b6)
  • deps: update module github.com/grafana/grafana-plugin-sdk-go to v0.294.0 (#435) (dac5152)
  • deps: update postcss to patched 8.5.18+ (GHSA-r28c-9q8g-f849) (#452) (40afaa8)
  • deps: update tanstack-query monorepo to v5.101.2 (#415) (c3ec237)
  • deps: update tanstack-query monorepo to v5.101.3 (#437) (1af9098)
  • deps: update tanstack-query monorepo to v5.101.4 (#449) (e08f2ee)
  • fall back to POST /v1/load for large queries (#379) (7edf7cf)
  • plugin: make grafanaDependency prerelease-inclusive (#362) (4348ec4), closes #357
  • query-builder: scope filter values by preceding + adhoc filters (#32) (#453) (97bacaf)
  • security/unknown/: update module golang.org/x/net to v0.56.0 [security] (#401) (e52d176)
  • security/unknown/: update module golang.org/x/text to v0.39.0 [security] (#402) (a4df655)
  • time: intersect per-panel timeDimensions with dashboard time range (#173) (#457) (1cbc618)

0.6.2 (2026-06-03)

Bug Fixes

  • unbreak CI after re-enabling Actions (lockfile drift + node 24) (#349) (ee206db)

0.6.1 (2026-05-07)

Bug Fixes

  • deps: update all non-major dependencies (#322) (7833059)

0.6.0 (2026-05-06)

⚠ BREAKING CHANGES

  • remove legacy order object format and cubeApiUrl jsonData field (#318)

Features

  • remove legacy order object format and cubeApiUrl jsonData field (#318) (0e02222)

Bug Fixes

  • deps: update all non-major dependencies (#311) (906040c)
  • deps: update all non-major dependencies to v5.100.6 (#308) (ea15a8a)
  • deps: update grafana monorepo to v13 (#284) (35f1614)
  • deps: update grafana monorepo to v13 (#317) (df018ac)

0.5.0 (2026-05-01)

Features

  • View-scoped visual queries: The visual query builder now scopes to one Cube view at a time, treating views as the curated public query surface. Fields from other views are disabled with guidance to model cross-view combinations as a new view. The /metadata resource now exposes only view members (#304)

Full Changelog: v0.4.0...v0.5.0

0.4.0 (2026-03-27)

Features

  • Measure/dimension descriptions in dropdowns: Surface Cube field descriptions as subtitle text in the query editor's Dimensions and Measures dropdowns, with search matching against descriptions too (#235)
  • Data Model tab hint after Save & Test: Always show the Data Model configuration tab hint after a successful connection test, so new users discover model generation immediately (#189)

Full Changelog: v0.3.3...v0.4.0

0.3.3 (2026-03-20)

Bug Fixes

  • Fix release build: Remove Go source files shipped inside the flatted npm package (golang/pkg/flatted/flatted.go) via a postinstall script, preventing the Grafana plugin validator from rejecting the archive with "Invalid Go manifest file" (#2700)

Full Changelog: v0.3.2...v0.3.3

0.3.2 (2026-03-20)

Security

  • Backend authorization for generate-schema: The mutating generate-schema CallResource route now requires Admin org role, preventing non-admin users from triggering model file generation on the upstream Cube instance (#216)
  • Dependency security fixes: Update flatted to 3.4.2 to resolve CVE-2026-32141 and CVE-2026-33228

Improved

  • Standard SQL casts: Replace PostgreSQL-specific ::date and ::numeric cast syntax with standard CAST() in demo dashboard queries and Cube model, improving compatibility with DuckDB and BigQuery (#204)

Full Changelog: v0.3.0...v0.3.2

0.3.0 (2026-03-13)

Features

  • Standard datasource URL: Use Grafana's standard url field for the Cube API endpoint instead of jsonData.cubeApiUrl, with backward-compatible fallback (#177)
  • Generated data model dashboard: Added a provisioned demo dashboard for the generated data model (#175)
  • Refreshed demo dashboards: Updated provisioned demo dashboards to reflect current plugin capabilities (#184)

Bug Fixes

  • Stale SQL preview: SQL preview now refreshes when dashboard variables change (#150)

Deprecated

  • jsonData.cubeApiUrl provisioning field: The URL should now be set using Grafana's standard top-level url field. The legacy jsonData.cubeApiUrl field continues to work as a fallback but will be removed in a future release.

    Migrate provisioning configs:

      datasources:
        - name: Cube
          type: grafana-cube-datasource
    +     url: http://localhost:4000
          jsonData:
    -       cubeApiUrl: http://localhost:4000
    +       # cubeApiUrl is no longer needed for the URL
    

Full Changelog: v0.2.0...v0.3.0

0.2.0 (2026-02-18)

Features

  • Data Model config page: Full config page for generating Cube data model YAML files from connected database schemas (#132)
  • JSON query viewer: When a query contains features the visual editor cannot represent (e.g. time dimensions), the query editor switches to a read-only JSON viewer with syntax highlighting and a compiled SQL preview (#136)
  • All Cube filter operators: Support all Cube filter operators (contains, gt, gte, lt, lte, set, notSet, inDateRange, and more) and measure filters via panel JSON (#138)
  • AND/OR filter groups: Support logical AND/OR filter groups for complex conditions via panel JSON (#139)
  • Template variable detection in filters: Filter values containing template variables automatically trigger the JSON viewer to avoid corrupting the variable syntax (#140)
  • No-cubes guidance: When no cubes are detected, the query editor guides users to the Data Model configuration tab (#148)

Bug Fixes

  • Preserve limit zero and legacy template vars: Correctly handle limit: 0 (unlimited) and detect legacy $variable template variable syntax (#143)

Full Changelog: v0.1.4...v0.2.0

0.1.4 (2026-02-13)

Changed in 0.1.4

  • Set minimum supported Grafana version to 12.2.5 based on patched Grafana plugin backward-compatibility support for jsx-runtime externalization.
  • Drop support for Grafana versions earlier than 12.2.5.
  • Use 12.3.3 as the default local development target while keeping 12.2.5 as the minimum supported version.

0.1.3 (2026-02-12)

Fixed in 0.1.3

  • Externalize react/jsx-runtime and react/jsx-dev-runtime to keep frontend bundle behavior compatible with React 19
  • Remove invalid alerting receiver from local provisioning to unblock React 19 preview startup during validation

Changed in 0.1.3

  • Upgrade shared plugin-ci-workflows to v6.0.0 so React 19 preview checks are included in CI by default

0.1.2 (2026-02-12)

Fixed in 0.1.2

  • Handle Cube "Continue wait" polling protocol correctly for long-running queries
  • Update non-major dependencies, including security-related updates

Changed in 0.1.2

  • Simplify backend test interaction patterns for better maintainability

Documentation in 0.1.2

  • Add Cube SDK parity guidance for backend protocol behavior

0.1.1 (2026-01-28)

Fixed

  • Compressed query editor screenshot to resolve webpack asset size warning
  • Updated release workflow to use Node 24, matching package.json engine requirements

0.1.0 (2026-01-27)

Initial public release.

Features

  • Query Builder: Visual interface for building Cube queries with dimensions, measures, and filters
  • Order By: Configurable sorting for query results
  • SQL Preview: View the generated SQL before executing queries
  • Multi-value Filters: Filter operators support multiple values with intuitive multi-select UI
  • Time-series Support: Compatible with Grafana time-series panels and time range filtering
  • AdHoc Filters: Support for Grafana's ad-hoc filter variables

Notes

This is an experimental data source plugin. Breaking changes may occur in minor version updates until v1.0.0.

Version
0.6.5
Dependencies
  • Grafana >=12.2.5-0
Developer
Grafana Labs
Last Updated
August 21, 2026