Skip to content

v0.5.0

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Jun 18:47

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