mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-04-01 07:11:04 +00:00
15 lines
765 B
Markdown
15 lines
765 B
Markdown
|
<!--Specify versions for migration below-->
|
||
|
# Migrating to libp2p@33
|
||
|
|
||
|
A migration guide for refactoring your application code from libp2p v0.32.x to v0.33.0.
|
||
|
|
||
|
## Table of Contents
|
||
|
|
||
|
- [Module Updates](#module-updates)
|
||
|
|
||
|
## Module Updates
|
||
|
|
||
|
Libp2p uses a datastore implementation for Peerstore persistence and for the DHT state. While libp2p defaults to a datastore implementation, it can receive any implementation of a datastore compliant with the [interface-datastore](https://github.com/ipfs/js-ipfs-interfaces/tree/master/packages/interface-datastore) via its configuration.
|
||
|
|
||
|
In this release, we updated to `interface-datastore@6.0.0`. As a result, libp2p users relying on a configured datastore should update it to a compliant implementation for updating libp2p.
|