Skip to content

Latest commit

 

History

History
82 lines (46 loc) · 2.21 KB

CHANGELOG.md

File metadata and controls

82 lines (46 loc) · 2.21 KB

0.29.0

  • Generate NetworkBehaviour::OutEvent if not provided through #[behaviour(out_event = "MyOutEvent")] and event processing is disabled (default).

0.28.0

  • Import ListenerId from libp2p::core::transport. See PR 2652.

0.27.2

  • Replace references of Protocol Handler with Connection Handler. See PR 2640.

0.27.1

  • Allow mixing of ignored fields. See PR 2570.

0.27.0 [2022-02-22]

  • Adjust to latest changes in libp2p-swarm.

0.26.1 [2022-01-27]

  • Remove unnecessary clone of error in inject_dial_failure (see PR 2349).

  • Migrate to Rust edition 2021 (see PR 2339).

0.26.0 [2021-11-16]

  • Adjust to advanced dialing requests API changes (see PR 2317).

0.25.0 [2021-11-01]

  • Update to latest libp2p-swarm changes (see PR 2191).

  • Make event_process = false the default.

0.24.0 [2021-07-12]

  • Handle NetworkBehaviourAction::CloseConnection. See PR 2110 for details.

0.23.0 [2021-04-14]

  • Extend NetworkBehaviour callbacks, more concretely introducing new fn inject_new_listener and fn inject_expired_external_addr and have fn inject_{new,expired}_listen_addr provide a ListenerId PR 2011.

0.22.0 [2021-02-15]

  • Rename the crate to libp2p-swarm-derive.

0.21.0 [2020-11-25]

  • Update for compatibility with libp2p-swarm-0.25.

0.20.2 [2020-07-28]

  • Generate fully-qualified method name for poll to avoid ambiguity. PR 1681.

0.20.1 [2020-07-08]

  • Allow users to opt out of the NetworkBehaviourEventProcess mechanism through #[behaviour(event_process = false)]. This is useful if users want to process all events while polling the swarm through SwarmEvent::Behaviour.