Jacob Heun
d5a977b227
chore: update contributors
2019-08-07 20:48:41 +02:00
Jacob Heun
0489972b4b
chore: release version v0.26.0-rc.3
v0.26.0-rc.3
2019-08-06 12:27:28 +02:00
Jacob Heun
3f31b1f422
chore: update contributors
2019-08-06 12:27:27 +02:00
Vasco Santos
a2b3446ed7
docs: async migration ( #397 )
2019-08-06 12:01:16 +02:00
Jacob Heun
ff7a6c86a0
fix: promisified methods ( #398 )
...
* chore: update ws rendezvous dep
test(fix): fix tests with latest ws rendezvous server
* fix: promisification of libp2p methods
test: add tests to verify promisify support until async/await endeavor is complete
* chore: fix linting
2019-08-06 10:53:23 +02:00
Jacob Heun
9a8d609a59
chore: release version v0.26.0-rc.2
v0.26.0-rc.2
2019-08-01 17:17:54 +02:00
Jacob Heun
9fef58cb7d
chore: update contributors
2019-08-01 17:17:54 +02:00
Jacob Heun
684f283aec
chore: update switch ( #395 )
...
BREAKING CHANGE: switch configuration has changed.
'blacklistTTL' is now 'denyTTL' and 'blackListAttempts' is now 'denyAttempts'
2019-08-01 17:15:02 +02:00
Jacob Heun
3e95e6f9e4
fix: dont override methods of created instance ( #394 )
...
* fix: dont override methods of created instance
* chore: fix lint
2019-08-01 16:08:38 +02:00
Jacob Heun
f4f3f0f03a
fix: pubsub default config ( #393 )
...
* docs: update browser example pubsub
* docs: fix pubsub example config
* fix: make pubsub default to enabled
This allows for only adding the module to have it enabled. Previously you would have to supply and enable the module which is unncessary for users
2019-07-31 18:47:30 +02:00
Jacob Heun
7c2c852fc0
chore: release version v0.26.0-rc.1
v0.26.0-rc.1
2019-07-31 14:35:43 +02:00
Jacob Heun
e8d8aab278
chore: update contributors
2019-07-31 14:35:42 +02:00
Vasco Santos
dd48d268ec
chore: promisify pubsub start and stop ( #392 )
2019-07-31 14:33:00 +02:00
Jacob Heun
99a53592e2
chore: release version v0.26.0-rc.0
v0.26.0-rc.0
2019-07-31 09:47:06 +02:00
Jacob Heun
2a2e7a1012
chore: update contributors
2019-07-31 09:47:06 +02:00
Vasco Santos
791f39a09b
feat: integrate gossipsub by default ( #365 )
...
BREAKING CHANGE: 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.
2019-07-31 09:38:14 +02:00
Jacob Heun
65d52857a5
test(fix): correct findProviders test for missing provider ( #391 )
...
* test(fix): correct findProviders test for missing provider
* chore: fix lint
2019-07-30 15:11:24 +02:00
Jacob Heun
48b1b442e9
docs: libp2p in browser example ( #390 )
...
* docs: improve browser example
* docs: remove bad ipfs link
2019-07-30 12:38:02 +02:00
Jacob Heun
9554b05c6f
fix: make subscribe comply with ipfs interface ( #389 )
...
BREAKING CHANGE: 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.
2019-07-30 12:36:23 +02:00
Alex Potsides
df6ef45a2d
feat: promisify all api methods that accept callbacks ( #381 )
...
* feat: promisify all api methods that accept callbacks
This is a stop-gap until the full async/await migration can be
completed. It means we can refactor tests of other modules that
depend on this module without having to mix async flow control
strategies.
N.b. some methods that were previously callable without callbacks
(e.g. `node.start()`, `node.stop()`, etc) now require callbacks
otherwise a promise is returned which, if rejected, can cause
`unhandledPromiseRejection` events and lead to memory leaks.
* docs: add a global note to the api about promisify
* fix: update the logic for unsubscribe
* test(fix): correct pubsub unsubscribe usage for api change
* test(fix): update content routing tests for latest delegate version
2019-07-29 15:40:40 +02:00
Jacob Heun
b4a70ea476
chore: release version v0.25.5
v0.25.5
2019-07-12 13:10:55 +01:00
Jacob Heun
45716da465
chore: update contributors
2019-07-12 13:10:53 +01:00
Vasco Santos
905c911946
fix: peer routing for delegate router ( #377 )
...
* fix: peer routing tests
* test: fix mock payload type
Provider results are type 4, not type 1: 6e566d10f4/routing/query.go (L15-L24)
2019-07-12 13:02:03 +01:00
Jacob Heun
10811e9ced
chore: update keywords and description ( #370 )
...
* chore: update keywords and description
chore: reorganize package.json fields
* test: bump timeouts for peer generation
2019-06-12 14:18:34 +02:00
Jacob Heun
9c2789bc15
chore: release version v0.25.4
v0.25.4
2019-06-07 17:10:07 +02:00
Jacob Heun
24be691bc1
chore: update contributors
2019-06-07 17:10:07 +02:00
Jacob Heun
9433c6c398
docs: add createLibp2p to readme ( #368 )
...
* chore: update deps
* test(fix): account for wrtcrendezvous now being thenable
2019-06-07 15:50:23 +02:00
Jacob Heun
04faf1806c
feat: add createLibp2p to generate a PeerInfo instance ( #367 )
...
createLibp2p is a new exported helper function that allows users to create a libp2p instance without worrying about creating a PeerInfo instance first.
2019-06-06 12:21:31 +02:00
Guy Sviry
b06ca1b3c7
feat: pass libp2p as option to transport creation ( #363 )
2019-05-17 12:11:22 +02:00
Jacob Heun
bde30cac45
chore: remove commitlint from travis
...
Commit messages should be fixed on PR squash and merge
2019-05-17 10:31:16 +02:00
Jacob Heun
28c054c21e
chore: release version v0.25.3
v0.25.3
2019-05-07 13:49:03 +02:00
Jacob Heun
c346e8066b
chore: update contributors
2019-05-07 13:49:02 +02:00
Jacob Heun
40978a1940
feat: sign pubsub messages ( #362 )
...
* fix: forward pubsub publish callback to floodsub
chore: update floodsub version
* test: add random walk delay to config
* chore: update floodsub
2019-05-07 13:45:59 +02:00
Jacob Heun
71dcaafcac
chore: release version v0.25.2
v0.25.2
2019-04-17 15:06:47 +02:00
Jacob Heun
5319e065ec
chore: update contributors
2019-04-17 15:06:47 +02:00
Jacob Heun
f3801f0e6c
fix: dht config ( #359 )
2019-04-17 15:04:35 +02:00
Jacob Heun
51cc993876
docs: fix incorrect references for enabling dht discovery ( #358 )
2019-04-16 15:04:23 +02:00
Jacob Heun
a800c1ad91
chore: release version v0.25.1
v0.25.1
2019-04-16 12:40:41 +02:00
Jacob Heun
54c474de98
chore: update contributors
2019-04-16 12:40:41 +02:00
Jacob Heun
f28dffb268
fix: bail when discovering self ( #357 )
2019-04-16 12:05:22 +02:00
Jacob Heun
c049074cb5
chore: update release template ( #355 )
2019-04-12 13:05:13 +02:00
Jacob Heun
1bde70f1b5
chore: release version v0.25.0
v0.25.0
2019-04-12 11:15:34 +02:00
Jacob Heun
cfa4df6e11
chore: update contributors
2019-04-12 11:15:33 +02:00
Jacob Heun
eb5aa03232
fix: allow switch to be configured ( #354 )
2019-04-12 11:10:09 +02:00
Jacob Heun
4cb541ddae
docs: update examples for latest libp2p rc ( #353 )
...
* docs: update chat example readme
* docs: update discovery test for autodial
* docs: fix delegated routing example
* docs: update echo example readme
* docs: fix libp2p in the browser example
* docs: update examples for peer/content routing
* docs: update the pubsub example
2019-04-11 15:52:04 +02:00
Jacob Heun
aa1d9b273a
chore: release version v0.25.0-rc.6
v0.25.0-rc.6
2019-04-11 13:54:40 +02:00
Jacob Heun
7313f781fc
chore: update contributors
2019-04-11 13:54:39 +02:00
Jacob Heun
313b1eae20
fix: connection emits ( #352 )
...
* fix: add connection tracking events
* chore: update dependencies
2019-04-11 13:49:31 +02:00
Jacob Heun
01aa44724e
feat: auto dial discovered peers ( #349 )
2019-04-11 12:44:58 +02:00
Vasco Santos
8b627797e2
chore: add discourse badge ( #351 )
2019-04-10 11:53:19 +02:00