This is an automated email from the ASF dual-hosted git repository.

CritasWang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb-extras.git


The following commit(s) were added to refs/heads/master by this push:
     new 81d9137  Upgrade the Grafana plugin's IoTDB Go client to v2.0.10 (#130)
81d9137 is described below

commit 81d9137b12d6ee3c0f9dee2615c334806d35956c
Author: ZIHAN DAI <[email protected]>
AuthorDate: Wed Sep 23 15:36:44 2026 +1000

    Upgrade the Grafana plugin's IoTDB Go client to v2.0.10 (#130)
    
    v2.0.8 accepts a columnIndex equal to the number of measurement schemas in
    client/tablet.go, at both of the sites that check it. v2.0.10 rejects it.
    
    v2.0.10 declares go 1.25 where v2.0.8 declared go 1.13, so the module's go
    directive moves with it, and the three setup-go steps in grafana-plugin.yml
    have to move as well for the workflow to build the backend at all.
    github.com/apache/thrift moves from v0.17.0 to v0.24.0 as an indirect
    consequence.
---
 .github/workflows/grafana-plugin.yml | 6 +++---
 connectors/grafana-plugin/go.mod     | 8 +++-----
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/grafana-plugin.yml 
b/.github/workflows/grafana-plugin.yml
index 1c75543..1127d13 100644
--- a/.github/workflows/grafana-plugin.yml
+++ b/.github/workflows/grafana-plugin.yml
@@ -37,7 +37,7 @@ jobs:
       - name: Setup Go environment
         uses: actions/setup-go@v5
         with:
-          go-version: "1.21"
+          go-version: "1.25"
 
       - name: Install dependencies and Build and test frontend
         run: |
@@ -73,7 +73,7 @@ jobs:
       - name: Setup Go environment
         uses: actions/setup-go@v5
         with:
-          go-version: "1.21"
+          go-version: "1.25"
 
       - name: Build through the Maven entrypoint
         run: mvn clean package -Pwith-grafana-plugin -DskipTests -ntp
@@ -100,7 +100,7 @@ jobs:
       - name: Setup Go environment
         uses: actions/setup-go@v5
         with:
-          go-version: "1.21"
+          go-version: "1.25"
 
       - name: Resolve the declared minimum Grafana version
         id: floor
diff --git a/connectors/grafana-plugin/go.mod b/connectors/grafana-plugin/go.mod
index fbc0951..9915586 100644
--- a/connectors/grafana-plugin/go.mod
+++ b/connectors/grafana-plugin/go.mod
@@ -15,19 +15,17 @@
 
 module github.com/grafana/grafana-starter-datasource-backend
 
-go 1.21
-
-toolchain go1.21.0
+go 1.25
 
 require (
-       github.com/apache/iotdb-client-go/v2 v2.0.8
+       github.com/apache/iotdb-client-go/v2 v2.0.10
        github.com/grafana/grafana-plugin-sdk-go v0.250.0
 )
 
 require (
        github.com/BurntSushi/toml v1.3.2 // indirect
        github.com/apache/arrow/go/v15 v15.0.2 // indirect
-       github.com/apache/thrift v0.17.0 // indirect
+       github.com/apache/thrift v0.24.0 // indirect
        github.com/beorn7/perks v1.0.1 // indirect
        github.com/cenkalti/backoff/v4 v4.3.0 // indirect
        github.com/cespare/xxhash/v2 v2.3.0 // indirect

Reply via email to