This repository has been archived by the owner on Sep 3, 2021. It is now read-only.
Releases: multiformats/js-cid
Releases · multiformats/js-cid
v0.7.2
v0.7.1
v0.7.0
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
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