Skip to content

Latest commit

 

History

History
1968 lines (896 loc) · 82 KB

CHANGELOG.md

File metadata and controls

1968 lines (896 loc) · 82 KB

0.35.8 (2021-12-29)

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.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)