This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
Update ipld-dag-pb to the latest version 🚀 #2307
Closed
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.4
to0.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:
DAGNode
intoaddLink()
.Intead of passing in a
DAGNode
intoaddLink()
, convert that node intoa
DAGLink
viatoDAGLink()
.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.
18be385
chore: release version v0.18.0
bcbd9c0
chore: update contributors
3b6e569
chore: update dependencies
37ffdd5
perf: remove manual enumerability modifications
a9aa0a0
feat: make addLink()/rmLink() instance methods
7f1a00a
fix: make
addLink()
synchronous029174d
feat: remove DAGNode.create()
d5e1135
feat: remove cloning
8630de5
chore(package): update aegir to version 20.0.0
4dbe00d
perf: remove named links from object
5d43cec
chore: update dependencies
4dc77c0
chore: remove .js extensions, explicit specifiers
9201772
chore: refactor internal circular dependencies
8d8a4cf
chore: remove dependency on async
See 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 🌴