Skip to content

v0.182.0

Compare
Choose a tag to compare
@wbrowne wbrowne released this 13 Oct 09:10
· 274 commits to main since this release
f70736b

What's Changed

  • PDC: Configure proxy with info from request by @wbrowne in #754

Full Changelog: v0.181.0...v0.182.0

Breaking changes

Both DataSourceInstanceSettings.HTTPClientOptions and AppInstanceSettings.HTTPClientOptions now expect an argument of context.Context.

Compatibility

gorelease -base=v0.181.0 -version=v0.182.0
# github.com/grafana/grafana-plugin-sdk-go/backend
## incompatible changes
(*AppInstanceSettings).HTTPClientOptions: changed from func() (github.com/grafana/grafana-plugin-sdk-go/backend/httpclient.Options, error) to func(context.Context) (github.com/grafana/grafana-plugin-sdk-go/backend/httpclient.Options, error)
(*DataSourceInstanceSettings).HTTPClientOptions: changed from func() (github.com/grafana/grafana-plugin-sdk-go/backend/httpclient.Options, error) to func(context.Context) (github.com/grafana/grafana-plugin-sdk-go/backend/httpclient.Options, error)
(*DataSourceInstanceSettings).ProxyOptions: changed from func() (*github.com/grafana/grafana-plugin-sdk-go/backend/proxy.Options, error) to func(*github.com/grafana/grafana-plugin-sdk-go/backend/proxy.ClientCfg) (*github.com/grafana/grafana-plugin-sdk-go/backend/proxy.Options, error)
(*GrafanaCfg).Proxy: removed
Proxy.ClientConfig: removed
## compatible changes
WithGrafanaConfig: added

# github.com/grafana/grafana-plugin-sdk-go/backend/proxy
## incompatible changes
Cli: removed
Client.ConfigureSecureSocksHTTPProxy: changed from func(*net/http.Transport, *Options) error to func(*net/http.Transport) error
Client.NewSecureSocksProxyContextDialer: changed from func(*Options) (golang.org/x/net/proxy.Dialer, error) to func() (golang.org/x/net/proxy.Dialer, error)
Client.SecureSocksProxyEnabled: changed from func(*Options) bool to func() bool
ClientCfg.Enabled: removed
New: changed from func() Client to func(*Options) Client
NewWithCfg: removed
## compatible changes
Options.ClientCfg: added

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