Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.2 KB

v0.31-v0.32.md

File metadata and controls

36 lines (28 loc) · 1.2 KB

Migrating to libp2p@32

A migration guide for refactoring your application code from libp2p v0.31.x to v0.32.0.

Table of Contents

Module Updates

With this release you should update the following libp2p modules if you are relying on them:

"libp2p-bootstrap": "^0.13.0",
"libp2p-crypto": "^0.19.4",
"libp2p-interfaces": "^1.0.0",
"libp2p-delegated-content-routing": "^0.11.0",
"libp2p-delegated-peer-routing": "^0.10.0",
"libp2p-floodsub": "^0.27.0",
"libp2p-gossipsub": "^0.11.0",
"libp2p-kad-dht": "^0.23.0",
"libp2p-mdns": "^0.17.0",
"libp2p-noise": "^4.0.0",
"libp2p-tcp": "^0.17.0",
"libp2p-webrtc-direct": "^0.7.0",
"libp2p-webrtc-star": "^0.23.0",
"libp2p-websockets": "^0.16.0"

One of the main changes in this new release is the update to multiaddr@10.0.0. This should also be updated in upstream projects to avoid several multiaddr versions in the bundle and to avoid potential problems when libp2p interacts with provided outdated multiaddr instances.