Skip to content

Releases: grafana/grafana-plugin-sdk-go

v0.239.0

10 Jul 11:45
7c8ae12
Compare
Choose a tag to compare

What's Changed

  • build(deps): bump google.golang.org/grpc from 1.64.0 to 1.64.1 by @dependabot in #1026
  • Tracing: Helper function to retrieve trace ID from context by @njvrzm in #1027

Full Changelog: v0.238.0...v0.239.0

Compatibility

gorelease -base v0.238.0 -version v0.239.0
# github.com/grafana/grafana-plugin-sdk-go/backend/tracing
## compatible changes
TraceIDFromContext: added

# summary
v0.239.0 is not a valid semantic version for this release.
version v0.239.0 already exists

v0.238.0

09 Jul 16:09
c21351e
Compare
Choose a tag to compare

What's Changed

  • Profiling: Replace contention env variable with block and mutex rate by @marefr in #1025

Breaking changes

Removes support for the environment variable GF_PLUGIN_PROFILING_CONTENTION and the variable backend.PluginProfilingContentionEnv introduced in v0.235.0. This is an internal change and was recently introduced and therefore shouldn't affect anyone.

Full Changelog: v0.237.0...v0.238.0

Compatibility

gorelease -base v0.237.0 -version v0.238.0
# github.com/grafana/grafana-plugin-sdk-go/backend
## incompatible changes
PluginProfilingContentionEnv: removed
## compatible changes
PluginProfilingBlockRateEnv: added
PluginProfilingMutexRateEnv: added

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

v0.237.0

08 Jul 17:58
70047b7
Compare
Choose a tag to compare

