Vasco Santos
ed6d5bb4b4
chore: deprecate old peer store api ( #598 )
...
* chore: deprecate old peer-store api
BREAKING CHANGE: the peer-store api changed. Check the API docs for the new specification.
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-05-28 12:37:48 +02:00
Vasco Santos
e9d225c9dc
feat: address and proto books ( #590 )
...
* feat: address and proto books
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
* chore: minor fixes and initial tests added
* chore: integrate new peer-store with code using adapters for other modules
* chore: do not use peerstore.put on get-peer-info
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
* chore: add new peer store tests
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-05-28 12:37:48 +02:00
Cayman
2aac3b0f69
chore: update libp2p-gossipsub url
2020-05-27 23:14:54 +02:00
Vasco Santos
9862653051
chore: add readme reference to migrations
2020-05-25 14:54:03 +02:00
Julien Bouquillon
b781911ac2
fix(example): rename misleading variable ( #645 )
...
* fix(example): rename misleading variable
* fix: typo
2020-05-25 13:14:07 +02:00
Vasco Santos
3fa1fa3a0b
chore: increase max bundle size to 185kB
2020-05-11 11:00:13 +02:00
dependabot-preview[bot]
dfed982404
chore(deps-dev): bump libp2p-gossipsub from 0.2.6 to 0.3.0
...
Bumps [libp2p-gossipsub](https://github.com/ChainSafe/gossipsub-js ) from 0.2.6 to 0.3.0.
- [Release notes](https://github.com/ChainSafe/gossipsub-js/releases )
- [Changelog](https://github.com/ChainSafe/gossipsub-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ChainSafe/gossipsub-js/compare/v0.2.6...v0.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 11:00:13 +02:00
dependabot-preview[bot]
60b6a55906
chore(deps-dev): bump aegir from 21.10.2 to 22.0.0 ( #632 )
...
Bumps [aegir](https://github.com/ipfs/aegir ) from 21.10.2 to 22.0.0.
- [Release notes](https://github.com/ipfs/aegir/releases )
- [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ipfs/aegir/compare/v21.10.2...v22.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 10:52:49 +02:00
Jacob Heun
aadeb73c94
chore: release version v0.27.8
v0.27.8
2020-05-06 13:21:55 +02:00
Jacob Heun
ea6b1ecce4
chore: update contributors
2020-05-06 13:21:54 +02:00
Vasco Santos
d3ab238738
chore: update aegir
2020-05-05 20:08:45 +02:00
Vasco Santos
97455957ac
chore: remove wrtc devdep ( #624 )
2020-04-30 12:00:50 +02:00
David Dias
5255d87d0a
docs: remove Tech Lead from README ( #623 )
2020-04-30 11:51:21 +02:00
dependabot-preview[bot]
03ce7c3103
chore(deps-dev): bump p-times from 2.1.0 to 3.0.0 ( #620 )
...
Bumps [p-times](https://github.com/sindresorhus/p-times ) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/sindresorhus/p-times/releases )
- [Commits](https://github.com/sindresorhus/p-times/compare/v2.1.0...v3.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-28 13:16:41 +02:00
Didrik Nordström
ea0621b2f6
fix: reset discovery services upon stop ( #618 )
2020-04-27 12:07:30 +02:00
Jacob Heun
9197df309b
chore: release version v0.27.7
v0.27.7
2020-04-24 17:38:32 +02:00
Jacob Heun
8dd361338b
chore: update contributors
2020-04-24 17:38:32 +02:00
Hugo Dias
9b13fe321a
fix: remove node global ( #587 )
...
* fix: use new libp2p-crypto
* fix: remove node globals and reduce size
- adds buffer require
- adds globalThis where needed
- streaming-iterables was remove and new utils created, this will be consolidated in `ipfs-utils` and backported here to normalize all these iterator helper functions
- latency-monitor was copied inside the repo
- iso-random-stream is now used instead of node crypto
- the test `should ignore self on discovery` was moved to node only
Size: 172.97KB
47.03KB below the 220KB limit.
`aegir build --node false` and `aegir test -t browser --node false` now work 🎉
* fix: fix require path
* fix: feedback
* fix: update deps and bundle size
* chore: bump interfaces
* chore: update size
2020-04-24 17:10:40 +02:00
Jacob Heun
1f85e0213a
chore: release version v0.27.6
v0.27.6
2020-04-16 16:35:01 +02:00
Jacob Heun
09a604b5e5
chore: update contributors
2020-04-16 16:35:01 +02:00
Jacob Heun
ed16b69057
chore: update delegate routing deps to fix branches ( #609 )
...
* chore: update delegate routing deps to fix branches
* chore: bump delegate router versions
2020-04-16 15:48:13 +02:00
robertkiel
c940f2d384
fix: add null check in libp2p.hangUp()
...
test: add hangup test and fix linting
2020-04-15 14:49:47 +02:00
Vasco Santos
2620d46f01
chore: remove spdy from package table ( #607 )
2020-04-14 12:40:03 +02:00
Jacob Heun
e192eb6508
fix: make circuit relay listening addresses more forgiving ( #604 )
...
* test: dont be strict on nock mocking
* fix: be more forgiving with circuit listening addresses
2020-04-14 12:37:52 +02:00
Vasco Santos
b57de4ed0c
chore: add discv5 peer-discovery module ( #606 )
2020-04-14 10:51:29 +02:00
Jacob Heun
760d8b4c3a
chore: release version v0.27.5
v0.27.5
2020-04-06 13:33:08 +02:00
Jacob Heun
7b56f559cb
chore: update contributors
2020-04-06 13:33:08 +02:00
Jacob Heun
0fd5188176
test: dont use mdns in browser tests ( #602 )
...
* test(fix): dont use mdns in browser tests
* refactor: use async await consistently for _setupPeerDiscovery
2020-04-06 13:22:12 +02:00
Cayman
bd7fd0f755
fix: await peer discovery start in libp2p start ( #600 )
2020-04-06 12:32:12 +02:00
Jacob Heun
da83721d6d
chore: release version v0.27.4
v0.27.4
2020-03-31 13:47:41 +02:00
Jacob Heun
1414e45969
chore: update contributors
2020-03-31 13:47:41 +02:00
Jacob Heun
9e35fbc316
fix: pass libp2p to discovery services ( #597 )
...
* fix: include libp2p in the options passed to discovery creation
* fix: handle multiple peer addresses in get multiaddrs for peers
* test(peer-store): add test to verify returned relay multiaddrs
2020-03-31 13:43:27 +02:00
Jacob Heun
30728753cf
fix: only use a single export ( #596 )
2020-03-31 13:01:06 +02:00
dependabot-preview[bot]
afdbe3deac
chore(deps-dev): bump cids from 0.7.5 to 0.8.0 ( #594 )
...
Bumps [cids](https://github.com/multiformats/js-cid ) from 0.7.5 to 0.8.0.
- [Release notes](https://github.com/multiformats/js-cid/releases )
- [Changelog](https://github.com/multiformats/js-cid/blob/master/CHANGELOG.md )
- [Commits](https://github.com/multiformats/js-cid/compare/v0.7.5...v0.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-26 09:08:13 +01:00
Vasco Santos
ce58805e90
chore(deps): bump p-settle from 3.1.0 to 4.0.0 ( #581 )
...
Bumps [p-settle](https://github.com/sindresorhus/p-settle ) from 3.1.0 to 4.0.0.
- [Release notes](https://github.com/sindresorhus/p-settle/releases )
- [Commits](https://github.com/sindresorhus/p-settle/compare/v3.1.0...v4.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-05 18:12:58 +01:00
Vasco Santos
b5303fd788
chore: add outdated notice on wip delegated-routing-example ( #580 )
2020-03-05 18:05:57 +01:00
David Dias
aa78d2ef15
Update README.md
2020-03-05 11:16:34 +01:00
Vasco Santos
5a4641980d
chore: remove websocket star from package table ( #565 )
...
* chore: remove websocket star from package table
* chore: update package-table
* chore: remove not active modules
* chore: use package-table updated with correct ci badge url
2020-03-04 11:24:39 +01:00
Jacob Heun
f4ec35573e
fix(test): improve flakey random walk discovery test ( #574 )
...
* test: improve stability of dht discovery test
* test: isolate who is random walking
2020-02-28 15:30:43 +01:00
Vasco Santos
524e6f8433
chore: issue template mentioning js-libp2p ( #572 )
2020-02-26 17:12:44 +01:00
dependabot-preview[bot]
fad9cb22e0
chore(deps): bump p-any from 2.1.0 to 3.0.0 ( #570 )
...
Bumps [p-any](https://github.com/sindresorhus/p-any ) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/sindresorhus/p-any/releases )
- [Commits](https://github.com/sindresorhus/p-any/compare/v2.1.0...v3.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-26 11:23:26 +01:00
dependabot-preview[bot]
e1b158fbb9
chore(deps-dev): bump sinon from 8.1.1 to 9.0.0 ( #566 )
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 8.1.1 to 9.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v8.1.1...v9.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-26 11:10:34 +01:00
dependabot-preview[bot]
1837d6e95e
chore(deps-dev): bump aegir from 20.6.1 to 21.3.0 ( #567 )
...
Bumps [aegir](https://github.com/ipfs/aegir ) from 20.6.1 to 21.3.0.
- [Release notes](https://github.com/ipfs/aegir/releases )
- [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ipfs/aegir/compare/v20.6.1...v21.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-26 10:58:46 +01:00
Vasco Santos
4bce6aa0b9
chore: use libp2p utils ( #559 )
...
* chore: use libp2p utils
* chore: update libp2p-utils
2020-02-18 07:45:26 -05:00
dependabot-preview[bot]
4d11edd62c
chore(deps-dev): bump nock from 11.9.1 to 12.0.0
...
Bumps [nock](https://github.com/nock/nock ) from 11.9.1 to 12.0.0.
- [Release notes](https://github.com/nock/nock/releases )
- [Changelog](https://github.com/nock/nock/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nock/nock/compare/v11.9.1...v12.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-18 07:44:45 -05:00
Alex Potsides
a8984c6cd3
fix: remove use of assert module ( #561 )
...
* fix: remove use of assert module
The polyfill is big, we can simulate it by throwing an Error and it doesn't work under React Native.
* chore: fix linting
* chore: export invalid param code
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-02-14 14:42:23 +01:00
Jacob Heun
0882dcea3b
chore: release version v0.27.3
v0.27.3
2020-02-11 17:15:59 +01:00
Jacob Heun
b3d8132ea6
chore: update contributors
2020-02-11 17:15:59 +01:00
Jacob Heun
a317a8b011
fix: dont allow multiaddr dials without a peer id ( #558 )
...
* fix: require peer ids when dialing multiaddrs
* chore: fix lint
* docs: add more info about multiaddr peer ids
2020-02-11 16:32:40 +01:00
Jacob Heun
8bed8f39ff
chore: release version v0.27.2
v0.27.2
2020-02-05 17:46:41 +01:00