Skip to content

Releases: grafana/grafana-plugin-sdk-go

v0.257.0

23 Oct 12:36
850229a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.256.0...v0.257.0

Compatibility

Below incompatible changes shouldn't affect any plugins since it's an "internal" function used internally in the SDK and in Grafana.

gorelease -base v0.256.0 -version v0.257.0
# github.com/grafana/grafana-plugin-sdk-go/backend
## incompatible changes
GRPCServeOpts: changed from func(ServeOpts) github.com/grafana/grafana-plugin-sdk-go/backend/grpcplugin.ServeOpts to func(ServeOpts) (github.com/grafana/grafana-plugin-sdk-go/backend/grpcplugin.ServeOpts, error)
ServeOpts: old is comparable, new is not
## compatible changes
Handlers: added
NewTracingMiddleware: added
ServeOpts.HandlerMiddlewares: added
ServeOpts.HandlerWithMiddlewares: added

# summary
v0.257.0 is a valid semantic version for this release.

v0.256.0

21 Oct 14:59
abcbdd9
Compare
Choose a tag to compare

What's Changed

  • build(deps): bump github.com/urfave/cli from 1.22.15 to 1.22.16 by @dependabot in #1123
  • build(deps): bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 by @dependabot in #1124
  • Fix user-agent parsing of security releases by @derSascha in #1119

New Contributors

Full Changelog: v0.255.0...v0.256.0

Compatibility

# summary
v0.256.0 is a valid semantic version for this release.

v0.255.0

17 Oct 14:19
6ae7eda
Compare
Choose a tag to compare

What's Changed

  • Logging and metrics handler middlewares by @marefr in #1117
  • build(deps): bump go.opentelemetry.io/contrib/samplers/jaegerremote from 0.23.0 to 0.25.0 by @dependabot in #1114

Full Changelog: v0.254.0...v0.255.0

Compatibility

gorelease -base v0.254.0 -version v0.255.0
# github.com/grafana/grafana-plugin-sdk-go/backend
## compatible changes
NewLoggerMiddleware: added
NewMetricsMiddleware: added

# summary
v0.255.0 is a valid semantic version for this release.

v0.254.0

16 Oct 14:21
b745241
Compare
Choose a tag to compare

What's Changed

  • chore: bump go version to 1.22 by @s4kh in #1112
  • build(deps): bump go.opentelemetry.io/otel/sdk from 1.29.0 to 1.31.0 by @dependabot in #1110
  • chore: add GA pipeline badge by @s4kh in #1116
  • build(deps): bump github.com/prometheus/common from 0.55.0 to 0.60.0 by @dependabot in #1104
  • build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.28.0 to 1.31.0 by @dependabot in #1108

New Contributors

Full Changelog: v0.253.0...v0.254.0

Compatibility

gorelease -base v0.253.0 -version v0.254.0

# summary
v0.254.0 is a valid semantic version for this release.

v0.253.0

15 Oct 10:52
0afdd23
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.252.0...v0.253.0

Compatibility

Below incompatible changes should be compatible since we've introduced type aliases and seems like gorelease doesn't take that into consideration. Main change is changing backend.ErrorSource to a type alias for status.Source.

gorelease -base v0.252.0 -version v0.253.0
# github.com/grafana/grafana-plugin-sdk-go/backend
## incompatible changes
DataResponse.ErrorSource: changed from ErrorSource to github.com/grafana/grafana-plugin-sdk-go/experimental/status.Source
DefaultErrorSource: changed from ErrorSource to github.com/grafana/grafana-plugin-sdk-go/experimental/status.Source
ErrDataResponseWithSource: changed from func(Status, ErrorSource, string) DataResponse to func(Status, github.com/grafana/grafana-plugin-sdk-go/experimental/status.Source, string) DataResponse
ErrorSource: changed from ErrorSource to github.com/grafana/grafana-plugin-sdk-go/experimental/status.Source
ErrorSourceDownstream: changed from ErrorSource to github.com/grafana/grafana-plugin-sdk-go/experimental/status.Source
ErrorSourceFromHTTPStatus: changed from func(int) ErrorSource to func(int) github.com/grafana/grafana-plugin-sdk-go/experimental/status.Source
ErrorSourcePlugin: changed from ErrorSource to github.com/grafana/grafana-plugin-sdk-go/experimental/status.Source
FrameResponseWithErrorAndSource: changed from func(github.com/grafana/grafana-plugin-sdk-go/data.Framer, error, ErrorSource) *DataResponse to func(github.com/grafana/grafana-plugin-sdk-go/data.Framer, error, github.com/grafana/grafana-plugin-sdk-go/experimental/status.Source) *DataResponse
WithErrorSource: changed from func(context.Context, ErrorSource) error to func(context.Context, github.com/grafana/grafana-plugin-sdk-go/experimental/status.Source) error
## compatible changes
ErrorSourceFromContext: added
ErrorSourceMiddleware: added
IsDownstreamHTTPError: added
NewErrorSourceMiddleware: added

