Releases: grafana/grafana-plugin-sdk-go
Releases · grafana/grafana-plugin-sdk-go
v0.203.0
What's Changed
- Chore: Use jsoniter from wrapper by @itsmylife in #841
- build(deps): bump go.opentelemetry.io/otel from 1.21.0 to 1.22.0 by @dependabot in #868
- Add a null logger for use in tests by @njvrzm in #876
- build(deps): bump go.opentelemetry.io/contrib/samplers/jaegerremote from 0.15.1 to 0.16.0 by @dependabot in #870
- build(deps): bump go.opentelemetry.io/contrib/propagators/jaeger from 1.21.1 to 1.22.0 by @dependabot in #871
- build(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.46.1 to 0.47.0 by @dependabot in #867
Full Changelog: v0.202.0...v0.203.0
Breaking Changes
Users who use jsonitere
package must update their code if they use the following APIs
Removed:
(*Iterator).Marshal: removed
(*Iterator).Parse: removed
(*Iterator).ParseBytes: removed
(*Iterator).ParseString: removed
(*Iterator).Unmarshal: removed
Added:
Marshal: added
Parse: added
ParseBytes: added
ParseString: added
Unmarshal: added
How to update the code:
// Before:
import (
sdkjsoniter "github.com/grafana/grafana-plugin-sdk-go/data/utils/jsoniter"
)
iter := sdkjsoniter.NewIterator(jsoniterPointer)
iter.Marshal(myInterface)
// After
import (
sdkjsoniter "github.com/grafana/grafana-plugin-sdk-go/data/utils/jsoniter"
)
jsoniter.Marshall(myInterface)
Compatibility
gorelease -base v0.202.0 -version v0.203.0
# github.com/grafana/grafana-plugin-sdk-go/backend/log
## compatible changes
NewNullLogger: added
# github.com/grafana/grafana-plugin-sdk-go/data/utils/jsoniter
## incompatible changes
(*Iterator).Marshal: removed
(*Iterator).Parse: removed
(*Iterator).ParseBytes: removed
(*Iterator).ParseString: removed
(*Iterator).Unmarshal: removed
## compatible changes
(*Iterator).CanReadArray: added
(*Iterator).ReadError: added
(*Iterator).ReadFloat32: added
(*Iterator).ReadInt16: added
(*Iterator).ReadInt32: added
(*Iterator).ReadInt64: added
(*Iterator).ReadInt: added
(*Iterator).ReadUint16: added
(*Iterator).ReadUint32: added
(*Iterator).ReadUint8: added
(*Iterator).SetError: added
(*Iterator).SkipAndReturnBytes: added
ConfigCompatibleWithStandardLibrary: added
Marshal: added
Parse: added
ParseBytes: added
ParseString: added
RegisterTypeDecoder: added
RegisterTypeEncoder: added
Stream: added
Unmarshal: added
ValDecoder: added
ValEncoder: added
# summary
v0.203.0 is a valid semantic version for this release.
v0.202.0
What's Changed
- Expose the concurrent query count key in sdk by @itsmylife in #875
Full Changelog: v0.201.0...v0.202.0
Compatibility
gorelease -base v0.201.0 -version v0.202.0
# github.com/grafana/grafana-plugin-sdk-go/backend
## compatible changes
(*GrafanaCfg).ConcurrentQueryCount: added
ConcurrentQueryCount: added
# summary
v0.202.0 is a valid semantic version for this release.
v0.201.0
What's Changed
Full Changelog: v0.200.0...v0.201.0
Compatibility
gorelease -base=v0.200.0 -version=v0.201.0
# github.com/grafana/grafana-plugin-sdk-go/data/sqlutil
## compatible changes
FormatOptionMulti: added
# summary
v0.201.0 is a valid semantic version for this release.
v0.200.0
What's Changed
- build(deps): bump golang.org/x/oauth2 from 0.15.0 to 0.16.0 by @dependabot in #854
- build(deps): bump github.com/prometheus/common from 0.45.0 to 0.46.0 by @dependabot in #855
- codeowners: assign sql to big-tent squad by @gabor in #857
- Frame: Add UniqueRowIdFields attribute to frame.meta by @aocenas in #865
- Update copied changes from sqlds by @njvrzm in #862
- Refactor getMacroMatches & fix a couple of bugs by @njvrzm in #863
Compatibility
gorelease -base=v0.199.0 -version=v0.200.0
# github.com/grafana/grafana-plugin-sdk-go/data
## compatible changes
FrameMeta.UniqueRowIDFields: added
# github.com/grafana/grafana-plugin-sdk-go/data/sqlutil
## compatible changes
FormatOptionTrace: added
# summary
v0.200.0 is a valid semantic version for this release.
New Contributors
Full Changelog: v0.199.0...v0.200.0
v0.199.0
What's Changed
- build(deps): bump golang.org/x/sys from 0.15.0 to 0.16.0 by @dependabot in #851
- Supports "Host" custom header. by @tan9 in #848
New Contributors
Full Changelog: v0.198.0...v0.199.0
Compatibility
$ gorelease -base v0.198.0 -version v0.199.0
# summary
v0.199.0 is a valid semantic version for this release.
v0.198.0
What's Changed
- Chore: Move jsonitere outside of the internal package by @itsmylife in #837
- build(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0 by @dependabot in #838
- Disable flaky test by @andresmgot in #843
- build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 by @dependabot in #844
- build(deps): bump github.com/hashicorp/go-hclog from 1.6.1 to 1.6.2 by @dependabot in #840
- Re-enable test by @andresmgot in #847
- build(deps): bump google.golang.org/grpc from 1.59.0 to 1.60.1 by @dependabot in #845
- build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.32.0 by @dependabot in #849
- build(deps): bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 by @dependabot in #850
Full Changelog: v0.197.0...v0.198.0
Compatibility
gorelease -base v0.197.0 -version v0.198.0
# github.com/grafana/grafana-plugin-sdk-go/data/utils/jsoniter
## compatible changes
package added
# summary
v0.198.0 is a valid semantic version for this release.
v0.197.0
What's Changed
- Build/CI: Detect incompatible changes by @marefr in #834
- build(deps): bump github.com/hashicorp/go-hclog from 1.5.0 to 1.6.1 by @dependabot in #835
- secure socks proxy: add option to disable tls in the socks proxy dialer by @PoorlyDefinedBehaviour in #833
New Contributors
- @PoorlyDefinedBehaviour made their first contribution in #833
Full Changelog: v0.196.0...v0.197.0
Compability
gorelease -base v0.196.0 -version v0.197.0
# github.com/grafana/grafana-plugin-sdk-go/backend/proxy
## compatible changes
ClientCfg.AllowInsecure: added
PluginSecureSocksProxyAllowInsecure: added
# summary
v0.197.0 is a valid semantic version for this release.
v0.196.0
v0.195.0
What's Changed
- build(deps): bump golang.org/x/oauth2 from 0.14.0 to 0.15.0 by @dependabot in #826
- build(deps): bump github.com/getkin/kin-openapi from 0.120.0 to 0.122.0 by @dependabot in #825
Full Changelog: v0.194.0...v0.195.0
Compatibility
gorelease -base v0.194.0 -version v0.195.0
# summary
v0.195.0 is a valid semantic version for this release.
v0.194.0
What's Changed
- Workflow: Clone and build grafana by @andresmgot in #808
- build(deps): bump golang.org/x/oauth2 from 0.10.0 to 0.14.0 by @dependabot in #805
- Run go mod tidy when checking grafana compatibility by @andresmgot in #815
- build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 by @dependabot in #810
- build(deps): bump go.opentelemetry.io/contrib/propagators/jaeger from 1.20.0 to 1.21.1 by @dependabot in #811
- build(deps): bump go.opentelemetry.io/contrib/samplers/jaegerremote from 0.14.0 to 0.15.1 by @dependabot in #813
- build(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.46.0 to 0.46.1 by @dependabot in #814
- Add retrieval of Grafana user agent from context by @adamyeats in #816
- Fix parsing of uint64 fields in a Frame by @yuri-tceretian in #806
- build(deps): bump github.com/hashicorp/go-plugin from 1.5.2 to 1.6.0 by @dependabot in #818
- build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.20.0 to 1.21.0 by @dependabot in #819
- build(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace from 0.46.0 to 0.46.1 by @dependabot in #820
- build(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0 by @dependabot in #821
Full Changelog: v0.193.0...v0.194.0
Compatibility
gorelease -base v0.193.0 -version v0.194.0
# github.com/grafana/grafana-plugin-sdk-go/backend
## compatible changes
UserAgentFromContext: added
WithUserAgent: added
# github.com/grafana/grafana-plugin-sdk-go/backend/useragent
## compatible changes
Empty: added
# summary
v0.194.0 is a valid semantic version for this release.