424 Commits

Author SHA1 Message Date
Thomas Eizinger
4ed5c039fc chore: change from ipfs to p2p protocol (#315)
https://github.com/multiformats/js-multiaddr/pull/76 changed the
default protocol from ipfs to p2p.

js-multiaddr is a transitive dependency of peer-info, so in order
to get this change, we had to bump the version of peer-info.

* fix: revert ipfs -> p2p change for some tests

As per PR feedback. Needed for backwards-compatibility.
2019-02-05 19:59:42 +01:00
Vasco Santos
9e7a080a5c fix: emit peer discovery for dht discovery 2019-02-05 19:54:02 +01:00
Jacob Heun
558e5987be chore: remove _isStarted as it's no longer used
_isStarted is an outdated property and shouldn't exist
in the code anymore. The state machine handles start
logic and the isStarted computed property pulls from there.
The code comments around dht and pubsub are also no
longer valid, so they were deleted.
2019-02-05 15:57:10 +01:00
Jacob Heun
dcf59a8468 chore: update the release template 2019-02-05 15:37:25 +01:00
Jacob Heun
ab028a2be3
chore: update contributors v0.25.0-rc.0 2019-02-05 13:56:50 +01:00
Thomas Eizinger
91e60d4253
feat: prepare for new randomWalk config parameters
As per: https://github.com/libp2p/js-libp2p-kad-dht/issues/76

fix: pass whole dht config into DHT constructor
2019-02-05 12:42:40 +01:00
ebinks
679d446daa
fix: add callback to pubsub.unsubscribe and test (#300) 2019-02-01 19:27:47 +01:00
Jacob Heun
8047fb76fa
fix: start and stop error callback (#316)
* fix: ensure start and stop callbacks are called
2019-02-01 16:32:34 +01:00
Vasco Santos
c4cab007af feat: enable dht by default (#313)
BREAKING CHANGE: dht experimental flag was removed and a dht.enabled property was added to the config
2019-01-29 18:57:09 +01:00
Jacob Heun
ebaab3e47f chore: add discuss.ipfs.io to release checklist 2019-01-24 18:00:54 +00:00
Soeren
b31690c8e6 docs: add install dependencies 2019-01-07 15:07:42 -07:00
Jacob Heun
3bde9c8bed
chore: release version v0.24.4 v0.24.4 2019-01-04 10:15:49 -07:00
Jacob Heun
14e12ee1f1
chore: update contributors 2019-01-04 10:15:48 -07:00
Alan Shaw
2374929990 chore: update deps
License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
2019-01-04 10:11:49 -07:00
Jacob Heun
26de739bb1
chore: 2019 q1 okrs planning (#293)
* chore: add q1 2019 okr section

* docs: add proposed okr items

* chore: update OKR.md

* chore: remove quic transport

* chore: add thoughts on okr priorities

* chore: add detailed interop tests

* chore: add line for floodsub interop

* chore: move q1 okrs to the google spreadsheet
2018-12-17 12:20:12 +01:00
Jacob Heun
0f8d6afd8f
chore: release version v0.24.3 v0.24.3 2018-12-14 17:57:32 +01:00
Jacob Heun
daa26859e0
chore: update contributors 2018-12-14 17:57:31 +01:00
Jacob Heun
fdfb7b4e86
fix: not started yet (#297)
* fix: callback when not started rather than throwing asserts

* fix: dont remove transports until the switch has stopped

* test: update connection check logic

* test: fix variable reference

* chore: update switch dep

* chore: update switch dep
2018-12-14 17:54:32 +01:00
Jacob Heun
15bdb795a4
chore: release version v0.24.2 v0.24.2 2018-12-04 17:10:52 +01:00
Jacob Heun
7d78728f54
chore: update contributors 2018-12-04 17:10:52 +01:00
Jacob Heun
53ed3bdb99
fix: use symbol instead of constructor name (#292) 2018-12-04 16:04:17 +01:00
Jacob Heun
ae513887f5
chore: release version v0.24.1 v0.24.1 2018-12-03 12:56:51 +01:00
Jacob Heun
7c78faa171
chore: update contributors 2018-12-03 12:56:50 +01:00
Vasco Santos
7d12eb9e26 feat: allow configurable validators and selectors to the dht (#288)
* feat: allow configurable validators and selectors to the dht

* chore: remove fallback
2018-11-29 15:10:23 +01:00
Marcin Tojek
581a1de472 docs: merge example links: Peer and Content Routing (#285) 2018-11-20 13:40:38 +01:00
Jacob Heun
288ac17954
chore: update changelog 2018-11-16 14:31:13 +01:00
Jacob Heun
2e4459b315
chore: release version v0.24.0 v0.24.0 2018-11-16 14:12:01 +01:00
Jacob Heun
2a5232b541
chore: update contributors 2018-11-16 14:12:01 +01:00
Jacob Heun
44915b3723
0.24.0-rc.3 v0.24.0-rc.3 2018-11-15 18:59:22 +01:00
Jacob Heun
64bba57255
chore: add publish files to package 2018-11-15 18:58:40 +01:00
Jacob Heun
88ebd1fc09 test: improve multiaddr trim test 2018-11-15 18:01:31 +01:00
Jacob Heun
92cd591da4 chore: update deps 2018-11-15 18:01:31 +01:00
Jacob Heun
320d84f541
docs: update examples (#271)
* docs: fix examples

* chore: remove non jenkins ci files

* chore: update libp2p-spdy

* chore: update libp2p-spdy

* docs: update example language
2018-11-14 18:50:17 +01:00
Vasco Santos
970deec2a4 feat: add maxNumProviders to findprovs (#283)
* feat: add maxNumProviders to findprovs

* chore: upgrade libp2p-kad-dht
2018-11-13 11:46:51 +01:00
Jacob Heun
714b6ec2b9 fix: improve get peer info errors 2018-11-12 19:26:40 +01:00
Jacob Heun
f71fdfdf35 feat: conditionally emit errors
test: add tests for emit override
2018-11-12 19:26:04 +01:00
Jacob Heun
e92053da9a
Chore/update deps (#279)
* chore: update deps

* test: remove unneeded timeout

* chore: make nock a dev dep, it was not
2018-11-06 22:52:16 +01:00
Jacob Heun
17b5f73b3d fix: dont call callback before it's properly set 2018-11-05 15:43:59 +01:00
Jacob Heun
c18d2a4147
0.24.0-rc.2 2018-11-01 15:10:36 +01:00
Jacob Heun
f1baa7e0b1
chore: update switch version 2018-11-01 15:10:35 +01:00
Jacob Heun
4abc868ab3
0.24.0-rc.1 2018-11-01 15:10:35 +01:00
Vasco Santos
40e840d5fd feat: add datastore to config 2018-10-31 14:43:16 +01:00
Jacob Heun
9518eb44b3
docs: improve browser example connectability (#240) 2018-10-31 14:42:24 +01:00
Jacob Heun
0b75f99d75
feat: make libp2p a state machine (#257)
* docs: add events to readme
2018-10-19 17:37:34 +02:00
Jacob Heun
686379efb0
feat: enable relay by default (no hop) (#254)
docs: update readme default relay
2018-10-19 16:31:40 +02:00
Jacob Heun
a95389a28e
feat: add delegated peer and content routing support (#242)
* feat: allow for configuring content and peer routing

* feat: support multiple peer and content routing modules

* docs: add delegated routing example
2018-10-19 16:28:28 +02:00
Henrique Dias
3226632d83 docs: add lead maintainer to package table 2018-10-07 20:42:12 +03:00
Vasco Santos
dd934b9690 fix: start kad dht random walk (#251)
* fix: start kad dht random walk

* chore: added tests and stop random walk

* chore: allows to disable discovery for dht

* chore: upgrade kad-dht version
2018-10-04 14:40:32 +02:00
Vasco Santos
cef3c8b5cc chore: change dependency name from libp2p-railing to libp2p-bootstrap (#256)
* chore: change dependency name from libp2p-railing to libp2p-bootstrap

* fix: changed require on tests
2018-10-02 15:09:22 +02:00
Vasco Santos
eedb20e9a3 chore: upgrade libp2p-mplex 2018-10-01 17:26:41 +02:00