Releases: grafana/grafana-plugin-sdk-go
Releases · grafana/grafana-plugin-sdk-go
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.
v0.209.0
What's Changed
- Update codeowners for backend/gtime by @itsmylife in #888
- proxy: add method to retrieve a confgured proxy-client by @gabor in #889
Full Changelog: v0.208.0...v0.209.0
Compatibility
# github.com/grafana/grafana-plugin-sdk-go/backend
## compatible changes
(*DataSourceInstanceSettings).ProxyClient: added
# summary
v0.209.0 is a valid semantic version for this release.
v0.208.0
What's Changed
- Move roundInterval from grafana/grafana intervalv2 by @itsmylife in #887
Full Changelog: v0.207.0...v0.208.0
Compatibility
gorelease -base v0.207.0 -version v0.208.0
# github.com/grafana/grafana-plugin-sdk-go/backend/gtime
## compatible changes
RoundInterval: added
# summary
v0.208.0 is a valid semantic version for this release.
v0.207.0
What's Changed
- build(deps): bump github.com/google/uuid from 1.5.0 to 1.6.0 by @dependabot in #884
- gtime: Move grafana/grafana intervalv2 functions in plugin-sdk-go by @itsmylife in #886
Full Changelog: v0.206.0...v0.207.0
Compatibility
gorelease -base v0.206.0 -version v0.207.0
# github.com/grafana/grafana-plugin-sdk-go/backend/gtime
## compatible changes
GetIntervalFrom: added
ParseIntervalStringToTimeDuration: added
# summary
v0.207.0 is a valid semantic version for this release.
v0.206.0
What's Changed
- Add datasource label to secure_socks_requests_duration by @PoorlyDefinedBehaviour in #866
Full Changelog: v0.205.0...v0.206.0
Compability
# github.com/grafana/grafana-plugin-sdk-go/backend/proxy
## compatible changes
Options.DatasourceName: added
Options.DatasourceType: added
# summary
v0.206.0 is a valid semantic version for this release.
v0.205.0
What's Changed
Full Changelog: v0.204.0...v0.205.0
Compatibility
gorelease -base v0.204.0 -version v0.205.0
# github.com/grafana/grafana-plugin-sdk-go/backend/gtime
## compatible changes
FormatInterval: added
# summary
v0.205.0 is a valid semantic version for this release.
v0.204.0
What's Changed
- Revert "Chore: Use jsoniter from wrapper (#841)" by @itsmylife in #879
Breaking Changes
Removed:
Marshal: removed
Parse: removed
ParseBytes: removed
ParseString: removed
Unmarshal: removed
Added:
(*Iterator).Marshal: added
(*Iterator).Parse: added
(*Iterator).ParseBytes: added
(*Iterator).ParseString: added
(*Iterator).Unmarshal: added
Full Changelog: v0.203.0...v0.204.0
Compatibility
gorelease -base v0.203.0 -version v0.204.0
# github.com/grafana/grafana-plugin-sdk-go/data/utils/jsoniter
## incompatible changes
(*Iterator).CanReadArray: removed
(*Iterator).ReadError: removed
(*Iterator).ReadFloat32: removed
(*Iterator).ReadInt16: removed
(*Iterator).ReadInt32: removed
(*Iterator).ReadInt64: removed
(*Iterator).ReadInt: removed
(*Iterator).ReadUint16: removed
(*Iterator).ReadUint32: removed
(*Iterator).ReadUint8: removed
(*Iterator).SetError: removed
(*Iterator).SkipAndReturnBytes: removed
ConfigCompatibleWithStandardLibrary: removed
Marshal: removed
Parse: removed
ParseBytes: removed
ParseString: removed
RegisterTypeDecoder: removed
RegisterTypeEncoder: removed
Stream: removed
Unmarshal: removed
ValDecoder: removed
ValEncoder: removed
## compatible changes
(*Iterator).Marshal: added
(*Iterator).Parse: added
(*Iterator).ParseBytes: added
(*Iterator).ParseString: added
(*Iterator).Unmarshal: added
# summary
v0.204.0 is a valid semantic version for this release.
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.