- Add ConnectionError to FromSwarm::ConnectionClosed. See PR 5485.
- Use
web-time
instead ofinstant
. See PR 5347.
- Deprecate
Rpc
in preparation for removing it from the public API because it is an internal type. See PR 4833.
- Remove
fast_message_id_fn
mechanism fromConfig
. See PR 4285. - Remove deprecated
gossipsub::Config::idle_timeout
in favor ofSwarmBuilder::idle_connection_timeout
. See PR 4642. - Return typed error from config builder. See PR 4445.
- Process outbound stream before inbound stream in
EnabledHandler::poll(..)
. See PR 4778.
- Deprecate
gossipsub::Config::idle_timeout
in favor ofSwarmBuilder::idle_connection_timeout
. See PR 4648.
- Add getter function to o btain
TopicScoreParams
. See PR 4231.
- Deprecate
metrics
,protocol
,subscription_filter
,time_cache
modules to make them private. See PR 3777. - Honor the
gossipsub::Config::support_floodsub
in all cases. Previously, it was ignored when a custom protocol id was set viagossipsub::Config::protocol_id
. See PR 3837.
-
Fix erroneously duplicate message IDs. See PR 3716.
-
Gracefully disable handler on stream errors. Deprecate a few variants of
HandlerError
. See PR 3625.
- Signed messages now use sequential integers in the sequence number field. See PR 3551.
- Migrate from
prost
toquick-protobuf
. This removesprotoc
dependency. See PR 3312.
-
Update to
prometheus-client
v0.19.0
. See PR 3207. -
Update to
libp2p-core
v0.39.0
. -
Update to
libp2p-swarm
v0.42.0
. -
Initialize
ProtocolConfig
viaGossipsubConfig
. See PR 3381. -
Rename types as per discussion 2174.
Gossipsub
has been renamed toBehaviour
. TheGossipsub
prefix has been removed from various types likeGossipsubConfig
orGossipsubMessage
. It is preferred to import the gossipsub protocol as a module (use libp2p::gossipsub;
), and refer to its types viagossipsub::
. For example:gossipsub::Behaviour
orgossipsub::RawMessage
. See PR 3303.
-
Update to
libp2p-core
v0.38.0
. -
Update to
libp2p-swarm
v0.41.0
. -
Update to
prost-codec
v0.3.0
. -
Refactoring GossipsubCodec to use common protobuf Codec. See PR 3070.
-
Replace
Gossipsub
'sNetworkBehaviour
implementationinject_*
methods with the newon_*
methods. See PR 3011. -
Replace
GossipsubHandler
'sConnectionHandler
implementationinject_*
methods with the newon_*
methods. See PR 3085. -
Update
rust-version
to reflect the actual MSRV: 1.62.0. See PR 3090.
-
Bump rand to 0.8 and quickcheck to 1. See PR 2857.
-
Update to
libp2p-core
v0.37.0
. -
Update to
libp2p-swarm
v0.40.0
.
-
Update to
libp2p-swarm
v0.39.0
. -
Update to
libp2p-core
v0.36.0
. -
Allow publishing with any
impl Into<TopicHash>
as a topic. See PR 2862.
-
Update prost requirement from 0.10 to 0.11 which no longer installs the protoc Protobuf compiler. Thus you will need protoc installed locally. See PR 2788.
-
Update to
libp2p-swarm
v0.38.0
. -
Update to
libp2p-core
v0.35.0
. -
Update to
prometheus-client
v0.18.0
. See PR 2822.
-
Update to
libp2p-core
v0.34.0
. -
Update to
libp2p-swarm
v0.37.0
. -
Allow for custom protocol ID via
GossipsubConfigBuilder::protocol_id()
. See PR 2718.
- Fix duplicate connection id. See PR 2702.
-
Update to
libp2p-core
v0.33.0
. -
Update to
libp2p-swarm
v0.36.0
. -
changed
TimeCache::contains_key
andDuplicateCache::contains
to immutable methods. See PR 2620. -
Update to
prometheus-client
v0.16.0
. See PR 2631.
-
Update to
libp2p-swarm
v0.35.0
. -
Fix gossipsub metric (see PR 2558).
-
Allow the user to set the buckets for the score histogram, and to adjust them from the score thresholds. See PR 2595.
-
Update to
libp2p-core
v0.32.0
. -
Update to
libp2p-swarm
v0.34.0
. -
Move from
open-metrics-client
toprometheus-client
(see PR 2442). -
Emit gossip of all non empty topics (see PR 2481).
-
Merge NetworkBehaviour's inject_* paired methods (see PR 2445).
-
Revert to wasm-timer (see PR 2506).
-
Do not overwrite msg's peers if put again into mcache (see PR 2493).
-
Update dependencies.
-
Migrate to Rust edition 2021 (see PR 2339).
-
Add metrics for network and configuration performance analysis (see PR 2346).
-
Improve bandwidth performance by tracking IWANTs and reducing duplicate sends (see PR 2327).
-
Implement
Serialize
andDeserialize
forMessageId
andFastMessageId
(see PR 2408) -
Fix
GossipsubConfigBuilder::build()
requiring&self
to live for'static
(see PR 2409) -
Implement Unsubscribe backoff as per libp2p specs PR 383 (see PR 2403).
-
Add topic and mesh metrics (see PR 2316).
-
Fix bug in internal peer's topics tracking (see PR 2325).
-
Use
instant
andfutures-timer
instead ofwasm-timer
(see PR 2245). -
Update dependencies.
-
Add an event to register peers that do not support the gossipsub protocol PR 2241
-
Make default features of
libp2p-core
optional. PR 2181 -
Improve internal peer tracking. PR 2175
-
Update dependencies.
-
Allow
message_id_fn
s to accept closures that capture variables. PR 2103 -
Implement std::error::Error for error types. PR 2254
-
Update dependencies.
-
Reduce log levels across the crate to lessen noisiness of libp2p-gossipsub (see PR 2101).
- Keep connections to peers in a mesh alive. Allow closing idle connections to peers not in a mesh PR-2043.
- Remove
regex-filter
feature flag thus always enablingregex::RegexSubscriptionFilter
PR 2056.
-
Update
libp2p-swarm
. -
Update dependencies.
-
Update
libp2p-swarm
. -
Update dependencies.
-
Prevent non-published messages being added to caches. PR 1930
-
Update dependencies.
-
Update dependencies.
-
Implement Gossipsub v1.1 specification. PR 1720
- Update
libp2p-swarm
andlibp2p-core
.
- Update
libp2p-swarm
andlibp2p-core
.
- Update dependencies.
- Update dependencies.
- Update
libp2p-swarm
andlibp2p-core
.
-
Add public API to list topics and peers. PR 1677.
-
Add message signing and extended privacy/validation configurations. PR 1583.
-
Debug
instance forGossipsub
. PR 1673. -
Bump
libp2p-core
andlibp2p-swarm
dependency.
- Updated dependencies.
- Maintenance release fixing linter warnings.
- Updated dependencies.