209 KiB
v0.34.0 (2024-10-29)
Notes:
Features
- change latency buckets (#3153) (956fde6e)
- libwaku: ping peer (#3144) (de11e576)
- initial windows support (#3107) (ff21c01e)
- Circuit relay (#3112) (cfde7eea)
Bug Fixes
- linting error (#3146) (b4d3678a)
- peer exchange libwaku response handling (#3141) (76606421)
- add more logs, stagger intervals & set prune offset to 10% for waku sync (#3142) (a386880b)
- add log and archive message ingress for sync (#3133) (80c7581a)
- add a limit of max 10 content topics per query (#3117) (c35dc549)
- avoid segfault by setting a default num peers requested in PX (#3122) (82fd5dde)
- returning peerIds in base 64 (#3105) (37edaf62)
- changing libwaku's error handling format (#3093) (2e6c299d)
- remove spammy log (#3091) (1d2b910f)
- out connections leak (#3077) (eb2bbae6)
- rejecting excess relay connections (#3065) (8b0884c7)
- static linking negentropy in ARM based mac (#3046) (256b7853)
Changes
- support ping with multiple multiaddresses and close stream (#3154) (3665991a)
- ** liteprotocoltester:** easy setup fleets for lpt (#3125) (268e7e66)
- saving peers enr capabilities (#3127) (69d9524f)
- networkmonitor: add missing field on RlnRelay init, set default for num of shard (#3136) (edcb0e15)
- add to libwaku peer id retrieval proc (#3124) (c5a825e2)
- adding to libwaku dial and disconnect by peerIds (#3111) (25da8102)
- dbconn - add requestId info as a comment in the database logs (#3110) (30c072a4)
- improving get_peer_ids_by_protocol by returning the available protocols of connected peers (#3109) (ed0ee5be)
- remove warnings (#3106) (c861fa9f)
- better store logs (#3103) (21b03551)
- Improve binding for waku_sync (#3102) (c3756e3a)
- improving and temporarily skipping flaky rln test (#3094) (a6ed80a5)
- update master after release v0.33.1 (#3089) (54c3083d)
- re-arrange function based on responsibility of peer-manager (#3086) (0f8e8740)
- waku_keystore: give some more context in case of error (#3064) (3ad613ca)
- bump negentropy (#3078) (643ab20f)
- Optimize store (#3061) (5875ed63)
- wrap peer store (#3051) (729e63f5)
- disabling metrics for libwaku (#3058) (b358c90f)
- test peer connection management (#3049) (711e7db1)
- updating upload and download artifact actions to v4 (#3047) (7c4a9717)
- Better database query logs and logarithmic scale in grafana store panels (#3048) (d68b06f1)
- extending store metrics (#3042) (fd83b42f)
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
66/WAKU2-METADATA |
raw |
/vac/waku/metadata/1.0.0 |
WAKU-SYNC |
draft |
/vac/waku/sync/1.0.0 |
v0.33.1 (2024-10-03)
Bug fixes
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
66/WAKU2-METADATA |
raw |
/vac/waku/metadata/1.0.0 |
WAKU-SYNC |
draft |
/vac/waku/sync/1.0.0 |
v0.33.0 (2024-09-30)
Notes:
- The
--pubsub-topic
CLI configuration has been deprecated and support for it will be removed on release v0.35.0. In order to migrate, please use the--shard
configuration instead. For example, instead of--pubsub-topic=/waku/2/rs/<CLUSTER_ID>/<SHARD_ID>
, use--cluster-id=<CLUSTER_ID>
once and--shard=<SHARD_ID>
for each subscribed shard - The
--rest-private
CLI configuration has been removed. Please delete any reference to it when running your nodes - Introduced the
--reliability
CLI configuration, activating the new experimental StoreV3 message confirmation protocol - DOS protection configurations of non-relay, req/resp protocols are changed
--request-rate-limit
and--request-rate-period
options are no longer supported.--rate-limit
CLI configuration is now available.- The new flag can describe various rate-limit requirements for each protocol supported. The setting can be repeated, each instance can define exactly one rate-limit option.
- Format is
<protocol>:volume/period<time-unit>
- If protocol is not given, settings will be taken as default for un-set protocols. Ex: 80/2s
- Supported protocols are: lightpush|filter|px|store|storev2|storev3
volume
must be an integer value, representing number of requests over the period of time allowed.period <time-unit>
must be an integer with defined unit as one of h|m|s|ms- If not set, no rate limit will be applied to request/response protocols, except for the filter protocol.
Release highlights
- a new experimental reliability protocol has been implemented, leveraging StoreV3 to confirm message delivery
- Peer Exchange protocol can now be protected by rate-limit boundary checks.
- Fine-grained configuration of DOS protection is available with this release. See, "Notes" above.
Bug Fixes
- rejecting excess relay connections (#3063) (8b0884c7)
- make Peer Exchange's rpc status_code optional for backward compatibility (#3059) (5afa9b13)
- px protocol decode - do not treat missing response field as error (#3054) (9b445ac4)
- setting up node with modified config (#3036) (8f289925)
- get back health check for postgres legacy (#3010) (5a0edff7)
- libnegentropy integration (#2996) (c3cb06ac)
- peer-exchange issue (#2889) (43157102)
Changes
- append current version in agentString which is used by the identify protocol (#3057) (368bb3c1)
- rate limit peer exchange protocol, enhanced response status in RPC (#3035) (0a7f16a3)
- Switch libnegentropy library build from shared to static linkage (#3041) (83f25c3e)
- libwaku reduce repetitive code by adding a template handling resp returns (#3032) (1713f562)
- libwaku - extending the library with peer_manager and peer_exchange features (#3026) (5ea1cf0c)
- use submodule nph in CI to check lint (#3027) (ce9a8c46)
- deprecating pubsub topic (#2997) (a3cd2a1a)
- lightpush - error metric less variable by only setting a fixed string (#3020) (d3e6717a)
- enhance libpq management (#3015) (45319f09)
- per limit split of PostgreSQL queries (#3008) (e1e05afb)
- Added metrics to liteprotocoltester (#3002) (8baf627f)
- extending store metrics (#2995) (fd83b42f)
- Better timing and requestId detail for slower store db queries (#2994) (e8a49b76)
- remove unused setting from external_config.nim (#3004) (fd84363e)
- delivery monitor for store v3 reliability protocol (#2977) (0f68274c)
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
66/WAKU2-METADATA |
raw |
/vac/waku/metadata/1.0.0 |
WAKU-SYNC |
draft |
/vac/waku/sync/1.0.0 |
v0.32.0 (2024-08-30)
Notes:
- A new
discv5-only
CLI flag was introduced, which if set to true will perform optimizations for nodes that only run the DiscV5 service - The
protected-topic
CLI config item has been deprecated in favor of the newprotected-shard
configuration. Protected topics are still supported and will be completely removed in two releases time forv0.34.0
Release highlights
- Merged Nwaku Sync protocol for synchronizing store nodes
- Added Store Resume mechanism to retrieve messages sent when the node was offline
Features
- Nwaku Sync (#2403) (2cc86c51)
- misc. updates for discovery network analysis (#2930) (4340eb75)
- store resume (#2919) (aed2a113)
Bug Fixes
- return on insert error (#2956) (5f0fbd78)
- network monitor improvements (#2939) (80583237)
- add back waku discv5 metrics (#2927) (e4e01fab)
- update and shift unittest (#2934) (08973add)
- handle rln-relay-message-limit (#2867) (8d107b0d)
Changes
- libwaku retrieve my enr and adapt golang example (#2987) (1ff9f1dd)
- run
ANALYZE messages
regularly for better db performance (#2986) (32f2d85d) - liteprotocoltester for simulation and for fleets (#2813) (f4fa73e9)
- lock in nph version and add pre-commit hook (#2938) (d63e3430)
- logging received message info via onValidated observer (#2973) (e8bce67d)
- deprecating protected topics in favor of protected shards (#2983) (e51ffe07)
- rename NsPubsubTopic (#2974) (67439057)
- install dig (#2975) (d24b56b9)
- print WakuMessageHash as hex strings (#2969) (2fd4eb62)
- updating dependencies for release 0.32.0 (#2971) (dfd42a7c)
- bump negentropy to latest master (#2968) (b36cb075)
- keystore: verbose error message when credential is not found (#2943) (0f11ee14)
- upgrade peer exchange mounting (#2953) (42f1bed0)
- replace statusim.net instances with status.im (#2941) (f534549a)
- updating doc reference to https rpc (#2937) (bb7bba35)
- Simplification of store legacy code (#2931) (d4e8a0da)
- add peer filtering by cluster for waku peer exchange (#2932) (b4618f98)
- return all connected peers from REST API (#2923) (a29eca77)
- adding lint job to the CI (#2925) (086cc8ed)
- improve sonda dashboard (#2918) (6d385cef)
- Add new custom built and test target to make in order to enable easy build or test single nim modules (#2913) (ad25f437)
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
66/WAKU2-METADATA |
raw |
/vac/waku/metadata/1.0.0 |
WAKU-SYNC |
draft |
/vac/waku/sync/1.0.0 |
v0.31.1 (2024-08-02)
Changes
Bug fixes
-
Use of detach finalize when needed 2966
-
Prevent legacy store from creating new partitions as that approach blocked the database. 2931
-
lightpush better feedback in case the lightpush service node does not have peers 2951
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
WAKU2-STORE |
draft |
/vac/waku/store-query/3.0.0 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
66/WAKU2-METADATA |
raw |
/vac/waku/metadata/1.0.0 |
v0.31.0 (2024-07-16)
Notes
- Named sharding has been deprecated in favor of static sharding. Topics in formats other than
/waku/2/rs/<cluster>/<shard>
are no longer supported
Features
- DOS protection of non relay protocols - rate limit phase3 (#2897) (ba418ab5b)
- sonda tool (#2893) (e269dca9c)
- add proper per shard bandwidth metric calculation (#2851) (8f14c0473)
Bug Fixes
- bug(storev3): can't advance cursor #2745
- chore(storev3): only select the messageHash column when using a store query with include_data: false #2637
- rln_keystore_generator improve error handling for unrecoverable failure (#2881) (1c9eb2741)
- duplicate message forwarding in filter service (#2842) (99149ea9d)
- only set disconnect time on left event (#2831) (01050138c)
- adding peer exchange peers to the peerStore (#2824) (325e13169)
- ci use --tags to match non-annotated tags (#2814) (317c83dc1)
- update peers ENRs in peer store in case they are updated (#2818) (cda18f96c)
- mount metadata in wakucanary (#2793) (3b27aee82)
Changes
- setting filter handling logs to trace (#2914) (5c539fe13)
- enhance postgres and retention policy logs (#2884) (71ee42de5)
- improving logging under debugDiscv5 flag (#2899) (8578fb0c3)
- archive and drivers refactor (#2761) (f54ba10bc)
- new release process to include Status fleets (#2825) (4264666a3)
- sqlite make sure code is always run (#2891) (4ac4ab2a4)
- deprecating named sharding (#2723) (e1518cf9f)
- bump dependencies for v0.31.0 (#2885) (fd6a71cdd)
- refactor relative path to better absolute (#2861) (8bfad3ab4)
- saving agent and protoVersion in peerStore (#2860) (cae0c7e37)
- unit test for duplicate message push (#2852) (31c632e42)
- remove all pre-nim-1.6 deadcode from codebase (#2857) (9bd8c33ae)
- nim-chronos bump submodule (#2850) (092add1ca)
- ignore arbitrary data stored in
multiaddrs
enr key (#2853) (76d5b2642) - add origin to peers admin endpoint (#2848) (7205f95cf)
- add discv5 logs (#2811) (974b8a39a)
- archive.nim - increase the max limit of content topics per query to 100 (#2846) (a05fa0691)
- update content-topic parsing for filter (#2835) (733edae43)
- better descriptive log (#2826) (94947a850)
- zerokit: bump submodule (#2830) (c483acee3)
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
WAKU2-STORE |
draft |
/vac/waku/store-query/3.0.0 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
66/WAKU2-METADATA |
raw |
/vac/waku/metadata/1.0.0 |
v0.30.2 (2024-07-12)
Release highlights
- RLN message limit to 100 messages per epoch.
- Avoid exclusive access when creating new partitions in the PostgreSQL messages table.
Changes
- chore(rln): rln message limit to 100 (#2883)
- fix: postgres_driver better partition creation without exclusive access 28bdb70b
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
66/WAKU2-METADATA |
raw |
/vac/waku/metadata/1.0.0 |
v0.30.1 (2024-07-03)
Notes
- Before upgrading to this version, if you are currently using RLN, make sure to remove your existing
keystore
folder andrln_tree
and start your installation from scratch, as explained in nwaku-compose.
Release highlights
- RLN_v2 is used. The maximum rate can be set to
N
messages per epoch, instead of just one message per epoch. See this for more details. Notice that we established an epoch of 10 minutes.
Changes
- rln-relay: add chain-id flag to wakunode and restrict usage if mismatches rpc provider (#2858)
- rln: fix nullifierlog vulnerability (#2855)
- chore: add TWN parameters for RLNv2 (#2843)
- fix(rln-relay): clear nullifier log only if length is over max epoch gap (#2836)
- rlnv2: clean fork of rlnv2 (#2828) (a02832fe)
- zerokit: bump submodule (#2830) (bd064882)
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
66/WAKU2-METADATA |
raw |
/vac/waku/metadata/1.0.0 |
v0.29.0 (2024-06-19)
What's Changed
Notes:
- Named sharding will be deprecated in favor of static sharding. Topics in formats other than
/waku/2/rs/<cluster>/<shard>
will stop being supported starting fromv0.31.0
Release highlights:
- Android support in libwaku
- Discovery is available in libwaku
- New LiteProcotolTester tool
- RLN proofs as a lightpush service
Features
- RLN proofs as a lightpush service (#2768) (0561e5bd)
- Push newly released nwaku image with latest-release tag (#2732) (736ce1cb)
- Rln-relay: use arkzkey variant of zerokit (#2681) (e7b0777d)
Bug Fixes
- Better sync lock in partition creation (#2783) (8d3bbb1b)
- Multi nat initialization causing dead lock in waku tests + serialize test runs to avoid timing and port occupied issues (#2799) (5989de88)
- Increase on chain group manager starting balance (#2795) (e72bb7e7)
- More detailed logs to differentiate shards with peers (#2794) (55a87d21)
- waku_archive: only allow a single instance to execute migrations (#2736) (88b8e186)
- Move postgres related tests under linux conditional (57ecb3e0)
- Invalid cursor returning messages (#2724) (a65b13fc)
- Do not print the db url on error (#2725) (40296f9d)
- Use
when
instead ofif
for adding soname on linux (#2721) (cbaefeb3) - Store v3 bug fixes (#2718) (4a6ec468)
Changes
- Set msg_hash logs to notice level (#2737) (f5d87c5b)
- Minor enhancements (#2789) (31bd6d71)
- postgres_driver - acquire/release advisory lock when creating partitions (#2784) (c5d19c44)
- Setting fail-fast to false in matrixed github actions (#2787) (005349cc)
- Simple link refactor (#2781) (77adfccd)
- Improving liteprotocolteseter stats (#2750) (4c7c8a15)
- Extract common prefixes into a constant for multiple query (#2747) (dfc979a8)
- wakucanary: fix fitler protocol, add storev3 (#2735) (e0079cd0)
- Bump nim-libp2p version (#2661) (6fbab633)
- Link validation process docs to the release process file (#2714) (ebe69be8)
- Android support (#2554) (1e2aa57a)
- Discovery in libwaku (#2711) (74646848)
- libwaku - allow to properly set the log level in libwaku and unify a little (#2708) (3faffdbc)
- waku_discv5, peer_manager - add more logs help debug discovery issues (#2705) (401630ee)
- Generic change to reduce the number of compilation warnings (#2696) (78132dc1)
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
66/WAKU2-METADATA |
raw |
/vac/waku/metadata/1.0.0 |
v0.28.1 (2024-05-29)
This patch release fixes the following bug:
- Store node does not retrieve messages because the meta field is missing in queries.
Bug Fix
- Commit that fixes the bug 8b42f199
This is a patch release that is fully backwards-compatible with release v0.28.0
.
It supports the same libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
66/WAKU2-METADATA |
raw |
/vac/waku/metadata/1.0.0 |
v0.28.0 (2024-05-22)
What's Changed
Release highlights:
- Store V3 has been merged
- Implemented an enhanced and more robust node health check mechanism
- Introduced the Waku object to libwaku in order to setup a node and its protocols
Features
- Added message size check before relay for lightpush (#2695) (9dfdfa27)
- adding json string support to bindings config (#2685) (be5471c6)
- Added flexible rate limit checks for store, legacy store and lightpush (#2668) (026d804a)
- store v3 return pubsub topics (#2676) (d700006a)
- supporting meta field in store (#2609) (a46d4451)
- store v3 (#2431) (0b0fbfad)
Bug Fixes
- use await instead of waitFor in async tests (#2690) (a37c9ba9)
- message cache removal crash (#2682) (fa26d05f)
- add
meta
to sqlite migration scripts (#2675) (82f95999) - content_script_version_4.nim: migration failed when dropping unexisting constraing (#2672) (38f8b08c)
- filter: log is too large (#2665) (cee020f2)
- issue #2644 properly (#2663) (853ec186)
- store v3 validate cursor & remove messages (#2636) (e03d1165)
- waku_keystore: sigsegv on different appInfo (#2654) (5dd645cf)
- rln-relay: persist metadata every batch during initial sync (#2649) (a9e19efd)
- handle named sharding in enr (#2647) (8d1b0834)
- parse shards properly in enr config for non twn (#2633) (6e6cb298)
- proto field numbers & status desc (#2632) (843fe217)
- missing rate limit setting for legacy store protocol (#2631) (5f65565c)
- rln-relay: enforce error callback to remove exception raised from retryWrapper (#2622) (9c9883a6)
- rln-relay: increase retries for 1 minute recovery time (#2614) (1a23700d)
- ci: unique comment_tag to reference rln version (#2613) (2c01fa0f)
- don't use WakuMessageSize in req/resp protocols (#2601) (e61e4ff9)
- create options api for cors preflight request (#2598) (768c61b1)
- node restart test issue (#2576) (4a8e62ac)
- doc: update REST API docs (#2581) (006d43ae)
Changes
- move code from wakunode2 to a more generic place, waku (#2670) (840e0122)
- closing ping streams (#2692) (7d4857ea)
- Postgres enhance get oldest timestamp (#2687) (8451cf8e)
- rln-relay: health check should account for window of roots (#2664) (6a1af922)
- updating TWN bootstrap fleet to waku.sandbox (#2638) (22f64bbd)
- simplify migration script postgres version_4 (#2674) (91c85738)
- big refactor to add waku component in libwaku instead of only waku node (#2658) (2463527b)
- simplify app.nim and move discovery items to appropriate modules (#2657) (404810aa)
- log enhancement for message reliability analysis (#2640) (d5e0e4a9)
- metrics server. Simplify app.nim module (#2650) (4a110f65)
- change nim-libp2p branch from unstable to master (#2648) (d09c9c91)
- Enabling to use a full node for lightpush via rest api without lightpush client configured (#2626) (2a4c0f15)
- rln-relay: resultify rln-relay 1/n (#2607) (1d7ff288)
- ci.yml - avoid calling brew link libpq --force on macos (#2627) (05f332ed)
- an enhanced version of convenient node health check script (#2624) (7f8d8e80)
- rln-db-inspector: add more logging to find zero leaf indices (#2617) (40752b1e)
- addition of waku_api/rest/builder.nim and reduce app.nim (#2623) (b28207ab)
- Separation of node health and initialization state from rln_relay (#2612) (6d135b0d)
- enabling rest api as default (#2600) (6bc79bc7)
- move app.nim and networks_config.nim to waku/factory (#2608) (1ba9df4b)
- workflow to autoassign PR (#2604) (10d36c39)
- start moving discovery modules to waku/discovery (#2587) (828583ad)
- don't create docker images for users without org's secrets (#2585) (51ec12be)
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
66/WAKU2-METADATA |
raw |
/vac/waku/metadata/1.0.0 |
The Waku v1 implementation has been removed from this repository and can be found in a separate Waku Legacy repository.
v0.27.0 (2024-04-19)
Note:
- Filter v1 protocol and its REST-API access have been deprecated.
- A new field of the
WakuMetadataRequest
protobuf for shards was introduced. The old shards field (2) will be deprecated in 2 releases time- CLI flags
--requestRateLimit
and--requestRatePeriod
have been added for rate limiting configuration. Period is measured in seconds. Limits are measured per protocol per period of time. Over limit will result in TOO_MANY_REQUEST (429) response.
What's Changed
Release highlights:
- Introduced configurable rate limiting for lightpush and store requests
- Sync time has been considerably reduced for node initialization
- Significant refactors were made to node initialization and
WakuArchive
logic as work towards C-bindings and Store V3 features
Features
- Added simple, configurable rate limit for lightpush and store-query (#2390) (a00f350c)
- examples/golang/waku.go add new example (#2559) (8d66a548)
- c-bindings: rln relay (#2544) (2aa835e3)
- incentivization: add codec for eligibility proof and status (#2419) (65530264)
- rest: add support to ephemeral field (#2525) (c734f60d)
- archive update for store v3 (#2451) (505479b8)
- c-bindings: add function to dealloc nodes (#2499) (8341864d)
Bug Fixes
- rln-relay: reduce sync time (#2577) (480a62fa)
- rest store: content_topic -> contentTopic in the response (#2584) (d2578553)
- c-bindings: rln credential path key (#2564) (3d752b11)
- cluster-id 0 disc5 issue (#2562) (a76c9587)
- regex for rpc endpoint (#2563) (c87545d5)
- rln: set a minimum epoch gap (#2555) (b5e4795f)
- fix regresion + remove deprecated flag (#2556) (47ad0fb0)
- networkmanager: regularly disconnect from random peers (#2553) (70c53fc0)
- remove subscription queue limit (#2551) (94ff5eab)
- peer_manager - extend the number of connection requests to known peers (#2534) (2173fe22)
- 2491: Fix metadata protocol disconnecting light nodes (#2533) (33774fad)
- rest: filter/v2/subscriptions response (#2529) (7aea2d4f)
- store: retention policy regex (#2532) (23a291b3)
- enable autosharding in any cluster (#2505) (5a225809)
- introduce new field for shards in metadata protocol (#2511) (f9f92b7d)
- rln-relay: handle empty metadata returned by getMetadata proc (#2516) (1274b15d)
Changes
- adding migration script adding i_query index (#2578) (4117fe65)
- bumping chronicles version (#2583) (a04e0d99)
- add ARM64 support for Linux/MacOS (#2580) (269139cf)
- rln: update submodule + rln patch version (#2574) (24f6fed8)
- bumping dependencies for 0.27.0 (#2572) (f68ac792)
- c-bindings: node initialization (#2547) (6d0f6d82)
- remove deprecated legacy filter protocol (#2507) (e8613172)
- switch wakuv2 to waku fleet (#2519) (18a05359)
- create nph.md (#2536) (a576e624)
- Better postgres duplicate insert (#2535) (693a1778)
- add 150 kB to msg size histogram metric (#2430) (2c1391d3)
- content_script_version_2: add simple protection and rename messages_backup if exists (#2531) (c6c376b5)
- vendor: update nim-libp2p path (#2527) (3c823756)
- adding node factory tests (#2524) (a1b3e090)
- factory cleanup (#2523) (8d7eb3a6)
- rln-relay-v2: wakunode testing + improvements (#2501) (059cb975)
- update CHANGELOG for v0.26.0 release (#2518) (097cb362)
- migrating logic from wakunode2.nim to node_factory.nim (#2504) (dcc88ee0)
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
66/WAKU2-METADATA |
raw |
/vac/waku/metadata/1.0.0 |
The Waku v1 implementation has been removed from this repository and can be found in a separate Waku Legacy repository.
v0.26.0 (2024-03-07)
Note:
- JSON-RPC API has been removed completely. Instead we recommend you to utilize REST API endpoints that have same and extended functionality. Please have a look at Waku's REST-API reference: https://waku-org.github.io/waku-rest-api
- Support for Cross-Origin-Resource-Sharing (CORS headers) is added for our REST-API services. This allows you to access our REST-API from a browser. New repeatable CLI flag is added by this feature:
--rest-allow-origin="example.com"
or--rest-allow-origin="127.0.0.0:*"
Flag allows using wildcards (*
and?
) in the origin string.- Store protocol now has a better support for controlling DB size of Postgres store. This feature needs no user action.
Announcement:
Please notice that from the next release (0.27.0) we will deprecate features.
- We will decomission the Filter v1 protocol and its REST-API access.
Features
- Postgres partition implementation (#2506) (161a10ec)
- waku-stealth-commitments: waku stealth commitment protocol (#2490) (0def4904)
- bindings: generate a random private key (#2446) (56ff30ca)
- prioritise yamux above mplex (#2417) (ce151efc)
- supporting meta field in WakuMessage (#2384) (3903f130)
eventCallback
per wakunode anduserData
(#2418) (707f3e8b)- rln-relay-v2: nonce/messageId manager (#2413) (50308eda)
- networkmonitor: add support for rln (#2401) (9c0e9431)
- rln-relay-v2: rln-keystore-generator updates (#2392) (2d46c351)
- add yamux support (#2397) (1b402667)
Bug Fixes
- rln-relay: make nullifier log abide by epoch ordering (#2508) (beba14dc)
- postgres: import under feature flag (#2500) (e692edf6)
- notify Waku Metadata when Waku Filter subscribe to a topic (#2493) (91e3f8cd)
- time on 32 bits architecture (#2492) (0a751228)
- return message id on
waku_relay_publish
(#2485) (045091a9) - bindings: base64 payload and key for content topic (#2435) (d01585e9)
- rln-relay: regex pattern match for extended domains (#2444) (29b0c0b8)
- checking for keystore file existence (#2427) (8f487a21)
- rln-relay: graceful shutdown with non-zero exit code (#2429) (22026b7e)
- check max message size in validator according to configured value (#2424) (731dfcbd)
- wakunode2: move node config inside app init branch (#2423) (0dac9f9d)
Changes
- rln_db_inspector: include in wakunode2 binary (#2292) (a9d0e481)
- Update link to DNS discovery tutorial (#2496) (9ef2eccb)
- rln-relay-v2: added tests for static rln-relay-v2 (#2484) (5b174fb3)
- moving node initialization code to node_factory.nim (#2479) (361fe2cd)
- Postgres migrations (#2477) (560f949a)
- rln-relay-v2: added tests for onchain rln-relay-v2 (#2482) (88ff9282)
- remove json rpc (#2416) (c994ee04)
- ci: use git describe for image version (55ff6674)
- Implemented CORS handling for nwaku REST server (#2470) (d832f92a)
- remove rln epoch hardcoding (#2483) (3f4f6d7e)
- cbindings: cbindings rust simple libwaku integration example (#2089) (a4993005)
- adding NIMFLAGS usage to readme (#2469) (a1d5cbd9)
- bumping nim-libp2p after yamux timeout fix (#2468) (216531b0)
- new proc to foster different size retention policy implementations (#2463) (d5305282)
- rln-relay: use anvil instead of ganache in onchain tests (#2449) (f6332ac6)
- bindings return multiaddress array (#2461) (7aea145e)
- ci: fix IMAGE_NAME to use harbor.status.im (b700d046)
- rln-relay: remove wss support from node config (#2442) (2060cfab)
- ci: reuse discord send function from library (1151d50f)
- rln-relay-v2: add tests for serde (#2421) (d0377056)
- add stdef.h to libwaku.h (#2409) (d58aca01)
- automatically generating certs if not provided (Waku Canary) (#2408) (849d76d6)
- Simplify configuration for the waku network (#2404) (985d092f)
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
66/WAKU2-METADATA |
raw |
/vac/waku/metadata/1.0.0 |
The Waku v1 implementation has been removed from this repository and can be found in a separate Waku Legacy repository.
v0.25.0 (2024-02-06)
Note: Waku Filter v2 now has three additional configuration options
--filter-max-peers-to-serve=1000
drives how many peers can subscribe at once and--filter-max-criteria=1000
defines what is the maximum criterion stored per each peersThis release introduces a major change in Filter v2 protocol subscription management. From now each subscribed peer needs to refresh its living subscriptions by sending a SUBSCRIBER_PING message every 5 minutes by default, otherwise the peer's subscription will be removed.
--filter-subscription-timeout=300
defines configurable timeout for the subscriptions (in seconds).New experimental feature, shard aware peer manager for relay protocol can be activated by the flag:
--relay-shard-manager=true|false
It is disabled by default.
Announcement:
Please notice that from the next release (0.26.0) we will deprecate features.
- JSON-RPC API will be removed completely. Instead we recommend you to utilize REST API endpoints that have same and extended functionality.
- We will retire websockets support for RLN on-chain group management. You are expected to use HTTP version of ETH_CLIENT_ADDRESS
Features
- running validators in /relay/v1/auto/messages/{topic} (#2394) (e4e147bc)
- rln-relay-v2: update C FFI api's and serde (#2385) (b88facd0)
- running validators in /relay/v1/messages/{pubsubTopic} (#2373) (59d8b620)
- shard aware relay peer management (#2332) (edca1df1)
Bug Fixes
- adding rln validator as default (#2367) (bb58a63a)
- Fix test for filter client receiving messages after restart (#2360) (7de91d92)
- making filter admin data test order independent (#2355) (8a9fad29)
Changes
- rln-relay-v2: use rln-v2 contract code (#2381) (c55ca067)
- v0.25 vendor bump and associated fixes (#2352) (761ce7b1)
- handle errors w.r.t. configured cluster-id and pubsub topics (#2368) (e04e35e2)
- add coverage target to Makefile (#2382) (57378873)
- Add check spell allowed words (#2383) (c1121dd1)
- adding nwaku compose image update to release process (#2370) (4f06dcff)
- changing digest and hash log format from bytes to hex (#2363) (025c6ec9)
- log messageHash for lightpush request that helps in debugging (#2366) (42204115)
- rln-relay: enabled http based polling in OnchainGroupManager (#2364) (efdc5244)
- improve POST /relay/v1/auto/messages/{topic} error handling (#2339) (f841454e)
- Refactor of FilterV2 subscription management with Time-to-live maintenance (#2341) (c3358409)
- Bump
nim-dnsdisc
(#2354) (3d816c08) - postgres-adoption.md add metadata title, description, and better first-readable-title (#2346) (2f8e8bcb)
- fix typo (#2348) (a4a8dee3)
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
66/WAKU2-METADATA |
raw |
/vac/waku/metadata/1.0.0 |
The Waku v1 implementation has been removed from this repository and can be found in a separate Waku Legacy repository.
v0.24.0 (2024-01-10)
Note: The Waku message size limit (150 KiB) is now enforced according to the specifications. To change this limit please use
--max-msg-size="1MiB"
Note:
--ip-colocation-limit=2
is the new parameter for limiting connections from the same IP
What's Changed
Release highlights:
- IP colocation filter can now be changed via a configuration parameter.
- New filter admin endpoint can now be used to access subscription data.
- Waku message size limit can now be changed via a configuration parameter.
Features
- feat: adding filter data admin endpoint (REST) #2314
- ip colocation is parameterizable. if set to 0, it is disabled #2323
Bug Fixes
- fix: revert "feat: shard aware peer management #2151" #2312
- fix: setting connectivity loop interval to 15 seconds #2307
- fix: set record to the Waku node builder in the examples as it is required #2328
- fix(discv5): add bootnode filter exception #2267
Changes
- update CHANGELOG.md for 0.23.0 #2309
- test(store): Implement store tests #2235, #2240
- refactor(store): HistoryQuery.direction #2263
- test_driver_postgres: enhance test coverage, multiple and single topic #2301
- chore: examples/nodejs - adapt code to latest callback and ctx/userData definitions #2281
- chore: update
CHANGELOG.md
to reflect bug fix for issue #2317 #2340 in v0.23.1 - test(peer-connection-managenent): functional tests #2321
- docs: update post-release steps #2336
- docs: fix typos across various documentation files #2310
- test(peer-connection-managenent): functional tests #2321
- bump vendors for 0.24.0 #2333
- test(autosharding): functional tests #2318
- docs: add benchmark around postgres adoption #2316
- chore: set max Waku message size to 150KiB according to spec #2298
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
66/WAKU2-METADATA |
raw |
/vac/waku/metadata/1.0.0 |
The Waku v1 implementation has been removed from this repository and can be found in a separate Waku Legacy repository.
v0.23.1 (2023-01-09)
This patch release fixes the following bug:
- Sort order ignored in store nodes.
Bug Fix
This is a patch release that is fully backwards-compatible with release v0.23.0
.
It supports the same libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
66/WAKU2-METADATA |
raw |
/vac/waku/metadata/1.0.0 |
The Waku v1 implementation has been removed from this repository and can be found in a separate Waku Legacy repository.
v0.23.0 (2023-12-18)
What's Changed
Release highlights:
- Bug fix in Postgres when querying more than one content topic.
- ⚠️ Add new DB column
messageHash
. This requires a manual database update in Postgres. - Updated deterministic message hash algorithm.
- REST admin can inform whether a node supports lightpush and/or filter protocols.
- Improvements to cluster id and shards setup.
- Properly apply RLN when publishing from REST or jsonrpc API.
- Remove trailing commas from the RLN keystore json generated during credentials registration.
- General test cleanup, better relay tests and new filter unsubscribe tests.
- Rewrite docs for clarity and update screenshots.
Features
- setting image deployment to harbor registry (93dd5ae5)
- Add new DB column
messageHash
(#2202) (aeb77a3e)
Bug Fixes
- make rln rate limit spec compliant (#2294) (5847f49d)
- update num-msgs archive metrics every minute and not only at the beginning (#2287) (0fc617ff)
- rln-relay: graceful retries on rpc calls (#2250) (15c1f974)
- add protection in rest service to always publish with timestamp if user doesn't provide it (#2261) (42f19579)
- remove trailing commas from keystore json (#2200) (103d3981)
- dockerfile: update dockerignore and base image (#2262) (c86dc442)
- waku_filter_v2/common: PEER_DIAL_FAILURE ret code change: 200 -> 504 (#2236) (6301bec0)
- extended Postgres code to support retention policy + refactoring (#2244) (a1ed517f)
- admin REST API to be enabled only if config is set (#2218) (110de90f)
- rln: error in api when rate limit (#2212) (51f36099)
- relay: Failing protocol tests (#2224) (c9e869fb)
- tests: Compilation failure fix (#2222) (a5da1fc4)
- rest: properly check if rln is used (#2205) (2cb0989a)
Changes
- archive - move error to trace level when insert row fails (#2283) (574cdf55)
- including content topics on FilterSubscribeRequest logs (#2295) (306c8a62)
- vendor bump for 0.23.0 (#2274) (385daf16)
- peer_manager.nim - reduce logs from debug to trace (#2279) (0cc0c805)
- Cbindings allow mounting the Store protocol from libwaku (#2276) (28142f40)
- Better feedback invalid content topic (#2254) (72a1f8c7)
- fix typos (#2239) (958b9bd7)
- creating prepare_release template (#2225) (5883dbeb)
- rest: refactor message cache (#2221) (bebaa59c)
- updating nim-json-serialization dependency (#2248) (9f4e6f45)
- store-archive: Remove duplicated code (#2234) (38e100e9)
- refactoring peer storage (#2243) (c301e880)
- postres driver allow setting the max number of connection from a parameter (#2246) (b31c1823)
- deterministic message hash algorithm updated (#2233) (a22ee604)
- REST: returning lightpush support and updated filter protocol (#2219) (59ee3c69)
- mics. improvements to cluster id and shards setup (#2187) (897f4879)
- update docs for rln-keystore-generator (#2210) (8c5666d2)
- removing automatic vacuuming from retention policy code (#2228) (9ff441ab)
- decoupling announced and listen addresses (#2203) (ef8ffbdb)
- release: update changelog for v0.22.0 release (#2216) (9c4fdac6)
- Allow text/plain content type descriptor for json formatted content body (#2209) (6d81e384)
- rewrite for clarity, update screenshots (#2206) (a0ef3c2f)
- release: update changelog for v0.21.3 release (#2208) (f74474b4)
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
66/WAKU2-METADATA |
raw |
/vac/waku/metadata/1.0.0 |
The Waku v1 implementation has been removed from this repository and can be found in a separate Waku Legacy repository.
v0.22.0 (2023-11-15)
Note: The
--topic
option is now deprecated in favor of a more specific options--pubsub-topic
&--content-topic
Note: The
--ext-multiaddr-only
CLI flag was introduced for cases in which the user wants to manually set their announced addresses
What's Changed
Release highlights:
- simplified the process of generating RLN credentials through the new
generateRlnKeystore
subcommand - added support for configuration of port 0 in order to bind to kernel selected ports
- shards are now automatically updated in metadata protocol when supported shards change on runtime
- introduced
messageHash
attribute to SQLite which will later replace theid
attribute
Features
- rln-keystore-generator is now a subcommand (#2189) (3498a846)
- amending computeDigest func. + related test cases (#2132)" (#2180) (d7ef3ca1)
- discv5: filter out peers without any listed capability (#2186) (200a11da)
- metadata protocol shard subscription (#2149) (bcf8e963)
- REST APIs discovery handlers (#2109) (7ca516a5)
- implementing port 0 support (#2125) (f7b9afc2)
- messageHash attribute added in SQLite + testcase (#2142)" (#2154) (13aeebe4)
- messageHash attribute added in SQLite + testcase (#2142) (9cd8c73d)
- amending computeDigest func. + related test cases (#2132) (1669f710)
Bug Fixes
- typo (6dd28063)
- lightpush rest (#2176) (fa467e24)
- ci: fix Docker tag for latest and release jobs (52759faa)
- rest: fix bug in rest api when sending rln message (#2169) (250e8b98)
- updating v0.21.1 release date in changelog (#2160) (3be61636)
Changes
- Optimize postgres - prepared statements in select (#2182) (6da1aeec)
- release: update changelog for v0.21.2 release (#2188) (d0a93e7c)
- upgrade dependencies v0.22 (#2185) (b9563ae0)
- Optimize postgres - use of rowCallback approach (#2171) (2b4ca4d0)
- networking: lower dhigh to limit amplification factor (#2168) (f0f69b32)
- Minor Postgres optimizations (#2166) (282c2e81)
- adding patch release instructions to release doc (#2157) (cc01bb07)
- release: update changelog for v0.21.1 release (#2155) (b109a583)
- adding ext-multiaddr-only CLI flag (#2141) (944dfdaa)
- bumping nim-libp2p to include WSS fix (#2150) (817a7b2e)
- cbindings: avoid using global var in libwaku.nim (#2118) (1e8f5771)
- adding postgres flag to manual docker job instructions (#2139) (459331e3)
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
66/WAKU2-METADATA |
raw |
/vac/waku/metadata/1.0.0 |
The Waku v1 implementation has been removed from this repository and can be found in a separate Waku Legacy repository.
Upgrade instructions
- Note that the
--topic
CLI option is now deprecated in favor of a more specific options--pubsub-topic
&--content-topic
.
v0.21.3 (2023-11-09)
This patch release adds the following feature:
- Adding generateRlnKeystore subcommand for RLN membership generation
Features
This is a patch release that is fully backwards-compatible with release v0.21.0
, v0.21.1
and v0.21.2
.
It supports the same libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation has been removed from this repository and can be found in a separate Waku Legacy repository.
v0.21.2 (2023-11-07)
This patch release addresses the following issue:
- Inability to send RLN messages through the REST API
Bug Fixes
This is a patch release that is fully backwards-compatible with release v0.21.0
and v0.21.1
.
It supports the same libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation has been removed from this repository and can be found in a separate Waku Legacy repository.
v0.21.1 (2023-10-26)
This patch release addresses the following issues:
- WSS connections being suddenly terminated under rare conditions
- Ability for the user to control announced multiaddresses
Changes
- adding ext-multiaddr-only CLI flag (#2141) (e2dfc2ed)
- bumping nim-libp2p to include WSS fix (#2150) (18b5149a)
This is a patch release that is fully backwards-compatible with release v0.21.0
.
It supports the same libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation has been removed from this repository and can be found in a separate Waku Legacy repository.
v0.21.0 (2023-10-18)
Note: This is the last release supporting the
--topic
option. It is being deprecated in favor of a more specific options--pubsub-topic
&--content-topic
What's Changed
Release highlights:
- Implemented a req/resp protocol that provides information about the node's medatadata
- Added REST APIs for Filter v2 and Lightpush protocols' services
- Ported /admin endpoint to REST
- Added a size-based retention policy for the user to set a limit for SQLite storage used
Features
- add new metadata protocol (#2062) (d5c3ade5)
- /admin rest api endpoint (#2094) (7b5c36b1)
- coverage: Add simple coverage (#2067) (d864db3f)
- added RELAY openapi definitions (#2081) (56dbe2a7)
- wakucanary: add latency measurement using ping protocol (#2074) (6cb9a8da)
- Autosharding API for RELAY subscriptions (#1983) (1763b1ef)
- networkmonitor: add ping latencies, optimize reconnections (#2068) (ed473545)
- peer manager can filter peers by shard (#2063) (0d9e9fbd)
- lightpush rest api (#2052) (02a814bd)
- HTTP REST API: Filter support v2 (#1890) (dac072f8)
Bug Fixes
- fix wrong install of filter rest api (#2133) (5277d122)
- consider WS extMultiAddrs before publishing host address (#2122) (a5b1cfd0)
- return erring response if lightpush request is invalid (#2083) (2c5eb427)
- sqlite limited delete query bug (#2111) (06bc433a)
- cluster id & sharding terminology (#2104) (a47dc9e6)
- ci: update the dependency list in pre-release WF (#2088) (e85f05b0)
- ci: fix name of discord notify method (aaf10e08)
- update wakuv2 fleet DNS discovery enrtree (89854a96)
- libwaku.nim: unsubscribe -> unsubscribeAll to make it build properly (#2082) (3264a4f5)
- archive: dburl check (#2071) (a27d005f)
- filter discv5 bootstrap nodes by shards (#2073) (d178105d)
- rln-relay: segfault when no params except rln-relay are passed in (#2047) (45fe2d3b)
- sqlite: Properly set user_version to 7 so that the migration procedure is not started (#2031) (aa3e1a66)
Changes
- remove js-node tests as release candidate dependencies (#2123) (ce5fb340)
- added size based retention policy (#2098) (25d6e52e)
- Clarify running instructions (#2038) (12e8b122)
- rln: add more hardcoded memberhips to static group (#2108) (1042cacd)
- Revert lightpush error handling to allow zero peer publish again succeed (#2099) (f05528d4)
- adding NetConfig test suite (#2091) (23b49ca5)
- cbindings: Adding cpp example that integrates the 'libwaku' (#2079) (8455b8dd)
- networkmonitor: refactor setConnectedPeersMetrics, make it partially concurrent, add version (#2080) (c5aa9704)
- resolving DNS IP and publishing it when no extIp is provided (#2030) (7797b2cd)
- Adding -d:postgres flag when creating a Docker image for release and PRs (#2076) (7a376f59)
- Moved external APIs out of node (#2069) (3e72e830)
- bump nim-libp2p, nim-toml-serialization, nim-unicodedb, nim-unittest2, nim-websock, nim-zlib, & nimbus-build-system (#2065) (dc25057a)
- ci: add js-waku as a dependency for pre-release createion (#2022) (28b04000)
- Updating nim-chronicles, nim-chronos, nim-presto, nimcrypto, nim-libp2p, and nim-nat-transversal (#2043) (f617cd97)
- cbindings: Thread-safe communication between the main thread and the Waku Thread (#1978) (72f90663)
- rln-relay: logs, updated submodule, leaves_set metric (#2024) (2e515a06)
- release: update changelog for v0.20.0 release (#2026) (9085b1b3)
- postgres: not loading the libpq library by default & better user feedback (#2028) (e8602021)
- move SubscriptionManager under waku_core (#2025) (563b2b20)
- README: List possible WSL Issue (#1995) (ebe715e9)
- ci: add js-waku test to pre-release workflow (#2017) (e8776fd6)
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation has been removed from this repository and can be found in a separate Waku Legacy repository.
Upgrade instructions
- Note that the
--topic
CLI option is being deprecated in favor of a more specific options--pubsub-topic
&--content-topic
. This is the last release supporting the--topic
option. - The size-based retention policy has been tested with SQLite storage and is still on validation phases for Postgres
2023-09-14 v0.20.0
Note: IP address 0.0.0.0 is no longer advertised by a node
Note: Multiple CLI options have been removed in this release, please see Upgrade instructions section for details.
What's Changed
Release highlights:
- RLN is now part of standard release (is no longer EXPERIMENTAL feature)
- Interop tests between nwaku and js-waku are now gating PRs and releases
- Libwaku has been made more threadsafe (1 out of 3 improvements applied.)
- Added autosharding option on various protocol APIs
Features
- rln-relay: removed rln from experimental 🚀 (#2001) (645b0343)
- Rest endoint /health for rln (#2011) (fc6194bb)
- rln_db_inspector: create rln_db_inspector tool (#1999) (ec42e2c7)
- relay: ordered validator execution (#1966) (debc5f19)
- discv5: topic subscriptions update discv5 filter predicate (#1918) (4539dfc7)
- topic subscriptions updates discv5 ENR (#1875) (c369b329)
- rln_keystore_generator: wired to onchain group manager (#1931) (c9b48ea1)
- rln: init rln_keystore_generator (#1925) (3d849541)
- update various protocols to autoshard (#1857) (cf301396)
Bug Fixes
- rln-relay: waku_rln_number_registered_memberships metrics appropriately handled (#2018) (a4e78330)
- prevent IP 0.0.0.0 from being published and update peers with empty ENR data (#1982) (47ae19c1)
- rln-relay: missed roots during sync (#2015) (21604e6b)
- p2p: fix possible connectivity issue (#1996) (7d9d8a3f)
- rln-db-inspector: use valueOr pattern (#2012) (a8095d87)
- tests: relay tests use random port to avoid conflict (#1998) (b991682b)
- ci: incorrect use of braces (#1987) (4ed41457)
- Makefile: invalid path to crate build (#1981) (1a318c29)
- --topic should be ignore when using --pubsub-topic or --content-topic (#1977) (037b1662)
- tests: fix flaky test (#1972) (f262397d)
- rln-relay: deserialization of valid merkle roots (#1973) (d262837e)
- ci: rename tools artifact to prevent conflict (#1971) (26c06b27)
- Makefile: rln was enabled by default (#1964) (9b1d2904)
- rln-relay: modify keystore credentials logic (#1956) (e7b2b88f)
- Makefile: error out if rln-keystore-generator not compiled with rln flag (#1960) (ac258550)
- rln-relay: sync from deployed block number (#1955) (bd3be219)
- rln-relay: window of acceptable roots synced to rln metadata (#1953) (01634f57)
- rln-relay: bump zerokit to v0.3.2 (#1951) (32aa1c5b)
- rln-relay: flush_interval incorrectly set (#1933) (c07d63db)
- rln-relay: RLN DB should be aware of chain and contract address (#1932) (1ae5b5a9)
- rln-relay: waitFor startup, otherwise valid proofs will be marked invalid (#1920) (6c6302f9)
- test: fix flaky rln test (#1923) (0ac8a7f0)
- rln-relay: remove registration capability (#1916) (f08315cd)
- rln-relay: invalid start index being set results in invalid proofs (#1915) (b3bb7a11)
- rln-relay: should error out on rln-relay mount failure (#1904) (8c568cab)
- rln-relay: timeout on macos runners, use fixed version of ganache (#1913) (c9772af0)
- no enr record in chat2 (#1907) (fc604ca5)
Changes
- ci: add js-waku test to pre-release workflow (#2017) (e8776fd6)
- rln-relay: updated docs (#1993) (76e34077)
- ci: execute js-waku integration tests on image build (#2006) (5d976df9)
- rln-relay: add isReady check (#1989) (5638bd06)
- rln-relay: clean up nullifier table every MaxEpochGap (#1994) (483f40c8)
- ci: use commit instead of master for docker image (#1990) (98850192)
- rln-relay: log levels for certain logs (#1986) (97a7c9d0)
- rln-relay: use the only key from keystore if only 1 exists (#1984) (a14c3261)
- ci: enable experimental for the PR image builds (#1976) (1b835b4e)
- rln-relay: confirm that the provided credential is correct using onchain query (#1980) (be48891f)
- api: validate rln message before sending (rest + rpc) (#1968) (05c98864)
- cbindings: Thread-safe libwaku. WakuNode instance created directly from the Waku Thread (#1957) (68e8d9a7)
- add debug log indicating succesful message pushes and also log the message hash (#1965) (e272bec9)
- rln-keystore-generator: log out the membership index upon registration (#1963) (7d53aec1)
- rln-relay: integrate waku rln registry (#1943) (cc9f8d42)
- ci: add a job checking config options and db schema (#1927) (505d1967)
- rln_keystore_generator: generate and persist credentials (#1928) (07945a37)
- rln-relay: rename keystore application to waku-rln-relay (#1924) (8239b455)
- rln: remove old and add new rln metric (#1926) (56c228f8)
- rln: run rln in all relay pubsubtopics + remove cli flags (#1917) (af95b571)
- release: update changelog for delayed v0.19.0 release (#1911) (78690787)
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation has been removed from this repository and can be found in a separate Waku Legacy repository.
Upgrade instructions
- Note that the
--topic
CLI option is being deprecated in favor of a more specific options--pubsub-topic
&--content-topic
. The--topic
option will be available for next release with a deprecation note. - CLI option
--store-resume-peer
has been removed. - Following options related to RLN have been removed:
--rln-relay-membership-group-index
--rln-relay-pubsub-topic
--rln-relay-content-topic
2023-08-16 v0.19.0
Note that the
--topic
CLI option is being deprecated in favor a more specific option--pubsub-topic
.
The Waku v1 implementation has been removed from this repository and can be found in a separate Waku Legacy repository.
What's Changed
Release highlights:
- Improved connection management, including management for non-relay peers and limiting the number of connections from a single IP
- Postgres support has been added as a backend for archive module
- RLN initialization optimizations
- Update to the latest nim-libp2p
- Removed Waku v1 and also references to
v2
from the current version - Basic implementation of Autosharding for the Waku Network
- REST API implementation for Filter protocol
Features
- ci: add docker image builds per PR (#1881) (84f94d5d)
- Rest API interface for legacy (v1) filter service. (#1851) (08ff6672)
- autosharding content topics in config (#1856) (afb93e29)
- autosharding core algorithm (#1854) (bbff1ac1)
- cbindings: tiny waku relay example in Python (#1793) (0b2cfae5)
- rln-relay: close db connection appropriately (#1858) (76c73b62)
- enable TcpNoDelay (#1470) (08f3bba3)
- limit relay connections below max conns (#1813) (17b24cde)
- postgres: integration of postgres in wakunode2 (#1808) (88b7481f)
- discovery peer filtering for relay shard (#1804) (a4da87bb)
- rln-relay: resume onchain sync from persisted tree db (#1805) (bbded9ee)
- rln-relay: metadata ffi api (#1803) (045f07c6)
Bug Fixes
- bring back default topic in config (#1902) (d5d2243c)
- ci: only add comment on PR and do not duplicate it (#1908) (b785b6ba)
- ci: add mising OS arch option to image build (#1905) (2575f3c4)
- wakucanary: add missing return on timeout (#1901) (7dce0b9e)
- fixes out of bounds crash when waku2 is not set (#1895) (03363f1b)
- wakucanary: add enr record to builder (#1882) (831a093f)
- check nil before calling clearTimer (#1869) (2fc48842)
- rln-relay: mark duplicated messages as spam (#1867) (4756ccc1)
- ci: do not depend on number of procesors with job name (#1863) (c560af11)
- libp2p: Updating nim-libp2p to fix the
wss
connectivity issue (#1848) (1d3410c7) - rln-relay: chunk event fetching (#1830) (e4d9ee1f)
- discv5: Fixing issue that prevented the wakunode2 from starting (#1829) (3aefade6)
- sanity-check the docker image start (ae05f0a8)
- ci: fix broken test with wrong import (#1820) (4573e8c5)
- temporary fix to disable default experimental builds on fleets (#1810) (e9028618)
- rln-relay: tree race condition upon initialization (#1807) (f8e270fb)
- fix mac docker build alpine version (#1801) (fce845bb)
- rln-relay: flaky static group manager test (#1798) (0e9ecbd6)
Changes
- remove references to v2 (#1898) (b9d5d28a)
- submodules: use zerokit v0.3.1 only (#1886) (311f5ea0)
- remove Waku v1 and wakubridge code (#1874) (ab344a9d)
- cbindings: libwaku - run waku node in a secondary working thread (#1865) (069c1ad2)
- update docs link (#1850) (d2b6075b)
- changelog: release notes for v0.19.0 (#1861) (32c1276f)
- rln-relay: verify proofs based on bandwidth usage (#1844) (3fe4522a)
- rln-relay: bump zerokit (#1838) (4f0bdf9a)
- bump nim-libp2p to 224f92e (661638da)
- refactor: Move record creation & fix libwaku compilation (#1833) (97d3b9f7)
- discv5 re-org clean-up (#1823) (cf46fb7c)
- networking: disconnect due to colocation ip in conn handler (#1821) (e12c979c)
- rln-relay: bump zerokit for version fix (#1822) (add294a9)
- move discv5 out of node. (#1818) (62d36530)
- archive: Moving waku archive logic from app.nim to the archive module (#1817) (52894a82)
- add peer manager config to builder (#1816) (71c4ac16)
- discv5 re-org setup (#1815) (44f9d8dc)
- databases: Creation of the databases folder to keep the logic for sqlite and postgres (#1811) (a44d4bfb)
- deps: bump libp2p & websock (#1800) (f6e89c31)
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation has been removed from this repository and can be found in a separate Waku Legacy repository.
Upgrade instructions
- Note that the
--topic
CLI option is being deprecated in favor a more specific option--pubsub-topic
. The--topic
option will be available for next 2 releases with a deprecation note.
2023-06-14 v0.18.0
Note that there is a new naming scheme for release artifacts.
What's Changed
Release highlights:
- Support for Gossipsub scoring
- Rendezvous discovery protocol enabled by default with relay
- Initial support for postgresql as Store backend
- Atomic operations for insertions and deletions included in rln-relay
Features
- postgres: complete implementation of driver and apply more tests (#1785) (5fc5770d)
- postgres: adding a postgres async pool to make the db interactions asynchronous (#1779) (cb2e3d86)
- rln-relay: pass in index to keystore credentials (#1777) (a00aa8cc)
- networking: integrate gossipsub scoring (#1769) (34a92631)
- discv5: added find random nodes with predicate (#1762) (#1763) (21737c7c)
- wakunode2: enable libp2p rendezvous protocol by default (#1770) (835a409d)
- postgresql: align previous work's PR#1590 changes into master (#1764) (7df6f4c8)
- networking: prune peers from same ip beyond collocation limit (#1765) (047d1cf0)
- ci: add nightly builds (#1758) (473af70a)
- postgresql: 1st commit to async sql (waku_archive/driver...) (#1755) (59ca03a8)
- ci: add release-notes target (#1734) (ceb54b18)
- rln-relay: use new atomic_operation ffi api (#1733) (611e9539)
Bug Fixes
- ci: enforce basic CPU instruction set to prevent CI issues (#1759) (35520bd0)
- test: wait more for gossip (#1753) (0fce3d83)
- rln-relay: keystore usage (#1750) (36266b43)
- ci: fix flaky test for dos topic (#1747) (46e231d0)
- rln-relay: trace log (#1743) (5eae60e8)
- ci: make experimental default to true in fleet deployment (#1742) (b148c305)
Changes
- rln: bump zerokit (#1787) (9c04b59b)
- ci: extend and rename nightly workflow to support RC builds (#1784) (96074071)
- rln-relay: pass in the path to the tree db (#1782) (dba84248)
- rln-relay: update tree_config (#1781) (ba8ec704)
- ci: properly set os and architecture for nightly and release (#1780) (44bcf0f2)
- ci: remove add-to-project workflow (#1778) (a9505892)
- ci: add experimental builds to nightly (#1761) (ffac7761)
- px: close px streams after resp is sent (#1746) (3c2d2891)
- docs: fix docs and mark some as deprecated (#1754) (b51fb616)
- makefile: unify where chronicles_log_level is set (#1748) (39902dc2)
- rln-relay: docs and config update for testnet 3 (#1738) (bb9d231b)
- rln-relay: update metrics dashboard (#1745) (0ced2195)
- rln-relay: updated metrics for testnet 3 (#1744) (62578746)
- networking: set and use target outbound connections + prune (#1739) (87f694a8)
- proper use of setupNat (#1740) (665484c1)
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation is stable but not under active development.
Upgrade instructions
There is a new naming scheme for release artifacts - nwaku-${ARCHITECTURE}-${OS}-${VERSION}.tar.gz
. If you use any automation to download latest release, you may need to update it.
The --topics
config option has been deprecated to unify the configuration style. It is still available in this release but will be removed in the next one. The new option --topic
is introduced, which can be used repeatedly to achieve the same behavior.
2023-05-17 v0.17.0
Note that the --topics config item has been deprecated and support will be dropped in future releases. To configure support for multiple pubsub topics, use the new --topic parameter repeatedly.
What's Changed
Release highlights:
- New REST API for Waku Store protocol.
- New Filter protocol implentation. See 12/WAKU2-FILTER.
- Initial C bindings support.
- Support for Heaptrack to investigate memory utilization (tutorial).
Features
- cbindings: first commit - waku relay (#1632) (#1714) (2defbd23)
- example using filter and lightpush (#1720) (8987d4a3)
- configure protected topics via cli (#1696) (16b44523)
- mem-analysis: Adding Dockerfile_with_heaptrack (#1681) (9b9172ab)
- add metrics with msg size histogram (#1697) (67e96ba8)
- curate peers shared over px protocol (#1671) (14305c61)
- enr: added support for relay shards field (96162536)
- add tools maket target and build tools in CI (#1668) (d5979e94)
- integrate new filter protocol, other improvements (#1637) (418efca2)
- rest-api-store: new rest api to retrieve store waku messages (#1611) (#1630) (b2acb54d)
- node: added waku node builder type (e931fa5d)
- dos protected topic relay msgs based on meta field (#1614) (c26dcb2b)
- further filter improvements (#1617) (d920b973)
- common: added extensible implementation of the enr typed record (ac56e1dc)
- rln-relay: fetch release from zerokit ci, or build (#1603) (179be681)
- filter-v2: new filter protocol increment - message handling and clients (#1600) (be446b98)
Fixes
- ci: remove target flag from docker command (#1725) (d822cdc5)
- wakunode2 config. adding new 'topic' config parameter. (#1727) (2ec9809c)
- streams was used instead of connections (#1722) (b9e0763e)
- change filter request default behaviour to ping (#1721) (7c39be9a)
- rln-relay: handle invalid deletes (#1717) (81dffee8)
- fix filter v2 proto fields (#1716) (68a39c65)
- unstable peers in mesh (#1710) (703c3ab5)
- networkmonitor: break import dependency with wakunode2 app (043feacd)
- import nimchronos instead heartbeat (#1695) (7d12adf6)
- rest: change rest server result error type to string (d5ef9331)
- rln-relay: scope of getEvents (#1672) (b62193e5)
- logs: fix log reporting wrong ok connected peers (#1675) (1a885b96)
- move canBeConnected to PeerManager and check for potential overflow (#1670) (d5c2770c)
- wrap untracked protocol handler exceptions (9e1432c9)
- wakunode2: made setup nat return errors (1cfb251b)
- fixed multiple bare except warnings (caf78249)
- bump libp2p with traffic metrics fix (#1642) (0ef46673)
- rln-relay: buildscript bad cp (#1636) (bd9857c1)
- wakunode2: fix main warnings and drop swap support (f95147f5)
- rln-relay: on chain registration (#1627) (b1bafda2)
- connect instead of dialing relay peers (#1622) (85f33a8e)
- fix hash size greater than 32 (#1621) (c42ac16f)
Changes
- ci: cache all of submodules/deps to speed up build time (#1731) (4394c69d)
- rln-relay: update args to contract (#1724) (b277ce10)
- rln-relay: use new config for ffi (#1718) (44c54312)
- adding new tutorial on how to handle heaptrack with nim waku (#1719) (4b59e472)
- add timestamp and ephemeral for opt-in dos validator (#1713) (3e0a693d)
- add test vectors dos protection validator (#1711) (eaa162ee)
- add validator for dos protec metrics and move to app (#1704) (3e146869)
- use QUICK_AND_DIRTY_COMPILER flag for CI (#1708) (21510425)
- move networkmonitor and wakucanary to apps directory (209579b0)
- wakunode2: flatten and simplify app setup (#1705) (ce92fc1a)
- wakunode2: split setup logic into app module (c8081c88)
- add payload bytes to trace log (#1703) (c6d291d3)
- refactor flaky test with while (#1698) (dca0e9b2)
- core: move peers utils module to waku_core (e041e043)
- decouple test2 target from testcommon (91baa232)
- core: move utils time module to waku_core (93b0c071)
- add deprecation notice to utils module. move heartbeat to common (e8dceb2a)
- core: rename waku_message module to waku_core (c9b6b230)
- flatten waku v2 protocols folder (d7b72ac7)
- fix test failing intermittently (#1679) (8d213e85)
- networking: get relay number of connections from protocol conns/streams (#1609) (73cbafa6)
- allow to call store api endpoints without a storenode (#1575) (#1647) (0b4a2e68)
- bump container image versions to v0.16.0 in quickstart (#1640) (5c33d9d1)
- node: remove deprecated constructor and extend testlib with builder (9dadc1f5)
- do not mount relay more than once (#1650) (5d853b86)
- pointed all waku node imports to the barrel import (e8448dfd)
- node: added waku_node barrel import and split config module (13942888)
- remove deprecated enr record init method (0627b4f8)
- deps: upgrade nim-chronos and nim-presto to latest version (7c229ece)
- remove waku swap protocol (2b5fd2a2)
- deps: upgrade nim-confutils to latest version (67fa736d)
- rln-relay: gracefully handle chain forks (#1623) (00a3812b)
- bump nim-libp2p 53b060f (#1633) (11ff93c2)
- added testcommon target to makefile (048ca45d)
- increase meta size to 64 bytes + tests (#1629) (1f793756)
- enr: move waku enr multiaddr to typedrecord and builder extensions (2ffd2f80)
- enr: added waku2 capabilities accessor (157724d9)
- rln-relay: reduce exports (#1615) (2f3ba3d6)
- add dash between target and version (#1613) (24d62791)
- release: added regression checking and clarifications (#1610) (b495dd7b)
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 /vac/waku/filter-subscribe/2.0.0-beta1 /vac/waku/filter-push/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation is stable but not under active development.
Upgrade instructions
- The
--topics
config option has been deprecated to unify the configuration style. It still available in this and will be in next release, but will be removed after that. The new option--topic
is introduced, which can be use repeatedly to achieve the same behaviour.
2023-03-15 v0.16.0
What's Changed
Release highlights:
- a fix for an issue that prevented the node from generating high-resolution (up to nanosecond) timestamps
- introduction of an application-defined
meta
attribute to the Waku Message. This can be quite valuable for network-wide deduplication, deterministic hashing, validity checking and other planned improvements to the protocol - many optimizations in RLN implementation and its underlying dependencies
Features
- Integrated a new group manager for RLN-protected relay 1496
- Added application-defined meta attribute to Waku Message according to RFC 14/WAKU2-MESSAGE 1581
- Implemented deterministic hashing scheme for Waku Messages according to RFC 14/WAKU2-MESSAGE 1586
Changes
- Upgraded nim-sqlite3-abi to the latest version 1565
- Better validation of protocol buffers 1563
- Improved underlying Zerokit performance and FFI 1571
- Node peer ID now logged with relay trace logging 1574
- Continued refactoring of several protocol implementations to improve maintainability and readability
- Refactored and cleaned up peer manager 1539
- Removed unused and legacy websocket submodule 1580 1582
- Use base64 URL-safe encoding for noise 1569
- Various general improvements to RLN implementation 1585 1587
- Started on implementation for new and improved filter protocol 1584
- Updated pubsub and content topic namespacing to reflect latest changes in RFC 23/WAKU2-TOPICS 1589
- Unified internal peer data models 1597
- Improved internal implementation of Waku ENR encoding and decoding 1598 1599
- Underlying dependency for RLN implementation now loaded as a static library 1578
Fixes
- Fixed internally generated timestamps to allow higher resolution than seconds 1570
- Fixed padded base64 usage for encoding and decoding payloads on the JSON RPC API 1572
- Fixed incorrect relative module imports 1591
- Fixed RLN relay erroneously storing messages from multiple apps 1594
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
18/WAKU2-SWAP |
draft |
/vac/waku/swap/2.0.0-beta1 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation is stable but not under active development.
2023-02-15 v0.15.0
Release highlights:
- Relay connectivity is now maintained by a management loop that selects from the peerstore
- Ability to manually specify
multiaddrs
for the nwaku node to advertise - Two important fixes related to historical message queries:
- fixed archive bug that resulted in duplicate messages in store query response
- fixed query page size limit not being respected
Features
- New connectivity loop to maintain relay connectivity from peerstore 1482 1462
- Support for manually specifying
multiaddrs
to advertise 1509 1512 - Added dynamic keystore for membership credential storage and management 1466
Changes
- Abstracted RLN relay group management into its own API 1465
- Prune peers from peerstore when exceeding capacity 1513
- Removed Kilic submodule 1517
- Continued refactoring of several protocol implementations to improve maintainability and readability
- Refactored and improved JSON RPC API
- Added safe default values for peer-store-capacity 1525
- Improvements in regular CI test reliability and repeatability
- Improved archive query performance 1510
- Added better e2e trace logging for relay messages 1526
- Relay RPC API now encodes message payloads in base64 572 1555
Fixes
- Fixed Waku archive queries returning duplicate messages due to incorrect reordering 1511
- Fixed Admin RPC API crashing on returning peer with no multiaddresses 1507
- Fixed page size limit not being respected in store query responses 1520
- Fixed nwaku subscribing to default pubsub topic even if not configured 1548
- Fixed underlying issue causing node to incorrectly report it's unreachable 1518 1546
- Fixed Relay RPC API not adhering to RFC 1139
- Fixed message IDs in nwaku diverging from those in go-waku 1556
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
18/WAKU2-SWAP |
draft |
/vac/waku/swap/2.0.0-beta1 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation is stable but not under active development.
2023-01-16 v0.14.0
Release highlights:
- An important fix for the Waku message archive returning inconsistent responses to history queries.
- Support for AutoNAT and libp2p Circuit Relay that allows, among other things, for NAT hole punching.
- Support for structured logging in JSON format.
- A fix for an underlying file descriptor leak that affected websocket connections.
Features
- Support for AutoNAT
- Support for libp2p Circuit Relay (server only)
- New Waku Archive implementation. This allows easy addition of drivers for different technologies to store historical messages.
- Support for structured logging and specifying log format.
- Node now keeps track of its external reachability.
Changes
- Zerokit RLN library now statically linked.
- Use extended key generation in Zerokit API to comply with 32/RLN.
- Re-enable root validation in
17/WAKU-RLN-RELAY
implementation. - Network monitoring tool now supports DNS discovery.
- Added dashboard for network monitoring.
- Continued refactoring of several protocol implementations to improve maintainability and readability.
- Removed swap integration from store protocol.
- Peerstore now consolidated with libp2p peerstore.
- Peerstore now also tracks peer direction.
- SIGSEGV signals are now handled and logged properly.
- Waku v2 no longer imports libraries from Waku v1.
- Improved build and CI processes:
- Added support for an
EXPERIMENTAL
compiler flag. - Simplified project Makefile.
- Split Dockerfile into production and experimental stages.
- Removed obsolete simulation libraries from build.
- Added support for an
- Improved parallellisation (and therefore processing time) when dialing several peers simultaneously.
- Waku Archive now responds with error to historical queries containing more than 10 content topics.
Fixes
- Fixed support for optional fields in several protocol rpc codecs. #1393 #1395 #1396
- Fixed clients with
--store=false
not installing Store Client JSON-RPC API handlers. #1382 - Fixed SQLite driver returning inconsistent responses to store queries. #1415
- Fixed peer exchange discv5 loop starting before discv5 has started. #1407
- Fixed wakubridge test timing. #1429
- Fixed bug in Noise module types equating
T_ss
incorrectly to"se"
and not"ss"
. #1432 - Fixed Ctrl-C quitting resulting in unreleased resources and exit failures. #1416
- Fixed CI workflows not cloning repo on startup. #1454 #1455
- Fixed Admin API peer connection not returning error response if peer can't be connected. #1476
- Fixed underlying file descriptor leak. #1483
Docs
- Added instructions for running nwaku with docker compose.
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
18/WAKU2-SWAP |
draft |
/vac/waku/swap/2.0.0-beta1 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation is stable but not under active development.
2022-11-15 v0.13.0
Release highlights:
- A Waku canary tool to check if nodes are reachable and what protocols they support.
- Simplified configuration for store protocol. This new guide explains how to configure store from this release forward.
- Support for environment variables to configure a nwaku node. See our configuration guide for more.
- A Waku network monitoring tool to report network metrics, including network size, discoverable peer capabilities and more.
Features
- Added Waku canary tool to check if i) a given node is reachable and ii) it supports a set of protocols.
- Simplified Waku store configuration.
- Decoupled Waku peer persistence configuration from message store configuration.
- Added keyfile support for secure storage of RLN credentials.
- Added configurable libp2p agent string to nwaku switch.
- Support for configuration with environment variables.
- Added example module to showcase basic nwaku relay usage.
- Added a nwaku network monitoring tool to provide metrics on peers, network size and more.
Changes
- Removed support for Kilic's RLN library (obsolete).
- Improved logging for
17/WAKU-RLN-RELAY
implementation. - Connection to eth node for RLN now more stable, maintains state and logs failures.
- Waku apps and tools now moved to their own subdirectory.
- Continued refactoring of several protocol implementations to improve maintainability and readability.
- Periodically log metrics when running RLN spam protection.
- Added metrics dashboard for RLN spam protection.
- Github CI test workflows are now run selectively, based on the content of a PR.
- Improved reliability of CI runs and added email notifications.
- Discv5 discovery loop now triggered to fill a 34/WAKU2-PEER-EXCHANGE peer list cache asynchronously.
- Upgraded to Nim v1.6.6.
- Cleaned up compiler warnings on unused imports.
- Improved exception handling and annotation.
13/WAKU2-STORE
no longer enabled by default on nwaku nodes.- Merkle tree roots for RLN membership changes now on a per-block basis to allow poorly connected peers to operate within a window of acceptable roots.
Fixes
- Fixed encoding of ID commitments for RLN from Big-Endian to Little-Endian. #1256
- Fixed maxEpochGap to be the maximum allowed epoch gap (RLN). #1257
- Fixed store cursors being retrieved incorrectly (truncated) from DB. #1263
- Fixed message indexed by store cursor being excluded from history query results. #1263
- Fixed log-level configuration being ignored by the nwaku node. #1272
- Fixed incorrect error message when failing to set 34/WAKU2-PEER-EXCHANGE peer. #1298
- Fixed and replaced deprecated
TaintedString
type. #1326 - Fixed and replaced unreliable regex library and usage. #1327 #1328
- Fixed and replaced deprecated
ganache-cli
node package withganache
for RLN onchain tests. Added graceful daemon termination. #1347
Docs
- Added cross client RLN testnet tutorial.
- Fixed broken link to Kibana in cluster documentation.
- Added an improved quickstart guide for operators.
- Added a Docker usage guide for operators.
- Added operator guide on running RLN spam prevention on nwaku nodes.
- Extended guidelines on nwaku configuration methods for operators.
- Added new store configuration guide to reflect simplified options.
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
18/WAKU2-SWAP |
draft |
/vac/waku/swap/2.0.0-beta1 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation is stable but not under active development.
2022-10-06 v0.12.0
Release highlights:
- The performance and stability of the message
store
has improved dramatically. Query durations, even for long-term stores, have improved by more than a factor of 10. - Support for Waku Peer Exchange - a discovery method for resource-restricted nodes.
- Messages can now be marked as "ephemeral" to prevent them from being stored.
- Zerokit is now the default implementation for spam-protected
relay
with RLN.
The full list of changes is below.
Features
- Default support for Zerokit version of
17/WAKU-RLN-RELAY
implementation. - Added Filter REST API OpenAPI specification.
- Added POC implementation for 43/WAKU2-DEVICE-PAIRING.
- 14/WAKU2-MESSAGE can now be marked as
ephemeral
to prevent them from being stored. - Support for 34/WAKU2-PEER-EXCHANGE.
Changes
17/WAKU-RLN-RELAY
implementation now handles on-chain transaction errors.17/WAKU-RLN-RELAY
implementation now validates the Merkle tree root against a window of acceptable roots.- Added metrics for
17/WAKU-RLN-RELAY
implementation. - Continued refactoring of several protocol implementations to improve maintainability and readability.
- Cleaned up nwaku imports and dependencies.
- Refactored and organised nwaku unit tests.
- Nwaku now periodically logs node metrics by default.
- Further improvements to the
store
implementation:- Better logging and query traceability.
- More useful metrics to measure query and insertion time.
- Reworked indexing for faster inserts and queries.
- Reworked data model to use a simple, single timestamp for indexing, ordering and querying.
- Improved retention policy management with periodic execution.
- Run sqlite database vacuum at node start.
- Improved logging when migrating the database to a newer version.
relay
no longer auto-mounted on all nwaku nodes.- The most complete node ENR now included in response to API requests for node
info()
. - Updated Grafana dashboards included with nwaku.
- Github CI test execution now skipped for doc-only changes.
Fixes
- Fixed nwaku unnecessary sleep when no dynamic bootstrap nodes retrieved.
- Fixed
12/WAKU2-FILTER
not working from browser-based clients due to nwaku peer manager failing to reuse existing connection. - Waku Message payload now correctly encoded as base64 in the Relay REST API.
- Fixed handling of bindParam(uint32) in sqlite.
chat2
application now correctly selects a random store node on startup.- Fixed macos builds failing due to an unsupported dependency.
- Fixed nwaku not reconnecting to previously discovered nodes after losing connection.
- Fixed nwaku failing to start switch transports with external IP configuration.
- Fixed SIGSEGV crash when attempting to start nwaku store without
db-path
configuration.
Docs
- Improved RLN testnet tutorial
- Added tutorial on running nwaku from a DigitalOcean droplet.
- Added guide on how to monitor nwaku using Prometheus and Grafana.
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
18/WAKU2-SWAP |
draft |
/vac/waku/swap/2.0.0-beta1 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation is stable but not under active development.
2022-08-15 v0.11
Release highlights:
- Major improvements in the performance of historical message queries to longer-term, sqlite-only message stores.
- Introduction of an HTTP REST API with basic functionality
- On-chain RLN group management. This was also integrated into an example spam-protected chat application.
The full list of changes is below.
Features
- Support for on-chain group membership management in the
17/WAKU-RLN-RELAY
implementation. - Integrated HTTP REST API for external access to some
wakunode2
functionality:- Debug REST API exposes debug information about a
wakunode2
. - Relay REST API allows basic pub/sub functionality according to
11/WAKU2-RELAY
.
- Debug REST API exposes debug information about a
35/WAKU2-NOISE
implementation now adds padding to ChaChaPoly encryptions to increase security and reduce metadata leakage.
Changes
- Significantly improved the SQLite-only historical message
store
query performance. - Refactored several protocol implementations to improve maintainability and readability.
- Major code reorganization for the
13/WAKU2-STORE
implementation to improve maintainability. This will also make thestore
extensible to support multiple implementations. - Disabled compiler log colors when running in a CI environment.
- Refactored
35/WAKU2-NOISE
implementation into smaller submodules. 11/WAKU2-RELAY
implementation can now optionally be compiled with Zerokit RLN. Previously only Kilic's RLN was supported.
Fixes
- Fixed wire encoding of protocol buffers to use proto3.
- Fixed Waku v1 <> Waku v2 bridge losing connection to statically configured v1 nodes.
- Fixed underlying issue causing DNS discovery to fail for records containing multiple strings.
Docs
- Updated release process documentation.
- Added tutorial on how to run a spam-protected chat2 application with on-chain group management.
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
18/WAKU2-SWAP |
draft |
/vac/waku/swap/2.0.0-beta1 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation is stable but not under active development.
2022-06-15 v0.10
Release highlights:
- Support for key exchange using Noise handshakes.
- Support for a SQLite-only historical message
store
. This allows for cheaper, longer-term historical message storage on disk rather than in memory. - Several fixes for native WebSockets, including slow or hanging connections and connections dropping unexpectedly due to timeouts.
- A fix for a memory leak in nodes running a local SQLite database.
Features
- Support for
35/WAKU2-NOISE
handshakes as key exchange protocols. - Support for TOML config files via
--config-file=<path/to/config.toml>
. - Support for
--version
command. This prints the current tagged version (or compiled commit hash, if not on a version). - Support for running
store
protocol from afilter
client, storing only the filtered messages. - Start of an HTTP REST API implementation.
- Support for a memory-efficient SQLite-only
store
configuration.
Changes
- Added index on
receiverTimestamp
in the SQLitestore
to improve query performance. - GossipSub Peer Exchange is now disabled by default. This is a more secure option.
- Progress towards dynamic group management for the
17/WAKU-RLN-RELAY
implementation. - Nodes with
--keep-alive
enabled now sends more regular pings to keep connections more reliably alive. - Disabled
swap
protocol by default. - Reduced unnecessary and confusing logging, especially during startup.
- Added discv5 UDP port to the node's main discoverable ENR.
Fixes
- The in-memory
store
now checks the validity of message timestamps before storing. - Fixed underlying bug that caused connection leaks in the HTTP client.
- Fixed Docker image compilation to use the correct external variable for compile-time flags (
NIMFLAGS
instead ofNIM_PARAMS
). - Fixed issue where
--dns4-domain-name
caused an unhandled exception if no external port was available. - Avoids unnecessarily calling DB migration if a
--db-path
is set but nothing is persisted in the DB. This led to a misleading warning log. - Fixed underlying issues that caused WebSocket connections to hang.
- Fixed underlying issue that caused WebSocket connections to time out after 10 mins.
- Fixed memory leak in nodes that implements a SQLite database.
Docs
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
18/WAKU2-SWAP |
draft |
/vac/waku/swap/2.0.0-beta1 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation is stable but not under active development.
2022-03-31 v0.9
Release highlights:
- Support for Peer Exchange (PX) when a peer prunes a
11/WAKU2-RELAY
mesh due to oversubscription. This can significantly increase mesh stability. - Improved start-up times through managing the size of the underlying persistent message storage.
- New websocket connections are no longer blocked due to parsing failures in other connections.
The full list of changes is below.
Features
- Support for bootstrapping
33/WAKU-DISCV5
via DNS discovery - Support for GossipSub Peer Exchange
Changes
- Waku v1 <> v2 bridge now supports DNS
multiaddrs
- Waku v1 <> v2 bridge now validates content topics before attempting to bridge a message from Waku v2 to Waku v1
- Persistent message storage now auto deletes messages once over specified
--store-capacity
. This can significantly improve node start-up times. - Renamed Waku v1 <> v2 bridge
make
target and binary towakubridge
- Increased
store
logging to assist with debugging - Increased
rln-relay
logging to assist with debugging - Message metrics no longer include the content topic as a dimension to keep Prometheus metric cardinality under control
- Waku v2
toy-chat
application now sets the sender timestamp when creating messages - The type of the
proof
field of theWakuMessage
is changed toRateLimitProof
- Added method to the JSON-RPC API that returns the git tag and commit hash of the binary
- The node's ENR is now included in the JSON-RPC API response when requesting node info
Fixes
- Fixed incorrect conversion of seconds to nanosecond timestamps
- Fixed store queries blocking due to failure in resource clean up
- Fixed underlying issue where new websocket connections are blocked due to parsing failures in other connections
- Fixed failure to log the ENR necessary for a discv5 connection to the node
Docs
- Added RAM requirements to
wakunode2
build instructions - Added tutorial on communicating with waku2 test fleets via the chat2
toy-chat
application in spam-protected mode using17/WAKU-RLN-RELAY
. - Added a section on bug reporting to
wakunode2
README - Fixed broken links in the JSON-RPC API Tutorial
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
18/WAKU2-SWAP |
draft |
/vac/waku/swap/2.0.0-beta1 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation is stable but not under active development.
2022-03-03 v0.8
Release highlights:
- Working demonstration and integration of
17/WAKU-RLN-RELAY
in the Waku v2toy-chat
application - Beta support for ambient peer discovery using a version of Discovery v5
- A fix for the issue that caused a
store
node to run out of memory after serving a number of historical queries - Ability to configure a
dns4
domain name for a node and resolve other dns-basedmultiaddrs
The full list of changes is below.
Features
17/WAKU-RLN-RELAY
implementation now supports spam-protection for a specific combination ofpubsubTopic
andcontentTopic
(available under therln
compiler flag).17/WAKU-RLN-RELAY
integrated into chat2toy-chat
(available under therln
compiler flag)- Added support for resolving dns-based
multiaddrs
- A Waku v2 node can now be configured with a domain name and
dns4
multiaddr
- Support for ambient peer discovery using
33/WAKU-DISCV5
Changes
- Metrics: now monitoring content topics and the sources of new connections
- Metrics: improved default fleet monitoring dashboard
- Introduced a
Timestamp
type (currently an alias for int64). - All timestamps changed to nanosecond resolution.
timestamp
field number in WakuMessage object changed from4
to10
13/WAKU2-STORE
identifier updated to/vac/waku/store/2.0.0-beta4
toy-chat
application now uses DNS discovery to connect to existing fleets
Fixes
- Fixed underlying bug that caused occasional failures when reading the certificate for secure websockets
- Fixed
store
memory usage issues when responding to history queries
Docs
- Documented use of domain certificates for secure websockets
- Documented how to configure a
dns4
domain name for a node - Clarified use of DNS discovery and provided current URLs for discoverable fleet nodes
- Added tutorial on using
17/WAKU-RLN-RELAY
with the chat2toy-chat
application - Added tutorial on how to configure and a use a
15/WAKU-BRIDGE
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta4 |
18/WAKU2-SWAP |
draft |
/vac/waku/swap/2.0.0-beta1 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation is stable but not under active development.
2022-01-19 v0.7
Release highlights:
- Support for secure websockets.
- Ability to remove unreachable clients in a
filter
node. - Several fixes to improve
store
performance and decrease query times. Query time for large stores decreased from longer than 8 min to under 100 ms. - Fix for a long-standing bug that prevented proper database migration in some deployed Docker containers.
The full list of changes is below.
Features
- Support for secure websocket transport
Changes
- Filter nodes can now remove unreachable clients
- The WakuInfo
listenStr
is deprecated and replaced with a sequence oflistenAddresses
to accommodate multiple transports - Removed cached
peerInfo
on local node. Rely on underlying libp2p switch instead - Metrics: added counters for protocol messages
- Waku v2 node discovery now supports
31/WAKU2-ENR
- resuming the history via
resume
now takes the answers of all peers inpeerList
into consideration and consolidates them into one deduplicated list
Fixes
- Fixed database migration failure in the Docker image
- All
HistoryResponse
messages are now auto-paginated to a maximum of 100 messages per response - Increased maximum length for reading from a libp2p input stream to allow largest possible protocol messages, including
HistoryResponse
messages at max size - Significantly improved
store
node query performance - Implemented a GossipSub
MessageIdProvider
for11/WAKU2-RELAY
messages instead of relying on the unstable default - Receiver timestamps for message indexing in the
store
now have consistent millisecond resolution
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
17/WAKU-RLN-RELAY |
raw |
/vac/waku/waku-rln-relay/2.0.0-alpha1 |
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta3 |
18/WAKU2-SWAP |
draft |
/vac/waku/swap/2.0.0-beta1 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation is stable but not under active development.
2021-11-05 v0.6
Some useful features and fixes in this release, include:
- two methods for Waku v2 node discovery
- support for unsecure websockets, which paves the way for native browser usage
- a fix for
nim-waku
store nodes running out of memory due to store size: the number of stored messages can now easily be configured - a fix for densely connected nodes refusing new connections: the maximum number of allowed connections can now easily be configured
- support for larger message sizes (up from 64kb to 1Mb per message)
The full list of changes is below.
Features
- Waku v2 node discovery via DNS following EIP-1459
- Waku v2 node discovery via Node Discovery v5
Changes
- Pagination of historical queries are now simplified
- GossipSub prune backoff period is now the recommended 1 minute
- Bridge now uses content topic format according to 23/WAKU2-TOPICS
- Better internal differentiation between local and remote peer info
- Maximum number of libp2p connections is now configurable
udp-port
CLI option has been removed for binaries where it's not used- Waku v2 now supports unsecure WebSockets
- Waku v2 now supports larger message sizes of up to 1 Mb by default
- Further experimental development of RLN for spam protection.
These changes are disabled by default under a compiler flag. Changes include:
- Per-message rate limit proof defined
- RLN proof generation and verification integrated into Waku v2
- RLN tree depth changed from 32 to 20
- Support added for static membership group formation
Docs
- Added contributor guidelines on Waku v2 fleet monitoring and management
- Added basic tutorial on using Waku v2 DNS-based discovery
Fixes
- Bridge between
toy-chat
and matterbridge now shows correct announced addresses - Bridge no longer re-encodes already encoded payloads when publishing to V1
- Bridge now populates WakuMessage timestamps when publishing to V2
- Store now has a configurable maximum number of stored messages
- Network simulations for Waku v1 and Waku v2 are runnable again
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
17/WAKU-RLN |
raw |
/vac/waku/waku-rln-relay/2.0.0-alpha1 |
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta3 |
18/WAKU2-SWAP |
draft |
/vac/waku/swap/2.0.0-beta1 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation is stable but not under active development.
2021-07-26 v0.5.1
This patch release contains the following fix:
- Support for multiple protocol IDs when reconnecting to previously connected peers:
A bug in
v0.5
caused clients using persistent peer storage to only support the mounted protocol ID.
This is a patch release that is fully backwards-compatible with release v0.5
.
It supports the same libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
17/WAKU-RLN |
raw |
/vac/waku/waku-rln-relay/2.0.0-alpha1 |
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta3 |
18/WAKU2-SWAP |
draft |
/vac/waku/swap/2.0.0-beta1 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation is stable but not under active development.
2021-07-23 v0.5
This release contains the following:
Features
- Support for keep-alives using libp2p ping protocol.
- DB migration for the message and peer stores.
- Support for multiple protocol IDs. Mounted protocols now match versions of the same protocol that adds a postfix to the stable protocol ID.
Changes
- Bridge topics are now configurable.
- The
resume
Nim API now eliminates duplicates messages before storing them. - The
resume
Nim API now fetches historical messages in page sequence. - Added support for stable version of
relay
protocol, with protocol ID/vac/waku/relay/2.0.0
. - Added optional
timestamp
toWakuRelayMessage
. - Removed
PCRE
as a prerequisite for building Waku v1 and Waku v2. - Improved
swap
metrics.
General refactoring
- Refactored modules according to Nim best practices.
- Simplified the way protocols get notified of new messages.
- Refactored
wakunode2
setup into 6 distinct phases with improved logging and error handling. - Moved
Whisper
types and protocol from thenim-eth
module tonim-waku
.
Docs
- Added database migration tutorial.
- Added tutorial to setup
websockify
.
Schema
- Updated the
Message
table of the persistent message store:- Added
senderTimestamp
column. - Renamed the
timestamp
column toreceiverTimestamp
and changes its type toREAL
.
- Added
API
- Added optional
timestamp
toWakuRelayMessage
on JSON-RPC API.
Fixes
- Conversion between topics for the Waku v1 <-> v2 bridge now follows the RFC recommendation.
- Fixed field order of
HistoryResponse
protobuf message: the field numbers of theHistoryResponse
are shifted up by one to match up the 13/WAKU2-STORE specs.
This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
17/WAKU-RLN |
raw |
/vac/waku/waku-rln-relay/2.0.0-alpha1 |
11/WAKU2-RELAY |
stable |
/vac/waku/relay/2.0.0 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta3 |
18/WAKU2-SWAP |
draft |
/vac/waku/swap/2.0.0-beta1 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation is stable but not under active development.
2021-06-03 v0.4
This release contains the following:
Features
- Initial
toy-chat
implementation
Changes
- The toy-chat application can now perform
lightpush
and request content-filtered messages from remote peers. - The toy-chat application now uses default content topic
/toy-chat/2/huilong/proto
- Improve
toy-chat
briding to matterbridge - Improve
swap
logging and enable soft mode by default - Content topics are no longer in a redundant nested structure
- Improve error handling
API
- JSON-RPC Store API: Added an optional time-based query to filter historical messages.
- Nim API: Added
resume
method.
Fixes
- Connections between nodes no longer become unstable due to keep-alive errors if mesh grows large
- Re-enable
lightpush
tests and fix Windows CI failure
The Waku v2 suite of protocols are still in a raw/draft state. This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
17/WAKU-RLN |
raw |
/vac/waku/waku-rln-relay/2.0.0-alpha1 |
11/WAKU2-RELAY |
draft |
/vac/waku/relay/2.0.0-beta2 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta3 |
18/WAKU2-SWAP |
draft |
/vac/waku/swap/2.0.0-beta1 |
19/WAKU2-LIGHTPUSH |
draft |
/vac/waku/lightpush/2.0.0-beta1 |
The Waku v1 implementation is stable but not under active development.
2021-05-11 v0.3
This release contains the following:
Features
- Start of
RLN relay
implementation - Start of
swap
implementation - Start of fault-tolerant
store
implementation - Initial
bridge
implementation between Waku v1 and v2 protocols - Initial
lightpush
implementation - A peer manager for
relay
,filter
,store
andswap
peers - Persistent storage for peers: A node with this feature enabled will now attempt to reconnect to
relay
peers after a restart. It will respect the gossipsub PRUNE backoff period before attempting to do so. --persist-peers
CLI option to persist peers in local storage--persist-messages
CLI option to store historical messages locally--keep-alive
CLI option to maintain a stable connection torelay
peers on idle topics- A CLI chat application (
chat2
) over Waku v2 with bridging to matterbridge
Changes
- Enable
swap
protocol by default and improve logging
General refactoring
- Split out
waku_types
types into the right place; createutils
folder. - Change type of
contentTopic
inContentFilter
tostring
. - Replace sequence of
contentTopics
inContentFilter
with a singlecontentTopic
. - Add
timestamp
field toWakuMessage
. - Ensure CLI config parameters use a consistent naming scheme. Summary of changes here.
Docs
Several clarifications and additions aimed at contributors, including
- information on how to query Status test fleet for node addresses,
- how to view logs, and
- how to update submodules.
Schema
- Add
Message
table to the persistent message store. This table replaces the oldmessages
table. It has two additional columns, namelypubsubTopic
, andversion
.
- Add
Peer
table for persistent peer storage.
API
- JSON-RPC Admin API: Added a
post
method to connect to peers on an ad-hoc basis. - Nim API: PubSub topic
subscribe
andunsubscribe
no longer returns a future (removedasync
designation). HistoryQuery
: AddedpubsubTopic
field. Message history can now be filtered and queried based on thepubsubTopic
.HistoryQuery
: Added support for querying a time window by specifying start and end times.
Fixes
- Running nodes can now be shut down gracefully
- Content filtering now works on any PubSub topic and not just the
waku
default. - Nodes can now mount protocols without supporting
relay
as a capability
The Waku v2 suite of protocols are still in a raw/draft state. This release supports the following libp2p protocols:
Protocol | Spec status | Protocol id |
---|---|---|
17/WAKU-RLN |
raw |
/vac/waku/waku-rln-relay/2.0.0-alpha1 |
18/WAKU2-SWAP |
raw |
/vac/waku/swap/2.0.0-alpha1 |
19/WAKU2-LIGHTPUSH |
raw |
/vac/waku/lightpush/2.0.0-alpha1 |
11/WAKU2-RELAY |
draft |
/vac/waku/relay/2.0.0-beta2 |
12/WAKU2-FILTER |
draft |
/vac/waku/filter/2.0.0-beta1 |
13/WAKU2-STORE |
draft |
/vac/waku/store/2.0.0-beta3 |
The Waku v1 implementation is stable but not under active development.
2021-01-05 v0.2
This release contains the following changes:
- Calls to
publish
a message onwakunode2
nowawait
instead ofdiscard
dispatchedWakuRelay
procedures. StrictNoSign
enabled.- Add JSON-RPC API for external access to
wakunode2
functionality:- Admin API retrieves information about peers registered on the
wakunode2
. - Debug API exposes debug information about a
wakunode2
. - Filter API saves bandwidth by allowing light nodes to filter for specific content.
- Private API enables symmetric or asymmetric cryptography to encrypt/decrypt message payloads.
- Relay API allows basic pub/sub functionality.
- Store API retrieves historical messages.
- Admin API retrieves information about peers registered on the
- Add tutorial on how to use JSON-RPC API.
- Refactor: Move
waku_filter
protocol into its own module.
The Waku v2 implementation, and most protocols it consist of, are still in a draft/beta state. The Waku v1 implementation is stable but not under active development.
2020-11-30 v0.1
Initial beta release.
This release contains:
- A Nim implementation of the Waku v1 protocol.
- A Nim implementation of the Waku v2 protocol.
- CLI applications
wakunode
andwakunode2
that allows you to run a Waku v1 or v2 node. - Examples of Waku v1 and v2 usage.
- Various tests of above.
Currenty the Waku v2 implementation, and most protocols it consist of, are in a draft/beta state. The Waku v1 implementation is stable but not under active development.
Feedback welcome!