b11c6fc7e9
chore: release version v0.26.2
v0.26.2
2019-09-24 14:10:58 +02:00
ebedd3510b
chore: update contributors
2019-09-24 14:10:57 +02:00
ae6af20e8e
fix: pubsub promisify ( #456 )
...
* fix: allow pubsub sub/unsub via promises
* chore: fix linting errors
2019-09-24 14:02:07 +02:00
2a80618740
docs: add bridged chats ( #454 )
2019-09-23 11:39:47 +02:00
5b1bd389f8
docs: update packages table ( #265 )
...
* docs: update packages table
* docs: removed not implemented packages
2019-09-03 10:29:03 +02:00
3e31c2d0df
docs: remove dead link from readme ( #450 )
2019-08-27 17:07:21 +02:00
8079c2078b
chore: release version v0.26.1
v0.26.1
2019-08-21 19:51:51 +02:00
80cf0777b5
chore: update contributors
2019-08-21 19:51:50 +02:00
60b0cbc179
fix: reject rather than throw in get peer info ( #410 )
...
The get peer info util consolidation from #400 exposed an issue
with how bad values are being handled. Throwing the error can cause
issues when promises are being used. Rejecting resolves this.
I added a test case to validate the change.
2019-08-21 19:08:56 +02:00
3eef695bc0
fix: improve config defaults ( #409 )
...
This removes defaults from superstruct and instead uses
mergeOptions to deeply set the defaults on configuration.
This ensures that defaults are properly set.
This is a step toward removing superstruct altogether, #406 ,
but it is still being used for basic type validation.
2019-08-21 16:44:30 +02:00
b3deb356f1
fix: reference files directly to avoid npm install failures ( #408 )
2019-08-21 10:23:06 +02:00
299cfefa01
chore: remove webrtcsupport
2019-08-20 17:34:55 +02:00
aa95ab9928
fix: avoid using superstruct interface
2019-08-20 17:34:55 +02:00
b0f124b5ff
fix: pubsub configuration ( #404 )
...
* fix: add pubsub default config (#401 )
License: MIT
Signed-off-by: Matthias Knopp <matthias-knopp@gmx.net >
* docs: add default pubsub config to README (#401 )
License: MIT
Signed-off-by: Matthias Knopp <matthias-knopp@gmx.net >
* fix: pass config to provided PubSub (#401 )
License: MIT
Signed-off-by: Matthias Knopp <matthias-knopp@gmx.net >
* docs: adapt pubsub/example for new config (#401 )
License: MIT
Signed-off-by: Matthias Knopp <matthias-knopp@gmx.net >
* Update examples/pubsub/README.md
Co-Authored-By: Jacob Heun <jacobheun@gmail.com >
* test: add pubsub config tests (#401 )
License: MIT
Signed-off-by: Matthias Knopp <matthias-knopp@gmx.net >
2019-08-19 17:06:08 +02:00
b294301456
refactor: add core modules to libp2p ( #400 )
...
* refactor: add js-libp2p-connection-manager to repo
Co-authored-by: David Dias <daviddias.p@gmail.com >
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
Co-authored-by: Pedro Teixeira <i@pgte.me >
Co-authored-by: Vasco Santos <vasco.santos@ua.pt >
* test(conn-mgr): only run in node
* refactor: add js-libp2p-identify to repo
Co-authored-by: David Dias <daviddias.p@gmail.com >
Co-authored-by: Friedel Ziegelmayer <dignifiedquire@gmail.com >
Co-authored-by: Hugo Dias <hugomrdias@gmail.com >
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
Co-authored-by: Maciej Krüger <mkg20001@gmail.com >
Co-authored-by: Richard Littauer <richard.littauer@gmail.com >
Co-authored-by: Vasco Santos <vasco.santos@moxy.studio >
Co-authored-by: Yusef Napora <yusef@protocol.ai >
Co-authored-by: ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ <victorbjelkholm@gmail.com >
* refactor: add libp2p-pnet to repo
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
Co-authored-by: Vasco Santos <vasco.santos@moxy.studio >
* refactor: add libp2p-ping to repo
Co-authored-by: David Dias <daviddias.p@gmail.com >
Co-authored-by: Francisco Baio Dias <xicombd@gmail.com >
Co-authored-by: Friedel Ziegelmayer <dignifiedquire@gmail.com >
Co-authored-by: Hugo Dias <mail@hugodias.me >
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
Co-authored-by: João Antunes <j.goncalo.antunes@gmail.com >
Co-authored-by: Richard Littauer <richard.littauer@gmail.com >
Co-authored-by: Vasco Santos <vasco.santos@moxy.studio >
Co-authored-by: Vasco Santos <vasco.santos@ua.pt >
Co-authored-by: ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ <victorbjelkholm@gmail.com >
* refactor: add libp2p-circuit to repo
Co-authored-by: David Dias <daviddias.p@gmail.com >
Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com >
Co-authored-by: Friedel Ziegelmayer <dignifiedquire@gmail.com >
Co-authored-by: Hugo Dias <mail@hugodias.me >
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
Co-authored-by: Maciej Krüger <mkg20001@gmail.com >
Co-authored-by: Oli Evans <oli@tableflip.io >
Co-authored-by: Pedro Teixeira <i@pgte.me >
Co-authored-by: Vasco Santos <vasco.santos@ua.pt >
Co-authored-by: Victor Bjelkholm <victorbjelkholm@gmail.com >
Co-authored-by: Yusef Napora <yusef@napora.org >
Co-authored-by: dirkmc <dirk@mccormick.cx >
* test(switch): avoid using instanceof
* chore(switch): update bignumber dep
* refactor(circuit): clean up tests
* refactor(switch): consolidate get peer utils
* test(identify): do deep checks of addresses
* test(identify): bump timeout for identify test
* test(switch): tidy up limit dialer test
* refactor(switch): remove redundant circuit tests
* chore: add coverage script
* refactor(circuit): consolidate get peer info
* docs: reference original repositories in each sub readme
* docs: fix comment
* refactor: clean up sub package.json files and readmes
2019-08-16 17:30:03 +02:00
d92306f222
docs: fix contributing readme ( #403 )
2019-08-13 12:10:59 +02:00
fd738f9d51
refactor: add js-libp2p-switch to the libp2p codebase ( #388 )
...
Co-authored-by: Alan Shaw <alan.shaw@protocol.ai >
Co-authored-by: Alan Shaw <alan@tableflip.io >
Co-authored-by: Arnaud <arnaud.valensi@gmail.com >
Co-authored-by: David Dias <daviddias.p@gmail.com >
Co-authored-by: David Dias <mail@daviddias.me >
Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com >
Co-authored-by: Francisco Baio Dias <xicombd@gmail.com >
Co-authored-by: Friedel Ziegelmayer <dignifiedquire@gmail.com >
Co-authored-by: Haad <haadcode@users.noreply.github.com >
Co-authored-by: Hugo Dias <mail@hugodias.me >
Co-authored-by: Hugo Dias <hugomrdias@gmail.com >
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
Co-authored-by: Kevin Kwok <antimatter15@gmail.com >
Co-authored-by: Kobi Gurkan <kobigurk@gmail.com >
Co-authored-by: Maciej Krüger <mkg20001@gmail.com >
Co-authored-by: Matteo Collina <matteo.collina@gmail.com >
Co-authored-by: Michael Fakhry <fakhrimichael@live.com >
Co-authored-by: Oli Evans <oli@tableflip.io >
Co-authored-by: Pau Ramon Revilla <masylum@gmail.com >
Co-authored-by: Pedro Teixeira <i@pgte.me >
Co-authored-by: Pius Nyakoojo <piusnyakoojo@gmail.com >
Co-authored-by: Richard Littauer <richard.littauer@gmail.com >
Co-authored-by: Sid Harder <sideharder@gmail.com >
Co-authored-by: Vasco Santos <vasco.santos@ua.pt >
Co-authored-by: harrshasri <35241544+harrshasri@users.noreply.github.com >
Co-authored-by: kumavis <kumavis@users.noreply.github.com >
Co-authored-by: ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ <victorbjelkholm@gmail.com >
2019-08-08 19:01:16 +02:00
d788433b43
chore: release version v0.26.0
v0.26.0
2019-08-07 20:48:42 +02:00
d5a977b227
chore: update contributors
2019-08-07 20:48:41 +02:00
0489972b4b
chore: release version v0.26.0-rc.3
v0.26.0-rc.3
2019-08-06 12:27:28 +02:00
3f31b1f422
chore: update contributors
2019-08-06 12:27:27 +02:00
a2b3446ed7
docs: async migration ( #397 )
2019-08-06 12:01:16 +02:00
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
9a8d609a59
chore: release version v0.26.0-rc.2
v0.26.0-rc.2
2019-08-01 17:17:54 +02:00
9fef58cb7d
chore: update contributors
2019-08-01 17:17:54 +02:00
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
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
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
7c2c852fc0
chore: release version v0.26.0-rc.1
v0.26.0-rc.1
2019-07-31 14:35:43 +02:00
e8d8aab278
chore: update contributors
2019-07-31 14:35:42 +02:00
dd48d268ec
chore: promisify pubsub start and stop ( #392 )
2019-07-31 14:33:00 +02:00
99a53592e2
chore: release version v0.26.0-rc.0
v0.26.0-rc.0
2019-07-31 09:47:06 +02:00
2a2e7a1012
chore: update contributors
2019-07-31 09:47:06 +02:00
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
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
48b1b442e9
docs: libp2p in browser example ( #390 )
...
* docs: improve browser example
* docs: remove bad ipfs link
2019-07-30 12:38:02 +02:00
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
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
b4a70ea476
chore: release version v0.25.5
v0.25.5
2019-07-12 13:10:55 +01:00
45716da465
chore: update contributors
2019-07-12 13:10:53 +01:00
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
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
9c2789bc15
chore: release version v0.25.4
v0.25.4
2019-06-07 17:10:07 +02:00
24be691bc1
chore: update contributors
2019-06-07 17:10:07 +02:00
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
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
b06ca1b3c7
feat: pass libp2p as option to transport creation ( #363 )
2019-05-17 12:11:22 +02:00
bde30cac45
chore: remove commitlint from travis
...
Commit messages should be fixed on PR squash and merge
2019-05-17 10:31:16 +02:00
28c054c21e
chore: release version v0.25.3
v0.25.3
2019-05-07 13:49:03 +02:00
c346e8066b
chore: update contributors
2019-05-07 13:49:02 +02:00