Skip to content

Commit

Permalink
chore: add modules to update in 0.28.x migration (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos authored Jul 8, 2020
1 parent 51da887 commit 08a4fad
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions doc/migrations/v0.27-v.28.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ A migration guide for refactoring your application code from libp2p v0.27.x to v
- [API Implications](#api-implications)
- [Connection Manager and Registrar](#connection-manager-and-registrar)
- [Events](#events)
- [Module Updates](#module-updates)

## PeerStore API

Expand Down Expand Up @@ -321,6 +322,21 @@ libp2p.on('peer:discovery', (peerId) => {
})
```

## Module Updates

With `libp2p@0.28` you should update the following libp2p modules if you are relying on them:

```json
"libp2p-bootstrap": "^0.11.0",
"libp2p-delegated-content-routing": "^0.5.0",
"libp2p-delegated-peer-routing": "^0.5.0",
"libp2p-floodsub": "^0.21.0",
"libp2p-gossipsub": "^0.4.0",
"libp2p-kad-dht": "^0.19.1",
"libp2p-mdns": "^0.14.1",
"libp2p-webrtc-star": "^0.18.0"
```

[connection]: https://github.com/libp2p/js-interfaces/tree/master/src/connection
[multiaddr]: https://github.com/multiformats/js-multiaddr
[peer-id]: https://github.com/libp2p/js-peer-id
Expand Down

0 comments on commit 08a4fad

Please sign in to comment.