Skip to content

Releases: grafana/grafana-plugin-sdk-go

v0.259.2

07 Nov 16:50
ff8e414
Compare
Choose a tag to compare

What's Changed

  • Mark err as downstream if its from the secure socks proxy by @iwysiu in #1136

Full Changelog: v0.259.1...v0.259.2

Compatibility

gorelease -base v0.259.1 -version v0.259.2
# summary
v0.259.2 is a valid semantic version for this release.

v0.259.1

06 Nov 12:40
0cf8fda
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.259.0...v0.259.1

v0.259.0

05 Nov 12:24
501b836
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.258.0...v0.259.0

v0.258.0

24 Oct 09:31
b4e6ef7
Compare
Choose a tag to compare

What's Changed

  • Tracing: Allow trace id to propagate and included in logs even though tracing disabled by @marefr in #1126
  • build(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.53.0 to 0.56.0 by @dependabot in #1120
  • build(deps): bump go.opentelemetry.io/contrib/propagators/jaeger from 1.29.0 to 1.31.0 by @dependabot in #1121
  • build(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace from 0.53.0 to 0.56.0 by @dependabot in #1122

Full Changelog: v0.257.0...v0.258.0

Compatibility

gorelease -base v0.257.0 -version v0.258.0
# summary
v0.258.0 is a valid semantic version for this release.

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.