Skip to content

Latest commit

 

History

History
2708 lines (1397 loc) · 126 KB

CHANGELOG.md

File metadata and controls

2708 lines (1397 loc) · 126 KB

0.46.10 (2023-09-10)

Bug Fixes

  • libp2p: only dial one address at a time for peers (#2028) (73b87c5)
  • libp2p: sort addresses to dial as public, then relay (#2031) (5294f14)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @libp2p/peer-record bumped from ^6.0.3 to ^6.0.4
      • @libp2p/peer-store bumped from ^9.0.3 to ^9.0.4
      • @libp2p/utils bumped from ^4.0.2 to ^4.0.3
    • devDependencies
      • @libp2p/kad-dht bumped from ^10.0.5 to ^10.0.6
      • @libp2p/mdns bumped from ^9.0.6 to ^9.0.7
      • @libp2p/tcp bumped from ^8.0.5 to ^8.0.6
      • @libp2p/websockets bumped from ^7.0.5 to ^7.0.6

0.46.21 (2023-11-10)

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • @libp2p/kad-dht bumped from ^10.0.14 to ^10.0.15

0.46.20 (2023-11-07)

Features

Bug Fixes

  • do not overwrite signal property of options (#2214) (70d5efc)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @libp2p/crypto bumped from ^2.0.7 to ^2.0.8
      • @libp2p/interface bumped from ^0.1.5 to ^0.1.6
      • @libp2p/interface-internal bumped from ^0.1.8 to ^0.1.9
      • @libp2p/keychain bumped from ^3.0.7 to ^3.0.8
      • @libp2p/logger bumped from ^3.0.5 to ^3.1.0
      • @libp2p/multistream-select bumped from ^4.0.5 to ^4.0.6
      • @libp2p/peer-collections bumped from ^4.0.7 to ^4.0.8
      • @libp2p/peer-id bumped from ^3.0.5 to ^3.0.6
      • @libp2p/peer-id-factory bumped from ^3.0.7 to ^3.0.8
      • @libp2p/peer-record bumped from ^6.0.8 to ^6.0.9
      • @libp2p/peer-store bumped from ^9.0.8 to ^9.0.9
      • @libp2p/utils bumped from ^4.0.6 to ^4.0.7
    • devDependencies
      • @libp2p/bootstrap bumped from ^9.0.11 to ^9.0.12
      • @libp2p/floodsub bumped from ^8.0.12 to ^8.0.13
      • @libp2p/interface-compliance-tests bumped from ^4.1.4 to ^4.1.5
      • @libp2p/kad-dht bumped from ^10.0.13 to ^10.0.14
      • @libp2p/mdns bumped from ^9.0.13 to ^9.0.14
      • @libp2p/mplex bumped from ^9.0.11 to ^9.0.12
      • @libp2p/tcp bumped from ^8.0.12 to ^8.0.13
      • @libp2p/websockets bumped from ^7.0.12 to ^7.0.13

0.46.19 (2023-11-07)

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • @libp2p/bootstrap bumped from ^9.0.10 to ^9.0.11
      • @libp2p/floodsub bumped from ^8.0.11 to ^8.0.12
      • @libp2p/interface-compliance-tests bumped from ^4.1.3 to ^4.1.4
      • @libp2p/kad-dht bumped from ^10.0.12 to ^10.0.13
      • @libp2p/mdns bumped from ^9.0.12 to ^9.0.13
      • @libp2p/mplex bumped from ^9.0.10 to ^9.0.11
      • @libp2p/tcp bumped from ^8.0.11 to ^8.0.12
      • @libp2p/websockets bumped from ^7.0.11 to ^7.0.12

0.46.18 (2023-11-06)

Bug Fixes

  • append peer id to dial addresses before filtering (#2199) (bafccd6)
  • log peer data in identify correctly (#2197) (fdcb801)
  • only send ip/domain observed address in identify (#2201) (40855f4)

0.46.17 (2023-11-03)

Bug Fixes

  • allow dialing a peer when we only have transient connections (#2187) (dd400cd)
  • append peer id to connection remote addr if not present (#2182) (3bdaad3)
  • do not overwrite addresses on identify push when none are sent (#2192) (025c082)
  • opt-in to toplogy notifications on transient connections (#2049) (346ff5a)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @libp2p/crypto bumped from ^2.0.6 to ^2.0.7
      • @libp2p/interface bumped from ^0.1.4 to ^0.1.5
      • @libp2p/interface-internal bumped from ^0.1.7 to ^0.1.8
      • @libp2p/keychain bumped from ^3.0.6 to ^3.0.7
      • @libp2p/logger bumped from ^3.0.4 to ^3.0.5
      • @libp2p/multistream-select bumped from ^4.0.4 to ^4.0.5
      • @libp2p/peer-collections bumped from ^4.0.6 to ^4.0.7
      • @libp2p/peer-id bumped from ^3.0.4 to ^3.0.5
      • @libp2p/peer-id-factory bumped from ^3.0.6 to ^3.0.7
      • @libp2p/peer-record bumped from ^6.0.7 to ^6.0.8
      • @libp2p/peer-store bumped from ^9.0.7 to ^9.0.8
      • @libp2p/utils bumped from ^4.0.5 to ^4.0.6
    • devDependencies
      • @libp2p/bootstrap bumped from ^9.0.9 to ^9.0.10
      • @libp2p/floodsub bumped from ^8.0.10 to ^8.0.11
      • @libp2p/interface-compliance-tests bumped from ^4.1.2 to ^4.1.3
      • @libp2p/kad-dht bumped from ^10.0.11 to ^10.0.12
      • @libp2p/mdns bumped from ^9.0.11 to ^9.0.12
      • @libp2p/mplex bumped from ^9.0.9 to ^9.0.10
      • @libp2p/tcp bumped from ^8.0.10 to ^8.0.11
      • @libp2p/websockets bumped from ^7.0.10 to ^7.0.11

0.46.16 (2023-10-25)

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @libp2p/crypto bumped from ^2.0.5 to ^2.0.6
      • @libp2p/interface bumped from ^0.1.3 to ^0.1.4
      • @libp2p/interface-internal bumped from ^0.1.6 to ^0.1.7
      • @libp2p/keychain bumped from ^3.0.5 to ^3.0.6
      • @libp2p/logger bumped from ^3.0.3 to ^3.0.4
      • @libp2p/multistream-select bumped from ^4.0.3 to ^4.0.4
      • @libp2p/peer-collections bumped from ^4.0.5 to ^4.0.6
      • @libp2p/peer-id bumped from ^3.0.3 to ^3.0.4
      • @libp2p/peer-id-factory bumped from ^3.0.5 to ^3.0.6
      • @libp2p/peer-record bumped from ^6.0.6 to ^6.0.7
      • @libp2p/peer-store bumped from ^9.0.6 to ^9.0.7
      • @libp2p/utils bumped from ^4.0.4 to ^4.0.5
    • devDependencies
      • @libp2p/bootstrap bumped from ^9.0.8 to ^9.0.9
      • @libp2p/floodsub bumped from ^8.0.9 to ^8.0.10
      • @libp2p/interface-compliance-tests bumped from ^4.1.1 to ^4.1.2
      • @libp2p/kad-dht bumped from ^10.0.10 to ^10.0.11
      • @libp2p/mdns bumped from ^9.0.10 to ^9.0.11
      • @libp2p/mplex bumped from ^9.0.8 to ^9.0.9
      • @libp2p/tcp bumped from ^8.0.9 to ^8.0.10
      • @libp2p/websockets bumped from ^7.0.9 to ^7.0.10

0.46.15 (2023-10-25)

Bug Fixes

  • remove relay:removed event listener after relay is removed (#1998) (ab2c1f6)

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • @libp2p/kad-dht bumped from ^10.0.9 to ^10.0.10

0.46.14 (2023-10-10)

Bug Fixes

  • circuit-relay: respect applyDefaultLimit when it is false (#2139) (df2153e)

0.46.13 (2023-10-06)

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @libp2p/crypto bumped from ^2.0.4 to ^2.0.5
      • @libp2p/interface bumped from ^0.1.2 to ^0.1.3
      • @libp2p/interface-internal bumped from ^0.1.5 to ^0.1.6
      • @libp2p/keychain bumped from ^3.0.4 to ^3.0.5
      • @libp2p/logger bumped from ^3.0.2 to ^3.0.3
      • @libp2p/multistream-select bumped from ^4.0.2 to ^4.0.3
      • @libp2p/peer-collections bumped from ^4.0.4 to ^4.0.5
      • @libp2p/peer-id bumped from ^3.0.2 to ^3.0.3
      • @libp2p/peer-id-factory bumped from ^3.0.4 to ^3.0.5
      • @libp2p/peer-record bumped from ^6.0.5 to ^6.0.6
      • @libp2p/peer-store bumped from ^9.0.5 to ^9.0.6
      • @libp2p/utils bumped from ^4.0.3 to ^4.0.4
    • devDependencies
      • @libp2p/bootstrap bumped from ^9.0.7 to ^9.0.8
      • @libp2p/floodsub bumped from ^8.0.8 to ^8.0.9
      • @libp2p/interface-compliance-tests bumped from ^4.1.0 to ^4.1.1
      • @libp2p/kad-dht bumped from ^10.0.8 to ^10.0.9
      • @libp2p/mdns bumped from ^9.0.9 to ^9.0.10
      • @libp2p/mplex bumped from ^9.0.7 to ^9.0.8
      • @libp2p/tcp bumped from ^8.0.8 to ^8.0.9
      • @libp2p/websockets bumped from ^7.0.8 to ^7.0.9

0.46.12 (2023-10-01)

Bug Fixes

  • ensure all listeners are properly closed on tcp shutdown (#2058) (b57bca4)
  • include peer id in autodial log message (#2075) (368ee26)
  • libp2p: update circuit relay and upgrader logs (#2071) (f09ac4a)

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • @libp2p/bootstrap bumped from ^9.0.6 to ^9.0.7
      • @libp2p/floodsub bumped from ^8.0.7 to ^8.0.8
      • @libp2p/interface-compliance-tests bumped from ^4.0.6 to ^4.1.0
      • @libp2p/kad-dht bumped from ^10.0.7 to ^10.0.8
      • @libp2p/mdns bumped from ^9.0.8 to ^9.0.9
      • @libp2p/mplex bumped from ^9.0.6 to ^9.0.7
      • @libp2p/tcp bumped from ^8.0.7 to ^8.0.8
      • @libp2p/websockets bumped from ^7.0.7 to ^7.0.8

0.46.11 (2023-09-15)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @libp2p/crypto bumped from ^2.0.3 to ^2.0.4
      • @libp2p/interface-internal bumped from ^0.1.4 to ^0.1.5
      • @libp2p/keychain bumped from ^3.0.3 to ^3.0.4
      • @libp2p/peer-collections bumped from ^4.0.3 to ^4.0.4
      • @libp2p/peer-id-factory bumped from ^3.0.3 to ^3.0.4
      • @libp2p/peer-record bumped from ^6.0.4 to ^6.0.5
      • @libp2p/peer-store bumped from ^9.0.4 to ^9.0.5
    • devDependencies
      • @libp2p/bootstrap bumped from ^9.0.5 to ^9.0.6
      • @libp2p/floodsub bumped from ^8.0.6 to ^8.0.7
      • @libp2p/interface-compliance-tests bumped from ^4.0.5 to ^4.0.6
      • @libp2p/kad-dht bumped from ^10.0.6 to ^10.0.7
      • @libp2p/mdns bumped from ^9.0.7 to ^9.0.8
      • @libp2p/mplex bumped from ^9.0.5 to ^9.0.6
      • @libp2p/tcp bumped from ^8.0.6 to ^8.0.7
      • @libp2p/websockets bumped from ^7.0.6 to ^7.0.7

0.46.9 (2023-09-05)

Bug Fixes

  • libp2p: emit peer:discovered event on internal event bus (#2019) (a6be8f0)

0.46.8 (2023-09-01)

Bug Fixes

  • libp2p: update peer store with supported protocols after unhandle (#2013) (63041af)

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • @libp2p/mdns bumped from ^9.0.5 to ^9.0.6

0.46.7 (2023-08-25)

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • @libp2p/bootstrap bumped from ^9.0.4 to ^9.0.5
      • @libp2p/floodsub bumped from ^8.0.5 to ^8.0.6
      • @libp2p/interface-compliance-tests bumped from ^4.0.4 to ^4.0.5
      • @libp2p/kad-dht bumped from ^10.0.4 to ^10.0.5
      • @libp2p/mdns bumped from ^9.0.4 to ^9.0.5
      • @libp2p/mplex bumped from ^9.0.4 to ^9.0.5
      • @libp2p/tcp bumped from ^8.0.4 to ^8.0.5
      • @libp2p/websockets bumped from ^7.0.4 to ^7.0.5

0.46.6 (2023-08-16)

Bug Fixes

  • libp2p: move delay dep to production dependencies (#1977) (725f5df)

0.46.5 (2023-08-16)

Features

  • libp2p: add autodial retry threshold config option (#1943) (4ef9c79)
  • libp2p: direct connection through relay protocol (DCUtR) (#1928) (87dc7e9)

Bug Fixes

  • libp2p: reduce dialer activity in browsers (#1970) (d30f09f)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @libp2p/interface-internal bumped from ^0.1.3 to ^0.1.4
    • devDependencies
      • @libp2p/bootstrap bumped from ^9.0.3 to ^9.0.4
      • @libp2p/floodsub bumped from ^8.0.4 to ^8.0.5
      • @libp2p/interface-compliance-tests bumped from ^4.0.3 to ^4.0.4
      • @libp2p/kad-dht bumped from ^10.0.3 to ^10.0.4
      • @libp2p/mdns bumped from ^9.0.3 to ^9.0.4
      • @libp2p/mplex bumped from ^9.0.3 to ^9.0.4
      • @libp2p/tcp bumped from ^8.0.3 to ^8.0.4
      • @libp2p/websockets bumped from ^7.0.3 to ^7.0.4

0.46.4 (2023-08-14)

Bug Fixes

  • libp2p: filter out dnsaddrs for different peers (#1954) (a31b420)
  • remove stream add/remove methods from connection interface (#1912) (e26848b)
  • update project config (9c0353c)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @libp2p/crypto bumped from ^2.0.2 to ^2.0.3
      • @libp2p/interface bumped from ^0.1.1 to ^0.1.2
      • @libp2p/interface-internal bumped from ^0.1.2 to ^0.1.3
      • @libp2p/keychain bumped from ^3.0.2 to ^3.0.3
      • @libp2p/logger bumped from ^3.0.1 to ^3.0.2
      • @libp2p/multistream-select bumped from ^4.0.1 to ^4.0.2
      • @libp2p/peer-collections bumped from ^4.0.2 to ^4.0.3
      • @libp2p/peer-id bumped from ^3.0.1 to ^3.0.2
      • @libp2p/peer-id-factory bumped from ^3.0.2 to ^3.0.3
      • @libp2p/peer-record bumped from ^6.0.2 to ^6.0.3
      • @libp2p/peer-store bumped from ^9.0.2 to ^9.0.3
      • @libp2p/utils bumped from ^4.0.1 to ^4.0.2
    • devDependencies
      • @libp2p/bootstrap bumped from ^9.0.2 to ^9.0.3
      • @libp2p/floodsub bumped from ^8.0.3 to ^8.0.4
      • @libp2p/interface-compliance-tests bumped from ^4.0.2 to ^4.0.3
      • @libp2p/kad-dht bumped from ^10.0.2 to ^10.0.3
      • @libp2p/mdns bumped from ^9.0.2 to ^9.0.3
      • @libp2p/mplex bumped from ^9.0.2 to ^9.0.3
      • @libp2p/tcp bumped from ^8.0.2 to ^8.0.3
      • @libp2p/websockets bumped from ^7.0.2 to ^7.0.3

0.46.3 (2023-08-05)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @libp2p/crypto bumped from ^2.0.1 to ^2.0.2
      • @libp2p/interface bumped from ^0.1.0 to ^0.1.1
      • @libp2p/interface-internal bumped from ^0.1.1 to ^0.1.2
      • @libp2p/keychain bumped from ^3.0.1 to ^3.0.2
      • @libp2p/logger bumped from ^3.0.0 to ^3.0.1
      • @libp2p/multistream-select bumped from ^4.0.0 to ^4.0.1
      • @libp2p/peer-collections bumped from ^4.0.1 to ^4.0.2
      • @libp2p/peer-id bumped from ^3.0.0 to ^3.0.1
      • @libp2p/peer-id-factory bumped from ^3.0.1 to ^3.0.2
      • @libp2p/peer-record bumped from ^6.0.1 to ^6.0.2
      • @libp2p/peer-store bumped from ^9.0.1 to ^9.0.2
      • @libp2p/utils bumped from ^4.0.0 to ^4.0.1
    • devDependencies
      • @libp2p/bootstrap bumped from ^9.0.1 to ^9.0.2
      • @libp2p/floodsub bumped from ^8.0.2 to ^8.0.3
      • @libp2p/interface-compliance-tests bumped from ^4.0.1 to ^4.0.2
      • @libp2p/kad-dht bumped from ^10.0.1 to ^10.0.2
      • @libp2p/mdns bumped from ^9.0.1 to ^9.0.2
      • @libp2p/mplex bumped from ^9.0.1 to ^9.0.2
      • @libp2p/tcp bumped from ^8.0.1 to ^8.0.2
      • @libp2p/websockets bumped from ^7.0.1 to ^7.0.2

0.46.2 (2023-08-04)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @libp2p/crypto bumped from ^2.0.0 to ^2.0.1
      • @libp2p/interface-internal bumped from ^0.1.0 to ^0.1.1
      • @libp2p/keychain bumped from ^3.0.0 to ^3.0.1
      • @libp2p/peer-collections bumped from ^4.0.0 to ^4.0.1
      • @libp2p/peer-id-factory bumped from ^3.0.0 to ^3.0.1
      • @libp2p/peer-record bumped from ^6.0.0 to ^6.0.1
      • @libp2p/peer-store bumped from ^9.0.0 to ^9.0.1
    • devDependencies
      • @libp2p/bootstrap bumped from ^9.0.0 to ^9.0.1
      • @libp2p/floodsub bumped from ^8.0.1 to ^8.0.2
      • @libp2p/interface-compliance-tests bumped from ^4.0.0 to ^4.0.1
      • @libp2p/kad-dht bumped from ^10.0.0 to ^10.0.1
      • @libp2p/mdns bumped from ^9.0.0 to ^9.0.1
      • @libp2p/mplex bumped from ^9.0.0 to ^9.0.1
      • @libp2p/tcp bumped from ^8.0.0 to ^8.0.1
      • @libp2p/websockets bumped from ^7.0.0 to ^7.0.1

0.46.1 (2023-08-01)

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • @libp2p/floodsub bumped from ^8.0.0 to ^8.0.1

0.46.0 (2023-07-31)

⚠ BREAKING CHANGES

  • the .close, closeRead and closeWrite methods on the Stream interface are now asynchronous
  • stream.stat.* and conn.stat.* properties are now accessed via stream.* and conn.*
  • consolidate interface modules (#1833)

Features

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @libp2p/crypto bumped from ^1.0.0 to ^2.0.0
      • @libp2p/interface bumped from ~0.0.1 to ^0.1.0
      • @libp2p/interface-internal bumped from ~0.0.1 to ^0.1.0
      • @libp2p/keychain bumped from ^2.0.0 to ^3.0.0
      • @libp2p/logger bumped from ^2.0.0 to ^3.0.0
      • @libp2p/multistream-select bumped from ^3.0.0 to ^4.0.0
      • @libp2p/peer-collections bumped from ^3.0.0 to ^4.0.0
      • @libp2p/peer-id bumped from ^2.0.0 to ^3.0.0
      • @libp2p/peer-id-factory bumped from ^2.0.0 to ^3.0.0
      • @libp2p/peer-record bumped from ^5.0.0 to ^6.0.0
      • @libp2p/peer-store bumped from ^8.0.0 to ^9.0.0
      • @libp2p/utils bumped from ^3.0.0 to ^4.0.0
    • devDependencies
      • @libp2p/bootstrap bumped from ^8.0.0 to ^9.0.0
      • @libp2p/interface-compliance-tests bumped from ^3.0.0 to ^4.0.0
      • @libp2p/kad-dht bumped from ^9.0.0 to ^10.0.0
      • @libp2p/mdns bumped from ^8.0.0 to ^9.0.0
      • @libp2p/mplex bumped from ^8.0.0 to ^9.0.0
      • @libp2p/tcp bumped from ^7.0.0 to ^8.0.0
      • @libp2p/websockets bumped from ^6.0.0 to ^7.0.0

0.45.9 (2023-06-14)

Bug Fixes

  • allow specifiying maxOutboundStreams in connection.newStream (#1817) (b348fba)

0.45.8 (2023-06-14)

Bug Fixes

  • expose config for max inbound/outbound stop streams (#1812) (0828dd9)

0.45.7 (2023-06-14)

Bug Fixes

  • expose config for max inbound/outbound stop streams (#1812) (0828dd9)

0.45.6 (2023-06-13)

Bug Fixes

  • do not allow autodial to run in parallel (#1804) (775f892)

0.45.5 (2023-06-05)

Bug Fixes

  • store unsigned identify data when signed peer record is missing (#1790) (142ba4f)

0.45.4 (2023-05-25)

Bug Fixes

0.45.3 (2023-05-22)

Bug Fixes

0.45.2 (2023-05-19)

Bug Fixes

0.45.1 (2023-05-18)

Bug Fixes

0.45.0 (2023-05-09)

⚠ BREAKING CHANGES

  • remove peer refresh (#1731)
  • browsers will no longer try to dial private addresses by default
  • bump it-stream-types from 1.0.5 to 2.0.1 (#1674)

Features

Bug Fixes

deps

  • bump it-stream-types from 1.0.5 to 2.0.1 (#1674) (6f01811)

0.44.0 (2023-04-14)

⚠ BREAKING CHANGES

  • Refactors the connection manager.

Bug Fixes

  • encapsulate /p2p-circuit multiaddrs when dialing a known peerid (#1680) (4078082)
  • refactor connection manager to use a prioritised queue (#1678) (4c02e48)

0.43.4 (2023-04-05)

Features

Bug Fixes

  • content-routing:utils: improve requirePeers error msg (#1647) (34e451a)
  • correct a typo in an error message in AutoDialler (#1667) (f4c99d9)
  • ensure to check for Infinity in checkMaxLimit function (#1666) (00a7783)
  • update exports path for circuit relay (#1676) (206b469), closes #1655

0.43.3 (2023-03-28)

Bug Fixes

  • add logging around filtered addresses (#1651) (1e85114)
  • do not overwrite code property on error (#1650) (d53ec6c)
  • if available, append target peer id to address book multiaddrs (#1649) (9aaa5f3)
  • remove duplicated peer id logic (#1653) (0c9f90c)

0.43.2 (2023-03-21)

Bug Fixes

0.43.1 (2023-03-21)

Bug Fixes

  • interpret circuit relay expiry as seconds (#1636) (5de0f07)

0.43.0 (2023-03-17)

⚠ BREAKING CHANGES

  • the autoDial option has been removed from the connection manager, please see the upgrade guide
  • requires an instance of interface-datastore@8.x.x

Features

Bug Fixes

  • accept two incoming PING streams per peer (#1617) (afaee4c)
  • circuit relay v2 follow up items (#1619) (b085562), closes #1608 #1610
  • exclude peers without multiaddrs from auto dial (#1568) (e12202e)
  • remove connection manager autodial option (#1626) (da3526c)
  • remove p-settle dependency, use Promise.allSettled instead (#1593) (6e47308)
  • use @libp2p/keychain module instead of bundling source code (#1569) (c02e1bd)

deps

0.42.2 (2023-01-17)

Bug Fixes

0.42.1 (2023-01-11)

Bug Fixes

  • update ci files to publish docs (a61e401)

0.42.0 (2023-01-10)

⚠ BREAKING CHANGES

  • update multiformats (#1535)
  • the FaultTolerance enum should now be imported from @libp2p/interface-transport
  • the connection manager and registrar are internal types and as such not part of the libp2p interface, instead use the methods exposed on the root libp2p type for obtaining connections and protocols (see the upgrade guide)

Bug Fixes

0.41.0 (2022-12-06)

⚠ BREAKING CHANGES

  • libp2p.hangUp and libp2p.fetch require PeerId or Multiaddr objects the same as other methods
  • the libp2p opts have changed to accept a metrics object factory function instead of a config object

Features

  • allow skipping upgrade steps for incoming connections (#1502) (987c738)
  • configure metrics implementation as a module instead of shipping a built-in version (#1471) (5e9dcf3)
  • start libp2p nodes by default (#1500) (61fcc0b), closes #1499

Bug Fixes

0.40.0 (2022-10-17)

⚠ BREAKING CHANGES

  • modules no longer implement Initializable instead switching to constructor injection
  • the old behaviour was to dial any peer we discover, now we just add them to the peer store instead

Features

  • allow skipping encryption and custom muxer factory in upgrader (#1411) (6615efa)
  • deny incoming connections and add allow/deny lists (#1398) (c185ef5)

Bug Fixes

0.39.5 (2022-10-05)

Bug Fixes

  • stub new connection manager accept incoming connection method (#1404) (5ad175c)

0.39.4 (2022-10-04)

Bug Fixes

0.39.3 (2022-09-28)

Bug Fixes

  • when creating dial targets, encapsulate PeerIds last (#1389) (ec02351)
  • yield only final peers from dht getClosestPeers (#1380) (3f57eda)

0.39.2 (2022-09-21)

Bug Fixes

  • remove ipfs dependency and upgrade multiaddr (#1387) (633d4a9)

0.39.1 (2022-09-09)

Bug Fixes

0.39.0 (2022-09-05)

⚠ BREAKING CHANGES

  • the loadKeychain method has been removed as it is no longer necessary

Bug Fixes

0.38.0 (2022-08-17)

⚠ BREAKING CHANGES

  • Streams are now Duplex<Uint8ArrayList, Uint8ArrayList | Uint8Array>
  • connectionManager.peerValue has been removed, use peerStore.tagPeer instead
  • limit protocol streams per-connection (#1255)
  • uses new single-issue libp2p interface modules

Features

Bug Fixes

deps

  • update all deps to support no-copy operations (#1335) (f439d9b)

0.37.3 (2022-06-08)

Bug Fixes

0.37.2 (2022-05-31)

Bug Fixes

0.37.1 (2022-05-25)

Bug Fixes

0.37.0 (2022-05-16)

⚠ BREAKING CHANGES

  • types are no longer hand crafted, this module is now ESM only

Features

Bug Fixes

0.36.2 (2022-01-26)

Bug Fixes

0.36.1 (2022-01-25)

Bug Fixes

0.36.0 (2022-01-25)

⚠ BREAKING CHANGES

  • abort-controller dep is gone from dependency tree
  • libp2p.handle, libp2p.registrar.register and the peerstore methods have become async

Features

Bug Fixes

0.35.8 (2021-12-29)

Bug Fixes

0.35.7 (2021-12-24)

Bug Fixes

Features

0.35.6 (2021-12-18)

Bug Fixes

  • increase the maxlisteners for timeout controllers (#1065) (09a0f94)

0.35.5 (2021-12-15)

0.35.4 (2021-12-15)

Features

0.35.3 (2021-12-13)

Bug Fixes

0.35.2 (2021-12-06)

Bug Fixes

chore

Features

BREAKING CHANGES

  • requires node 15+
  • libp2p-kad-dht has a new event-based API which is exposed as _dht

0.35.1 (2021-12-03)

Bug Fixes

0.35.0 (2021-12-02)

Bug Fixes

chore

BREAKING CHANGES

  • requires node 15+

0.34.0 (2021-11-25)

Bug Fixes

  • private ip ts compile has no call signatures (#1020) (77d7cb8)

Features

BREAKING CHANGES

  • libp2p-kad-dht has a new event-based API which is exposed as _dht

0.33.0 (2021-09-24)

chore

BREAKING CHANGES

  • datastore implementations provided to libp2p must be compliant with interface-datastore@6.0.0

0.32.5 (2021-09-21)

Bug Fixes

0.32.4 (2021-08-20)

0.32.3 (2021-08-16)

Bug Fixes

0.32.2 (2021-08-13)

Bug Fixes

Features

0.32.1 (2021-07-22)

Bug Fixes

  • turn compliance tests into devDependency (#960) (0701de4)

0.32.0 (2021-07-15)

0.32.0-rc.0 (2021-07-09)

Bug Fixes

  • do not allow dial to large number of multiaddrs (#954) (af723b3)

chore

BREAKING CHANGES

  • uses the CID class from the new multiformats module

Co-authored-by: Vasco Santos vasco.santos@moxy.studio

0.31.7 (2021-06-14)

Bug Fixes

0.31.6 (2021-05-27)

Features

0.31.5 (2021-05-12)

Bug Fixes

  • store remote agent and protocol version during identify (#943) (818d2b2)

0.31.4 (2021-05-12)

Bug Fixes

  • peerRouting.findPeer() trying to find self (#941) (a79c6b5)

0.31.3 (2021-05-04)

0.31.2 (2021-04-30)

Bug Fixes

0.31.1 (2021-04-30)

Bug Fixes

  • event emitter and interfaces types for discovery and routing (#934) (302bb90)

0.31.0 (2021-04-28)

0.31.0-rc.7 (2021-04-27)

Bug Fixes

  • address book guarantees no replicated entries are added (#927) (ac370fc)

0.31.0-rc.6 (2021-04-22)

Bug Fixes

  • keychain optional pw and use interfaces for validators and selectors instead (#924) (88b0415)

0.31.0-rc.5 (2021-04-21)

Bug Fixes

  • address book should not emit peer event if no addresses are known (b4fb9b7)
  • demand pubsub subclass instead of pubsub instance (#922) (086b0ec)
  • dht configuration selectors and validators (#919) (cc1f4af)

0.31.0-rc.4 (2021-04-20)

Bug Fixes

  • add clientMode dht arg and upgrade interface-datastore (#918) (975e779)
  • do not add abort signals to useless addresses (#913) (06e8f3d)
  • specify pbjs root (#917) (b043bca)

0.31.0-rc.3 (2021-04-19)

Bug Fixes

  • remove inline arg types from function definitions (#916) (2af692f)

0.31.0-rc.2 (2021-04-16)

Bug Fixes

  • metrics stats and moving averages types (#915) (3d0a79e)

0.31.0-rc.1 (2021-04-16)

Bug Fixes

  • dial protocol should throw if no protocol is provided (#914) (21c9aee)

BREAKING CHANGES

  • dialProtocol does not return connection when no protocols are provided

0.31.0-rc.0 (2021-04-15)

0.30.12 (2021-03-27)

Bug Fixes

  • the API of es6-promisify is not the same as promisify-es6 (#905) (a7128f0)

0.30.11 (2021-03-23)

Bug Fixes

  • connection direction should be only inbound or outbound (9504f19)
  • interface-datastore update (f5c1cd1)

0.30.10 (2021-03-09)

Bug Fixes

  • conn mgr access to moving averages record object (#897) (5f702f3)

0.30.9 (2021-02-25)

Bug Fixes

  • transport manager fault tolerance should include tolerance to transport listen fail (#893) (3f314d5)

0.30.8 (2021-02-11)

Bug Fixes

  • routers should only use dht if enabled (#885) (a34d2bb)

0.30.7 (2021-02-01)

Bug Fixes

  • do not add observed address received from peers (#882) (a36b211)

0.30.6 (2021-01-29)

Bug Fixes

0.30.5 (2021-01-28)

Bug Fixes

0.30.4 (2021-01-27)

Features

0.30.3 (2021-01-27)

0.30.2 (2021-01-21)

Bug Fixes

  • store multiaddrs during content and peer routing queries (#865) (45c3367)

0.30.1 (2021-01-18)

Bug Fixes

  • event emitter types with local types (#864) (6c41e30)

0.30.0 (2020-12-16)

Bug Fixes

  • remove test/dialing/utils extra file (689c35e)
  • types from ipfs integration (#832) (9ae1b75)

chore

Features

BREAKING CHANGES

  • pubsub signing policy properties were changed according to libp2p-interfaces changes to a single property. The emitSelf option default value was also modified to match the routers value

0.30.0-rc.2 (2020-12-15)

0.30.0-rc.1 (2020-12-11)

Bug Fixes

0.30.0-rc.0 (2020-12-10)

Bug Fixes

  • remove test/dialing/utils extra file (3f1dc20)

chore

Features

BREAKING CHANGES

  • pubsub signing policy properties were changed according to libp2p-interfaces changes to a single property. The emitSelf option default value was also modified to match the routers value

0.29.4 (2020-12-09)

Bug Fixes

Features

  • custom and store self agent version + store self protocol version (#800) (d0a9fad)
  • support custom listener options (#822) (8691465)

0.29.3 (2020-11-04)

Features

0.29.2 (2020-10-23)

Bug Fixes

0.29.1 (2020-10-22)

Bug Fixes

  • catch error in upgrader close call (e04224a)
  • ensure streams are closed on connection close (4c6be91)
  • flakey identify test firefox (#774) (60d437f)

0.29.0 (2020-08-27)

Bug Fixes

  • do not return self on peerstore.peers (15613cc)
  • peer record interop with go (#739) (93dda74)
  • replace node buffers with uint8arrays (#730) (1e86971)
  • revert new identify protocol versions (3158366)
  • signature compliant with spec (4ab125e)

Chores

  • update travis to use node lts and stable (098f3d1)

Features

  • cerified addressbook (8f2e690)
  • create self peer record in identify (8a97dde)
  • exchange signed peer records in identify (e50f0ee)
  • gossipsub 1.1 (#733) (55c9bfa)
  • signed peer records record manager (3e5d450)

Reverts

  • reapply "fix: throw if no conn encryption module provided (#665)" (689f90a)

BREAKING CHANGES

  • pubsub implementation is now directly exposed and its API was updated according to the new pubsub interface in js-libp2p-interfaces repo

  • chore: use gossipsub branch with src added

  • fix: add pubsub handlers adapter

  • chore: fix deps

  • chore: update pubsub docs and examples

  • chore: apply suggestions from code review

Co-authored-by: Jacob Heun jacobheun@gmail.com

  • chore: use new floodsub

  • chore: change validator doc set

Co-authored-by: Jacob Heun jacobheun@gmail.com

  • chore: add new gossipsub src

Co-authored-by: Jacob Heun jacobheun@gmail.com

    • All deps used by this module now use Uint8Arrays in place of node Buffers
  • chore: browser fixes

  • chore: remove .only

  • chore: stringify uint8array before parsing

  • chore: update interop suite

  • chore: remove ts from build command

  • chore: update deps

  • fix: update records to use uint8array

  • chore: fix lint

  • chore: update deps

Co-authored-by: Jacob Heun jacobheun@gmail.com

  • this drops testing support in node 10.

0.29.0-rc.1 (2020-08-27)

Bug Fixes

0.29.0-rc.0 (2020-08-25)

Bug Fixes

  • do not return self on peerstore.peers (e1b8edc)
  • replace node buffers with uint8arrays (#730) (507f8c4)
  • revert new identify protocol versions (a798c65)
  • signature compliant with spec (97b5d2a)

Chores

  • update travis to use node lts and stable (c272288)

Features

  • cerified addressbook (e0ed258)
  • create self peer record in identify (83922a7)
  • exchange signed peer records in identify (f835457)
  • gossipsub 1.1 (#733) (e14ce40)
  • signed peer records record manager (f95edf1)

Reverts

  • reapply "fix: throw if no conn encryption module provided (#665)" (ad7f02e)

BREAKING CHANGES

  • pubsub implementation is now directly exposed and its API was updated according to the new pubsub interface in js-libp2p-interfaces repo

  • chore: use gossipsub branch with src added

  • fix: add pubsub handlers adapter

  • chore: fix deps

  • chore: update pubsub docs and examples

  • chore: apply suggestions from code review

Co-authored-by: Jacob Heun jacobheun@gmail.com

  • chore: use new floodsub

  • chore: change validator doc set

Co-authored-by: Jacob Heun jacobheun@gmail.com

  • chore: add new gossipsub src

Co-authored-by: Jacob Heun jacobheun@gmail.com

    • All deps used by this module now use Uint8Arrays in place of node Buffers
  • chore: browser fixes

  • chore: remove .only

  • chore: stringify uint8array before parsing

  • chore: update interop suite

  • chore: remove ts from build command

  • chore: update deps

  • fix: update records to use uint8array

  • chore: fix lint

  • chore: update deps

Co-authored-by: Jacob Heun jacobheun@gmail.com

  • this drops testing support in node 10.

0.28.10 (2020-08-05)

Bug Fixes

  • allow certain keychain operations without a password (#726) (8c56ec0)
  • identify: make agentversion dynamic and add it to the peerstore (#724) (726a746)

Features

  • keychain: add support for ed25519 and secp keys (#725) (51d7ca4)

0.28.9 (2020-07-27)

Bug Fixes

  • ping multiaddr from peer not previously stored in peerstore (#719) (2440c87)

0.28.8 (2020-07-20)

Bug Fixes

  • create dial target for peer with no known addrs (#715) (7da9ad4)

0.28.7 (2020-07-14)

Bug Fixes

  • retimer reschedule does not work as interval (#710) (999c1b7)

0.28.6 (2020-07-14)

Bug Fixes

  • not dial all known peers in parallel on startup (#698) (9ccab40)

0.28.5 (2020-07-10)

Bug Fixes

0.28.4 (2020-07-03)

0.28.3 (2020-06-18)

Bug Fixes

0.28.2 (2020-06-15)

Reverts

  • "fix: throw if no conn encryption module provided (#665)" (b621fbd)

0.28.1 (2020-06-12)

Bug Fixes

  • throw if no conn encryption module provided (#665) (c038550)

Features

  • add ConnectionManager#getAll (8f680e2)

0.28.0 (2020-06-05)

0.28.0-rc.0 (2020-05-28)

Bug Fixes

  • always emit when a connection is made (72f37ac)
  • expose the muxed stream interface on inbound streams (52a615f)
  • libp2p connections getter (aaf62a4)
  • onConnect should not add addr to the addressBook (2b45fee)
  • use libp2p.multiaddrs instead of listen (7fbd155)
  • example: rename misleading variable (#645) (b781911)

Chores

Features

BREAKING CHANGES

  • all API methods with peer-info parameters or return values were changed. You can check the API.md document, in order to check the new values to use

  • the peer-store api changed. Check the API docs for the new specification.

  • chore: apply suggestions from code review

Co-Authored-By: Jacob Heun jacobheun@gmail.com

  • chore: apply suggestions from code review

Co-Authored-By: Jacob Heun jacobheun@gmail.com

Co-authored-by: Jacob Heun jacobheun@gmail.com

0.27.8 (2020-05-06)

Bug Fixes

0.27.7 (2020-04-24)

Bug Fixes

0.27.6 (2020-04-16)

Bug Fixes

  • add null check in libp2p.hangUp() (c940f2d)
  • make circuit relay listening addresses more forgiving (#604) (e192eb6)

0.27.5 (2020-04-06)

Bug Fixes

  • await peer discovery start in libp2p start (#600) (bd7fd0f)

0.27.4 (2020-03-31)

Bug Fixes

0.27.3 (2020-02-11)

Bug Fixes

  • dont allow multiaddr dials without a peer id (#558) (a317a8b)

0.27.2 (2020-02-05)

Bug Fixes

0.27.1 (2020-02-03)

Bug Fixes

  • stop stream after first pong received (#545) (be8fc9d)

0.27.0 (2020-01-28)

Bug Fixes

Features

0.27.0-rc.0 (2020-01-24)

Bug Fixes

0.27.0-pre.2 (2020-01-07)

Bug Fixes

Features

  • add libp2p.connections getter (#522) (6ca19c5)
  • allow transport options to be passed on creation (#524) (0d4b2bd)

0.27.0-pre.1 (2019-12-15)

Features

0.27.0-pre.0 (2019-12-12)

Bug Fixes

  • clean up peer discovery flow (#494) (f3eb1f1)
  • clean up pending dials abort per feedback (7c3371b)
  • correct release readme (c4bc00b)
  • examples readme typos (#481) (35ac02d)
  • performance bottleneck in stat.js (#463) (93a1e42)
  • release tokens as soon as they are available (43440aa)
  • replace peerInfo addresses with listen addresses (#485) (acbbc0f)
  • token release logic (1838a64)

Features

0.26.2 (2019-09-24)

Bug Fixes

0.26.1 (2019-08-21)

Bug Fixes

0.26.0 (2019-08-07)

0.26.0-rc.3 (2019-08-06)

Bug Fixes

0.26.0-rc.2 (2019-08-01)

Bug Fixes

Chores

BREAKING CHANGES

  • switch configuration has changed. 'blacklistTTL' is now 'denyTTL' and 'blackListAttempts' is now 'denyAttempts'

0.26.0-rc.1 (2019-07-31)

0.26.0-rc.0 (2019-07-31)

Bug Fixes

  • make subscribe comply with ipfs interface (#389) (9554b05)

Features

  • integrate gossipsub by default (#365) (791f39a)
  • promisify all api methods that accept callbacks (#381) (df6ef45)

BREAKING CHANGES

This corrects the order of parameters. See the jsdocs examples for subscribe to see how it should be used.

0.25.5 (2019-07-12)

Bug Fixes

0.25.4 (2019-06-07)

Features

  • add createLibp2p to generate a PeerInfo instance (#367) (04faf18)
  • pass libp2p as option to transport creation (#363) (b06ca1b)

0.25.3 (2019-05-07)

Features

0.25.2 (2019-04-17)

Bug Fixes

0.25.1 (2019-04-16)

Bug Fixes

0.25.0 (2019-04-12)

Bug Fixes

0.25.0-rc.6 (2019-04-11)

Bug Fixes

Features

0.25.0-rc.5 (2019-03-21)

Bug Fixes

Features

0.25.0-rc.4 (2019-03-06)

0.25.0-rc.3 (2019-02-26)

0.25.0-rc.2 (2019-02-26)

Bug Fixes

0.25.0-rc.1 (2019-02-21)

Bug Fixes

Features

0.24.4 (2019-01-04)

0.24.3 (2018-12-14)

Bug Fixes

0.24.2 (2018-12-04)

Bug Fixes

  • use symbol instead of constructor name (#292) (53ed3bd)

0.24.1 (2018-12-03)

Features

  • allow configurable validators and selectors to the dht (#288) (7d12eb9)

0.24.0 (2018-11-16)

Bug Fixes

Features

  • add datastore to config (40e840d)
  • add delegated peer and content routing support (#242) (a95389a)
  • add maxNumProviders to findprovs (#283) (970deec)
  • conditionally emit errors (f71fdfd)
  • enable relay by default (no hop) (#254) (686379e)
  • make libp2p a state machine (#257) (0b75f99)
  • use package-table vs custom script (a63432e)

0.23.1 (2018-08-13)

Bug Fixes

  • callback with error for invalid or non-peer multiaddr (#232) (c8a86db)

0.23.0 (2018-07-27)

Bug Fixes

  • start and stop connection manager with libp2p (6106915)

Features

  • add check for protector and enforced pnet (2b7cc55)

0.22.0 (2018-06-29)

Bug Fixes

  • add null property guards (80f0b60)
  • do not mutate the config object (ac5cacb)
  • remove .only (be9eafe)
  • remove peer discovery module config checks (4ad70ef)
  • typo in fixture and fail for correct reason (1af5ba9)

Features

  • enable peer discovery modules by default (e320854)

0.21.0 (2018-06-28)

Bug Fixes

Features

  • (BREAKING CHANGE) overhaul libp2p config and constructor (6905f1b)
  • set and hook up libp2p-connection-manager (#184) (d597204)

0.20.4 (2018-04-30)

0.20.3 (2018-04-30)

0.20.2 (2018-04-10)

0.20.1 (2018-04-10)

0.20.0 (2018-04-06)

Features

  • use class-is for type checks (bb0c990)

0.19.2 (2018-03-28)

0.19.1 (2018-03-28)

0.19.0 (2018-03-15)

0.18.0 (2018-02-19)

0.17.0 (2018-02-16)

Bug Fixes

  • use correct reference to floodSub (947eaf1)

Features

0.16.5 (2018-02-14)

0.16.4 (2018-02-09)

0.16.3 (2018-02-08)

0.16.2 (2018-02-07)

0.16.1 (2018-02-07)

0.16.0 (2018-02-07)

Features

  • add explicit error for case peer id not included in multiaddr (#155) (bd8a35a)
  • dialProtocol and small refactor (6651401)
  • use libp2p-switch (23e8293)

0.15.2 (2018-01-28)

0.15.1 (2018-01-16)

Bug Fixes

0.15.0 (2018-01-07)

0.14.3 (2017-12-15)

0.14.2 (2017-12-15)

0.14.1 (2017-12-15)

Bug Fixes

  • prevent "The libp2p node is not started yet" when stopping (#138) (c88eaf4)

0.14.0 (2017-12-14)

Bug Fixes

0.13.3 (2017-12-01)

0.13.2 (2017-11-27)

Features

  • Bring libp2p-websocket-star to the Transports family! 🌟 (#122) (95f029e)

0.13.1 (2017-11-12)

0.13.0 (2017-10-26)

Features

  • enable and test Circuit Relay (29cc0af)

0.12.4 (2017-09-07)

0.12.3 (2017-09-07)

0.12.2 (2017-09-07)

0.12.1 (2017-09-07)

0.12.0 (2017-09-03)

Features

0.11.0 (2017-07-22)

0.10.2 (2017-07-21)

Bug Fixes

  • circle ci, thanks victor! (4224c1f)

0.10.1 (2017-07-10)

0.10.0 (2017-07-07)

Bug Fixes

  • added missing dep async (45b0f61)

Features

0.9.1 (2017-04-16)

Bug Fixes

  • do not use assert in async funcs (#88) (2e326e1)

0.9.0 (2017-04-06)

0.8.0 (2017-03-31)

Bug Fixes

  • addition of ipfs id appendix must come before transport filtering (291e79f)
  • avoid deleting nodes from peerBook (300936f)
  • correct method on peer-book (031ecb3)

Features

  • append peer id to multiaddr if not there (59ea9c3)
  • not remove peer from peerBook on disconnect (a4b41b0)

0.7.0 (2017-03-29)

Features

0.6.2 (2017-03-28)

0.6.1 (2017-03-27)

0.6.0 (2017-03-27)

Bug Fixes

Features

  • new super simplified API (a6623c1)

0.5.5 (2017-03-21)