What's Changed

  • Backend handlers: Catch panics by @andresmgot in #1010
  • DataQueryClient: Handle kube-style error responses by @alexweav in #1012
  • httpadapter: Deprecate PluginConfigFromContext and UserFromContext by @marefr in #1017
  • Deprecate datasource.Serve and backend.Serve by @marefr in #1018
  • Expose endpoint/handler names and update adapters to use the same "middleware" by @marefr in #1016
  • build(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace from 0.51.0 to 0.53.0 by @dependabot in #1020
  • build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace from 1.26.0 to 1.28.0 by @dependabot in #1021
  • build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.26.0 to 1.28.0 by @dependabot in #1022
  • build(deps): bump go.opentelemetry.io/contrib/propagators/jaeger from 1.26.0 to 1.28.0 by @dependabot in #1023
  • Chore: Regenerate protos by @marefr in #1024

Deprecation changes

New Contributors

Full Changelog: v0.236.0...v0.237.0

Compatibility

gorelease -base v0.236.0 -version v0.237.0
# github.com/grafana/grafana-plugin-sdk-go/backend
## compatible changes
CallResourceResponseSenderFunc: added
Endpoint: added
EndpointCallResource: added
EndpointCheckHealth: added
EndpointCollectMetrics: added
EndpointConvertObject: added
EndpointFromContext: added
EndpointMutateAdmission: added
EndpointPublishStream: added
EndpointQueryData: added
EndpointRunStream: added
EndpointSubscribeStream: added
EndpointValidateAdmission: added
PluginConfigFromContext: added
UserFromContext: added
WithEndpoint: added
WithPluginContext: added
WithUser: added

# github.com/grafana/grafana-plugin-sdk-go/experimental/apis/data/v0alpha1
## compatible changes
ErrTransport: added
Status: added

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

v0.236.0

17 Jun 16:04
3617477
Compare
Choose a tag to compare

What's Changed

  • build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 by @dependabot in #985
  • build(deps): bump github.com/prometheus/common from 0.53.0 to 0.54.0 by @dependabot in #1008
  • Nested plugin binaries are output to their respective directories by @wbrowne in #1007

Full Changelog: v0.235.0...v0.236.0

Compatibility

gorelease -base=v0.235.0 -version=v0.236.0
# summary
v0.236.0 is a valid semantic version for this release.

v0.235.0

12 Jun 13:40
61cba4c
Compare
Choose a tag to compare

What's Changed

  • slo - capture plugin duration for http based plugins by @scottlepp in #998
  • Remove restriction for executable relative file path for nested datasource plugins by @wbrowne in #1005
  • Enhance profiling and allow traces to profiles by @marefr in #1006

Full Changelog: v0.234.0...v0.235.0

Compatibility

gorelease -base=v0.234.0 -version=v0.235.0      
# github.com/grafana/grafana-plugin-sdk-go/backend
## compatible changes
PluginProfilingContentionEnv: added

# github.com/grafana/grafana-plugin-sdk-go/experimental/slo
## compatible changes
AddMiddleware: added
Collector: added
Duration: added
DurationKey: added
Endpoint: added
EndpointHealth: added
EndpointQuery: added
EndpointResource: added
FromStatus: added
Metrics: added
MetricsWrapper: added
NewClient: added
NewDuration: added
NewMetrics: added
NewMetricsWrapper: added
Source: added
SourceDownstream: added
SourcePlugin: added
Status: added
StatusError: added
StatusOK: added

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

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

v0.234.0

05 Jun 15:17
e045227
Compare
Choose a tag to compare

What's Changed

  • Arrow: Expose frame to arrow.Table utility function by @ryantxu in #1002
  • Chore: Move last pieces from Grafana's legacydata package into the SDK by @marefr in #1003

Full Changelog: v0.233.0...v0.234.0

Compatibility

gorelease -base v0.233.0 -version v0.234.0
# github.com/grafana/grafana-plugin-sdk-go/backend/gtime
## compatible changes
NewTimeRange: added
TimeRange: added
TimeRangeOption: added
WithFiscalStartMonth: added
WithLocation: added
WithNow: added
WithRoundUp: added
WithWeekstart: added

# github.com/grafana/grafana-plugin-sdk-go/data
## compatible changes
FrameToArrowTable: added

# github.com/grafana/grafana-plugin-sdk-go/experimental/apis/data/v0alpha1
## compatible changes
ToDataSourceQueries: added

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

v0.233.0

27 May 19:07
1f0e4c9
Compare
Choose a tag to compare

What's Changed

  • build(deps): bump google.golang.org/grpc from 1.63.2 to 1.64.0 by @dependabot in #990
  • SQL: Apply longer macros before shorter macros by @kevinwcyu in #992

Full Changelog: v0.232.0...v0.233.0

Compatibility

gorelease -base v0.232.0 -version v0.233.0
# summary
v0.233.0 is a valid semantic version for this release.

v0.232.0

24 May 10:11
94941f4
Compare
Choose a tag to compare

What's Changed

Compatibility

# github.com/grafana/grafana-plugin-sdk-go/backend
## compatible changes
(*AppInstanceSettings).GVK: added
(*DataSourceInstanceSettings).GVK: added
AdmissionHandler: added
AdmissionRequest: added
AdmissionRequestCreate: added
AdmissionRequestDelete: added
AdmissionRequestOperation: added
AdmissionRequestUpdate: added
AppInstanceSettingsFromProto: added
AppInstanceSettingsToProtoBytes: added
ConversionRequest: added
ConversionResponse: added
ConvertFromProtobuf.AdmissionRequest: added
ConvertFromProtobuf.ConversionRequest: added
ConvertFromProtobuf.ConversionResponse: added
ConvertFromProtobuf.GroupVersionKind: added
ConvertFromProtobuf.MutationResponse: added
ConvertFromProtobuf.StatusResult: added
ConvertFromProtobuf.ValidationResponse: added
ConvertObjectFunc: added
ConvertToProtobuf.AdmissionRequest: added
ConvertToProtobuf.ConversionRequest: added
ConvertToProtobuf.ConversionResponse: added
ConvertToProtobuf.GroupVersionKind: added
ConvertToProtobuf.MutationResponse: added
ConvertToProtobuf.StatusResult: added
ConvertToProtobuf.ValidationResponse: added
DataSourceInstanceSettingsFromProto: added
DataSourceInstanceSettingsToProtoBytes: added
GroupVersionKind: added
MutateAdmissionFunc: added
MutationResponse: added
ServeOpts.AdmissionHandler: added
StatusResult: added
ValidateAdmissionFunc: added
ValidationResponse: added

# github.com/grafana/grafana-plugin-sdk-go/backend/app
## compatible changes
ManageOpts.AdmissionHandler: added

# github.com/grafana/grafana-plugin-sdk-go/backend/datasource
## compatible changes
ManageOpts.AdmissionHandler: added
ServeOpts.AdmissionHandler: added
github.com/grafana/grafana-plugin-sdk-go/backend.AdmissionHandler.ConvertObject: added
github.com/grafana/grafana-plugin-sdk-go/backend.AdmissionHandler.MutateAdmission: added
github.com/grafana/grafana-plugin-sdk-go/backend.AdmissionHandler.ValidateAdmission: added

# github.com/grafana/grafana-plugin-sdk-go/backend/grpcplugin
## compatible changes
AdmissionClient: added
AdmissionGRPCPlugin: added
AdmissionServer: added
ServeOpts.AdmissionServer: added

# github.com/grafana/grafana-plugin-sdk-go/experimental/apis/data/v0alpha1
## compatible changes
DataSourceRef.APIVersion: added

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

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

# github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2
## compatible changes
AdmissionControlClient: added
AdmissionControlServer: added
AdmissionControl_ConvertObject_FullMethodName: added
AdmissionControl_MutateAdmission_FullMethodName: added
AdmissionControl_ServiceDesc: added
AdmissionControl_ValidateAdmission_FullMethodName: added
AdmissionRequest: added
AdmissionRequest_CREATE: added
AdmissionRequest_DELETE: added
AdmissionRequest_Operation: added
AdmissionRequest_Operation_name: added
AdmissionRequest_Operation_value: added
AdmissionRequest_UPDATE: added
ConversionRequest: added
ConversionResponse: added
GroupVersionKind: added
MutationResponse: added
NewAdmissionControlClient: added
RegisterAdmissionControlServer: added
StatusResult: added
UnimplementedAdmissionControlServer: added
UnsafeAdmissionControlServer: added
ValidationResponse: added

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

Full Changelog: v0.231.0...v0.232.0

v0.231.0

15 May 16:13
36b8fe3
Compare
Choose a tag to compare

What's Changed

  • build(deps): bump golang.org/x/net from 0.24.0 to 0.25.0 by @dependabot in #984
  • build(deps): bump github.com/hashicorp/go-plugin from 1.6.0 to 1.6.1 by @dependabot in #986
  • SQL: Add default interval and interval_ms macros to sqlutil by @kevinwcyu in #982

New Contributors

Full Changelog: v0.230.0...v0.231.0

Compatibility

gorelease -base v0.230.0 -version v0.231.0
# summary
v0.231.0 is a valid semantic version for this release.

v0.230.0

09 May 10:03
878555a
Compare
Choose a tag to compare

What's Changed

  • APIVersion: Add API Version to protobuf by @ryantxu in #911

Compatibility

# github.com/grafana/grafana-plugin-sdk-go/backend
## compatible changes
AppInstanceSettings.APIVersion: added
DataSourceInstanceSettings.APIVersion: added
PluginContext.APIVersion: added

# github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2
## compatible changes
(*AppInstanceSettings).GetApiVersion: added
(*DataSourceInstanceSettings).GetApiVersion: added
(*PluginContext).GetApiVersion: added
AppInstanceSettings.ApiVersion: added
DataSourceInstanceSettings.ApiVersion: added
PluginContext.ApiVersion: added

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

Full Changelog: v0.229.0...v0.230.0