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

chore(deps): bump github.com/ipld/go-trustless-utils from 0.3.0 to 0.4.0 #5

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 9, 2023

Bumps github.com/ipld/go-trustless-utils from 0.3.0 to 0.4.0.

Release notes

Sourced from github.com/ipld/go-trustless-utils's releases.

v0.4.0

What's Changed

This is a breaking change as the signature of CheckFormat() has changed from func(*net/http.Request) (ContentType, error) to func(*net/http.Request) ([]ContentType, error); i.e. it now returns a slice of ContentType object. This slice is priority ordered and only contains compatible content types for Trustless Gateway requests but they may be either requests for a CAR or a Raw block. The content types come from either the Accept request header or the format parameter. It should be safe for a caller to select the first supportable format from the list; i.e. if a caller can support both CAR and Raw responses, choose the first element of the slice (where there is no error, the slice will always be of length >= 1).

ContentType now has IsCar() bool and IsRaw() bool.

Full Changelog: ipld/go-trustless-utils@v0.3.1...v0.4.0

v0.3.1

What's Changed

New Contributors

Full Changelog: ipld/go-trustless-utils@v0.3.0...v0.3.1

Commits
  • 27d979b v0.4.0 bump
  • 4ea9415 feat!: allow for application/vnd.ipld.raw accept and content-type
  • 4923cfb v0.3.1 bump
  • a9406e4 fix(correctedmemstore): pass CID to ErrNotFound
  • e92f567 chore(deps): bump github.com/ipfs/go-unixfsnode from 1.8.1 to 1.9.0
  • 9aa08db chore(deps): bump github.com/ipfs/go-unixfsnode from 1.8.0 to 1.8.1
  • See full diff 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [github.com/ipld/go-trustless-utils](https://github.com/ipld/go-trustless-utils) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/ipld/go-trustless-utils/releases)
- [Commits](ipld/go-trustless-utils@v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: github.com/ipld/go-trustless-utils
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 9, 2023
@rvagg rvagg merged commit 90dc7a9 into master Oct 10, 2023
9 checks passed
@rvagg rvagg deleted the dependabot/go_modules/github.com/ipld/go-trustless-utils-0.4.0 branch October 10, 2023 02:35
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.

1 participant