Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
643 lines (289 sloc) 19.1 KB

0.17.4 (2019-05-22)

Bug Fixes

  • actually use object keys (a411eeb)

0.17.3 (2019-05-20)

Bug Fixes

  • named links should return the CID (ee96d28)

0.17.2 (2019-05-20)

Bug Fixes

0.17.1 (2019-05-17)

Bug Fixes

  • allow adding links from DAGNode.Links (a5d300f)

0.17.0 (2019-05-10)

Bug Fixes

  • package: update cids to version 0.7.0 (2afca2c)

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.

0.16.0 (2019-05-08)

Bug Fixes

  • package: update multihashing-async to version 0.6.0 (63b7986)

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.

The properties of DAGNode and DAGLink are now in sync with the paths that are used for resolving. This means that e.g. name is now called Name and size is Tsize.

All return values from resolve() now conform to the IPLD Data Model, this means that e.g. links are no longer represented as {'/': "baseecodedcid"}, but as CID instances instead.

For the full new API please see the IPLD Formats spec.

0.15.3 (2019-03-13)

Bug Fixes

  • add a return to callback (eb73e70)
  • package: update is-ipfs to version 0.6.0 (0935e53)

0.15.2 (2018-12-17)

Performance Improvements

  • memoize the Name buffer in DAGLink to avoid unneeded allocations (83edf36)

0.15.1 (2018-12-11)

Performance Improvements

  • remove unneeded Buffer.from() call during deserialize (4632596)

0.15.0 (2018-11-09)

Performance Improvements

BREAKING CHANGES

  • These properties are removed from the DAGNode class.

  • .multihash is removed because they aren't multihashes any more

  • .cid is removed to bring dag-pb in line with other ipld types

  • .serialized is removed because storing data buffers and the serialized form uses too much memory - we can use the utils.serialize method to create the serialized form when we need it, which in this module is just during the tests

.multihash has also changed to .cid in the output of DAGLink.toJSON and DAGNode.toJSON because since CIDv1 they are not just multihashes any more; the multihash is contained within the CID.

0.14.11 (2018-10-26)

Features

0.14.10 (2018-09-24)

0.14.9 (2018-09-24)

Bug Fixes

  • resolve link Name or Tsize (981cb9f), closes #85

0.14.8 (2018-08-13)

Bug Fixes

0.14.7 (2018-08-13)

Bug Fixes

  • support cids in DagLink (4c701aa)

Performance Improvements

  • make this._json calculation lazy (d138c95)

0.14.6 (2018-07-20)

