This repository has been archived by the owner on Aug 11, 2021. It is now read-only.
Releases: ipld/js-ipld-raw
Releases · ipld/js-ipld-raw
v7.0.1
v7.0.0
v6.0.0
v5.0.0
Bug Fixes
- package: update cids to version 0.8.0 (94e1db9)
- issue #16 - Throw error on resolving non-root path (#43) (a5b53be)
BREAKING CHANGES
- non-root paths throw an error
Prior to this change a call to the resolver with a path like this:
resolver.resolve(blob, '/a/b/c/d')
would just return the blob
and an empty remainder path.
With this commit, it will throw an Error as there is no such path.
v4.0.1
v4.0.0
v3.0.0
Bug Fixes
- install step (25daf7a)
- package: update cids to version 0.6.0 (5f70e4e)
- package: update multihashing-async to version 0.6.0 (b2bb041)
Features
- new IPLD Format API (88dfb29)
BREAKING CHANGES
- The API is now async/await based
There are numerous changes, the most significant one is that the API
is no longer callback based, but it using async/await.
For the full new API please see the IPLD Formats spec.
v2.0.1
v2.0.0
Bug Fixes
- use binary blobs directly (6fc00cd)
BREAKING CHANGES
- Everyone calling the functions of
resolve
need to
pass in the binary data instead of an IPFS block.
So if your input is an IPFS block, the code changes from
resolver.resolve(block, path, (err, result) => {…}
to
resolver.resolve(block.data, path, (err, result) => {…}