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-ipld-prime from 0.20.0 to 0.21.0 in /v2 #470

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 14, 2023

Bumps github.com/ipld/go-ipld-prime from 0.20.0 to 0.21.0.

Release notes

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

v0.21.0

go-ipld-prime's release policy says that:

even numbers should be easy upgrades; odd numbers may change things

This release is an odd number, and it does change some minor things.

🛠 Breaking

  • Build: The minimum version of Go has been bumped from 1.18 to 1.19.
  • Dependencies: The go-cid dependency was upgraded from v0.3.2 to v0.4.1. This is a relatively minor change but the introduction of ErrInvalidCid wrapping may be breaking for some users.
  • Selectors: Remove hard error when a traversal encounters a slice matcher with a node that is not a string or bytes, by @​rvagg #529

🔦 Features

  • Traversal: Preloader functionality, by @​hannahhoward and @​rvagg #452
    • See the traversal package documentation for more information on how a Preloader can be used to introduce parallelism into a traversal. The Lassie project is currently using this functionality to speed up Bitswap block fetching; future releases of go-ipld-prime may include additional functionality being prototyped in Lassie to manage parallelism and caching.
  • Schemas: Support listpairs struct representation in DSL parsing, by @​rvagg #514
  • Schemas: Support inline union representation in DSL parsing, by @​rvagg #527
  • Bindnode: Support listpairs struct representation, by @​rvagg #514
  • Selectors: Support negative values for slice matcher's From and To, by @​rvagg #530
    • The slice matcher is currently being used to support byte-range fetching for the IPFS Trustless Gateway specification. Work is ongoing and can be seen in both the Lassie and Frisbii projects.
    • Please note that this feature is currently considered experimental and shoule be used with care and with the expectation that it may change in the near future. Expect a release or two before this feature is considered stable.

🩹 Fixes

  • Traversal: StartAtPath work properly for matching walks, by @​rvagg #500
  • Traversal: WalkTransforming() work properly, by @​EdSchouten #516
  • Basicnode: basic.NewInt() returns a pointer like other constructors, by @​hacdias #525
  • Selectors: Cache offsets for sequential reads in slice matcher, by @​rvagg #529

🌟 Thanks!

Thanks to @​hacdias and @​EdSchouten for their first contributions to go-ipld-prime!

Changelog

Sourced from github.com/ipld/go-ipld-prime's changelog.

v0.21.0

2023 August 10

go-ipld-prime's release policy says that:

even numbers should be easy upgrades; odd numbers may change things

This release is an odd number, and it does change some minor things.

🛠 Breaking

  • Build: The minimum version of Go has been bumped from 1.18 to 1.19.
  • Dependencies: The go-cid dependency was upgraded from v0.3.2 to v0.4.1. This is a relatively minor change but the introduction of ErrInvalidCid wrapping may be breaking for some users.
  • Selectors: Remove hard error when a traversal encounters a slice matcher with a node that is not a string or bytes, by @​rvagg #529

🔦 Features

  • Traversal: Preloader functionality, by @​hannahhoward and @​rvagg #452
    • See the traversal package documentation for more information on how a Preloader can be used to introduce parallelism into a traversal. The Lassie project is currently using this functionality to speed up Bitswap block fetching; future releases of go-ipld-prime may include additional functionality being prototyped in Lassie to manage parallelism and caching.
  • Schemas: Support listpairs struct representation in DSL parsing, by @​rvagg #514
  • Schemas: Support inline union representation in DSL parsing, by @​rvagg #527
  • Bindnode: Support listpairs struct representation, by @​rvagg #514
  • Selectors: Support negative values for slice matcher's From and To, by @​rvagg #530
    • The slice matcher is currently being used to support byte-range fetching for the IPFS Trustless Gateway specification. Work is ongoing and can be seen in both the Lassie and Frisbii projects.
    • Please note that this feature is currently considered experimental and shoule be used with care and with the expectation that it may change in the near future. Expect a release or two before this feature is considered stable.

🩹 Fixes

  • Traversal: StartAtPath work properly for matching walks, by @​rvagg #500
  • Traversal: WalkTransforming() work properly, by @​EdSchouten #516
  • Basicnode: basic.NewInt() returns a pointer like other constructors, by @​hacdias #525
  • Selectors: Cache offsets for sequential reads in slice matcher, by @​rvagg #529

🌟 Thanks!

Thanks to @​hacdias and @​EdSchouten for their first contributions to go-ipld-prime!

Commits
  • b6717c4 v0.21.0 release
  • a5beedf fix(selectors): document ranges in slice matcher
  • e4d81df fix(selectors): update ipld/ipld submodule with latest fixtures
  • 5f5c27d fix(selectors): more permissive with slice "from" underflow
  • aa452f0 chore: extract simpleBytes to testutil package
  • fa116f2 feat(selectors): negative values for slice matcher's From and To
  • 8bdaccf build(deps): bump github.com/frankban/quicktest from 1.14.5 to 1.14.6
  • 349deb2 chore: extract MultiByteNote to testutil package
  • 54aa838 feat(test): add matcher/slice selector test cases
  • 211944d feat: remove hard-error when slice matcher reaches non-string/bytes node
  • 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 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-ipld-prime](https://github.com/ipld/go-ipld-prime) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/ipld/go-ipld-prime/releases)
- [Changelog](https://github.com/ipld/go-ipld-prime/blob/master/CHANGELOG.md)
- [Commits](ipld/go-ipld-prime@v0.20.0...v0.21.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 14, 2023
@dependabot dependabot bot added the go Pull requests that update Go code label Aug 14, 2023
@rvagg rvagg merged commit 17aacec into master Aug 15, 2023
17 checks passed
@rvagg rvagg deleted the dependabot/go_modules/v2/github.com/ipld/go-ipld-prime-0.21.0 branch August 15, 2023 04:05
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