Skip to content

webtransport: v5.0.0

Compare
Choose a tag to compare
@achingbrain achingbrain released this 11 Sep 10:12
cb9f3ff

5.0.0 (2024-09-11)

� BREAKING CHANGES

  • the connectionEncryption option has been renamed connectionEncrypters
    • @libp2p/peer-id-factory has been removed, use generateKeyPair and peerIdFromPrivateKey instead
  • the final argument to secureOutbound and secureInbound in the ConnectionEncrypter interface is now an options object
  • the autodialer has been removed as well as the corresponding config keys
  • The .code property has been removed from most errors, use .name instead
  • removes localPeer: PeerId first parameter from secureInbound and secureOutbound in ConnectionEncrypter

Features

  • use .name property instead of .code for errors (#2655) (0d20426)

Bug Fixes

Documentation

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @libp2p/interface bumped from ^1.7.0 to ^2.0.0
      • @libp2p/peer-id bumped from ^4.2.4 to ^5.0.0
      • @libp2p/utils bumped from ^5.4.9 to ^6.0.0
    • devDependencies
      • @libp2p/crypto bumped from ^4.1.9 to ^5.0.0
      • @libp2p/logger bumped from ^4.0.20 to ^5.0.0
      • @libp2p/ping bumped from ^1.1.6 to ^2.0.0
      • libp2p bumped from ^1.9.4 to ^2.0.0