Skip to content

Releases: grafana/grafana-plugin-sdk-go

v0.153.0

01 Mar 12:27
9a83358
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.152.0...v0.153.0

v0.152.0

28 Feb 21:35
87ab0e2
Compare
Choose a tag to compare

What's Changed

  • allow sql.NullX types as valid convertable values by @scottlepp in #634

Full Changelog: v0.151.0...v0.152.0

Compatibility

# github.com/grafana/grafana-plugin-sdk-go/data/sqlutil

## compatible changes
NullByteConverter: added
NullInt16Converter: added

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

v0.151.0

28 Feb 18:23
d252e51
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.150.0...v0.151.0

Compatibility

gorelease -base v0.150.0 -version v0.151.0 
# github.com/grafana/grafana-plugin-sdk-go/data
## compatible changes
EnumItemIndex: added

# github.com/grafana/grafana-plugin-sdk-go/experimental/sdata
## incompatible changes
package removed

# github.com/grafana/grafana-plugin-sdk-go/experimental/sdata/numeric
## incompatible changes
package removed

# github.com/grafana/grafana-plugin-sdk-go/experimental/sdata/reader
## incompatible changes
package removed

# github.com/grafana/grafana-plugin-sdk-go/experimental/sdata/timeseries
## incompatible changes
package removed

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

v0.150.0

27 Feb 11:27
b292576
Compare
Choose a tag to compare

What's Changed

  • Forward HTTP headers by default by @andresmgot in #612
  • Docs: Update README with more information about go docs by @andresmgot in #616
  • Generates a go_plugin_build_manifest file when building a plugin by @academo in #610
  • feat: Improve mage coverage command: add -coverpkg option and -func report by @cletter7 in #617
  • Data: Document no nil entires in Fields / Frames by @kylebrandt in #618
  • check nil frame to avoid panic by @scottlepp in #619
  • CODEOWNERS: Set dataplane wg to own experimental/sdata by @kylebrandt in #628
  • experimental/sdata: Add RefID to writers and readers by @kylebrandt in #627
  • sdata/timeseries: fix bug in long on wrong field type by @kylebrandt in #626
  • Experimental: added OAuth2 options in http client by @yesoreyeram in #615
  • build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by @dependabot in #629
  • build(deps): bump github.com/urfave/cli from 1.22.1 to 1.22.12 by @dependabot in #630
  • build(deps): bump golang.org/x/text from 0.3.6 to 0.3.8 by @dependabot in #622
  • build(deps): bump github.com/prometheus/common from 0.32.1 to 0.40.0 by @dependabot in #623
  • build(deps): bump golang.org/x/net from 0.4.0 to 0.7.0 by @dependabot in #624

New Contributors

Full Changelog: v0.149.1...v0.150.0

Sql util - patch scan type enhancement

09 Feb 22:51
4344c93
Compare
Choose a tag to compare

This is a patch for a bug in the sql util 0.149.0

SQL util - allow using the database scan type for converters

07 Feb 17:33
f2629e0
Compare
Choose a tag to compare

Allow using the database scan type for converters, rather than always overriding it.

No breaking changes.

v0.148.0

01 Feb 15:53
daef868
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.147.0...v0.148.0

Compatibility

gorelease -base v0.147.0 -version v0.148.0
! second, different message for obj type github.com/grafana/grafana-plugin-sdk-go/experimental/sdata/numeric.Collection interface{github.com/grafana/grafana-plugin-sdk-go/experimental/sdata/numeric.CollectionWriter; github.com/grafana/grafana-plugin-sdk-go/experimental/sdata/numeric.CollectionReader}, part ""
  first:  changed from interface{CollectionWriter; CollectionReader} to struct{Refs []MetricRef; RemainderIndices []github.com/grafana/grafana-plugin-sdk-go/experimental/sdata.FrameFieldIndex; Warning error}
  second: no longer implements CollectionReader
! second, different message for obj type github.com/grafana/grafana-plugin-sdk-go/experimental/sdata/numeric.Collection interface{github.com/grafana/grafana-plugin-sdk-go/experimental/sdata/numeric.CollectionWriter; github.com/grafana/grafana-plugin-sdk-go/experimental/sdata/numeric.CollectionReader}, part ""
  first:  no longer implements CollectionReader
  second: no longer implements CollectionWriter
# github.com/grafana/grafana-plugin-sdk-go/data
## compatible changes
EnumFieldConfig: added
FieldConfig.TypeConfig: added
FieldTypeConfig: added
FieldTypeEnum: added
FieldTypeNullableEnum: added
FrameMeta.TypeVersion: added
FrameTypeVersion: added
ParseFrameTypeVersion: added
QueryStat.TypeConfig: added

# github.com/grafana/grafana-plugin-sdk-go/data/sqlutil
## compatible changes
DefaultMacros: added
ErrorBadArgumentCount: added
ErrorFrameFromQuery: added
ErrorJSON: added
FormatOptionLogs: added
FormatOptionTable: added
FormatOptionTimeSeries: added
FormatQueryOption: added
GetQuery: added
Interpolate: added
MacroFunc: added
Macros: added
Query: added

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

# github.com/grafana/grafana-plugin-sdk-go/experimental/sdata
## compatible changes
VersionWarning: added

