0.35.8 (2021-12-29)
- do not wait for autodial start (#1089) (79b3cfc)
- increase listeners on any-signal (#1084) (f18fc80)
- look for final peer event instead of peer response (#1092) (d2b7ec0)
- record tracked map clears (#1085) (b4b4324)
0.39.2 (2022-09-21)
0.39.1 (2022-09-09)
- add yamux interop tests (#1290) (b87632f)
- overwrite stream fields after handshake (#1305) (43b0418)
- report dialer metrics (#1377) (0218acf)
0.39.0 (2022-09-05)
- the
loadKeychain
method has been removed as it is no longer necessary
- discovery mechanism examples not working (#1365) (d281a60), closes #1229
- load self key into keychain on startup if not present (#1357) (1f38ab7), closes #1315
0.38.0 (2022-08-17)
- Streams are now
Duplex<Uint8ArrayList, Uint8ArrayList | Uint8Array>
connectionManager.peerValue
has been removed, usepeerStore.tagPeer
instead- limit protocol streams per-connection (#1255)
- uses new single-issue libp2p interface modules
- limit protocol streams per-connection (#1255) (de30c2c)
- programmatically set agentVersion for use in identify (#1296) (0bb1b80), closes #686 #1240
- update libp2p interfaces (#1252) (d4dd664)
- use tag values to choose which connections to close (#1276) (b1b2b21)
- add successful stream peer to protobook (#1341) (8880eef)
- add timeout for circuit relay (#1294) (ba56c64)
- add timeout for incoming connections and build-in protocols (#1292) (750ed9c)
- catch errors when reconnecting old peers (#1352) (886759b)
- close streams when protocol limits are reached (#1301) (3c0fb13)
- MaxListenersExceeded warning (#1297) (627b8bf)
- prepend connection addr to circuit relay address (#1355) (509e56a)
- remove mplex prefix from muxer errors (#1304) (05e8e7e)
- specify max stream args separately (#1254) (5371729)
- update muxer behavior (#1289) (b1b9139)
- use keep-alive tag to reconnect to peers on startup (#1278) (2836acc)
0.37.3 (2022-06-08)
- connection pruning (#1235) (f9073ec)
- ensure streams are closed when protocol negotiation fails (#1236) (eee256d)
- wait for peer stats to be updated during test (#1238) (b047268), closes #1219
0.37.2 (2022-05-31)
0.37.1 (2022-05-25)
- do upnp hole punch after startup (#1217) (d5386df)
- explicitly close streams when connnections close (#1221) (b09eb8f)
- fix unintended aborts in dialer (#1185) (35f9c0c)
- time out slow reads (#1227) (a1220d2)
0.37.0 (2022-05-16)
- types are no longer hand crafted, this module is now ESM only
- add transport manager to exports map and fix docs (#1182) (cc60cfd)
- emit peer:connect after all (#1171) (d16817c)
- encode enums correctly (#1210) (4837430)
- expose getPublicKey (#1188) (1473044)
- expose metrics and registrar, use dht for peer discovery (#1183) (64bfcee)
- simplify pnet exports (#1213) (3148060)
- update deps (#1181) (8cca8e4)
- update interfaces (#1207) (da3d19b)
- update pubsub interfaces (#1194) (fab4f13)
- update to new interfaces (#1206) (a15254f)
- use placeholder dht/pubsub (#1193) (5397137)
0.36.2 (2022-01-26)
0.36.1 (2022-01-25)
0.36.0 (2022-01-25)
- abort-controller dep is gone from dependency tree
libp2p.handle
,libp2p.registrar.register
and the peerstore methods have become async
- add fetch protocol (#1036) (d8ceb0b)
- async peerstore backed by datastores (#1058) (978eb36)
- connection gater (#1142) (ff32eba)
- cache build artefacts (#1091) (5043cd5)
- catch errors during identify (#1138) (12f1bb0)
- import uint8arrays package in example (#1083) (c3700f5)
- make tests more reliable (#1139) (b7e8706)
- prevent auto-dialer from dialing self (#1104) (9b22c6e)
- remove abort-controller dep (#1095) (0a4dc54)
- try all peer addresses when dialing a relay (#1140) (63aa480)
- update any-signal and timeout-abort-controller (#1128) (e0354b4)
- update multistream select (#1136) (00e4959)
- update node-forge (#1133) (a4bba35)
0.35.7 (2021-12-24)
- add tracked map (#1069) (b425fa1)
- clean up pending dial targets (#1059) (bdc9f16)
- fix uncaught promise rejection when finding peers (#1044) (3b683e7)
- increase the maxlisteners for timeout controllers (#1065) (09a0f94)
- main ci (#1079) (d1c48dc)
- make error codes consistent (#1054) (b25e0fe)
- type definitions for big dialrequest and persistent peerstore (#1078) (cb0d7d6)
0.35.6 (2021-12-18)
0.35.5 (2021-12-15)
0.35.4 (2021-12-15)
0.35.3 (2021-12-13)
- clean up pending dial targets (#1059) (bdc9f16)
- fix uncaught promise rejection when finding peers (#1044) (3b683e7)
- make error codes consistent (#1054) (b25e0fe)
0.35.2 (2021-12-06)
- do not let closest peers run forever (#1047) (91c2ec9)
- increase maxlisteners on event target (#1050) (b70fb43), closes #900
- private ip ts compile has no call signatures (#1020) (77d7cb8)
- stop dht before connection manager (#1041) (3a9d5f6), closes #1039
- requires node 15+
- libp2p-kad-dht has a new event-based API which is exposed as
_dht
0.35.1 (2021-12-03)
0.35.0 (2021-12-02)
- requires node 15+
0.34.0 (2021-11-25)
- libp2p-kad-dht has a new event-based API which is exposed as
_dht
0.33.0 (2021-09-24)
- datastore implementations provided to libp2p must be compliant with interface-datastore@6.0.0
0.32.5 (2021-09-21)
0.32.4 (2021-08-20)
0.32.3 (2021-08-16)
0.32.2 (2021-08-13)
- browser example ci (3b33fb4)
0.32.1 (2021-07-22)
0.32.0 (2021-07-15)
0.32.0-rc.0 (2021-07-09)
- uses the CID class from the new multiformats module
Co-authored-by: Vasco Santos vasco.santos@moxy.studio
0.31.7 (2021-06-14)
- chat example with new multiaddr (#946) (d8ba284)
- dialer leaking resources after stopping (#947) (b291bc0)
0.31.6 (2021-05-27)
0.31.5 (2021-05-12)
0.31.4 (2021-05-12)
0.31.3 (2021-05-04)
0.31.2 (2021-04-30)
0.31.1 (2021-04-30)
0.31.0 (2021-04-28)
0.31.0-rc.7 (2021-04-27)
0.31.0-rc.6 (2021-04-22)
0.31.0-rc.5 (2021-04-21)
- 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)
- 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)
0.31.0-rc.2 (2021-04-16)
0.31.0-rc.1 (2021-04-16)
- dialProtocol does not return connection when no protocols are provided
0.31.0-rc.0 (2021-04-15)
0.30.12 (2021-03-27)
0.30.11 (2021-03-23)
- connection direction should be only inbound or outbound (9504f19)
- interface-datastore update (f5c1cd1)
0.30.10 (2021-03-09)
0.30.9 (2021-02-25)
- transport manager fault tolerance should include tolerance to transport listen fail (#893) (3f314d5)
0.30.8 (2021-02-11)
0.30.7 (2021-02-01)
0.30.6 (2021-01-29)
0.30.5 (2021-01-28)
0.30.4 (2021-01-27)
0.30.3 (2021-01-27)
0.30.2 (2021-01-21)
0.30.1 (2021-01-18)
0.30.0 (2020-12-16)
- auto relay (#723) (caf66ea)
- auto relay network query for new relays (0bf0b7c)
- custom announce filter (ef9d3ca)
- custom dialer addr sorter (#792) (585ad52)
- discover and connect to closest peers (#798) (baedf3f)
- 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)
0.30.0-rc.0 (2020-12-10)
- remove test/dialing/utils extra file (3f1dc20)
- auto relay (#723) (65ec267)
- auto relay network query for new relays (9faf1bf)
- custom announce filter (48476d5)
- custom dialer addr sorter (#792) (91b15b6)
- discover and connect to closest peers (#798) (b73106e)
- 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)
- custom and store self agent version + store self protocol version (#800) (d0a9fad)
- support custom listener options (#822) (8691465)
0.29.3 (2020-11-04)
0.29.2 (2020-10-23)
0.29.1 (2020-10-22)
- 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)
- 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)
- update travis to use node lts and stable (098f3d1)
- 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)
-
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)
0.29.0-rc.0 (2020-08-25)
- 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)
- update travis to use node lts and stable (c272288)
- 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)
-
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)
- allow certain keychain operations without a password (#726) (8c56ec0)
- identify: make agentversion dynamic and add it to the peerstore (#724) (726a746)
0.28.9 (2020-07-27)
0.28.8 (2020-07-20)
0.28.7 (2020-07-14)
0.28.6 (2020-07-14)
0.28.5 (2020-07-10)
0.28.4 (2020-07-03)
0.28.3 (2020-06-18)
0.28.2 (2020-06-15)
0.28.1 (2020-06-12)
- add ConnectionManager#getAll (8f680e2)
0.28.0 (2020-06-05)
0.28.0-rc.0 (2020-05-28)
- 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)
- address and proto books (#590) (e9d225c)
- address manager (2a7967c)
- keybook (ce38033)
- metadata book (#638) (84b935f)
- peerStore persistence (5123a83)
- support dial only on transport manager to tolerate errors (#643) (698c1df)
-
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)
0.27.7 (2020-04-24)
0.27.6 (2020-04-16)
- add null check in libp2p.hangUp() (c940f2d)
- make circuit relay listening addresses more forgiving (#604) (e192eb6)
0.27.5 (2020-04-06)
0.27.4 (2020-03-31)
- only use a single export (#596) (3072875)
- pass libp2p to discovery services (#597) (9e35fbc)
- test: improve flakey random walk discovery test (#574) (f4ec355)
- remove use of assert module (#561) (a8984c6)
0.27.3 (2020-02-11)
0.27.2 (2020-02-05)
0.27.1 (2020-02-03)
0.27.0 (2020-01-28)
- clean up peer discovery flow (#494) (12fc069)
- clean up pending dials abort per feedback (633b0c2)
- conn mngr min/max connection values (#528) (ba4681b)
- correct release readme (ce8e60b)
- examples readme typos (#481) (35ac02d)
- make dialer configurable (#521) (4ca481b)
- performance bottleneck in stat.js (#463) (93a1e42)
- registrar should filter the disconnected conn (#532) (bb2e56e)
- release tokens as soon as they are available (2570a1b)
- replace peerInfo addresses with listen addresses (#485) (1999606)
- stop discoveries (#530) (4222c49)
- token release logic (90ecc57)
- upgrader should not need muxers (#517) (5d7ee50)
- use toB58String everywhere to be consistent (#537) (c1038be)
- abort all pending dials on stop (ba02764)
- add early token recycling in (a5b54a7)
- add libp2p.connections getter (#522) (6445fda)
- add token based dialer (e445a17)
- allow transport options to be passed on creation (#524) (c339be1)
- coalescing dial support (#518) (15f7c2a)
- discovery modules (#486) (18a062e)
- discovery modules from transports should be added (#510) (f1eb373)
- peer store (#470) (582094a)
- registrar (#471) (9d52b80)
- support peer-id instances in peer store operations (#491) (8da9fc9)
0.27.0-rc.0 (2020-01-24)
- registrar should filter the disconnected conn (#532) (83409de)
- stop discoveries (#530) (c44e6e3)
- use toB58String everywhere to be consistent (#537) (31d1b23)
0.27.0-pre.2 (2020-01-07)
- conn mngr min/max connection values (#528) (a1717da)
- make dialer configurable (#521) (24c3ce6)
- upgrader should not need muxers (#517) (56a1825)
- add libp2p.connections getter (#522) (6ca19c5)
- allow transport options to be passed on creation (#524) (0d4b2bd)
0.27.0-pre.1 (2019-12-15)
0.27.0-pre.0 (2019-12-12)
- 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)
- abort all pending dials on stop (754fbc2)
- add early token recycling in (24c6037)
- add token based dialer (f8540fa)
- discovery modules (#486) (997ee16)
- discovery modules from transports should be added (#510) (af96dcc)
- peer store (#470) (f3e276e)
- registrar (#471) (797d8f0)
- support peer-id instances in peer store operations (#491) (11ed6bd)
0.26.2 (2019-09-24)
0.26.1 (2019-08-21)
- avoid using superstruct interface (aa95ab9)
- improve config defaults (#409) (3eef695), closes #406
- pubsub configuration (#404) (b0f124b), closes #401 #401 #401 #401 #401
- reference files directly to avoid npm install failures (#408) (b3deb35)
- reject rather than throw in get peer info (#410) (60b0cbc), closes #400
0.26.0 (2019-08-07)
0.26.0-rc.3 (2019-08-06)
0.26.0-rc.2 (2019-08-01)
- 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)
- integrate gossipsub by default (#365) (791f39a)
- promisify all api methods that accept callbacks (#381) (df6ef45)
- new configuration for deciding the implementation of pubsub to be used. In this context, the experimental flags were also removed. See the README for the latest usage.
- The ipfs interface specified that options should be provided after the handler, not before. https://github.com/ipfs/interface-js-ipfs-core/blob/v0.109.0/SPEC/PUBSUB.md#pubsubsubscribe
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)
- peer routing for delegate router (#377) (905c911), closes /github.com/libp2p/go-libp2p-core/blob/6e566d10f4a5447317a66d64c7459954b969bdab/routing/query.go#L15-L24
0.25.4 (2019-06-07)
- add createLibp2p to generate a PeerInfo instance (#367) (04faf18)
- pass libp2p as option to transport creation (#363) (b06ca1b)
0.25.3 (2019-05-07)
0.25.2 (2019-04-17)
0.25.1 (2019-04-16)
0.25.0 (2019-04-12)
0.25.0-rc.6 (2019-04-11)
0.25.0-rc.5 (2019-03-21)
0.25.0-rc.4 (2019-03-06)
0.25.0-rc.3 (2019-02-26)
0.25.0-rc.2 (2019-02-26)
0.25.0-rc.1 (2019-02-21)
0.24.4 (2019-01-04)
0.24.3 (2018-12-14)
0.24.2 (2018-12-04)
0.24.1 (2018-12-03)
0.24.0 (2018-11-16)
- add maxtimeout to dht get (#248) (69f7264)
- dht get options (4460e82)
- dont call callback before it's properly set (17b5f73)
- improve get peer info errors (714b6ec)
- start kad dht random walk (#251) (dd934b9)
- 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)
0.23.0 (2018-07-27)
- start and stop connection manager with libp2p (6106915)
- add check for protector and enforced pnet (2b7cc55)
0.22.0 (2018-06-29)
- 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)
- enable peer discovery modules by default (e320854)
0.21.0 (2018-06-28)
- lock wrtc to 0.1.1 (6507379)
- (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)
- 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)
- use correct reference to floodSub (947eaf1)
- add pubsub to libp2p (0c543b7)
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)
- 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)
0.15.0 (2018-01-07)
0.14.3 (2017-12-15)
0.14.2 (2017-12-15)
0.14.1 (2017-12-15)
0.14.0 (2017-12-14)
0.13.3 (2017-12-01)
0.13.2 (2017-11-27)
0.13.1 (2017-11-12)
0.13.0 (2017-10-26)
- 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)
0.11.0 (2017-07-22)
0.10.2 (2017-07-21)
- circle ci, thanks victor! (4224c1f)
0.10.1 (2017-07-10)
0.10.0 (2017-07-07)
- added missing dep async (45b0f61)
0.9.1 (2017-04-16)
0.9.0 (2017-04-06)
0.8.0 (2017-03-31)
- addition of ipfs id appendix must come before transport filtering (291e79f)
- avoid deleting nodes from peerBook (300936f)
- correct method on peer-book (031ecb3)
- append peer id to multiaddr if not there (59ea9c3)
- not remove peer from peerBook on disconnect (a4b41b0)
0.7.0 (2017-03-29)
0.6.2 (2017-03-28)
0.6.1 (2017-03-27)
0.6.0 (2017-03-27)
- last touches (2c23d9a)
- new super simplified API (a6623c1)