Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

v0.35.0-rc.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@alanshaw alanshaw released this 06 Mar 12:50
· 4707 commits to master since this release

Bug Fixes

Code Refactoring

Features

  • add --enable-preload to enable/disable preloading for daemons (#1909) (9470900)
  • limit connections number (#1872) (bebce7f)

BREAKING CHANGES

  • ipfs.util.isIPFS and ipfs.util.crypto have moved to static exports and should be accessed via const { isIPFS, crypto } = require('ipfs').

The modules available under ipfs.types.* have also become static exports.

License: MIT
Signed-off-by: Alan Shaw [email protected]

  • ipfs.resolve now supports resolving to the middle of an IPLD block instead of erroring.

Given:

b = {"c": "some value"}
a = {"b": {"/": cidOf(b) }}

ipfs resolve /ipld/cidOf(a)/b/c should return /ipld/cidOf(b)/c. That is, it resolves the path as much as it can.

Previously it would simply fail with an error.

License: MIT
Signed-off-by: Alan Shaw [email protected]