js-libp2p/doc/migrations/v0.32-v0.33.md
2021-09-24 11:33:59 +02:00

765 B

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

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 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.