6.0.1 (2021-08-11)
6.0.0 (2021-04-09)
5.0.1 (2020-08-05)
- add missing buffer require (#70) (c84898b), closes /github.com/ipld/js-ipld-ethereum/pull/69/files#r465473783
5.0.0 (2020-08-04)
-
util.serialize
returns aUint8Array
util.cid
returnsCID
s with a breaking API change - see multiformats/js-cid#117 for changes
4.0.2 (2020-07-23)
- package: update cids to version 0.8.0 (cb9538b)
4.0.1 (2020-01-13)
- package: update multicodec to version 1.0.0 (640126a)
- package: update multihashing-async to version 0.8.0 (dc96913)
4.0.0 (2019-05-10)
- package: update cids to version 0.7.0 (962737a)
- package: Returned v1 CIDs now default to base32 encoding
Previous versions returned a base58 encoded string when toString()
/
toBaseEncodedString()
was called on a CIDv1. It now returns a base32
encoded string.
3.0.0 (2019-05-08)
- package: update cids to version 0.6.0 (c38363a)
- package: update multihashing-async to version 0.6.0 (4eaa791)
- new IPLD Format API (dc19aa7)
- 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.
If you want to access the original JavaScript Ethereum object, it is
now stored in a property called _ethObj
. So if you e.g. called
deserialized.hash()
, you now have to call
deserialized._ethObj.hash()
.
For the full new API please see the IPLD Formats spec.
2.0.3 (2019-01-18)
2.0.2 (2018-11-07)
- sorting function needs to return an integer (662d8ec)
- package: update ipfs-block to version 0.8.0 (7013beb)
2.0.1 (2018-07-13)
- add defaultHashAlg (e767312)
- add util.cid options (#17) (f416b43), closes ipld/interface-ipld-format#40
2.0.0 (2018-02-12)
- use binary blobs directly (e69f539)
- 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) => {…}
1.4.4 (2017-11-07)
1.4.2 (2017-08-25)
- update module: name, ci, packages (bbaf528)