Releases: ipfs/go-ipld-format
v0.6.0
What's Changed
- Bump golang.org/x/crypto from 0.0.0-20190211182817-74369b46fc67 to 0.1.0 by @dependabot in #77
- ci: uci/delete-templates by @web3-bot in #82
- ci: uci/copy-templates by @web3-bot in #83
- ci: uci/update-go by @web3-bot in #85
New Contributors
- @dependabot made their first contribution in #77
Full Changelog: v0.5.0...v0.6.0
v0.5.0
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
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.