Releases: grafana/grafana-plugin-sdk-go
Releases · grafana/grafana-plugin-sdk-go
v0.259.2
v0.259.1
What's Changed
- Export errors for time series processing by @ivanahuckova in #1134
- Handle endpoint type correctly in datasource_metrics_middleware by @aangelisc in #1135
Full Changelog: v0.259.0...v0.259.1
v0.259.0
What's Changed
- build(deps): bump github.com/hashicorp/go-plugin from 1.6.1 to 1.6.2 by @dependabot in #1127
- build(deps): bump github.com/prometheus/common from 0.60.0 to 0.60.1 by @dependabot in #1129
- errrorsource: Handle if errors are nil by @aangelisc in #1131
- Data source HTTP metrics by @aangelisc in #1130
Full Changelog: v0.258.0...v0.259.0
v0.258.0
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
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
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
- @derSascha made their first contribution in #1119
Full Changelog: v0.255.0...v0.256.0
Compatibility
# summary
v0.256.0 is a valid semantic version for this release.
v0.255.0
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
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
What's Changed
- Error source HTTP client middleware by @marefr in #1106
- Error source handler middleware by @marefr in #1101
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
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
- @ivanahuckova made their first contribution in #1100
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.