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

Releases: multiformats/js-cid

v0.7.2

14 Jan 13:08
@vmx vmx
Compare
Choose a tag to compare

Bug Fixes

  • codecs -> record of codec: buffer (4cf17bb)
  • explicitly require .json ext of base-table (a9898ff), closes #96

Features

v0.7.1

14 May 07:41
@vmx vmx
Compare
Choose a tag to compare

Bug Fixes

  • create new CID from old CID (c888183)

v0.7.0

09 May 13:35
@vmx vmx
Compare
Choose a tag to compare

Bug Fixes

  • broken link to contributing document (c29d12e)
  • update typedefs to reflect API changes (63cd5f3), closes #77

Code Refactoring

  • default to base32 encoding for v1 CIDs (2f854c7)

BREAKING CHANGES

  • The default string encoding for v1 CIDs has changed from base58btc to base32.

License: MIT
Signed-off-by: Alan Shaw alan.shaw@protocol.ai

v0.6.0

08 Apr 13:27
@vmx vmx
Compare
Choose a tag to compare

Features

  • add flow typedefs (1cf9740)
  • cache string represntation (537f604)
  • preserve base when constructed from a string (2e597b9)

BREAKING CHANGES

  • previously base was not preserved and all CIDs would
    be normalised to base58btc when asking for their string representation.

The default will change to base32 in https://github.com/multiformats/js-cid/pull/73/files

The idea behind this change is that we shouldnt lose information when
the user passes us a base encoded string, but keep it and use it as
the default base so toString returns the same string they provided.

I'd like this as a fix for ipld explorer, which currently forces all
CIDs into base58btc, seee: ipfs/ipfs-webui#999

License: MIT
Signed-off-by: Oli Evans oli@tableflip.io

v0.5.8

14 Mar 22:39
@vmx vmx
Compare
Choose a tag to compare

Performance Improvements

  • cache buffer form of CID when created (c7fc646)

v0.5.7

06 Dec 23:06
@vmx vmx
Compare
Choose a tag to compare

Bug Fixes

  • stricter validation for CID v1 to v0 conversion (0bd7318)

v0.5.6

22 Nov 15:54
@vmx vmx
Compare
Choose a tag to compare

Bug Fixes

  • add class name (b9fc845)
  • generated docs, re-add isCID (5b826fc)
  • package: update multibase to version 0.6.0 (e4e6508)

v0.5.5

25 Sep 13:28
@vmx vmx
Compare
Choose a tag to compare

Bug Fixes

  • toV0 and toV1 create instances that cause isCID be false (14ab8e4)

v0.5.4

24 Sep 15:04
@vmx vmx
Compare
Choose a tag to compare

Bug Fixes

  • linter errors (9f9359d)
  • migrate to class-is for instance comparise, fixes #53 (6b6873b)
  • remove direct access to codec lookup table (4027108)
  • use org/repo convention (5805660)

Features

v0.5.3

12 Mar 09:12
Compare
Choose a tag to compare

Bug Fixes