PSA: Go Libp2p 0.0.27 (and 0.0.26) Upgrade Notes

We’ve released go-libp2p 0.0.27. This time, there are a few upgrade notes you should be aware of.

First up, please skip 0.0.26. It shouldn’t break anything but you may end up importing old versions of our stream multiplexers.

Second, be aware that we’ve moved several repositories in 0.0.27:

  • github.com/whyrusleeping/go-smux-yamux -> github.com/libp2p/go-libp2p-yamux
  • github.com/whyrusleeping/go-smux-multiplex -> github.com/libp2p/go-libp2p-mplex
  • github.com/whyrusleeping/go-smux-multistream -> github.com/libp2p/go-stream-muxer-multistream
  • github.com/whyrusleeping/yamux -> github.com/libp2p/go-yamux

If you’re directly importing any of these packages, make sure to update those imports.

Finally, we added a Close function to the connection manager interface in 0.0.26. If you use the connection manager, make sure to upgrade github.com/libp2p/go-libp2p-connmgr to v0.0.5 at the same time.

1 Like

Heads up that we had forgotten to bubble some libraries with the renaming so the new actual release that you should upgrade to is 0.0.30.