js-libp2p icon indicating copy to clipboard operation
js-libp2p copied to clipboard

chore: release 0.38.0

Open github-actions[bot] opened this issue 2 years ago • 4 comments

:robot: I have created a release *beep* *boop*

0.38.0 (2022-08-12)

⚠ BREAKING CHANGES

  • Streams are now Duplex<Uint8ArrayList, Uint8ArrayList | Uint8Array>
  • connectionManager.peerValue has been removed, use peerStore.tagPeer instead
  • limit protocol streams per-connection (#1255)
  • uses new single-issue libp2p interface modules

Features

Bug Fixes

deps

  • update all deps to support no-copy operations (#1335) (f439d9b)

This PR was generated with Release Please. See documentation.

github-actions[bot] avatar Jun 15 '22 18:06 github-actions[bot]

@achingbrain, any chance we could get the release please? This contains few bug fixes I'd love to get :) https://github.com/ChainSafe/js-libp2p-gossipsub/issues/305 and https://github.com/libp2p/js-libp2p-mplex/issues/191

D4nte avatar Jul 22 '22 05:07 D4nte

@D4nte soon! I'm just treading carefully around some of the protocol stream limiting stuff as it will cause things to break if the limits are not set correctly.

Can you please try out the RC with npm i libp2p@next and report back any breakage?

achingbrain avatar Jul 22 '22 08:07 achingbrain

@D4nte soon! I'm just treading carefully around some of the protocol stream limiting stuff as it will cause things to break if the limits are not set correctly.

Can you please try out the RC with npm i libp2p@next and report back any breakage?

I have actually been using master locally and yes, I found an issue with protocol stream limits and libp2p-gossipsub. I haven't had the time to write up an issue or PR yet.

In short, the outbound limit is being reached and throwing an error when connecting to a new peer because gossipsub tries to open an outbound stream.

This is because an outbound stream already exists but gossipsub class isn't aware of it. I guess libp2p opens the stream upon dial.

I was going to write a fix in gossipsub to check existing stream on libp2p and register it before trying to open

Will provide more details soon.

D4nte avatar Jul 22 '22 08:07 D4nte

The issue I was referring to: https://github.com/ChainSafe/js-libp2p-gossipsub/issues/306

D4nte avatar Jul 22 '22 09:07 D4nte

:tada: congrats @achingbrain

wemeetagain avatar Aug 17 '22 19:08 wemeetagain

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/v0.38.0 :sunflower:

github-actions[bot] avatar Aug 17 '22 19:08 github-actions[bot]