Skip to content

pnet: v2.0.0

Choose a tag to compare

@achingbrain achingbrain released this 11 Sep 10:12
cb9f3ff

2.0.0 (2024-09-11)

� BREAKING CHANGES

    • @libp2p/peer-id-factory has been removed, use generateKeyPair and peerIdFromPrivateKey instead
  • The .code property has been removed from most errors, use .name instead
  • the minSendBytes option has been removed from Mplex since the transport can now decide how to optimise sending data
  • imports from libp2p/dcutr now need to be from @libp2p/dcutr
  • the isStarted method has been removed from the Startable interface

Features

  • allow stream muxers and connection encrypters to yield lists (#2256) (4a474d5)
  • check service dependencies on startup (#2586) (d1f1c2b)
  • use .name property instead of .code for errors (#2655) (0d20426)

Bug Fixes

Documentation

Dependencies

2.0.0 (2024-09-11)

� BREAKING CHANGES

    • @libp2p/peer-id-factory has been removed, use generateKeyPair and peerIdFromPrivateKey instead
  • The .code property has been removed from most errors, use .name instead
  • the minSendBytes option has been removed from Mplex since the transport can now decide how to optimise sending data
  • imports from libp2p/dcutr now need to be from @libp2p/dcutr
  • the isStarted method has been removed from the Startable interface

Features

  • allow stream muxers and connection encrypters to yield lists (#2256) (4a474d5)
  • check service dependencies on startup (#2586) (d1f1c2b)
  • use .name property instead of .code for errors (#2655) (0d20426)

Bug Fixes

Documentation

Dependencies

Refactors

Refactors