Skip to main content
21.2k
jvm-libp2p-libp2p 1.2.1 Breaking Changes

Announcing the release of jvm-libp2p 1.2.1

Release 1.2.1 of jvm-libp2p

View on GitHub

This release improves reliability of message publishing over gossip, improves DONTWANT control message usage.

WARNING: This release introduces a breaking change in GossipParams by replacing floodPublish param with floodPublishMaxMessageSizeThreshold, which allow to configure flood publish behaviour based on the message size.

  • floodPublish = false can be configured as refloodPublishMaxMessageSizeThreshold = NEVER_FLOOD_PUBLISH (0)
  • floodPublish = true can be configured as refloodPublishMaxMessageSizeThreshold = ALWAYS_FLOOD_PUBLISH (Int.MAX_VALUE)

What's Changed

  • Don't throw NoPeersForOutboundMessageException if peers DONTWANT message by @StefanBratanov in #385
  • Send IDONTWANT prior to publish by @StefanBratanov in #386
  • [BREAKING] Replace floodPublish param with floodPublishMaxMessageSizeThreshold by @tbenr in #391
  • Logging and other small warnings removal by @tbenr in #392
  • Gossip: more reliable publishing by @Nashatyrev in #387

New Contributors

Full Changelog: 1.2.0...1.2.1