Skip to content

webrtc: v5.0.0

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
    • The notifyOnTransient property of libp2p.register has been renamed notifyOnLimitedConnection

Features

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

Bug Fixes

Dependencies

  • bump react-native-webrtc from 118.0.7 to 124.0.4 (#2685) (5214dec)
  • The following workspace dependencies were updated
    • dependencies
      • @libp2p/interface bumped from ^1.7.0 to ^2.0.0
      • @libp2p/interface-internal bumped from ^1.3.4 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/circuit-relay-v2 bumped from ^1.1.5 to ^2.0.0
      • @libp2p/crypto bumped from ^4.1.9 to ^5.0.0
      • @libp2p/identify bumped from ^2.1.5 to ^3.0.0
      • @libp2p/interface-compliance-tests bumped from ^5.4.12 to ^6.0.0
      • @libp2p/logger bumped from ^4.0.20 to ^5.0.0
      • @libp2p/websockets bumped from ^8.2.0 to ^9.0.0
      • libp2p bumped from ^1.9.4 to ^2.0.0