2021-07-23 v0.5
Pre-release
Pre-release
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
resumeNim API now eliminates duplicates messages before storing them. - The
resumeNim API now fetches historical messages in page sequence. - Added support for stable version of
relayprotocol, with protocol ID/vac/waku/relay/2.0.0. - Added optional
timestamptoWakuRelayMessage. - Removed
PCREas a prerequisite for building Waku v1 and Waku v2. - Improved
swapmetrics.
General refactoring
- Refactored modules according to Nim best practices.
- Simplified the way protocols get notified of new messages.
- Refactored
wakunode2setup into 6 distinct phases with improved logging and error handling. - Moved
Whispertypes and protocol from thenim-ethmodule tonim-waku.
Docs
- Added database migration tutorial.
- Added tutorial to setup
websockify.
Schema
- Updated the
Messagetable of the persistent message store:- Added
senderTimestampcolumn. - Renamed the
timestampcolumn toreceiverTimestampand changes its type toREAL.
- Added
API
- Added optional
timestamptoWakuRelayMessageon JSON-RPC API.
Fixes
- Conversion between topics for the Waku v1 <-> v2 bridge now follows the RFC recommendation.
- Fixed field order of
HistoryResponseprotobuf message: the field numbers of theHistoryResponseare 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.