This repository was archived by the owner on Sep 3, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ <a name =" 0.6.0 " ></a >
2+ # [ 0.6.0] ( https://github.com/multiformats/js-cid/compare/v0.5.8...v0.6.0 ) (2019-04-08)
3+
4+
5+ ### Features
6+
7+ * add flow typedefs ([ 1cf9740] ( https://github.com/multiformats/js-cid/commit/1cf9740 ) )
8+ * cache string represntation ([ 537f604] ( https://github.com/multiformats/js-cid/commit/537f604 ) )
9+ * preserve base when constructed from a string ([ 2e597b9] ( https://github.com/multiformats/js-cid/commit/2e597b9 ) )
10+
11+
12+ ### BREAKING CHANGES
13+
14+ * previously base was not preserved and all CIDs would
15+ be normalised to base58btc when asking for their string representation.
16+
17+ The default will change to base32 in https://github.com/multiformats/js-cid/pull/73/files
18+
19+ The idea behind this change is that we shouldnt lose information when
20+ the user passes us a base encoded string, but keep it and use it as
21+ the default base so toString returns the same string they provided.
22+
23+ I'd like this as a fix for ipld explorer, which currently forces all
24+ CIDs into base58btc, seee: https://github.com/ipfs-shipyard/ipfs-webui/issues/999
25+
26+ License: MIT
27+ Signed-off-by: Oli Evans
< [email protected] > 28+
29+
30+
131<a name =" 0.5.8 " ></a >
232## [ 0.5.8] ( https://github.com/multiformats/js-cid/compare/v0.5.7...v0.5.8 ) (2019-03-14)
333
You can’t perform that action at this time.
0 commit comments