758 Commits

Author SHA1 Message Date
Vasco Santos
999c1b7740
fix: retimer reschedule does not work as interval (#710)
* fix: retimer reschedule does not work as interval

* chore: apply suggestions from code review

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

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-07-14 19:11:29 +02:00
Jacob Heun
99ff361a55
chore: release version v0.28.6 v0.28.6 2020-07-14 16:13:00 +02:00
Jacob Heun
6115f8b680
chore: update contributors 2020-07-14 16:12:59 +02:00
Vasco Santos
9ccab40fc8
fix: not dial all known peers in parallel on startup (#698)
* fix: not dial all known peers on startup

* feat: connection manager should proactively connect to peers from peerStore

* chore: increase bundle size

* fix: do connMgr proactive dial on an interval

* chore: address review

* chore: use retimer reschedule

* chore: address review

* fix: use minConnections in default config

* chore: minPeers to minConnections everywhere
2020-07-14 16:05:26 +02:00
Jacob Heun
619e5dd73c
chore: release version v0.28.5 v0.28.5 2020-07-10 17:26:21 +02:00
Jacob Heun
0fd23f6a5f
chore: update contributors 2020-07-10 17:26:21 +02:00
Jacob Heun
5a84dd56d0
fix: pass libp2p to the dht (#700) 2020-07-10 17:16:45 +02:00
Bernd Strehl
7b05d6922b
docs: add dht discovery documentation reference (#697)
Extended the description with a link for how to configure the libp2p-kad-dht for peer discovery.
2020-07-08 15:03:56 +02:00
Vasco Santos
08a4fad80b
chore: add modules to update in 0.28.x migration (#695) 2020-07-08 14:12:40 +02:00
Jacob Heun
51da8874d8
test: add pubsub reconnect test (#693)
* test: add pubsub reconnect test

* chore: dep bump

* chore: remove temp pubsub dep

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

Co-authored-by: Vasco Santos <vasco.santos@moxy.studio>
2020-07-07 18:31:51 +02:00
Jacob Heun
5cd8c19567
docs(fix): update link to ipfs config files (#690) 2020-07-07 12:56:17 +02:00
Vasco Santos
db766eaca9
chore: update circuit readme (#689)
* chore: update circuit readme

* chore: address review
2020-07-07 12:55:52 +02:00
Jacob Heun
a1308d640d
chore: release version v0.28.4 v0.28.4 2020-07-03 16:14:47 +02:00
Jacob Heun
19e7254c3d
chore: update contributors 2020-07-03 16:14:47 +02:00
Vasco Santos
f4898eb883
chore: add test for pubsub on reconnect (#691)
* chore: add test for pubsub on reconnect

* chore: update interface dep

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-07-03 16:08:37 +02:00
Francis Gulotta
9bec719fce
docs(fix): link to streaming-iterables' repo (#688) 2020-07-02 13:34:01 +02:00
Vasco Santos
b664c0aafd
chore: libp2p in the browser using webrtc servers (#684) 2020-06-29 16:31:07 +02:00
Jacob Heun
b524bbf627
chore: release version v0.28.3 v0.28.3 2020-06-18 15:40:38 +02:00
Jacob Heun
07bd269fb0
chore: update contributors 2020-06-18 15:40:38 +02:00
Jacob Heun
a8219e61a0
fix: catch pipe errors (#678)
* fix: catch pipe errors

There were some pipe errors not being caught. This can result in unhandled exceptions being thrown

* fix: catch pipe errors in identify push handler
2020-06-18 15:33:08 +02:00
Vasco Santos
a1590acc8b chore: add libp2p docs website to release checklist 2020-06-18 11:48:31 +02:00
Jacob Heun
a0cf83c640
chore: release version v0.28.2 v0.28.2 2020-06-15 12:48:25 +02:00
Jacob Heun
b56cdda0ef
chore: update contributors 2020-06-15 12:48:25 +02:00
Jacob Heun
b621fbdfdc revert: "fix: throw if no conn encryption module provided (#665)"
This reverts commit c038550fad5b285528d87427fc5fa37ba2b0ba3f.
2020-06-15 12:45:49 +02:00
Jacob Heun
24dd1d22c5
chore: release version v0.28.1 v0.28.1 2020-06-12 16:48:30 +02:00
Jacob Heun
a1a1213bdc
chore: update contributors 2020-06-12 16:48:29 +02:00
Cayman
90a9d93968 chore: refactor ConnectionManager#get 2020-06-11 16:21:51 +02:00
Cayman
8f680e20e9 feat: add ConnectionManager#getAll 2020-06-11 16:21:51 +02:00
Cayman
afafd08943
chore: fix discv5 npm link
chore: update package name for discv5
2020-06-11 13:03:31 +02:00
Vasco Santos
c038550fad
fix: throw if no conn encryption module provided (#665)
* fix: throw if no conn encryption module provided

* chore: address review

* chore: apply suggestions from code review

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

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-06-11 12:49:32 +02:00
Alex Potsides
d60a3215d0
chore: update interface datastore (#663)
* chore: update interface datastore

Updates to v1.x.x to not have multiple versions of this module in the ipfs browser bundle.

* fix: let batch commits complete before continuing tests

Batch commits are async but the tests weren't waiting for them to complete,
mainly because they are triggered by events.

There's no way that I can see of waiting for the batch commit to finish so
I've added delays to the tests. Not great but a start.

* chore: use error log

* test: wait for commit spies to complete

* chore: bump interface-datastore

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-06-10 23:39:40 +02:00
Vasco Santos
1e51295150 chore: use interop release 2020-06-08 12:20:48 +02:00
Jacob Heun
5299995998
chore: release version v0.28.0 v0.28.0 2020-06-05 15:32:03 +02:00
Jacob Heun
64a66f08ac
chore: update contributors 2020-06-05 15:32:03 +02:00
Jacob Heun
e2a63bab62
chore: release version v0.28.0-rc.0 v0.28.0-rc.0 2020-05-28 12:52:25 +02:00
Jacob Heun
294b032b0b
chore: update contributors 2020-05-28 12:52:24 +02:00
Jacob Heun
72f37acd4a fix: always emit when a connection is made 2020-05-28 12:37:48 +02:00
Jacob Heun
52a615f922 fix: expose the muxed stream interface on inbound streams 2020-05-28 12:37:48 +02:00
Vasco Santos
698c1df1b4 feat: support dial only on transport manager to tolerate errors (#643)
* feat: support dial only on transport manager to tolerate errors

* chore: address review

* chore: add jsdoc to transport manager tolerance errors
2020-05-28 12:37:48 +02:00
Cayman
7f4662f8d8 chore: fix api formatting (#644) 2020-05-28 12:37:48 +02:00
Vasco Santos
84b935f682 feat: metadata book (#638)
* feat: metadata book

* chore: address review

* chore: address review
2020-05-28 12:37:48 +02:00
Vasco Santos
0fbb59748e docs: update examples to 0.28.x api (#625)
* chore: update examples to 0.28 api

* chore: use libp2p-noise in examples

* chore: examples using multiaddrs property of libp2p

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

* docs: update language around secio in crypto example

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-05-28 12:37:48 +02:00
Vasco Santos
56316b8c1e docs: migration 0.27 to 0.28 (#637)
* docs: migration 0.27 to 0.28

* chore: apply suggestions from code review

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

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-05-28 12:37:48 +02:00
Vasco Santos
aaa1155633 chore: uncomment local peer public key after connect test 2020-05-28 12:37:48 +02:00
Vasco Santos
aa5e232479 chore: rewrite peer-store submit and retrieve docs (#605)
* chore: rewrite peer-store submit and retrieve docs

* chore: address review
2020-05-28 12:37:48 +02:00
Vasco Santos
eb7adcf1ab docs: libp2p components options specified 2020-05-28 12:37:48 +02:00
Vasco Santos
0be74e6a61 chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-05-28 12:37:48 +02:00
Vasco Santos
6065923356 chore: integrate libp2p-keychain into js-libp2p (#633)
Integrates the libp2p-keychain codebase into this repo
2020-05-28 12:37:48 +02:00
Vasco Santos
2b45fee0ed fix: onConnect should not add addr to the addressBook 2020-05-28 12:37:48 +02:00
Vasco Santos
8bf5a70bb8 chore: integrate libp2p-keychain into js-libp2p (#633)
Integrates the libp2p-keychain codebase into this repo

Co-authored-by: David Dias <daviddias.p@gmail.com>
Co-authored-by: Richard Schneider <makaretu@gmail.com>
Co-authored-by: Maciej Krüger <mkg20001@gmail.com>
Co-authored-by: Victor Bjelkholm <victorbjelkholm@gmail.com>
Co-authored-by: Masahiro Saito <camelmasa@gmail.com>
Co-authored-by: Alan Shaw <alan.shaw@protocol.ai>
Co-authored-by: Hugo Dias <mail@hugodias.me>
Co-authored-by: Alberto Elias <hi@albertoelias.me>
Co-authored-by: Alex Potsides <alex@achingbrain.net>
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-05-28 12:37:48 +02:00