Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Latest commit

 

History

History
171 lines (75 loc) · 4.5 KB

CHANGELOG.md

File metadata and controls

171 lines (75 loc) · 4.5 KB

7.0.1 (2021-08-11)

7.0.0 (2021-03-11)

6.0.0 (2020-08-04)

Bug Fixes

  • replace node buffers with uint8arrays (#49) (0bb211a)

BREAKING CHANGES

    • util.serialize now returns a Uint8Array

5.0.0 (2020-05-06)

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.

4.0.1 (2020-01-13)

Bug Fixes

  • package: update multicodec to version 1.0.0 (fdbeed6)
  • package: update multihashing-async to version 0.8.0 (60c06c1)

4.0.0 (2019-05-10)

Bug Fixes

  • package: update cids to version 0.7.0 (0feb2fa)

BREAKING CHANGES

  • 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)

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

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.

2.0.1 (2018-06-29)

Bug Fixes

  • resolver.tree allow options to be ommitted (2903bf7), closes #4

Features

2.0.0 (2018-02-12)

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) => {…}

1.0.7 (2017-11-07)

1.0.5 (2017-10-06)

1.0.4 (2017-10-06)

1.0.3 (2017-10-06)

1.0.2 (2017-10-06)