# github.com/grafana/grafana-plugin-sdk-go/backend/httpclient
## compatible changes
ErrorSourceMiddleware: added
ErrorSourceMiddlewareName: added

# github.com/grafana/grafana-plugin-sdk-go/experimental/errorsource
## incompatible changes
Error.ErrorSource: changed from func() github.com/grafana/grafana-plugin-sdk-go/backend.ErrorSource to func() github.com/grafana/grafana-plugin-sdk-go/experimental/status.Source
Error.Source: changed from func() github.com/grafana/grafana-plugin-sdk-go/backend.ErrorSource to func() github.com/grafana/grafana-plugin-sdk-go/experimental/status.Source
FromStatus: changed from func(github.com/grafana/grafana-plugin-sdk-go/backend.Status) github.com/grafana/grafana-plugin-sdk-go/backend.ErrorSource to func(github.com/grafana/grafana-plugin-sdk-go/backend.Status) github.com/grafana/grafana-plugin-sdk-go/experimental/status.Source
New: changed from func(error, github.com/grafana/grafana-plugin-sdk-go/backend.ErrorSource, github.com/grafana/grafana-plugin-sdk-go/backend.Status) Error to func(error, github.com/grafana/grafana-plugin-sdk-go/experimental/status.Source, github.com/grafana/grafana-plugin-sdk-go/backend.Status) Error
SourceError: changed from func(github.com/grafana/grafana-plugin-sdk-go/backend.ErrorSource, error, bool) Error to func(github.com/grafana/grafana-plugin-sdk-go/experimental/status.Source, error, bool) Error

# github.com/grafana/grafana-plugin-sdk-go/experimental/slo
## incompatible changes
FromStatus: changed from func(github.com/grafana/grafana-plugin-sdk-go/backend.Status) github.com/grafana/grafana-plugin-sdk-go/backend.ErrorSource to func(github.com/grafana/grafana-plugin-sdk-go/backend.Status) github.com/grafana/grafana-plugin-sdk-go/experimental/status.Source

# github.com/grafana/grafana-plugin-sdk-go/experimental/status
## compatible changes
package added

# summary
v0.253.0 is a valid semantic version for this release.

v0.252.0

10 Oct 13:20
6e35428
Compare
Choose a tag to compare

What's Changed

  • Remove datasource settings from QueryConversionHandler by @andresmgot in #1095
  • Add log for request start by @wbrowne in #1096
  • Autoinstrumentation: Don't log errors in partial response that produce status=cancelled by @ivanahuckova in #1100

New Contributors

Full Changelog: v0.251.0...v0.252.0

Compatibility

gorelease -base v0.251.0 -version v0.252.0
# github.com/grafana/grafana-plugin-sdk-go/backend/datasource
## compatible changes
ManageOpts.QueryConversionHandler: added

# summary
v0.252.0 is a valid semantic version for this release.

v0.251.0

24 Sep 13:28
d44c599
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.250.2...v0.251.0

Compatibility

gorelease -base v0.250.0 -version v0.251.0
# github.com/grafana/grafana-plugin-sdk-go/backend
## incompatible changes
EndpointConvertObject: removed
## compatible changes
BaseHandler: added
EndpointConvertObjects: added
Handler: added
HandlerFromMiddlewares: added
HandlerMiddleware: added
HandlerMiddlewareFunc: added
MiddlewareHandler: added
NewBaseHandler: added
PublishStreamHandler: added
PublishStreamHandlerFunc: added
RunStreamHandler: added
RunStreamHandlerFunc: added
SubscribeStreamHandler: added
SubscribeStreamHandlerFunc: added

# github.com/grafana/grafana-plugin-sdk-go/backend/handlertest
## compatible changes
package added

# summary
v0.251.0 is a valid semantic version for this release.

v0.250.2

23 Sep 13:31
dffaaeb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.250.1...v0.250.2

summary

v0.250.2 is a valid semantic version for this release.

v0.250.1

23 Sep 10:13
92f7dc7
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.250.0...v0.250.1

Compatibility

gorelease -base v0.250.0  -version v0.250.1
# summary
v0.250.1 is a valid semantic version for this release.

v0.250.0

19 Sep 09:36
aaa26d1
Compare
Choose a tag to compare

This is a security release addressing CVE-2024-8986.

What's Changed

Full Changelog: v0.249.0...v0.250.0

Compatibility

# github.com/grafana/grafana-plugin-sdk-go/build
## incompatible changes
Info.Branch: removed
Info.Build: removed
Info.Hash: removed
Info.PR: removed
Info.Repo: removed

# summary
v0.250.0 is a valid semantic version for this release.