Releases: grafana/grafana-plugin-sdk-go
Releases · grafana/grafana-plugin-sdk-go
v0.250.2
What's Changed
- Mark invalid duration as downstream error by @idastambuk in #1094
Full Changelog: v0.250.1...v0.250.2
summary
v0.250.2 is a valid semantic version for this release.
v0.250.1
What's Changed
- Mark duration parsing errors as downstream by @idastambuk in #1093
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
This is a security release addressing CVE-2024-8986.
What's Changed
- Remove repo info from binary by @andresmgot in #1091
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.
v0.249.0
What's Changed
- build(deps): bump golang.org/x/oauth2 from 0.22.0 to 0.23.0 by @dependabot in #1085
- Query conversion handler by @andresmgot in #1078
- SQLUtil: Mark errors regarding duplicate column names as downstream by @idastambuk in #1087
- Parse Interval: Mark invalid syntax errors as downstream by @idastambuk in #1088
- Mark no such host error as downstream by @iwysiu in #1089
New Contributors
- @idastambuk made their first contribution in #1087
Full Changelog: v0.248.0...v0.249.0
Compatibility
# github.com/grafana/grafana-plugin-sdk-go/backend
## compatible changes
ConvertObjectsFunc.ConvertObjects: added
ConvertQueryFunc: added
QueryConversionHandler: added
QueryConversionResponse: added
ServeOpts.QueryConversionHandler: added
# summary
v0.249.0 is a valid semantic version for this release.
v0.248.0
What's Changed
- JSON: Ensure all fields types work as expected when they are the first field in a frame by @ryantxu in #1080
- Chore: Fix DeepCopyInto for DataQuery by @toddtreece in #1081
Full Changelog: v0.247.0...v0.248.0
Compatibility
gorelease -base v0.247.0 -version v0.248.0
# summary
v0.248.0 is a valid semantic version for this release.
v0.247.0
What's Changed
- fix: return response with errorsource instead of nil by @njvrzm in #1069
- Chore: Update max bytes reader middleware error message by @itsmylife in #1072
- build(deps): bump github.com/prometheus/client_golang from 1.20.0 to 1.20.3 by @dependabot in #1073
- build(deps): bump golang.org/x/net from 0.28.0 to 0.29.0 by @dependabot in #1076
- build(deps): bump google.golang.org/grpc from 1.65.0 to 1.66.0 by @dependabot in #1074
Full Changelog: v0.246.0...v0.247.0
Compatibility
❯ gorelease -base v0.246.0 -version v0.247.0
# summary
v0.247.0 is a valid semantic version for this release.
v0.246.0
What's Changed
- Set HTTP timeouts as downstream errors by @wbrowne in #1063
- Autoinstrumentation improvements by @marefr in #1066
- build(deps): bump go.opentelemetry.io/contrib/samplers/jaegerremote from 0.22.0 to 0.23.0 by @dependabot in #1058
- build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace from 1.28.0 to 1.29.0 by @dependabot in #1060
- build(deps): bump go.opentelemetry.io/contrib/propagators/jaeger from 1.28.0 to 1.29.0 by @dependabot in #1061
Full Changelog: v0.245.0...v0.246.0
Compatibility
gorelease -base v0.245.0 -version v0.246.0
# github.com/grafana/grafana-plugin-sdk-go/backend
## compatible changes
ErrorSource.IsValid: added
# summary
v0.246.0 is a valid semantic version for this release.
v0.245.0
What's Changed
- PDC: add operation canceled error handler to socks proxy dialer by @dafydd-t in #1056
- Dataplane: Enable dataplane for results of LongToWide by @kylebrandt in #1057
- OpenAPI: Include DataSourceRef as root type by @ryantxu in #1062
- httpclient: add count_bytes_reader by @gabor in #1065
Full Changelog: v0.244.0...v0.245.0
Compatibility
gorelease -base v0.244.0 -version v0.245.0
# github.com/grafana/grafana-plugin-sdk-go/backend/httpclient
## compatible changes
CloseCallbackFunc: added
CountBytesReader: added
# summary
v0.245.0 is a valid semantic version for this release.
v0.244.0
What's Changed
- build(deps): bump github.com/grafana/pyroscope-go/godeltaprof from 0.1.7 to 0.1.8 by @dependabot in #1051
- build(deps): bump github.com/prometheus/client_golang from 1.19.1 to 1.20.0 by @dependabot in #1053
- build(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.51.0 to 0.53.0 by @dependabot in #1037
- build(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0 by @dependabot in #1052
- Capture log params from context metadata by @wbrowne in #1049
Full Changelog: v0.243.0...v0.244.0
Compatibility
gorelease -base=v0.243.0 -version=v0.244.0
# github.com/grafana/grafana-plugin-sdk-go/backend/log
## compatible changes
ContextualAttributesFromIncomingContext: added
WithContextualAttributesForOutgoingContext: added
v0.243.0
What's Changed
- build(deps): bump go.opentelemetry.io/contrib/samplers/jaegerremote from 0.20.0 to 0.22.0 by @dependabot in #1033
- build(deps): bump github.com/prometheus/common from 0.54.0 to 0.55.0 by @dependabot in #1038
- build(deps): bump google.golang.org/grpc from 1.64.1 to 1.65.0 by @dependabot in #1034
- build(deps): bump golang.org/x/oauth2 from 0.21.0 to 0.22.0 by @dependabot in #1046
- build(deps): bump golang.org/x/net from 0.27.0 to 0.28.0 by @dependabot in #1047
- Add X-Grafana-Id header as const by @jkroepke in #1045
- API: Add ResourceConversion service by @toddtreece in #1044
New Contributors
Full Changelog: v0.242.0...v0.243.0
Compatibility
gorelease -base v0.242.0 -version v0.243.0
# github.com/grafana/grafana-plugin-sdk-go/backend
## incompatible changes
AdmissionHandler.ConvertObject: removed
ConversionRequest.Kind: removed
ConversionRequest.ObjectBytes: removed
ConversionRequest.TargetVersion: changed from string to GroupVersion
ConversionResponse.Allowed: removed
ConversionResponse.ObjectBytes: removed
ConvertObjectFunc: removed
## compatible changes
ConversionHandler: added
ConversionRequest.Objects: added
ConversionRequest.UID: added
ConversionResponse.Objects: added
ConversionResponse.UID: added
ConvertFromProtobuf.GroupVersion: added
ConvertFromProtobuf.RawObject: added
ConvertFromProtobuf.RawObjects: added
ConvertObjectsFunc: added
ConvertToProtobuf.GroupVersion: added
ConvertToProtobuf.RawObject: added
ConvertToProtobuf.RawObjects: added
GrafanaUserSignInTokenHeaderName: added
GroupVersion: added
RawObject: added
ServeOpts.ConversionHandler: added
# github.com/grafana/grafana-plugin-sdk-go/backend/app
## compatible changes
ManageOpts.ConversionHandler: added
# github.com/grafana/grafana-plugin-sdk-go/backend/datasource
## incompatible changes
github.com/grafana/grafana-plugin-sdk-go/backend.AdmissionHandler.ConvertObject, method set of *ServeOpts: removed
github.com/grafana/grafana-plugin-sdk-go/backend.AdmissionHandler.ConvertObject, method set of ServeOpts: removed
## compatible changes
ManageOpts.ConversionHandler: added
ServeOpts.ConversionHandler: added
github.com/grafana/grafana-plugin-sdk-go/backend.ConversionHandler.ConvertObjects: added
# github.com/grafana/grafana-plugin-sdk-go/backend/grpcplugin
## incompatible changes
github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.AdmissionControlClient.ConvertObject, method set of AdmissionClient: removed
github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.AdmissionControlServer.ConvertObject, method set of AdmissionServer: removed
github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.ResourceClient.CallResource: changed from func(context.Context, *github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.CallResourceRequest, ...google.golang.org/grpc.CallOption) (github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.Resource_CallResourceClient, error) to func(context.Context, *github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.CallResourceRequest, ...google.golang.org/grpc.CallOption) (google.golang.org/grpc.ServerStreamingClient[github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.CallResourceResponse], error)
github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.ResourceServer.CallResource: changed from func(*github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.CallResourceRequest, github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.Resource_CallResourceServer) error to func(*github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.CallResourceRequest, google.golang.org/grpc.ServerStreamingServer[github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.CallResourceResponse]) error
github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.StreamClient.RunStream: changed from func(context.Context, *github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.RunStreamRequest, ...google.golang.org/grpc.CallOption) (github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.Stream_RunStreamClient, error) to func(context.Context, *github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.RunStreamRequest, ...google.golang.org/grpc.CallOption) (google.golang.org/grpc.ServerStreamingClient[github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.StreamPacket], error)
github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.StreamServer.RunStream: changed from func(*github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.RunStreamRequest, github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.Stream_RunStreamServer) error to func(*github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.RunStreamRequest, google.golang.org/grpc.ServerStreamingServer[github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2.StreamPacket]) error
## compatible changes
ConversionClient: added
ConversionGRPCPlugin: added
ConversionServer: added
ServeOpts.ConversionServer: added
# github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2
## incompatible changes
(*ConversionRequest).GetKind: removed
(*ConversionRequest).GetObjectBytes: removed
(*ConversionRequest).GetTargetVersion: changed from func() string to func() *GroupVersion
(*ConversionResponse).GetAllowed: removed
(*ConversionResponse).GetObjectBytes: removed
AdmissionControlClient.ConvertObject: removed
AdmissionControlServer.ConvertObject: removed
AdmissionControl_ConvertObject_FullMethodName: removed
ConversionRequest.Kind: removed
ConversionRequest.ObjectBytes: removed
ConversionRequest.TargetVersion: changed from string to *GroupVersion
ConversionResponse.Allowed: removed
ConversionResponse.ObjectBytes: removed
ResourceClient.CallResource: changed from func(context.Context, *CallResourceRequest, ...google.golang.org/grpc.CallOption) (Resource_CallResourceClient, error) to func(context.Context, *CallResourceRequest, ...google.golang.org/grpc.CallOption) (google.golang.org/grpc.ServerStreamingClient[CallResourceResponse], error)
ResourceServer.CallResource: changed from func(*CallResourceRequest, Resource_CallResourceServer) error to func(*CallResourceRequest, google.golang.org/grpc.ServerStreamingServer[CallResourceResponse]) error
Resource_CallResourceClient: changed from Resource_CallResourceClient to google.golang.org/grpc.ServerStreamingClient[CallResourceResponse]
Resource_CallResourceServer: changed from Resource_CallResourceServer to google.golang.org/grpc.ServerStreamingServer[CallResourceResponse]
StreamClient.RunStream: changed from func(context.Context, *RunStreamRequest, ...google.golang.org/grpc.CallOption) (Stream_RunStreamClient, error) to func(context.Context, *RunStreamRequest, ...google.golang.org/grpc.CallOption) (google.golang.org/grpc.ServerStreamingClient[StreamPacket], error)
StreamServer.RunStream: changed from func(*RunStreamRequest, Stream_RunStreamServer) error to func(*RunStreamRequest, google.golang.org/grpc.ServerStreamingServer[StreamPacket]) error
Stream_RunStreamClient: changed from Stream_RunStreamClient to google.golang.org/grpc.ServerStreamingClient[StreamPacket]
Stream_RunStreamServer: changed from Stream_RunStreamServer to google.golang.org/grpc.ServerStreamingServer[StreamPacket]
UnimplementedAdmissionControlServer.ConvertObject: removed
UnimplementedResourceServer.CallResource: changed from func(*CallResourceRequest, Resource_CallResourceServer) error to func(*CallResourceRequest, google.golang.org/grpc.ServerStreamingServer[CallResourceResponse]) error
UnimplementedStreamServer.RunStream: changed from func(*RunStreamRequest, Stream_RunStreamServer) error to func(*RunStreamRequest, google.golang.org/grpc.ServerStreamingServer[StreamPacket]) error
## compatible changes
(*ConversionRequest).GetObjects: added
(*ConversionRequest).GetUid: added
(*ConversionResponse).GetObjects: added
(*ConversionResponse).GetUid: added
ConversionRequest.Objects: added
ConversionRequest.Uid: added
ConversionResponse.Objects: added
ConversionResponse.Uid: added
GroupVersion: added
NewResourceConversionClient: added
RawObject: added
RegisterResourceConversionServer: added
ResourceConversionClient: added
ResourceConversionServer: added
ResourceConversion_ConvertObjects_FullMethodName: added
ResourceConversion_ServiceDesc: added
UnimplementedResourceConversionServer: added
UnsafeResourceConversionServer: added
# summary
v0.243.0 is a valid semantic version for this release.