Jacob Heun
c339be10ee
feat: allow transport options to be passed on creation ( #524 )
...
* feat: allow transport options to be passed on creation
* fix: only add circuit transport if enabled
* chore: fix lint
2020-01-24 14:40:40 +01:00
Vasco Santos
7b326cc525
refactor: examples/peer-and-content-routing ( #500 )
...
* refactor: examples-peer-and-content-routing
* chore: address review
* chore: review suggestions
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
2020-01-24 14:40:40 +01:00
Vasco Santos
835a689965
refactor: examples/encrypted-communications ( #499 )
...
* refactor: examples/encrypted-communications
* chore: address review
2020-01-24 14:40:40 +01:00
Vasco Santos
b08d81cee7
refactor: examples-pubsub ( #504 )
2020-01-24 14:40:40 +01:00
Jacob Heun
6445fda050
feat: add libp2p.connections getter ( #522 )
...
* fix: make hangup accept what the API says it does
* feat: add libp2p.connections getter
* chore: fix typo
2020-01-24 14:40:40 +01:00
Jacob Heun
4ca481b869
fix: make dialer configurable ( #521 )
...
docs: update configuration and api docs
2020-01-24 14:40:40 +01:00
Vasco Santos
5d7ee50e76
fix: upgrader should not need muxers ( #517 )
...
* fix: upgrader should not need muxers
* chore: address review
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
2020-01-24 14:40:40 +01:00
Jacob Heun
48fd64182b
chore: release version v0.27.0-pre.1
2020-01-24 14:40:40 +01:00
Jacob Heun
58db09a9d3
chore: update contributors
2020-01-24 14:40:40 +01:00
Jacob Heun
15f7c2a974
feat: coalescing dial support ( #518 )
...
* docs: fix spelling in api
* fix: dont create peerstore twice
* feat: add support for dial coalescing
* doc(fix): add setPeerValue to API TOC
* docs: add more jsdocs to dialer
* chore: remove old comment
* fix: ensure connections are closed
* fix: registrar.getConnections returns first open conn
* fix: directly set the closed status
* chore: remove unneeded log
* refactor: peerStore.put takes an options object
2020-01-24 14:40:40 +01:00
Alan Shaw
4384d139d2
docs: add ToC link to pubsub.unsubscribe
2020-01-24 14:40:40 +01:00
Alan Shaw
bd1068e5d9
docs: fix the ToC links ( #515 )
2020-01-24 14:40:40 +01:00
Vasco Santos
854ac49a10
chore: update readme ( #513 )
2020-01-24 14:40:40 +01:00
Jacob Heun
f9d0047bf6
chore: release version v0.27.0-pre.0
2020-01-24 14:40:40 +01:00
Jacob Heun
ae5ce9a66f
chore: update contributors
2020-01-24 14:40:40 +01:00
Jacob Heun
14a1955a78
refactor: connection manager ( #511 )
...
* refactor: initial refactor of the connection manager
* fix: start/stop issues
* fix: add tests and resolve pruning issues
* chore: fix lint
* test: move conn manager tests to node only for now
* chore: apply suggestions from code review
Co-Authored-By: Vasco Santos <vasco.santos@moxy.studio>
* fix: assert min max connection options
* test: fix assertion check for browser
* docs: add api and config docs for conn manager
2020-01-24 14:40:40 +01:00
Vasco Santos
f1eb373235
feat: discovery modules from transports should be added ( #510 )
...
* feat: discovery modules from transports should be added
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
* chore: address review
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
2020-01-24 14:40:40 +01:00
Jacob Heun
dabee00127
refactor: stats ( #501 )
...
* docs: add initial notes on stats
* feat: initial refactor of stats to metrics
* feat: add support for placeholder metrics
This is helpful for tracking metrics prior to knowing the remote peers id
* fix: add metrics tests and fix issues
* fix: always clear the dial timeout timer
* docs: add metrics to api doc
* chore: apply suggestions from code review
Co-Authored-By: Vasco Santos <vasco.santos@moxy.studio>
* docs: update metrics docs
* fix: call metrics.onDisconnect
* docs(config): add example headers so they appear in the TOC
* docs(config): add metrics configuration
* docs(relay): fix relay configuration docs
2020-01-24 14:40:40 +01:00
Vasco Santos
17b6a3fd73
docs: config ( #495 )
...
* docs: new api
* chore: new iteration
* chore: apply suggestions from code review
Co-Authored-By: Alan Shaw <alan.shaw@protocol.ai>
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
* chore: address review
* docs: add events
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
* docs: configuration
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
* chore: update peer routing description
Co-Authored-By: Yusef Napora <yusef@protocol.ai>
* chore: decouple examples
* chore: address pr comment
* fix: connection encryption is required
* chore: apply review suggestion
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
2020-01-24 14:40:40 +01:00
Vasco Santos
4f7586886c
refactor: ping ( #505 )
...
* refactor: ping
* chore: ping is now a function
* chore: address review
2020-01-24 14:40:40 +01:00
Jacob Heun
71f46bf4a6
chore: it-all over async-iterator-all
2020-01-24 14:40:40 +01:00
Jacob Heun
cba035a75b
chore: add bundlesize check back to ci
2020-01-24 14:40:40 +01:00
Jacob Heun
2c5183bd70
chore: remove uneeded dep check exclusions
2020-01-24 14:40:40 +01:00
Jacob Heun
a586efb5f7
chore: disable pull dep check until ping is refactored
2020-01-24 14:40:40 +01:00
Jacob Heun
1db69c5f27
chore: remove unused packages
2020-01-24 14:40:40 +01:00
Jacob Heun
9e1a9f04ae
chore: move stats folder and delete old switch code
2020-01-24 14:40:40 +01:00
Vasco Santos
287f1b98e5
docs: new api ( #472 )
...
* docs: new api
* chore: new iteration
* chore: apply suggestions from code review
Co-Authored-By: Alan Shaw <alan.shaw@protocol.ai>
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
* chore: address review
* docs: add events
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
2020-01-24 14:40:40 +01:00
Jacob Heun
90ecc57dbc
fix: token release logic
2020-01-24 14:40:40 +01:00
Jacob Heun
ae52d483fc
test: bump delay for ci
2020-01-24 14:40:40 +01:00
Jacob Heun
2570a1ba30
fix: release tokens as soon as they are available
2020-01-24 14:40:40 +01:00
Jacob Heun
633b0c291f
fix: clean up pending dials abort per feedback
2020-01-24 14:40:40 +01:00
Jacob Heun
7d505494be
docs: add DialRequest description
2020-01-24 14:40:40 +01:00
Jacob Heun
1df52ae205
test: remove timeout
2020-01-24 14:40:40 +01:00
Jacob Heun
ba02764c5f
feat: abort all pending dials on stop
2020-01-24 14:40:40 +01:00
Jacob Heun
404fa69513
test: reduce randomwalk timeout
2020-01-24 14:40:40 +01:00
Jacob Heun
85988cfaab
chore: fix lint
...
test: reduce interval of randomwalk in test
chore(test): glob fix
2020-01-24 14:40:40 +01:00
Jacob Heun
def3574ba0
test: add tests for DialRequest
2020-01-24 14:40:40 +01:00
Jacob Heun
6b1da8326f
test(fix): fix support for it.only, it.skip, etc
2020-01-24 14:40:40 +01:00
Jacob Heun
a12006a4fa
docs(release): point to libp2p weekly sync
2020-01-24 14:40:40 +01:00
Jacob Heun
466b4dfd70
chore: update per feedback
2020-01-24 14:40:40 +01:00
Jacob Heun
98e82df5e1
refactor: cleanup and reorganize
2020-01-24 14:40:40 +01:00
Jacob Heun
6ad840c3f3
chore: update docs
...
fix: protect against duplicate token releases
2020-01-24 14:40:40 +01:00
Jacob Heun
7ac5e42a1a
chore: fix linting
2020-01-24 14:40:40 +01:00
Jacob Heun
b86ef64904
refactor: consolidation multiaddr dial methods
2020-01-24 14:40:40 +01:00
Jacob Heun
b6cd48b798
refactor: clean up dial timeout abort
2020-01-24 14:40:40 +01:00
Jacob Heun
a5b54a7017
feat: add early token recycling in
2020-01-24 14:40:40 +01:00
Jacob Heun
e1e3be8106
refactor: simplify DialRequest logic per feedback
2020-01-24 14:40:40 +01:00
Jacob Heun
b7432bd02b
chore: use any-signal module
2020-01-24 14:40:40 +01:00
Jacob Heun
7c2fefda46
refactor: PER_PEER_LIMIT is now MAX_PER_PEER_DIALS
2020-01-24 14:40:40 +01:00
Jacob Heun
2788982c53
chore: apply suggestions from code review
...
Co-Authored-By: Vasco Santos <vasco.santos@moxy.studio>
Co-Authored-By: Alan Shaw <alan.shaw@protocol.ai>
2020-01-24 14:40:40 +01:00