This repository was archived by the owner on Feb 12, 2024. It is now read-only.
·
820 commits
to master
since this release
0.1.0 (2020-03-31)
Bug Fixes
chore
Code Refactoring
Features
- (BREAKING CHANGE) new libp2p configuration (#1401) (9c60909)
- Circuit Relay (#1063) (f7eaa43)
- gossipsub as default pubsub (#2298) (902e045)
- mfs implementation (#1360) (871d24e), closes #1425
BREAKING CHANGES
- When the path passed to
ipfs.files.stat(path)
was a hamt sharded dir, the resovled
value returned by js-ipfs previously had atype
property of with a value of
'hamt-sharded-directory'
. To bring it in line with go-ipfs this value is now
'directory'
. - Where
PeerID
s were previously CIDs, now they are Strings
ipfs.bitswap.stat().peers[n]
is now a String (was a CID)ipfs.dht.findPeer().id
is now a String (was a CID)ipfs.dht.findProvs()[n].id
is now a String (was a CID)ipfs.dht.provide()[n].id
is now a String (was a CID)ipfs.dht.put()[n].id
is now a String (was a CID)ipfs.dht.query()[n].id
is now a String (was a CID)ipfs.id().id
is now a String (was a CID)ipfs.id().addresses[n]
are now Multiaddrs (were Strings)
-
The default pubsub implementation has changed from floodsub to gossipsub. Additionally, to enable pubsub programmatically set
pubsub.enabled: true
instead ofEXPERIMENTAL.pubsub: true
or via the CLI pass--enable-pubsub
instead of--enable-pubsub-experiment
tojsipfs daemon
. -
libp2p configuration has changed
- old:
libp2p.modules.discovery
- new:
libp2p.modules.peerDiscovery
- old:
License: MIT
Signed-off-by: David Dias [email protected]
License: MIT
Signed-off-by: Alan Shaw [email protected]