# github.com/grafana/grafana-plugin-sdk-go/experimental/sdata/numeric
## incompatible changes
(*LongFrame).GetMetricRefs: removed
(*MultiFrame).GetMetricRefs: removed
(*WideFrame).GetMetricRefs: removed
Collection: no longer implements CollectionWriter
CollectionReader.GetCollection: added
CollectionReader.GetMetricRefs: removed
FrameTypeNumericMulti: removed
NewLongFrame: changed from func() *LongFrame to func(github.com/grafana/grafana-plugin-sdk-go/data.FrameTypeVersion) (*LongFrame, error)
NewMultiFrame: changed from func() *MultiFrame to func(github.com/grafana/grafana-plugin-sdk-go/data.FrameTypeVersion) (*MultiFrame, error)
NewWideFrame: changed from func() *WideFrame to func(github.com/grafana/grafana-plugin-sdk-go/data.FrameTypeVersion) (*WideFrame, error)
## compatible changes
(*LongFrame).Frames: added
(*LongFrame).GetCollection: added
(*MultiFrame).Frames: added
(*MultiFrame).GetCollection: added
(*WideFrame).Frames: added
(*WideFrame).GetCollection: added
CollectionRW: added
CollectionReaderFromFrames: added
LongFrameVersionLatest: added
LongFrameVersions: added
MetricRef.NullableFloat64Value: added
MultiFrameVersionLatest: added
MultiFrameVersions: added
WideFrameVersionLatest: added
WideFrameVersions: added

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

# github.com/grafana/grafana-plugin-sdk-go/experimental/sdata/timeseries
## incompatible changes
(*LongFrame).GetMetricRefs: removed
(*MultiFrame).GetMetricRefs: removed
(*WideFrame).GetMetricRefs: removed
CollectionReader.GetCollection: added
CollectionReader.GetMetricRefs: removed
NewLongFrame: changed from func() *LongFrame to func(github.com/grafana/grafana-plugin-sdk-go/data.FrameTypeVersion) (*LongFrame, error)
NewMultiFrame: changed from func() *MultiFrame to func(github.com/grafana/grafana-plugin-sdk-go/data.FrameTypeVersion) (*MultiFrame, error)
NewWideFrame: changed from func() *WideFrame to func(github.com/grafana/grafana-plugin-sdk-go/data.FrameTypeVersion) (*WideFrame, error)
## compatible changes
(*LongFrame).GetCollection: added
(*MultiFrame).GetCollection: added
(*WideFrame).GetCollection: added
Collection: added
LongFrameVersionLatest: added
LongFrameVersions: added
MetricRef.Len: added
MetricRef.NullableFloat64Point: added
MetricRef.NullableFloat64Value: added
MetricRef.Time: added
MultiFrameVersionLatest: added
MultiFrameVersions: added
WideFrameVersionLatest: added
WideFrameVersions: added

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

v0.147.0

15 Dec 09:34
1e4af2c
Compare
Choose a tag to compare

What's Changed

  • Fix error handling in CheckGoldenJSONResponse by @toddtreece in #587
  • Introduce interface to ease forward/access HTTP headers by @marefr in #562

Full Changelog: v0.146.0...v0.147.0

Compatibility

gorelease -base v0.146.0 -version v0.147.0                                                                                   
# github.com/grafana/grafana-plugin-sdk-go/backend                                                                             
## compatible changes                                                                                                          
(*CallResourceRequest).DeleteHTTPHeader: added                                                                                 
(*CallResourceRequest).GetHTTPHeader: added                                                                                    
(*CallResourceRequest).GetHTTPHeaders: added                                                                                   
(*CallResourceRequest).SetHTTPHeader: added
(*CheckHealthRequest).DeleteHTTPHeader: added
(*CheckHealthRequest).GetHTTPHeader: added
(*CheckHealthRequest).GetHTTPHeaders: added
(*CheckHealthRequest).SetHTTPHeader: added
(*QueryDataRequest).DeleteHTTPHeader: added
(*QueryDataRequest).GetHTTPHeader: added
(*QueryDataRequest).GetHTTPHeaders: added
(*QueryDataRequest).SetHTTPHeader: added
CookiesHeaderName: added
ForwardHTTPHeaders: added
OAuthIdentityIDTokenHeaderName: added
OAuthIdentityTokenHeaderName: added

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

v0.146.0

14 Dec 17:11
66b268d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.145.0...v0.146.0

Compatibility

gorelease -base v0.145.0 -version v0.146.0
# github.com/grafana/grafana-plugin-sdk-go/backend/log
## incompatible changes
Logger.With: added

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

v0.145.0

05 Dec 16:55
2edccc9
Compare
Choose a tag to compare

What's Changed

  • Testing: Add more error logging to golden checker by @ryantxu in #571
  • Dataplane: Spec - Update NoData to allow for no frames by @kylebrandt in #568
  • Data: Add Numeric Kind constants, link to DP docs by @kylebrandt in #560

Full Changelog: v0.144.0...v0.145.0

Compatibility

gorelease -base v0.144.0 -version v0.145.0
# github.com/grafana/grafana-plugin-sdk-go/data
## incompatible changes
FrameTypeDirectoryListing: changed from untyped string to FrameType
FrameTypeTable: changed from untyped string to FrameType
FrameTypeTimeSeriesLong: changed from untyped string to FrameType
FrameTypeTimeSeriesMany: changed from untyped string to FrameType
FrameTypeTimeSeriesWide: changed from untyped string to FrameType
## compatible changes
FrameType.IsNumeric: added
FrameType.Kind: added
FrameTypeKind: added
FrameTypeNumericLong: added
FrameTypeNumericMulti: added
FrameTypeNumericWide: added
FrameTypeTimeSeriesMulti: added
KindNumeric: added
KindTimeSeries: added
KindUnknown: added

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