Skip to content

Releases: ipfs/go-ipld-format

v0.6.0

28 Aug 04:18
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.5.0...v0.6.0

v0.5.0

07 Jun 18:47
Compare
Choose a tag to compare

What's Changed

  • feat: remove block decoding global registry #80

⚠️ Breaking Changes

This release removes the global block decoder registry. If you would like to create your own registry a Registry struct has been provided. See the Registry struct for more about how it's used, but it can be used as a replacement for the prior global registry. Additionally the Decode function is now just a simple helper function that wraps a particular codec's block decoder function.

The most commonly used codecs that were previously in the global registry were:

  • dag-pb (an implementation of the codec can be found here)
  • raw (an implementation of the codec can be found here)
  • dag-cbor (an implementation of the codec can be found here)

Note: if you'd like to use go-ipld-prime codecs in this registry you can do so using the wrappers in https://github.com/ipfs/go-ipld-legacy.

Full Changelog: v0.4.0...v0.5.0

v0.3.0

18 Mar 23:21
Compare
Choose a tag to compare

Improve ErrNotFound, which is now a struct that can carry the CID that is not found, so that not-found messages are more informative.

ErrNotFound can now be used with errors.Is() additionally, for better checking. This changes causes small breakage and dependent code needs to be updated.

v0.2.0

07 Apr 22:18
c582c36
Compare
Choose a tag to compare

Revert the ErrNotFound changes in the previous release. We plan on re-introducing these in the future once we're ready to merge it and all related breaking changes all at once.