Skip to content

Commit

Permalink
Bump version and mark v3 as beta for now (#359)
Browse files Browse the repository at this point in the history
Co-authored-by: alyssabull <[email protected]>
  • Loading branch information
asimpson and alyssabull authored Apr 14, 2023
1 parent c6dd468 commit 9b16d8d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clickhouse-datasource",
"version": "3.0.0",
"version": "3.0.1-beta",
"description": "Clickhouse Datasource",
"engines": {
"node": ">=16"
Expand Down
4 changes: 2 additions & 2 deletions pkg/plugin/driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
Expand All @@ -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)
})
Expand Down
2 changes: 1 addition & 1 deletion src/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"updated": "%TODAY%"
},
"dependencies": {
"grafanaDependency": "8.x || 9.x",
"grafanaDependency": "9.x",
"plugins": []
}
}

0 comments on commit 9b16d8d

Please sign in to comment.