Releases: ipld/js-ipld-dag-pb
v0.15.3
v0.15.2
v0.15.1
v0.15.0
Performance Improvements
-
fixes #97 by not sorting DAGNode links unnecessarily (e5d5d34)
-
BREAKING CHANGE: Remove .cid, .multihash and .serialized properties (#99) (39cfef1), closes #99 /github.com/ipld/js-ipld/issues/173#issuecomment-434408680
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.