Bug Fixes

  • add support for resolving links by name (#78) (3f6f094)

0.14.5 (2018-06-29)

Bug Fixes

  • pass serialized blob to util.cid (#75) (2ae9542)
  • unlock and update stable dep (40a5e65)

Features

BREAKING CHANGES

0.14.4 (2018-04-25)

Bug Fixes

  • Initialise the DAGLink name to empty string if a falsey value is passed (575a03f)

0.14.3 (2018-04-16)

Bug Fixes

0.14.2 (2018-04-11)

0.14.1 (2018-04-10)

0.14.0 (2018-04-09)

Bug Fixes

  • replace constructor.name with instanceof (881d572)

Features

  • use class-is module for type checks (621c12c)

0.13.1 (2018-02-26)

Bug Fixes

  • return deserialized node if no path is given (bcba192)

0.13.0 (2018-02-12)

0.12.0 (2018-02-12)

Bug Fixes

  • Fix false positives in isLink and update test (#51) (73b21c7)
  • use binary blobs directly (50edc45)

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

0.11.4 (2017-12-02)

Features

  • If link hashes to serializer are base58 encoded, then decode them [Fi… (#43) (9f66bca), closes #28

0.11.3 (2017-11-07)

0.11.2 (2017-09-07)

Bug Fixes

  • package: update cids to version 0.5.0 (b1d4b0f)
  • switch to protobufjs (#39) (5130844)

Features

  • replace protocol-buffers with protons (#42) (603e11f)

0.11.1 (2017-09-05)

Bug Fixes

  • package: update cids to version 0.5.0 (b1d4b0f)
  • switch to protobufjs (#39) (5130844)

0.11.0 (2017-03-21)

Features

  • upgrade to new ipfs-block and blockservice (1dd4dd2)

0.10.1 (2017-03-16)

0.10.0 (2017-03-13)

Bug Fixes

  • deps: move bs58 to regular dependecies (e69c9bc)
  • remove starting slash (ad47ffa)

Features

  • change window to self for webworker support (a68d50e)
  • ww: Full support for webworkers (e073e08)
  • update isCID to isLink by spec (df759c8)

0.9.5 (2017-02-09)

Bug Fixes

  • package: update is-ipfs to version 0.3.0 (2620f9d)

0.9.4 (2017-01-29)

0.9.3 (2016-12-07)

Bug Fixes

  • detect when unvalid dagPB node (068b1e2)

0.9.2 (2016-12-01)

0.9.1 (2016-11-24)

Bug Fixes

  • ensure empty link names are preserved (ad11b7a)
  • fixtures loading in the browser (405dd01)
  • linting (d51245c)
  • sort links in creation (8519b3b)
  • use aegir fixtures instead (c492997)

0.9.0 (2016-11-24)

Bug Fixes

Features

  • refactor: new API proposal (b56d797)
  • add a same create pattern api for DAGLink (6a3531d)
  • IPLD Resolver updated, all tests passing (f53e0c8)
  • refactor, structure code, make DAGNode funcs inside the same folder, make tests pass again (ea904a7)
  • update DAGLink and DAGNode to have an immutable API (4bdb48b)

0.8.0 (2016-11-03)

0.3.0 (2016-11-03)

0.2.0 (2016-11-03)

0.1.3 (2016-10-27)

Bug Fixes

  • toJSON should return multihash as a b58String (3c34563)

0.1.2 (2016-10-26)

Bug Fixes

  • do not call callbacks inside try catch blocks (9cc237e)

0.1.1 (2016-10-26)

Bug Fixes

0.1.0 (2016-10-26)

Bug Fixes

  • dag-node: ensure links are always DAGLinks (219cf5d)
  • deps: add missing pull-stream dependency (5ef7176)
  • browser testing (dixie problem) (0c98929)
  • do not convert existing daglinks (0e4361f)

Features

  • generate cid (6165a91)
  • let utils be utils (82fc2fe)
  • migrate dag-node size, multihash and util serialize, deserialize and cid to async from sync (d2bf303)
  • migrate resolver to async API (2d3d220)
  • new util API, move serialize, deserialize and cid out (473a991)
  • resolver, tree + tests (23ba424)
  • s/copy/clone, simplify internal API (encoded stuff) and update tests to understand cid (bbb5ab9)
  • yield remainderPath if not possible to result through (680bf4e)

0.7.3 (2016-09-09)

0.7.2 (2016-09-09)

0.7.1 (2016-09-09)

Bug Fixes

  • deps: add missing pull-stream dependency (5ef7176)

0.7.0 (2016-09-08)

0.6.2 (2016-08-04)

0.6.1 (2016-08-04)

0.6.0 (2016-05-16)

Bug Fixes

  • dag-node: ensure links are always DAGLinks (219cf5d)
  • do not convert existing daglinks (0e4361f)

0.5.1 (2016-05-12)

0.5.0 (2016-05-02)

0.4.3 (2016-04-28)

0.4.2 (2016-04-26)

0.4.1 (2016-04-26)

0.4.0 (2016-04-13)

0.3.0 (2016-03-21)

0.2.1 (2016-02-03)

0.2.0 (2016-02-03)

0.1.1 (2016-01-31)

0.1.0 (2016-01-31)

0.0.2 (2016-01-19)

You can’t perform that action at this time.