This repository has been archived by the owner on Mar 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 299
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 tasks
BREAKING CHANGE: v1 CIDs are now eencoded in base32 when stringified. Additionally IPLD formats have been updated to the latest versions. See CHANGELOGs for ipld-dag-pb and ipld-dag-cbor for more details: * https://github.com/ipld/js-ipld-dag-pb/blob/master/CHANGELOG.md#0160-2019-05-08 * https://github.com/ipld/js-ipld-dag-cbor/blob/master/CHANGELOG.md#0140-2019-05-08 License: MIT Signed-off-by: Alan Shaw <[email protected]>
Updates property names to the various ways we refer to links and data in DAGNode/DAGLinks
License: MIT Signed-off-by: Alan Shaw <[email protected]>
alanshaw
force-pushed
the
update-ipld-formats
branch
from
May 20, 2019 08:32
5349b13
to
993740b
Compare
License: MIT Signed-off-by: Alan Shaw <[email protected]>
License: MIT Signed-off-by: Alan Shaw <[email protected]>
License: MIT Signed-off-by: Alan Shaw <[email protected]>
alanshaw
approved these changes
May 21, 2019
alanshaw
pushed a commit
to ipfs/js-ipfs
that referenced
this pull request
May 21, 2019
…2068) This is part of the Awesome Endeavour: Async Iterators: #1670 Depends on * [x] ipld/js-ipld-dag-pb#137 * [x] ipfs-inactive/interface-js-ipfs-core#473 * [x] ipfs-inactive/js-ipfs-http-client#1010 * [x] ipfs/js-ipfs-http-response#25 resolves #1995 BREAKING CHANGE: The default string encoding for version 1 CIDs has changed to `base32`. IPLD formats have been updated to the latest versions. IPLD nodes returned by `ipfs.dag` and `ipfs.object` commands have significant breaking changes. If you are using these commands in your application you are likely to encounter the following changes to `dag-pb` nodes (the default node type that IPFS creates): * `DAGNode` properties have been renamed as follows: * `data` => `Data` * `links` => `Links` * `size` => `size` (Note: no change) * `DAGLink` properties have been renamed as follows: * `cid` => `Hash` * `name` => `Name` * `size` => `Tsize` See CHANGELOGs for each IPLD format for it's respective changes, you can read more about the [`dag-pb` changes in the CHANGELOG](https://github.com/ipld/js-ipld-dag-pb/blob/master) License: MIT Signed-off-by: Alan Shaw <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updates property names to the various ways we refer to links and data in DAGNode/DAGLinks
BREAKING CHANGE: The default string encoding for version 1 CIDs has changed to
base32
.IPLD formats have been updated to the latest versions. IPLD nodes returned by
ipfs.dag
andipfs.object
commands have significant breaking changes. If you are using these commands in your application you are likely to encounter the following changes todag-pb
nodes (the default node type that IPFS creates):DAGNode
properties have been renamed as follows:data
=>Data
links
=>Links
size
=>size
(Note: no change)DAGLink
properties have been renamed as follows:cid
=>Hash
name
=>Name
size
=>Tsize
See CHANGELOGs for each IPLD format for it's respective changes, you can read more about the
dag-pb
changes in the CHANGELOG