This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Update ipld-dag-pb to the latest version 🚀#2307
Closed
greenkeeper[bot] wants to merge 1 commit into
Closed
Conversation
Member
|
@vmx any chance you can help us migrate to this new version? |
Member
|
Sure. The work for UnixFS is already done, locally (I'm just waiting for a new js-ipld release to base those PRs on). I haven't looked into js-ipfs, yet. I'd do those once the UnixFS things are approved. |
Member
|
So the changes for UnixFS were straight forward. The problem is js-ipfs. You also would want to upgrade ipld. But this means you also need to upgrade:
Those upgrades also need an upgrade of those dependencies in libp2p. |
Member
|
The |
Contributor
Author
|
This file contains hidden or 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
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.
The dependency ipld-dag-pb was updated from
0.17.4to0.18.0.This version is not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
Publisher: vmx
License: MIT
Release Notes for v0.18.0
Bug Fixes
addLink()synchronous (7f1a00a), closes #128Features
Performance Improvements
BREAKING CHANGES
addLink()andrmLink()are now instance methods.Prior to this change:
Now:
DAGNodeintoaddLink().Intead of passing in a
DAGNodeintoaddLink(), convert that node intoa
DAGLinkviatoDAGLink().Example:
Prior to this change:
Now:
Instead of
DAGNode.create(), please usenew DAGNode()instead. Ittakes the same parameters and is compatible to
create().Example:
Prior to this change:
Now:
DAGNode.clone()is removed from public API without any replacement.Also the API for
rmLink()andaddLink()changed. They no longerreturn a new node, but just remove/add the links to/from the current
node.
Prior to this change:
Now:
Access to named links is only possible with calling
resolve().Hence they are also not part of
tree()anymore.Named links are a feature of IPFS and only supported for
backwards compatibility, they are not really part of IPLD.
Commits
The new version differs by 14 commits.
18be385chore: release version v0.18.0bcbd9c0chore: update contributors3b6e569chore: update dependencies37ffdd5perf: remove manual enumerability modificationsa9aa0a0feat: make addLink()/rmLink() instance methods7f1a00afix: makeaddLink()synchronous029174dfeat: remove DAGNode.create()d5e1135feat: remove cloning8630de5chore(package): update aegir to version 20.0.04dbe00dperf: remove named links from object5d43cecchore: update dependencies4dc77c0chore: remove .js extensions, explicit specifiers9201772chore: refactor internal circular dependencies8d8a4cfchore: remove dependency on asyncSee the full diff
FAQ and help
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot 🌴