508 Commits

Author SHA1 Message Date
Vasco Santos
14d09970ca chore: release version v0.7.0 v0.7.0 2020-11-03 18:26:50 +01:00
Vasco Santos
c98c58e824 chore: update contributors 2020-11-03 18:26:49 +01:00
Cayman
946b046440
feat: pubsub: add global signature policy (#66)
BREAKING CHANGE:
`signMessages` and `strictSigning` pubsub configuration options replaced
with a `globalSignaturePolicy` option
2020-11-03 18:22:03 +01:00
Jacob Heun
d168c7d531
chore: release version v0.6.0 v0.6.0 2020-10-05 16:40:42 +02:00
Jacob Heun
349c1174db
chore: update contributors 2020-10-05 16:40:41 +02:00
Cayman
e14844315b
feat: update pubsub getMsgId return type to Uint8Array (#65)
BREAKING CHANGE:
new getMsgId return type is not backwards compatible with prior `string`
return type.
2020-10-05 16:36:29 +02:00
Vasco Santos
ff3bd10704 chore: release version v0.5.2 v0.5.2 2020-09-30 11:27:32 +02:00
Vasco Santos
4ecd7d3c83 chore: update contributors 2020-09-30 11:27:31 +02:00
Marin Petrunić
eacdc246da
chore: add type generation from jsdoc (#64) 2020-09-30 11:21:11 +02:00
Jacob Heun
c43e8e26bd
chore: release version v0.5.1 v0.5.1 2020-08-25 13:09:56 +02:00
Jacob Heun
94cf0fa4fc
chore: update contributors 2020-08-25 13:09:56 +02:00
Vasco Santos
ba15a48dd9
feat: interface pubsub (#60)
* feat: interface pubsub

* chore: pubsub router tests

* chore: move pubsub abstractions from gossipsub

* chore: address review

* chore: revamp docs

* chore: add emit self tests to interface

* chore: refactor base tests

* chore: publish should only accept one topic per api call

* chore: normalize msg before emit

* chore: do not reset inbound stream

* chore: apply suggestions from code review

Co-authored-by: Jacob Heun <jacobheun@gmail.com>

* chore: address review

* fix: remove subscribe handler

* chore: remove bits from create peerId

Co-authored-by: Jacob Heun <jacobheun@gmail.com>

* chore: remove delay from topic validators tests

* chore: add event emitter information

* fix: topic validator docs

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-25 13:05:58 +02:00
Jacob Heun
c4be5eed4b
chore: release version v0.5.0 v0.5.0 2020-08-24 12:23:18 +02:00
Jacob Heun
9e0d23de9c
chore: update contributors 2020-08-24 12:23:18 +02:00
Jacob Heun
4130e7f098
fix: replace remaining Buffer usage with Uint8Array (#62)
* fix: marshal record as Uint8Array

BREAKING CHANGE: records now marshal as Uint8Array instead of Buffer

* fix: refactor remaining Buffer usage to Uint8Array
2020-08-24 12:20:24 +02:00
Vasco Santos
d6376377d3
docs: update discovery tests usage (#61) 2020-08-17 18:10:55 +02:00
Jacob Heun
a60ae091e5
chore: release version v0.4.1 v0.4.1 2020-08-11 15:26:28 +02:00
Jacob Heun
4902542e78
chore: update contributors 2020-08-11 15:26:27 +02:00
Alex Potsides
4d5f56d06f
chore: update libp2p-tcp (#59)
Updates libp2p-tcp to a version that depends on the same multiaddr as this module.
2020-08-11 15:22:43 +02:00
Jacob Heun
13aa6cbfa0
chore: release version v0.4.0 v0.4.0 2020-08-10 12:36:11 +02:00
Jacob Heun
a8ba13da4b
chore: update contributors 2020-08-10 12:36:11 +02:00
Alex Potsides
75f6777d89
chore: update deps (#57)
* chore: update deps

Pulls in latest peer id with Uint8Arrays

BREAKING CHANGES:

- The peer id dep of this module has replaced node Buffers with Uint8Arrays

* chore: update gh deps
2020-08-10 12:23:45 +02:00
Jacob Heun
71b813ad3b
chore: release version v0.3.2 v0.3.2 2020-07-15 12:57:26 +02:00
Jacob Heun
46589ce3d0
chore: update contributors 2020-07-15 12:57:25 +02:00
Jacob Heun
f2a18818f2
chore: update deps (#55)
* chore: update deps

* chore: remove unused peer-info dep
2020-07-15 12:56:37 +02:00
Vasco Santos
1cc943e1b2
feat: record interface (#52)
* feat: record interface

* chore: add readme reference

* chore: address review
2020-07-15 12:29:36 +02:00
Jacob Heun
4adedcc4bf
chore: release version v0.3.1 v0.3.1 2020-07-03 15:51:41 +02:00
Jacob Heun
0628d708c4
chore: update contributors 2020-07-03 15:51:41 +02:00
Vasco Santos
e10a1545c8
fix: reconnect should trigger topology on connect if protocol stored (#54)
* fix: reconnect should trigger topology on connect if protocol stored

* chore: address review
2020-07-03 15:48:12 +02:00
Vasco Santos
9fbf9d0331 fix: content and peer routing multiaddrs property (#49) 2020-06-05 16:12:33 +02:00
Jacob Heun
aa996d2054 chore: release version v0.3.0 2020-06-05 16:12:33 +02:00
Jacob Heun
507013a724 chore: update contributors 2020-06-05 16:12:33 +02:00
Vasco Santos
a55c7c454a chore: remove peer-info usage on topology (#42)
* chore: remove peer-info usage on topology

BREAKING CHANGE: topology api now uses peer-id instead of peer-info
2020-06-05 16:12:33 +02:00
Vasco Santos
87e2e89791 chore: update content and peer routing interfaces removing peer-info (#43)
* chore: update content and peer routing interfaces removing peer-info

BREAKING CHANGE: content-routing and peer-routing APIs return an object with relevant properties instead of peer-info
2020-06-05 16:12:33 +02:00
Vasco Santos
5bcfc966f7 chore: discovery should not use once (#45) 2020-06-05 16:12:33 +02:00
Vasco Santos
c8c249de6e chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
2020-06-05 16:12:33 +02:00
Vasco Santos
5b138ef0a0 chore: add tests for peer-discovery 2020-06-05 16:12:33 +02:00
Vasco Santos
bdd2502ef6 feat: peer-discovery not using peer-info
BREAKING CHANGE: peer-discovery emits object with id and multiaddrs properties
2020-06-05 16:12:33 +02:00
dependabot-preview[bot]
1bef8d5d78
chore(deps-dev): bump aegir from 21.10.2 to 22.0.0 (#50)
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:10 +02:00
kumavis
9a8f375d40
fix: peer-routing typo (#47) 2020-04-22 15:30:59 +02:00
Jacob Heun
afc2aa6891
chore: release version v0.2.8 v0.2.8 2020-04-21 11:33:14 +02:00
Jacob Heun
424a0c081e
chore: update contributors 2020-04-21 11:33:14 +02:00
Hugo Dias
e824b15032
chore: update deps (#46) 2020-04-21 11:27:41 +02:00
Vasco Santos
dba3b9932f
Merge pull request #44 from wemeetagain/patch-1
chore: add discv5 peer discovery module
2020-04-11 11:02:12 +02:00
Cayman
c56dd3e3fa
chore: add discv5 peer discovery module 2020-04-10 14:03:58 -05:00
Jacob Heun
de64a49007
chore: release version v0.2.7 v0.2.7 2020-03-20 20:57:31 +01:00
Jacob Heun
3cfd9714bd
chore: update contributors 2020-03-20 20:57:30 +01:00
Hugo Dias
78e015cef3
fix: add buffer (#39) 2020-03-20 20:53:54 +01:00
dependabot-preview[bot]
bd5a8b9337 chore(deps): bump sinon from 8.1.1 to 9.0.0
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-19 08:20:14 -05:00
Jacob Heun
098390cd31
chore: release version v0.2.6 v0.2.6 2020-02-17 16:21:31 -05:00