Skip to content

Commit 159543a

Browse files
committed
Upgrade dependencies
1 parent d0b4138 commit 159543a

File tree

10 files changed

+2044
-1885
lines changed

10 files changed

+2044
-1885
lines changed

.eslintcache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"/Users/julien/Documents/grafana-plugins/snowflake-datasource/jest-setup.js":"1","/Users/julien/Documents/grafana-plugins/snowflake-datasource/jest.config.js":"2","/Users/julien/Documents/grafana-plugins/snowflake-datasource/src/ConfigEditor.tsx":"3","/Users/julien/Documents/grafana-plugins/snowflake-datasource/src/QueryEditor.tsx":"4","/Users/julien/Documents/grafana-plugins/snowflake-datasource/src/datasource.ts":"5","/Users/julien/Documents/grafana-plugins/snowflake-datasource/src/module.ts":"6","/Users/julien/Documents/grafana-plugins/snowflake-datasource/src/types.ts":"7","/Users/julien/Documents/grafana-plugins/snowflake-datasource/webpack.config.ts":"8"},{"size":77,"mtime":1703243544147,"results":"9","hashOfConfig":"10"},{"size":281,"mtime":1703243544147,"results":"11","hashOfConfig":"10"},{"size":8353,"mtime":1666283813168,"results":"12","hashOfConfig":"13"},{"size":4191,"mtime":1711659236656,"results":"14","hashOfConfig":"13"},{"size":1693,"mtime":1702514232896,"results":"15","hashOfConfig":"13"},{"size":412,"mtime":1664834195363,"results":"16","hashOfConfig":"13"},{"size":999,"mtime":1711554437236,"results":"17","hashOfConfig":"13"},{"size":1692,"mtime":1703586947713,"results":"18","hashOfConfig":"10"},{"filePath":"19","messages":"20","suppressedMessages":"21","errorCount":1,"fatalErrorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"hb3s7z",{"filePath":"22","messages":"23","suppressedMessages":"24","errorCount":1,"fatalErrorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"25","messages":"26","suppressedMessages":"27","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"r2ljv1",{"filePath":"28","messages":"29","suppressedMessages":"30","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"31","messages":"32","suppressedMessages":"33","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"34","messages":"35","suppressedMessages":"36","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"37","messages":"38","suppressedMessages":"39","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"40","messages":"41","suppressedMessages":"42","errorCount":1,"fatalErrorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"/Users/julien/Documents/grafana-plugins/snowflake-datasource/jest-setup.js",["43"],[],"/Users/julien/Documents/grafana-plugins/snowflake-datasource/jest.config.js",["44"],[],"/Users/julien/Documents/grafana-plugins/snowflake-datasource/src/ConfigEditor.tsx",[],[],"/Users/julien/Documents/grafana-plugins/snowflake-datasource/src/QueryEditor.tsx",[],[],"/Users/julien/Documents/grafana-plugins/snowflake-datasource/src/datasource.ts",[],[],"/Users/julien/Documents/grafana-plugins/snowflake-datasource/src/module.ts",[],[],"/Users/julien/Documents/grafana-plugins/snowflake-datasource/src/types.ts",[],[],"/Users/julien/Documents/grafana-plugins/snowflake-datasource/webpack.config.ts",["45"],[],{"ruleId":null,"fatal":true,"severity":2,"message":"46","line":2,"column":1,"nodeType":null},{"ruleId":null,"fatal":true,"severity":2,"message":"47","line":7,"column":3,"nodeType":null},{"ruleId":null,"fatal":true,"severity":2,"message":"46","line":1,"column":1,"nodeType":null},"Parsing error: The keyword 'import' is reserved","Parsing error: Unexpected token ."]

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ yarn-error.log*
77

88
node_modules/
99
.nvmrc
10+
.eslintcache
1011

