Releases: grafana/grafana-plugin-sdk-go
Releases · grafana/grafana-plugin-sdk-go
v0.153.0
What's Changed
- Fix gtime_test by @andresmgot in #637
- fixes FieldTypeFor for nullable float values by @yesoreyeram in #635
Full Changelog: v0.152.0...v0.153.0
v0.152.0
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
What's Changed
- moved sdata experimental package by @yesoreyeram in #631
- Data: Update FieldTypeFor to support nullable fields by @kylebrandt in #633
- Data: (Breaking) Change Enum field type to contain EnumItem by @kylebrandt in #632
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
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
This is a patch for a bug in the sql util 0.149.0
SQL util - allow using the database scan type for converters
Allow using the database scan type for converters, rather than always overriding it.
No breaking changes.
v0.148.0
What's Changed
- Chore: Remove use of spew by @marefr in #590
- Chore: Fix logging message by @papagian in #591
- Add Query type to sqlutil by @iwysiu in #588
- Fields: Add new enum field type by @ryantxu in #581
- Add macro interpolation helper by @iwysiu in #594
- Support for backend macros by @yesoreyeram in #599
- Adding observability metrics / data plane team as codeowners for
data
folder by @tolzhabayev in #600 - Data: change Field.Len() to be more like len() by @kylebrandt in #605
- Dataframe: Add TypeVersion property to FrameMeta by @kylebrandt in #597
New Contributors
- @iwysiu made their first contribution in #588
- @tolzhabayev made their first contribution in #600
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
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
What's Changed
- Chore: Upgrade to golang 1.19 by @ryantxu in #585
- Arrow: Add tstype to arrow metadata by @ryantxu in #580
- Adding
With
in logger to keep logging key/value pairs by @ferruvich in #578
New Contributors
- @ferruvich made their first contribution in #578
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
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.