This repository was archived by the owner on Feb 12, 2024. It is now read-only.
·
820 commits
to master
since this release
0.2.0 (2020-03-31)
Bug Fixes
Code Refactoring
Features
- add libp2p factory config option with example (#1470) (46222e1), closes #1463
- gossipsub as default pubsub (#2298) (902e045)
- use libp2p auto dial (#1983) (7f1fb26)
BREAKING CHANGES
- 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
.