This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Releases: ipfs/js-ipfs
Releases · ipfs/js-ipfs
[email protected]
0.136.1 (2020-08-12)
Note: Version bump only for package interface-ipfs-core
[email protected]
0.48.2 (2020-08-06)
Note: Version bump only for package ipfs
[email protected]
[email protected]
0.48.0 (2020-07-16)
Bug Fixes
- do not list raw nodes in a dag as directories (#3155) (585a142)
- error when no command specified (#3145) (4309e10)
- peer ids are strings now (#3162) (281bfe6)
- still load dag-pb, dag-cbor and raw when specifying custom formats (#3132) (a96e3bc), closes #3129
- unhandledpromiserejection in electron tests (#3146) (4c0c67f)
- use post for preloading (#3149) (c9700f7)
Features
- add interface and http client versions to version output (#3125) (65f8b23), closes #2878
- add size-only flag to cli repo stat command (#3143) (b4d3bf8)
- enable DHT by Routing.Type config key (#3153) (dfe15d7)
- store blocks by multihash instead of CID (#3124) (03b17f5)
- turn on delegate nodes by default (#3148) (3fd2ca8)
- optional arguments go in the options object (#3118) (8cb8c73)
Breaking Changes
ipfs.add
only works on single items - a Uint8Array, a String, an AsyncIterable etcipfs.addAll
works on multiple itemsipfs.dag.resolve
returnsPromise<{ cid, remainderPath }
instead ofAsyncIterator<{ value, remainderPath }>
- Previously the core api returned an async iterator and the http client returned a simple promise
ipfs.bitswap.wantlist([peer], [options])
is split into:ipfs.bitswap.wantlist([options])
ipfs.bitswap.wantlistForPeer(peer, [options])
ipfs.bootstrap.add([addr], [options])
is split into:ipfs.bootstrap.add(addr, [options])
- add a bootstrap nodeipfs.bootstrap.reset()
- restore the default list of bootstrap nodes
ipfs.bootstrap.rm([addr], [options])
is split into:ipfs.bootstrap.rm(addr, [options])
- remove a bootstrap nodeipfs.bootstrap.clear([options])
- empty the bootstrap list
ipfs.dag.get(cid, [path], [options])
becomesipfs.dag.get(cid, [options])
path
is moved into theoptions
object
ipfs.dag.tree(cid, [path], [options])
becomesipfs.dag.tree(cid, [options])
path
is moved into theoptions
object
ipfs.dag.resolve(cid, [path], [options])
becomesipfs.dag.resolve(cid, [options])
path
is moved into theoptions
object
ipfs.files.flush([path], [options])
becomesipfs.files.flush(path, [options])
ipfs.files.ls([path], [options])
becomesipfs.files.ls(path, [options])
ipfs.object.new([template], [options])
becomesipfs.object.new([options])
template
is moved into theoptions
object
ipfs.pin.ls([paths], [options])
becomesipfs.pin.ls([options])
paths
is moved into theoptions
object
ipfs.refs.local
now returns a v1 CID with the raw codec for every block and not the original CID by which it was added to the blockstore
[email protected]
45.0.0 (2020-07-16)
Bug Fixes
- optional arguments go in the options object (#3118) (8cb8c73)
- still load dag-pb, dag-cbor and raw when specifying custom formats (#3132) (a96e3bc), closes #3129
Features
- add interface and http client versions to version output (#3125) (65f8b23), closes #2878
- store blocks by multihash instead of CID (#3124) (03b17f5)
Breaking Changes
ipfs.add
only works on single items - a Uint8Array, a String, an AsyncIterable etcipfs.addAll
works on multiple itemsipfs.dag.resolve
returnsPromise<{ cid, remainderPath }
instead ofAsyncIterator<{ value, remainderPath }>
- Previously the core api returned an async iterator and the http client returned a simple promise
ipfs.bitswap.wantlist([peer], [options])
is split into:ipfs.bitswap.wantlist([options])
ipfs.bitswap.wantlistForPeer(peer, [options])
ipfs.bootstrap.add([addr], [options])
is split into:ipfs.bootstrap.add(addr, [options])
- add a bootstrap nodeipfs.bootstrap.reset()
- restore the default list of bootstrap nodes
ipfs.bootstrap.rm([addr], [options])
is split into:ipfs.bootstrap.rm(addr, [options])
- remove a bootstrap nodeipfs.bootstrap.clear([options])
- empty the bootstrap list
ipfs.dag.get(cid, [path], [options])
becomesipfs.dag.get(cid, [options])
path
is moved into theoptions
object
ipfs.dag.tree(cid, [path], [options])
becomesipfs.dag.tree(cid, [options])
path
is moved into theoptions
object
ipfs.dag.resolve(cid, [path], [options])
becomesipfs.dag.resolve(cid, [options])
path
is moved into theoptions
object
ipfs.files.flush([path], [options])
becomesipfs.files.flush(path, [options])
ipfs.files.ls([path], [options])
becomesipfs.files.ls(path, [options])
ipfs.object.new([template], [options])
becomesipfs.object.new([options])
template
is moved into theoptions
object
ipfs.pin.ls([paths], [options])
becomesipfs.pin.ls([options])
paths
is moved into theoptions
object
ipfs.refs.local
now returns a v1 CID with the raw codec for every block and not the original CID by which it was added to the blockstore
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
0.2.4 (2020-06-24)
Note: Version bump only for package ipfs-core-utils