1.0.0 (2022-05-10)
- the output of this module is now ESM-only by @achingbrain in ChainSafe#236
- Tiddy Gossipsub API and comments by @dapplion in ChainSafe#227
- Fix rpc.control metrics and reduce object creation by @dapplion in ChainSafe#230
- Remove duplicate record of msgReceivedPreValidation metric by @tuyennhv in ChainSafe#228
- chore: update cd action by @mpetrunic in ChainSafe#245
13.1.0 (2024-06-20)
- add service capabilities and dependencies definition (#497) (9ffc2a2)
- publish at least mesh_n peers (#493) (bc3906f)
13.0.0 (2024-02-27)
- The
allowPublishToZeroPeers
option has been renamed toallowPublishToZeroTopicPeers
12.0.0 (2024-02-10)
- switch back to protons (#468)
11.2.1 (2024-02-05)
11.2.0 (2024-01-30)
11.1.0 (2024-01-08)
11.0.1 (2023-12-05)
11.0.0 (2023-12-03)
- requires libp2p v1
10.1.1 (2023-11-21)
10.1.0 (2023-08-22)
- export supporting metrics types (#462) (09296bd)
- revise onPrevalidationResult metrics (#464) (e51f248)
10.0.0 (2023-08-03)
- stream close methods are now asyc, requires [email protected] or later
9.1.0 (2023-06-29)
9.0.0 (2023-06-20)
- reportMessageValidationResult to accept peer id string (#432)
- reportMessageValidationResult to accept peer id string (a963680)
- reportMessageValidationResult to accept peer id string (#432) (a963680)
8.0.1 (2023-06-15)
8.0.0 (2023-05-16)
- update peerstore and releated deps for [email protected] compat (#425)
- update peerstore and releated deps for [email protected] compat (#425) (b6225d6)
7.0.0 (2023-04-20)
- the type of the source/sink properties have changed
6.3.0 (2023-04-13)
- add rpc error metrics (#412) (5cd8b07)
- add types to exports in packages.json (#419) (100592a)
- track promise only after a successful sendRpc() (#415) (a959b09)
- deps: bump @libp2p/interface-connection to 4.0.0 (#421) (50a99c7)
- deps: bump xml2js, @azure/ms-rest-js, @azure/storage-blob and aws-sdk (#420) (2a2e9fa)
- remove lead maintainer (#422) (38d5d65)
6.2.0 (2023-02-21)
6.1.0 (2023-01-19)
6.0.0 (2023-01-09)
- update multiformats and related dependencies (#393)
5.4.1 (2022-12-23)
5.4.0 (2022-12-22)
5.3.0 (2022-12-01)
5.2.1 (2022-11-15)
5.2.0 (2022-11-13)
5.1.1 (2022-11-03)
5.1.0 (2022-10-28)
5.0.0 (2022-10-22)
4.2.0 (2022-10-18)
- allow only defined list of topics (#348) (6b5ff4d)
- limit RPC lists on decode (#352) (8fbcb4c)
- support FastMsgIdFn returning a number (#355) (4df9677)
- track mcache not validated count (#351) (27bdee7)
- copy js files to dist manually (#340) (4c73e81)
- flip conditional in piggyback control - typo from #347 (#353) (cad96c2)
- sendRpc in a for loop (#347) (74cb495)
- update @multiformats/multiaddr to 11.0.0 (#339) (940dafc)
- update event type to extend
{ [s: string]: any }
(#336) (5c0db52)
4.1.1 (2022-08-24)
4.1.0 (2022-08-24)
4.0.0 (2022-08-11)
3.5.1 (2022-08-11)
- freeze libp2p dependencies to get through build errors (#316) (5e6ce1f)
- handle closing outbound stream (#314) (74c08b1)
3.5.0 (2022-08-02)
3.4.0 (2022-07-22)
3.3.0 (2022-07-20)
3.2.0 (2022-07-19)
3.1.0 (2022-07-11)
3.0.2 (2022-06-30)
3.0.1 (2022-06-29)
3.0.0 (2022-06-29)
- connection interface updated
2.0.0 (2022-06-15)
- uses new single-issue libp2p interface modules
1.2.0 (2022-06-15)
- add msgIdToStrFn option (#270) (7f475c5)
- improve heartbeat performance (#268) (840883d)
- remove messageIdFromString (#274) (43faf93)
- finding outbound peers in heartbeat (#266) (17c25a1)
- only gossip validated messages (#277) (c8784c7)
- add linting to tests (#279) (4b9b040)
- add missing release token (#280) (fd75b2a)
- remove gossipIncoming param (#281) (d327999)
- update aegir (#285) (e487d08)
1.1.2 (2022-06-03)
1.1.1 (2022-06-03)
1.1.0 (2022-06-03)
1.0.1 (2022-05-23)
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)