Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/grafana/grafana-plugin-sdk-go from 0.156.0 to 0.161.0 #370

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 5, 2023

Bumps github.com/grafana/grafana-plugin-sdk-go from 0.156.0 to 0.161.0.

Release notes

Sourced from github.com/grafana/grafana-plugin-sdk-go's releases.

v0.161.0

What's Changed

Full Changelog: grafana/grafana-plugin-sdk-go@v0.160.0...v0.161.0

Breaking change

v0.150.0 introduced Forward HTTP headers by default. This release removes the automatic forwarding of HTTP headers since it caused problems for several plugins. This is a possible breaking change given that this was introduced rather recently.

In case your plugin is dependent on the automatic forwarding of HTTP headers you would need to set the httpclient.Options.ForwardHTTPHeaders to true, like as can be seen in the example below:

func NewDatasource(settings backend.DataSourceInstanceSettings) (instancemgmt.Instance, error) {
	opts, err := settings.HTTPClientOptions()
	if err != nil {
		return nil, fmt.Errorf("http client options: %w", err)
	}
	opts.ForwardHTTPHeaders = true
	cl, err := httpclient.New(opts)
	...
}

Expect the datasource-http-backend example and Add authentication for data source plugins documentation to be updated soon.

Compatibility

gorelease -base v0.160.0 -version v0.161.0
# github.com/grafana/grafana-plugin-sdk-go/backend/httpclient
## compatible changes
Options.ForwardHTTPHeaders: added

summary

v0.161.0 is a valid semantic version for this release.

v0.160.0

What's Changed

New Contributors

Full Changelog: grafana/grafana-plugin-sdk-go@v0.159.0...v0.160.0

... (truncated)

Commits
  • 3e2ff58 httpclient: Don't forward HTTP headers by default (#679)
  • 691f934 better comment for field.config.DisplayNameFromDS (#678)
  • 8aec1e0 Chore: Move dataplane contract docs to grafana/dataplane (#677)
  • 7ae1975 Bump dependencies (#672)
  • 0c55ef8 Data: (Docs) Update code examples to be dataplane compliant (#670)
  • 990631e Logs contract: simpler time-field (#658)
  • 7b5e7ca test: use t.Setenv and t.TempDir (#668)
  • 9e36be7 Add secure socks proxy to sdk (#667)
  • 603cb95 Data: Encode Nanoseconds into JSON (#647)
  • e675b59 Tracing: Add more details to HTTP Outgoing Request (#664)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from a team as a code owner May 5, 2023 14:03
@dependabot dependabot bot requested review from bossinc and aangelisc May 5, 2023 14:03
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels May 5, 2023
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/grafana/grafana-plugin-sdk-go-0.161.0 branch from e362d9b to a2c624e Compare May 8, 2023 14:46
Bumps [github.com/grafana/grafana-plugin-sdk-go](https://github.com/grafana/grafana-plugin-sdk-go) from 0.156.0 to 0.161.0.
- [Release notes](https://github.com/grafana/grafana-plugin-sdk-go/releases)
- [Commits](grafana/grafana-plugin-sdk-go@v0.156.0...v0.161.0)

---
updated-dependencies:
- dependency-name: github.com/grafana/grafana-plugin-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/grafana/grafana-plugin-sdk-go-0.161.0 branch from a2c624e to 5e66e47 Compare May 10, 2023 18:24
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 23, 2023

Superseded by #395.

@dependabot dependabot bot closed this May 23, 2023
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/grafana/grafana-plugin-sdk-go-0.161.0 branch May 23, 2023 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants