Skip to content

v0.179.0

Compare
Choose a tag to compare
@leandro-deveikis leandro-deveikis released this 03 Oct 13:50
· 274 commits to main since this release
dd41f8d

What's Changed

New Contributors

Full Changelog: v0.178.0...v0.179.0

Breaking Changes

data package types should be imported from github.com/apache/arrow/go/v13/*** because of the version (v13) update of the arrow package.

The FromArrowRecord and ArrowToJSON methods have a new signature. The type of the record parameter is arrow.Record

- func FromArrowRecord(record array.Record) (*Frame, error)
+ func FromArrowRecord(record arrow.Record) (*Frame, error)

- func ArrowToJSON(record array.Record, include FrameInclude) ([]byte, error)
+ func ArrowToJSON(record arrow.Record, include FrameInclude) ([]byte, error)

Old / New comparison

Old Type New Type
array.Column arrow.Column
array.Record arrow.Record
array.NewChunked array.NewChunked
array.Interface arrow.Array

Compatibility

# github.com/grafana/grafana-plugin-sdk-go/backend
## compatible changes
DataResponse.ErrorSource: added
ErrDataResponseWithSource: added
ErrorSource: added
ErrorSourceDownstream: added
ErrorSourcePlugin: added
FrameResponseWithErrorAndSource: added

# github.com/grafana/grafana-plugin-sdk-go/data
## incompatible changes
ArrowToJSON: changed from func(github.com/apache/arrow/go/arrow/array.Record, FrameInclude) ([]byte, error) to func(github.com/apache/arrow/go/v13/arrow.Record, FrameInclude) ([]byte, error)
FromArrowRecord: changed from func(github.com/apache/arrow/go/arrow/array.Record) (*Frame, error) to func(github.com/apache/arrow/go/v13/arrow.Record) (*Frame, error)

# github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2
## compatible changes
(*DataResponse).GetErrorSource: added
DataResponse.ErrorSource: added
Data_QueryData_FullMethodName: added
Diagnostics_CheckHealth_FullMethodName: added
Diagnostics_CollectMetrics_FullMethodName: added
Resource_CallResource_FullMethodName: added
Stream_PublishStream_FullMethodName: added
Stream_RunStream_FullMethodName: added
Stream_SubscribeStream_FullMethodName: added

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