diff --git a/CHANGELOG.md b/CHANGELOG.md index 547c91ba..86500128 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 3.0.1-beta + +Users on v8.x of Grafana are encouraged to continue to use v2.2.0 of the plugin. +Users of Grafana v9.x can use v3 however it is beta and may contain bugs. + ## 3.0.0 - **Feature** - [Logs volume histogram support](https://github.com/grafana/clickhouse-datasource/pull/352) - **Chore** - Update clickhouse-go to v2.8.1 diff --git a/README.md b/README.md index 71cd4ffa..eda0921c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # ClickHouse data source for Grafana +## Version compatibility + +Users on `v8.x` of Grafana are encouraged to continue to use `v2.2.0` of the plugin. +Users on `v9.x` and higher of Grafana can use `v3` however it is `beta` and may contain bugs. + The ClickHouse data source plugin allows you to query and visualize ClickHouse data from within Grafana. diff --git a/package.json b/package.json index 5a692f82..ae8aa198 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clickhouse-datasource", - "version": "3.0.0", + "version": "3.0.1-beta", "description": "Clickhouse Datasource", "engines": { "node": ">=16" diff --git a/pkg/plugin/driver_test.go b/pkg/plugin/driver_test.go index 1f71b636..3cc1edd3 100644 --- a/pkg/plugin/driver_test.go +++ b/pkg/plugin/driver_test.go @@ -689,7 +689,7 @@ func TestConvertDateTime64(t *testing.T) { conn, close := setupTest(t, "col1 DateTime64(3, 'Europe/London')", protocol, nil) defer close(t) locTime := datetime.In(loc) - locTime.Add(123 * time.Millisecond) + locTime = locTime.Add(123 * time.Millisecond) insertData(t, conn, locTime) checkRows(t, conn, 1, locTime) }) @@ -703,7 +703,7 @@ func TestConvertNullableDateTime64(t *testing.T) { conn, close := setupTest(t, "col1 Nullable(DateTime64(3, 'Europe/London'))", protocol, nil) defer close(t) locTime := datetime.In(loc) - locTime.Add(123 * time.Millisecond) + locTime = locTime.Add(123 * time.Millisecond) insertData(t, conn, locTime, nil) checkRows(t, conn, 2, &locTime, nil) }) diff --git a/src/plugin.json b/src/plugin.json index 55763d8d..b9376d4e 100644 --- a/src/plugin.json +++ b/src/plugin.json @@ -54,7 +54,7 @@ "updated": "%TODAY%" }, "dependencies": { - "grafanaDependency": "8.x || 9.x", + "grafanaDependency": "9.x", "plugins": [] } }