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

Latest commit

 

History

History
467 lines (195 loc) · 12.8 KB

CHANGELOG.md

File metadata and controls

467 lines (195 loc) · 12.8 KB

1.1.9 (2021-09-02)

1.1.8 (2021-08-24)

1.1.7 (2021-06-15)

Bug Fixes

  • add test for v1->v1 conversion (de28c1f)

1.1.6 (2021-03-02)

Bug Fixes

1.1.5 (2021-01-13)

Bug Fixes

1.1.4 (2020-12-12)

Bug Fixes

1.1.3 (2020-12-11)

Bug Fixes

  • use latest multicodec release (6cc387f)

1.1.2 (2020-12-11)

Bug Fixes

  • pin multicodec to version 2.0.4 (14e55a1)
  • turn isCID to a type guard (7413819)

1.1.1 (2020-12-11)

Bug Fixes

  • allow CIDs to be compared through deep equality (127745e), closes #131

1.1.0 (2020-12-11)

Features

  • add ts types with aegir (0e11f03)

1.0.2 (2020-10-14)

Bug Fixes

1.0.1 (2020-09-25)

Bug Fixes

1.0.0 (2020-08-04)

Bug Fixes

  • replace node buffers with uint8arrays (#117) (a7ae250)

Features

BREAKING CHANGES

    • node Buffers have been replaced with Uint8Arrays
  • the .buffer property has been renamed to .bytes and is now a Uint8Array
  • the .prefix property is now a Uint8Array

0.8.3 (2020-06-19)

Bug Fixes

  • fix support for identity multihash (#93) (51105b6)

0.8.2 (2020-06-15)

Features

0.8.1 (2020-05-22)

Features

  • support type predicates (f7ede61)

0.8.0 (2020-03-24)

Chores

BREAKING CHANGES

  • base1 support was removed

0.7.5 (2020-03-24)

Features

  • add nodejs.util.inspect.custom (fe953c1)

0.7.4 (2020-03-16)

Bug Fixes

0.7.3 (2020-01-24)

Bug Fixes

  • address review requests + ordering (29e2def)
  • update toString to include optional base (5aff196)

Features

  • more correct type defs + docs (4eb0c60)

0.7.2 (2020-01-14)

Bug Fixes

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

Features

0.7.1 (2019-05-14)

Bug Fixes

  • create new CID from old CID (c888183)

0.7.0 (2019-05-09)

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

0.6.0 (2019-04-08)

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

0.5.8 (2019-03-14)

Performance Improvements

  • cache buffer form of CID when created (c7fc646)

0.5.7 (2018-12-06)

Bug Fixes

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

0.5.6 (2018-11-22)

Bug Fixes

  • 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)

Bug Fixes

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

0.5.4 (2018-09-24)

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

0.5.3 (2018-03-12)

Bug Fixes

0.5.2 (2017-10-06)

0.5.1 (2017-07-10)

0.5.0 (2017-03-30)

Bug Fixes

0.4.2 (2017-03-16)

Bug Fixes

  • package: update multihashes to version 0.4.0 (1d0c3c8)

0.4.1 (2017-02-09)

0.4.0 (2017-01-25)

Bug Fixes

  • 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)

Features

0.3.4 (2016-12-08)

0.3.3 (2016-12-07)

0.3.2 (2016-12-07)

0.3.1 (2016-12-07)

Bug Fixes

0.3.0 (2016-12-05)

Features

  • deps: update to multihashes@0.3.0 (a0e331d)

0.2.0 (2016-10-24)

Features

  • cidV0 and cidV1 support (211970b)

0.1.1 (2016-09-09)