1.1.9 (2021-09-02)
1.1.8 (2021-08-24)
1.1.7 (2021-06-15)
- add test for v1->v1 conversion (de28c1f)
1.1.6 (2021-03-02)
1.1.5 (2021-01-13)
- fix types and remove typesVersions (#139) (83f3848), closes /github.com/libp2p/js-libp2p/issues/839#issuecomment-756407072
- types to align with multicodec api (4a5904b)
1.1.4 (2020-12-12)
1.1.3 (2020-12-11)
- use latest multicodec release (6cc387f)
1.1.2 (2020-12-11)
1.1.1 (2020-12-11)
1.1.0 (2020-12-11)
- add ts types with aegir (0e11f03)
1.0.2 (2020-10-14)
- improve CID typings (4948267)
1.0.1 (2020-09-25)
1.0.0 (2020-08-04)
- expose codec code and allow construction by code (59469b6), closes /github.com/multiformats/js-cid/pull/117#issuecomment-668131658
-
- node
Buffer
s have been replaced withUint8Array
s
- node
- the
.buffer
property has been renamed to.bytes
and is now aUint8Array
- the
.prefix
property is now aUint8Array
0.8.3 (2020-06-19)
0.8.2 (2020-06-15)
- support Base36 (ea5a7f2)
0.8.1 (2020-05-22)
- support type predicates (f7ede61)
0.8.0 (2020-03-24)
- update deps (ff2c247)
- base1 support was removed
0.7.5 (2020-03-24)
- add nodejs.util.inspect.custom (fe953c1)
0.7.4 (2020-03-16)
- add buffer (65681ef)
0.7.3 (2020-01-24)
- more correct type defs + docs (4eb0c60)
0.7.2 (2020-01-14)
- codecs -> record of codec: buffer (4cf17bb)
- explicitly require .json ext of base-table (a9898ff), closes #96
0.7.1 (2019-05-14)
- create new CID from old CID (c888183)
0.7.0 (2019-05-09)
- broken link to contributing document (c29d12e)
- update typedefs to reflect API changes (63cd5f3), closes #77
- default to base32 encoding for v1 CIDs (2f854c7)
- The default string encoding for v1 CIDs has changed from base58btc to base32.
License: MIT Signed-off-by: Alan Shaw [email protected]
0.6.0 (2019-04-08)
- add flow typedefs (1cf9740)
- cache string represntation (537f604)
- preserve base when constructed from a string (2e597b9)
- 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 [email protected]
0.5.8 (2019-03-14)
- cache buffer form of CID when created (c7fc646)
0.5.7 (2018-12-06)
- stricter validation for CID v1 to v0 conversion (0bd7318)
0.5.6 (2018-11-22)
- add class name (b9fc845)
- generated docs, re-add isCID (5b826fc)
- package: update multibase to version 0.6.0 (e4e6508)
0.5.5 (2018-09-25)
- toV0 and toV1 create instances that cause isCID be false (14ab8e4)
0.5.4 (2018-09-24)
- 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)
- add toString function (f47e68c)
0.5.3 (2018-03-12)
0.5.2 (2017-10-06)
0.5.1 (2017-07-10)
0.5.0 (2017-03-30)
0.4.2 (2017-03-16)
- package: update multihashes to version 0.4.0 (1d0c3c8)
0.4.1 (2017-02-09)
0.4.0 (2017-01-25)
- make toV0 and toV1 return CID objects (32902e3)
- throw an error if another base is picked for cidv0 (24f2c0b)
0.3.6 (2017-01-21)
0.3.5 (2016-12-16)
- add prefix feature (7dae38e)
0.3.4 (2016-12-08)
0.3.3 (2016-12-07)
0.3.2 (2016-12-07)
0.3.1 (2016-12-07)
- dependencies (54f29f9)
0.3.0 (2016-12-05)
0.2.0 (2016-10-24)
- cidV0 and cidV1 support (211970b)