1112
# Runtime data
1213
pids

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## 1.7.0
4+
5+
### ⭐ Added
6+
- Add `$__timeTzFilter(column_name)` macro.
7+
8+
### 🔨 Changed
9+
- Upgrade grafana-plugin-sdk-go to version v0.246.0.
10+
- Upgrade gosnowflake to version v1.11.1.
11+
12+
### ❤️ Contributors
13+
We'd like to thank all the contributors who worked on this release!
14+
- [@aryder-openai](https://github.com/ryder-openai)
15+
316
## 1.6.1
417

518
### 🐞 Bug Fixes

MANIFEST.txt

Whitespace-only changes.

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,19 @@ The snowflake datasource is a data source backend plugin composed of both fronte
169169

170170
### Backend
171171

172-
1. Build backend plugin binaries for Linux, Windows and Darwin:
172+
1. Install dependencies
173+
174+
```bash
175+
go mod tidy
176+
```
177+
178+
2. Build backend plugin binaries for Linux, Windows and Darwin:
173179

174180
```bash
175181
mage -v
176182
```
177183

178-
2. List all available Mage targets for additional commands:
184+
3. List all available Mage targets for additional commands:
179185

180186
```bash
181187
mage -l

go.mod

Lines changed: 49 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ go 1.21
55
toolchain go1.22.0
66

77
require (
8-
github.com/grafana/grafana-plugin-sdk-go v0.228.0
9-
github.com/snowflakedb/gosnowflake v1.9.0
8+
github.com/grafana/grafana-plugin-sdk-go v0.246.0
9+
github.com/snowflakedb/gosnowflake v1.11.1
1010
github.com/stretchr/testify v1.9.0
1111
)
1212

@@ -19,19 +19,19 @@ require (
1919
github.com/BurntSushi/toml v1.3.2 // indirect
2020
github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c // indirect
2121
github.com/apache/arrow/go/v15 v15.0.2 // indirect
22-
github.com/aws/aws-sdk-go-v2 v1.17.7 // indirect
23-
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10 // indirect
24-
github.com/aws/aws-sdk-go-v2/credentials v1.13.18 // indirect
25-
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.59 // indirect
26-
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.31 // indirect
27-
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.25 // indirect
28-
github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.23 // indirect
29-
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.11 // indirect
30-
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.26 // indirect
31-
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.25 // indirect
32-
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.14.0 // indirect
33-
github.com/aws/aws-sdk-go-v2/service/s3 v1.31.0 // indirect
34-
github.com/aws/smithy-go v1.13.5 // indirect
22+
github.com/aws/aws-sdk-go-v2 v1.26.1 // indirect
23+
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 // indirect
24+
github.com/aws/aws-sdk-go-v2/credentials v1.17.11 // indirect
25+
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.16.15 // indirect
26+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.5 // indirect
27+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.5 // indirect
28+
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.5 // indirect
29+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.2 // indirect
30+
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.7 // indirect
31+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.7 // indirect
32+
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.5 // indirect
33+
github.com/aws/aws-sdk-go-v2/service/s3 v1.53.1 // indirect
34+
github.com/aws/smithy-go v1.20.2 // indirect
3535
github.com/beorn7/perks v1.0.1 // indirect
3636
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
3737
github.com/cespare/xxhash/v2 v2.3.0 // indirect
@@ -43,33 +43,35 @@ require (
4343
github.com/dvsekhvalnov/jose2go v1.6.0 // indirect
4444
github.com/elazarl/goproxy v0.0.0-20230731152917-f99041a5c027 // indirect
4545
github.com/fatih/color v1.15.0 // indirect
46-
github.com/form3tech-oss/jwt-go v3.2.5+incompatible // indirect
4746
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
4847
github.com/getkin/kin-openapi v0.124.0 // indirect
49-
github.com/go-logr/logr v1.4.1 // indirect
48+
github.com/go-logr/logr v1.4.2 // indirect
5049
github.com/go-logr/stdr v1.2.2 // indirect
5150
github.com/go-openapi/jsonpointer v0.20.2 // indirect
5251
github.com/go-openapi/swag v0.22.8 // indirect
5352
github.com/goccy/go-json v0.10.2 // indirect
5453
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
5554
github.com/gogo/protobuf v1.3.2 // indirect
55+
github.com/golang-jwt/jwt/v5 v5.2.1 // indirect
5656
github.com/golang/protobuf v1.5.4 // indirect
5757
github.com/google/flatbuffers v23.5.26+incompatible // indirect
5858
github.com/google/go-cmp v0.6.0 // indirect
5959
github.com/google/uuid v1.6.0 // indirect
6060
github.com/gorilla/mux v1.8.1 // indirect
61+
github.com/grafana/otel-profiling-go v0.5.1 // indirect
62+
github.com/grafana/pyroscope-go/godeltaprof v0.1.8 // indirect
6163
github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.0.1 // indirect
6264
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.1.0 // indirect
63-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect
65+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
6466
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
6567
github.com/hashicorp/go-hclog v1.6.3 // indirect
66-
github.com/hashicorp/go-plugin v1.6.0 // indirect
68+
github.com/hashicorp/go-plugin v1.6.1 // indirect
6769
github.com/hashicorp/yamux v0.1.1 // indirect
6870
github.com/invopop/yaml v0.2.0 // indirect
6971
github.com/jmespath/go-jmespath v0.4.0 // indirect
7072
github.com/josharian/intern v1.0.0 // indirect
7173
github.com/json-iterator/go v1.1.12 // indirect
72-
github.com/klauspost/compress v1.16.7 // indirect
74+
github.com/klauspost/compress v1.17.9 // indirect
7375
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
7476
github.com/magefile/mage v1.15.0 // indirect
7577
github.com/mailru/easyjson v0.7.7 // indirect
@@ -82,48 +84,49 @@ require (
8284
github.com/modern-go/reflect2 v1.0.2 // indirect
8385
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
8486
github.com/mtibben/percent v0.2.1 // indirect
87+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
8588
github.com/oklog/run v1.1.0 // indirect
8689
github.com/olekukonko/tablewriter v0.0.5 // indirect
8790
github.com/perimeterx/marshmallow v1.1.5 // indirect
8891
github.com/pierrec/lz4/v4 v4.1.18 // indirect
8992
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect
9093
github.com/pmezard/go-difflib v1.0.0 // indirect
91-
github.com/prometheus/client_golang v1.19.0 // indirect
94+
github.com/prometheus/client_golang v1.20.0 // indirect
9295
github.com/prometheus/client_model v0.6.1 // indirect
93-
github.com/prometheus/common v0.53.0 // indirect
94-
github.com/prometheus/procfs v0.14.0 // indirect
96+
github.com/prometheus/common v0.55.0 // indirect
97+
github.com/prometheus/procfs v0.15.1 // indirect
9598
github.com/russross/blackfriday/v2 v2.1.0 // indirect
9699
github.com/sirupsen/logrus v1.9.0 // indirect
97100
github.com/unknwon/bra v0.0.0-20200517080246-1e3013ecaff8 // indirect
98101
github.com/unknwon/com v1.0.1 // indirect
99102
github.com/unknwon/log v0.0.0-20150304194804-e617c87089d3 // indirect
100103
github.com/urfave/cli v1.22.15 // indirect
101104
github.com/zeebo/xxh3 v1.0.2 // indirect
102-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 // indirect
103-
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.51.0 // indirect
104-
go.opentelemetry.io/contrib/propagators/jaeger v1.26.0 // indirect
105-
go.opentelemetry.io/contrib/samplers/jaegerremote v0.20.0 // indirect
106-
go.opentelemetry.io/otel v1.26.0 // indirect
107-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 // indirect
108-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 // indirect
109-
go.opentelemetry.io/otel/metric v1.26.0 // indirect
110-
go.opentelemetry.io/otel/sdk v1.26.0 // indirect
111-
go.opentelemetry.io/otel/trace v1.26.0 // indirect
112-
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
113-
golang.org/x/crypto v0.22.0 // indirect
105+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.53.0 // indirect
106+
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.53.0 // indirect
107+
go.opentelemetry.io/contrib/propagators/jaeger v1.29.0 // indirect
108+
go.opentelemetry.io/contrib/samplers/jaegerremote v0.23.0 // indirect
109+
go.opentelemetry.io/otel v1.29.0 // indirect
110+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.29.0 // indirect
111+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.28.0 // indirect
112+
go.opentelemetry.io/otel/metric v1.29.0 // indirect
113+
go.opentelemetry.io/otel/sdk v1.29.0 // indirect
114+
go.opentelemetry.io/otel/trace v1.29.0 // indirect
115+
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
116+
golang.org/x/crypto v0.26.0 // indirect
114117
golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect
115-
golang.org/x/mod v0.13.0 // indirect
116-
golang.org/x/net v0.24.0 // indirect
117-
golang.org/x/sync v0.7.0 // indirect
118-
golang.org/x/sys v0.19.0 // indirect
119-
golang.org/x/term v0.19.0 // indirect
120-
golang.org/x/text v0.14.0 // indirect
121-
golang.org/x/tools v0.14.0 // indirect
118+
golang.org/x/mod v0.17.0 // indirect
119+
golang.org/x/net v0.28.0 // indirect
120+
golang.org/x/sync v0.8.0 // indirect
121+
golang.org/x/sys v0.24.0 // indirect
122+
golang.org/x/term v0.23.0 // indirect
123+
golang.org/x/text v0.17.0 // indirect
124+
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
122125
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
123-
google.golang.org/genproto/googleapis/api v0.0.0-20240415180920-8c6c420018be // indirect
124-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be // indirect
125-
google.golang.org/grpc v1.63.2 // indirect
126-
google.golang.org/protobuf v1.33.0 // indirect
126+
google.golang.org/genproto/googleapis/api v0.0.0-20240822170219-fc7c04adadcd // indirect
127+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
128+
google.golang.org/grpc v1.65.0 // indirect
129+
google.golang.org/protobuf v1.34.2 // indirect
127130
gopkg.in/fsnotify/fsnotify.v1 v1.4.7 // indirect
128131
gopkg.in/yaml.v3 v3.0.1 // indirect
129132
)

0 commit comments

Comments
 (0)