v0.171.0
stephaniehingtgen
released this
17 Jul 20:09
·
290 commits
to main
since this release
What's Changed
- Secure socks proxy: Allow for datasource proxy options to be retrieved from one function by @stephaniehingtgen in #717
- Secure socks proxy: Allow the proxy configuration env variables to be overriden by @stephaniehingtgen in #716
Full Changelog: v0.170.0...v0.171.0
Compatibility
# github.com/grafana/grafana-plugin-sdk-go/backend
## incompatible changes
HTTPSettings.SecureSocksProxyEnabled: removed
HTTPSettings.SecureSocksProxyPass: removed
HTTPSettings.SecureSocksProxyUsername: removed
## compatible changes
(*DataSourceInstanceSettings).ProxyOptions: added
# github.com/grafana/grafana-plugin-sdk-go/backend/proxy
## incompatible changes
ConfigureSecureSocksHTTPProxy: removed
NewSecureSocksProxyContextDialer: removed
SecureSocksProxyEnabled: removed
## compatible changes
Cli: added
Client: added
ClientCfg: added
New: added
NewWithCfg: added
# summary
v0.171.0 is a valid semantic version for this release.
Notes
- In the socks proxy, you can now override the socks proxy configuration by instantiating the proxy client with
proxy.NewWithCfg()
. To continue to use the default settings that Grafana sets through environment variables, use the default CI,proxy.Cli
- To retrieve the datasource configuration to pass in to the socks proxy, now just call
ProxyOptions()
on the datasource settings.