Alan Shaw
a39889c4ea
docs: add ToC link to pubsub.unsubscribe
2019-12-13 10:50:06 +01:00
Alan Shaw
9bbe93c772
docs: fix the ToC links ( #515 )
2019-12-12 18:40:40 +01:00
Vasco Santos
cc65a4b06f
chore: update readme ( #513 )
2019-12-12 13:08:06 +01:00
Jacob Heun
9c884a72b0
chore: release version v0.27.0-pre.0
v0.27.0-pre.0
2019-12-12 10:43:18 +01:00
Jacob Heun
3ee1e22242
chore: update contributors
2019-12-12 10:43:17 +01:00
Jacob Heun
45f47023d2
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
2019-12-12 10:29:10 +01:00
Vasco Santos
af96dcc499
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>
2019-12-12 10:29:10 +01:00
Jacob Heun
f540112835
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
2019-12-12 10:29:10 +01:00
Vasco Santos
3d30cb18cd
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>
2019-12-12 10:29:10 +01:00
Vasco Santos
64cbf90e02
refactor: ping ( #505 )
...
* refactor: ping
* chore: ping is now a function
* chore: address review
2019-12-12 10:29:10 +01:00
Jacob Heun
7fc1900343
chore: it-all over async-iterator-all
2019-12-12 10:29:09 +01:00
Jacob Heun
ad15d4ed09
chore: add bundlesize check back to ci
2019-12-12 10:29:09 +01:00
Jacob Heun
600f761009
chore: remove uneeded dep check exclusions
2019-12-12 10:29:09 +01:00
Jacob Heun
a2f31d99d2
chore: disable pull dep check until ping is refactored
2019-12-12 10:29:09 +01:00
Jacob Heun
edaa67dfd0
chore: remove unused packages
2019-12-12 10:29:09 +01:00
Jacob Heun
9b10e09cc0
chore: move stats folder and delete old switch code
2019-12-12 10:29:09 +01:00
Vasco Santos
8c6ad79630
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>
2019-12-12 10:29:08 +01:00
Jacob Heun
1838a641d9
fix: token release logic
2019-12-12 10:29:08 +01:00
Jacob Heun
3cadeb39cb
test: bump delay for ci
2019-12-12 10:29:08 +01:00
Jacob Heun
43440aa8a6
fix: release tokens as soon as they are available
2019-12-12 10:29:08 +01:00
Jacob Heun
7c3371bf17
fix: clean up pending dials abort per feedback
2019-12-12 10:29:08 +01:00
Jacob Heun
43b98e64b6
docs: add DialRequest description
2019-12-12 10:29:07 +01:00
Jacob Heun
962081f448
test: remove timeout
2019-12-12 10:29:07 +01:00
Jacob Heun
754fbc2d0b
feat: abort all pending dials on stop
2019-12-12 10:29:07 +01:00
Jacob Heun
0a8f9f3238
test: reduce randomwalk timeout
2019-12-12 10:29:07 +01:00
Jacob Heun
3b52236dee
chore: fix lint
...
test: reduce interval of randomwalk in test
chore(test): glob fix
2019-12-12 10:29:07 +01:00
Jacob Heun
c7dcfe5e48
test: add tests for DialRequest
2019-12-12 10:29:06 +01:00
Jacob Heun
3b06283ad8
test(fix): fix support for it.only, it.skip, etc
2019-12-12 10:29:06 +01:00
Jacob Heun
74bfe6bea5
docs(release): point to libp2p weekly sync
2019-12-12 10:29:06 +01:00
Jacob Heun
53ce404260
chore: update per feedback
2019-12-12 10:29:06 +01:00
Jacob Heun
43a3b85f1a
refactor: cleanup and reorganize
2019-12-12 10:29:06 +01:00
Jacob Heun
e8bf12b68a
chore: update docs
...
fix: protect against duplicate token releases
2019-12-12 10:29:05 +01:00
Jacob Heun
7d1cb5423f
chore: fix linting
2019-12-12 10:29:05 +01:00
Jacob Heun
c4be5f4aaf
refactor: consolidation multiaddr dial methods
2019-12-12 10:29:05 +01:00
Jacob Heun
a37c5c0144
refactor: clean up dial timeout abort
2019-12-12 10:29:05 +01:00
Jacob Heun
24c603741f
feat: add early token recycling in
2019-12-12 10:29:05 +01:00
Jacob Heun
ea62c52701
refactor: simplify DialRequest logic per feedback
2019-12-12 10:29:04 +01:00
Jacob Heun
f9fe44f6b7
chore: use any-signal module
2019-12-12 10:29:04 +01:00
Jacob Heun
d5405dbb08
refactor: PER_PEER_LIMIT is now MAX_PER_PEER_DIALS
2019-12-12 10:29:04 +01:00
Jacob Heun
571fd3b7d1
chore: apply suggestions from code review
...
Co-Authored-By: Vasco Santos <vasco.santos@moxy.studio>
Co-Authored-By: Alan Shaw <alan.shaw@protocol.ai>
2019-12-12 10:29:04 +01:00
Jacob Heun
cba2c6d8b2
chore: remove commented code
2019-12-12 10:29:04 +01:00
Jacob Heun
f8540fa3ed
feat: add token based dialer
2019-12-12 10:29:03 +01:00
Jacob Heun
0cacfe29a5
doc: add initial dialer readme
2019-12-12 10:29:03 +01:00
Jacob Heun
c4bc00be9c
fix: correct release readme
2019-12-12 10:29:03 +01:00
Jacob Heun
f3eb1f1201
fix: clean up peer discovery flow ( #494 )
...
* fix: clean up peer discovery flow
* test(fix): let libp2p start after connecting
* test(fix): dont auto dial in disco tests
2019-12-12 10:29:03 +01:00
Vasco Santos
dbb9e57311
chore: update pubsub implementations ( #493 )
2019-12-12 10:29:03 +01:00
Vasco Santos
11ed6bd14c
feat: support peer-id instances in peer store operations ( #491 )
2019-12-12 10:29:02 +01:00
Vasco Santos
fc22c36ba7
refactor: async routing ( #489 )
...
* feat: async routing
* chore: put dht extra api commands under content routing
* chore: add default option to createPeerInfo
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
* chore: address review
* chore: rm dlv
2019-12-12 10:29:02 +01:00
Jacob Heun
b518391a47
refactor: circuit relay to async ( #477 )
...
* refactor: add dialing over relay support
* chore: fix lint
* fix: dont clear listeners on close
* fix: if dial errors already have codes, just rethrow them
* fix: clear the registrar when libp2p stops
* fix: improve connection maintenance with circuit
* chore: correct feedback
* test: use chai as promised
* test(fix): reset multiaddrs on dial test
2019-12-12 10:29:02 +01:00
Vasco Santos
997ee166b0
feat: discovery modules ( #486 )
...
* feat: discovery modules
* chore: address review
2019-12-12 10:29:02 +01:00