Releases: grafana/grafana-plugin-sdk-go
v0.219.0
What's Changed
- build(deps): bump github.com/apache/arrow/go/v15 from 15.0.0 to 15.0.2 by @dependabot in #942
- Add PluginAppClientSecret to request config by @andresmgot in #940
Compatibility
# github.com/grafana/grafana-plugin-sdk-go/backend
## compatible changes
(*GrafanaCfg).PluginAppClientSecret: added
AppClientSecret: added
# github.com/grafana/grafana-plugin-sdk-go/experimental/oauthtokenretriever
## incompatible changes
package removed
# summary
v0.219.0 is a valid semantic version for this release.
Full Changelog: v0.218.0...v0.219.0
v0.218.0
What's Changed
- build(deps): bump golang.org/x/oauth2 from 0.16.0 to 0.18.0 by @dependabot in #937
- build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in #938
- Add backwards compatibility for reading PDC info as file paths by @wbrowne in #941
Full Changelog: v0.217.0...v0.218.0
Compatibility
gorelease -base=v0.217.0 -version=v0.218.0
# github.com/grafana/grafana-plugin-sdk-go/backend/proxy
## compatible changes
ClientCfg.ClientCertVal: added
ClientCfg.ClientKeyVal: added
ClientCfg.RootCAsVals: added
PluginSecureSocksProxyClientCertContents: added
PluginSecureSocksProxyClientKeyContents: added
PluginSecureSocksProxyRootCAsContents: added
# summary
v0.218.0 is a valid semantic version for this release.
v0.217.0
NOTE - PLEASE READ
This version contains a Private Data Source Connect (PDC) bug, that prevents any plugins built with an older SDK version loaded with any Grafana version < 11 to not function correctly. Please ignore this release and use v0.218.0 instead.
What's Changed
- CustomHeadersMiddleware: Clean up headers before adding by @andresmgot in #936
- Verify that HTTP middlewares are not duplicated by @andresmgot in #935
- Support PDC file contents instead of file paths by @wbrowne in #933
Full Changelog: v0.216.0...v0.217.0
Compatibility
# github.com/grafana/grafana-plugin-sdk-go/backend/proxy
## incompatible changes
ClientCfg.RootCA: removed
ClientCfg: old is comparable, new is not
PluginSecureSocksProxyAllowInsecure: changed from var to const
PluginSecureSocksProxyClientCert: changed from var to const
PluginSecureSocksProxyClientKey: changed from var to const
PluginSecureSocksProxyEnabled: changed from var to const
PluginSecureSocksProxyProxyAddress: changed from var to const
PluginSecureSocksProxyRootCACert: removed
PluginSecureSocksProxyServerName: changed from var to const
## compatible changes
ClientCfg.RootCAs: added
PluginSecureSocksProxyAddressEnvVarName: added
PluginSecureSocksProxyAllowInsecureEnvVarName: added
PluginSecureSocksProxyClientCertFilePathEnvVarName: added
PluginSecureSocksProxyClientKeyFilePathEnvVarName: added
PluginSecureSocksProxyEnabledEnvVarName: added
PluginSecureSocksProxyRootCACertFilePathsEnvVarName: added
PluginSecureSocksProxyRootCAs: added
PluginSecureSocksProxyServerNameEnvVarName: added
# summary
v0.217.0 is a valid semantic version for this release.
v0.216.0
What's Changed
- socks proxy: check context done before trying to dial by @dafydd-t in #928
- build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by @dependabot in #929
- build(deps): bump golang.org/x/sys from 0.17.0 to 0.18.0 by @dependabot in #930
- build(deps): bump golang.org/x/net from 0.21.0 to 0.22.0 by @dependabot in #931
New Contributors
Full Changelog: v0.215.0...v0.216.0
v0.215.0
What's Changed
- Response limit middleware by @andresmgot in #917
- Chore: fix experimental QueryData map initalizers by @ryantxu in #921
- Change watch to build a debug binary by @oshirohugo in #926
- feat(httpclient): support appending the same header multiple times by @sathieu in #830
Breaking changes
Support appending the same header multiple times
HTTPSettings.Headers
(map[string]string
) has been replaced with HTTPSettings.Header
(http.Header
). Allowing to set multiple values to the same header. To adapt your plugin replace:
- headers[header] = value
+ headers.Add(header, value)
Change mage watch
to build a debug binary
mage watch
target now creates a debug binary.
New Contributors
Compatibility
# github.com/grafana/grafana-plugin-sdk-go/backend
## incompatible changes
HTTPSettings.Headers: removed
## compatible changes
(*GrafanaCfg).ResponseLimit: added
HTTPSettings.Header: added
ResponseLimit: added
# github.com/grafana/grafana-plugin-sdk-go/backend/httpclient
## incompatible changes
Options.Headers: removed
## compatible changes
ErrResponseBodyTooLarge: added
MaxBytesReader: added
Options.Header: added
ResponseLimitMiddleware: added
ResponseLimitMiddlewareName: added
Full Changelog: v0.214.0...v0.215.0
v0.214.0
What's Changed
- Introduce maputil by @itsmylife in #919
- build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 by @dependabot in #920
- build(deps): bump go.opentelemetry.io/contrib/samplers/jaegerremote from 0.16.0 to 0.18.0 by @dependabot in #923
Full Changelog: v0.213.0...v0.214.0
Compatibility
❯ gorelease -base v0.213.0 -version v0.214.0
# github.com/grafana/grafana-plugin-sdk-go/data/utils/maputil
## compatible changes
package added
# summary
v0.214.0 is a valid semantic version for this release.
v0.213.0
What's Changed
- Chore: Add more functions to jsoniter package by @itsmylife in #902
- CI: Add a stale workflow by @jackw in #912
- Remove github.com/cheekybits/genny by @wbrowne in #913
- Remove flaky test by @andresmgot in #915
- Revert "Remove github.com/cheekybits/genny" by @wbrowne in #914
- Chore: Implement DeepCopy(into) by @ryantxu in #916
- build(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace from 0.46.1 to 0.49.0 by @dependabot in #907
- build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace from 1.21.0 to 1.24.0 by @dependabot in #908
- build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.21.0 to 1.24.0 by @dependabot in #904
- build(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.47.0 to 0.49.0 by @dependabot in #906
- Experimental: Add query type definition and schemas by @ryantxu in #897
- build(deps): bump google.golang.org/grpc from 1.60.1 to 1.62.1 by @dependabot in #918
New Contributors
Full Changelog: v0.212.0...v0.213.0
Compatibility
gorelease -base v0.212.0 -version v0.213.0
# github.com/grafana/grafana-plugin-sdk-go/backend
## compatible changes
(*DataResponse).DeepCopy: added
(*QueryDataResponse).DeepCopy: added
(*QueryDataResponse).DeepCopyInto: added
# github.com/grafana/grafana-plugin-sdk-go/data/utils/jsoniter
## 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
ConfigCompatibleWithStandardLibrary: added
RegisterTypeDecoder: added
RegisterTypeEncoder: added
Stream: added
ValDecoder: added
ValEncoder: added
# github.com/grafana/grafana-plugin-sdk-go/experimental/apis/data/v0alpha1
## compatible changes
package added
# github.com/grafana/grafana-plugin-sdk-go/experimental/schemabuilder
## compatible changes
package added
# github.com/grafana/grafana-plugin-sdk-go/experimental/schemabuilder/example
## compatible changes
package added
# summary
v0.213.0 is a valid semantic version for this release.
v0.212.0
What's Changed
- enhancement: add all variants of debug builds for cross-compilation by @briangann in #898
- jsoniter: fix helpers by @ryantxu in #900
- plugins: added more config-params to the plugin config by @gabor in #899
Full Changelog: v0.211.0...v0.212.0
Breaking Changes
Users who use jsonitere
package must update their code if they use the following APIs
Removed:
(*Iterator).Parse: removed
(*Iterator).ParseBytes: removed
(*Iterator).ParseString: removed
Added:
Parse: added
ParseBytes: added
ParseString: added
Compatibility
gorelease -base v0.211.0 -version v0.212.0
# github.com/grafana/grafana-plugin-sdk-go/backend
## compatible changes
(*GrafanaCfg).SQL: added
(*GrafanaCfg).UserFacingDefaultError: added
SQLConfig: added
SQLMaxConnLifetimeSecondsDefault: added
SQLMaxIdleConnsDefault: added
SQLMaxOpenConnsDefault: added
SQLRowLimit: added
UserFacingDefaultError: added
# github.com/grafana/grafana-plugin-sdk-go/build
## compatible changes
Build.DebugDarwinAMD64: added
Build.DebugDarwinARM64: added
Build.DebugLinuxAMD64: added
Build.DebugLinuxARM64: added
Build.DebugWindowsAMD64: added
# github.com/grafana/grafana-plugin-sdk-go/data/utils/jsoniter
## incompatible changes
(*Iterator).Parse: removed
(*Iterator).ParseBytes: removed
(*Iterator).ParseString: removed
## compatible changes
Parse: added
ParseBytes: added
ParseString: added
# summary
v0.212.0 is a valid semantic version for this release.
v0.211.0
v0.210.0
What's Changed
- Add SkipAndReturnBytes method to jsoniter package by @itsmylife in #891
- [Breaking] Arrow: update to v15 by @ryantxu in #890. See required changes in Grafana.
Full Changelog: v0.209.0...v0.210.0
Compatibility
# github.com/grafana/grafana-plugin-sdk-go/data/utils/jsoniter
## compatible changes
(*Iterator).SkipAndReturnBytes: added
# summary
v0.210.0 is a valid semantic version for this release.