1.0.0 (2022-05-10)
- the output of this module is now ESM-only by @achingbrain in ChainSafe/js-libp2p-gossipsub#236
- Tiddy Gossipsub API and comments by @dapplion in ChainSafe/js-libp2p-gossipsub#227
- Fix rpc.control metrics and reduce object creation by @dapplion in ChainSafe/js-libp2p-gossipsub#230
- Remove duplicate record of msgReceivedPreValidation metric by @tuyennhv in ChainSafe/js-libp2p-gossipsub#228
- chore: update cd action by @mpetrunic in ChainSafe/js-libp2p-gossipsub#245
0.14.0 (2022-04-05)
- New gossipsub implementation: better performance, async validation flow, improved peer scores significantly, add a lot of metrics
0.13.2 (2022-03-25)
- Do not apply P3 penalty if peers are pruned from topic mesh
- Fix flood publish behavior
- Increase the default for seenTTL to match that of go-libp2p
- _publish: Only compute score if peer stream has FloodsubID protocol
- Migrate tests to Typescript
- Prettier
- Apply strict-boolean-expression eslint rule
0.13.1 (2022-02-14)
- Fix async getFastMsgIdStr function
0.13.0 (2022-01-20)
0.12.2 (2022-01-20)
- async peerstore (5c3491c)
- peerstore methods and pubsub start/stop are now all async
- Add optional fast message id cache via the
fastMsgIdFn
option- In certain applications, computing the message id (
getMsgId
) is relatively expensive. This addition allows for an application to optionally define a "fast" message id function that will be used internally.
- In certain applications, computing the message id (
- Add optional cached message id function via
getCachedMsgIdStr
method override- Applications can maintain their own cache of message ids
0.12.1 (2021-12-03)
0.12.0 (2021-12-02)
- requires node 15+
0.11.4 (2021-09-20)
- hearbeat tick handler rounding issue (#166) (a6d24de)
- ignore yarn lock (b804758)
- remove yarn.lock (10e5dfe)
0.11.3 (2021-09-03)
0.11.2 (2021-09-02)
0.11.1 (2021-08-24)
0.11.0 (2021-07-09)
- the new
peer-id
module uses the newCID
class and not the old one
0.10.0 (2021-05-28)
0.9.2 (2021-05-28)
0.9.1 (2021-05-28)
0.9.0 (2021-04-28)
0.8.0 (2020-12-19)
0.7.0 (2020-11-13)
0.6.6 (2020-11-13)
0.6.5 (2020-11-12)
0.6.4 (2020-10-22)
0.6.3 (2020-10-05)
0.6.2 (2020-09-22)
0.6.1 (2020-09-03)
0.6.0 (2020-08-25)
- pick uintarrays commit (be47b50)
- add _acceptFrom filter (1ff5816)
- add adaptive gossip (0c56763)
- add direct peer connections (7103b83)
- add extended topic validators (a1208b6)
- add flood publishing (5854d26)
- add invalid message spam protection (27fe567)
- add iwant request tracking (b3942e4)
- add opportunistic grafting (cbee3a2)
- add outbound mesh quota (47bc4a7)
- add peer exchange (a0a691b)
- add prune backoff (4eb492c)
- libp2p as gossipsub parameter (02dff12)
- track ihave/iwant counts (8e04a11)
- Gossipsub default export parameter changed, now accepts (libp2p, options)
0.5.0 (2020-08-12)
-
- The
.data
and.seq
properties of messages used to be node Buffers, now they are Uint8Arrays
- The
- All deps of this module now use Uint8Arrays instead of Buffers
- chore: remove gh url from dep version
0.4.6 (2020-07-07)
- connected with a subscriber before a mesh is created should send messages (060346a)
0.4.5 (2020-06-04)
0.4.4 (2020-06-03)
0.4.3 (2020-06-03)
0.4.2 (2020-05-27)
- add topic validators to pubsub (5712fd1)
0.4.1 (2020-05-27)
0.4.0 (2020-04-23)
- remove peer-info usage (602ccaa)
- using new topology api with peer-id instead of peer-info and new pubsub internal peer data structure
0.3.0 (2020-04-23)
- add buffer and update deps (d8e9d1b)
0.2.6 (2020-04-04)
0.2.5 (2020-03-21)
0.2.4 (2020-02-14)
0.2.3 (2020-02-03)
- bind is not needed (7faae98)
- fix double publish bug (519f868), closes /github.com/ChainSafe/gossipsub-js/blob/master/test/floodsub.spec.js#L21 /travis-ci.com/ChainSafe/gossipsub-js/jobs/278427804#L270
- fix heartbeat startup/shutdown timing bug (a8302f9)
- parameter to _onPeerDisconnected (d43ceb5)
- update dependencies (7a44b66)
- switch to async iterators (3027835)
- getPeersSubscribed from parent class renamed to getSubscribers to remove redundant wording
- Switch to using async/await and async iterators for all the API. Moreover, gossipsub does not need the libp2p instance anymore, receiving a registerar that enables it to receive the necessary events from libp2p
0.2.2 (2020-01-24)
- bind is not needed (7faae98)
- fix double publish bug (519f868), closes /github.com/ChainSafe/gossipsub-js/blob/master/test/floodsub.spec.js#L21 /travis-ci.com/ChainSafe/gossipsub-js/jobs/278427804#L270
- fix heartbeat startup/shutdown timing bug (a8302f9)
- parameter to _onPeerDisconnected (d43ceb5)
- update dependencies (7a44b66)
- switch to async iterators (3027835)
- getPeersSubscribed from parent class renamed to getSubscribers to remove redundant wording
- Switch to using async/await and async iterators for all the API. Moreover, gossipsub does not need the libp2p instance anymore, receiving a registerar that enables it to receive the necessary events from libp2p
- bind is not needed (7faae98)
0.2.0 (2019-12-02)
- update dependencies (7a44b66)
- getPeersSubscribed from parent class renamed to getSubscribers to remove redundant wording.
0.1.0 (2019-19-14)
- switch to async iterators (ec8db51)
- Switch to using async/await and async iterators.
0.0.2 (2019-06-04)
- integration with js-libp2p (f894281)