|
1 | 1 | # Changelog |
2 | | -## Next |
| 2 | + |
| 3 | +## 2021-07-23 v0.5 |
3 | 4 |
|
4 | 5 | This release contains the following: |
5 | 6 |
|
6 | 7 | ### Features |
| 8 | +- Support for keep-alives using [libp2p ping protocol](https://docs.libp2p.io/concepts/protocols/#ping). |
| 9 | +- DB migration for the message and peer stores. |
| 10 | +- Support for multiple protocol IDs. Mounted protocols now match versions of the same protocol that adds a postfix to the stable protocol ID. |
7 | 11 |
|
8 | 12 | ### Changes |
9 | | -- Enables db migration for the message store. |
10 | | -- The `resume` Nim API eliminates duplicates messages before storing them. |
11 | | -- Updates the `resume` Nim API to fetch historical messages in sequence of pages. |
12 | | -- Support for stable version of `relay` protocol, with protocol ID `/vac/waku/relay/2.0.0` |
13 | | -- Support for multiple protocol IDs - now matches any protocol that adds postfix to stable ID. |
14 | | -- Updates the order of fields of `HistoryResponse` protobuf message. |
15 | | - The filed numbers of the `HistoryResponse` are shifted up by one to match up the [13/WAKU2-STORE](https://rfc.vac.dev/spec/13/) specs. |
16 | | -- Adds optional `timestamp` to `WakuRelayMessage`. |
| 13 | +- Bridge topics are now configurable. |
| 14 | +- The `resume` Nim API now eliminates duplicates messages before storing them. |
| 15 | +- The `resume` Nim API now fetches historical messages in page sequence. |
| 16 | +- Added support for stable version of `relay` protocol, with protocol ID `/vac/waku/relay/2.0.0`. |
| 17 | +- Added optional `timestamp` to `WakuRelayMessage`. |
| 18 | +- Removed `PCRE` as a prerequisite for building Waku v1 and Waku v2. |
| 19 | +- Improved [`swap`](https://rfc.vac.dev/spec/18/) metrics. |
| 20 | + |
17 | 21 | #### General refactoring |
18 | | -- `wakunode2` setup refactored into 6 distinct phases with improved logging and error handling |
| 22 | +- Refactored modules according to [Nim best practices](https://hackmd.io/1imOGULZRsed2HpgmzGleA). |
| 23 | +- Simplified the [way protocols get notified](https://github.com/status-im/nim-waku/issues/574) of new messages. |
| 24 | +- Refactored `wakunode2` setup into 6 distinct phases with improved logging and error handling. |
| 25 | +- Moved `Whisper` types and protocol from the `nim-eth` module to `nim-waku`. |
| 26 | + |
19 | 27 | #### Docs |
20 | | -- Adds the database migration tutorial. |
| 28 | +- Added [database migration tutorial](https://github.com/status-im/nim-waku/blob/master/docs/tutorial/db-migration.md). |
| 29 | +- Added [tutorial to setup `websockify`](https://github.com/status-im/nim-waku/blob/master/docs/tutorial/websocket.md). |
| 30 | + |
21 | 31 | #### Schema |
22 | | -- Updates the `Message` table of the persistent message store: |
23 | | - - Adds `senderTimestamp` column. |
24 | | - - Renames the `timestamp` column to `receiverTimestamp` and changes its type to `REAL`. |
| 32 | +- Updated the `Message` table of the persistent message store: |
| 33 | + - Added `senderTimestamp` column. |
| 34 | + - Renamed the `timestamp` column to `receiverTimestamp` and changes its type to `REAL`. |
| 35 | + |
25 | 36 | #### API |
| 37 | +- Added optional `timestamp` to [`WakuRelayMessage`](https://rfc.vac.dev/spec/16/#wakurelaymessage) on JSON-RPC API. |
26 | 38 |
|
27 | 39 | ### Fixes |
28 | | -- Conversion between topics for the Waku v1 <-> v2 bridge now follows the [RFC recommendation](https://rfc.vac.dev/spec/23/) |
| 40 | +- Conversion between topics for the Waku v1 <-> v2 bridge now follows the [RFC recommendation](https://rfc.vac.dev/spec/23/). |
| 41 | +- Fixed field order of `HistoryResponse` protobuf message: the field numbers of the `HistoryResponse` are shifted up by one to match up the [13/WAKU2-STORE](https://rfc.vac.dev/spec/13/) specs. |
| 42 | + |
| 43 | +This release supports the following [libp2p protocols](https://docs.libp2p.io/concepts/protocols/): |
| 44 | +| Protocol | Spec status | Protocol id | |
| 45 | +| ---: | :---: | :--- | |
| 46 | +| [`17/WAKU-RLN`](https://rfc.vac.dev/spec/17/) | `raw` | `/vac/waku/waku-rln-relay/2.0.0-alpha1` | |
| 47 | +| [`11/WAKU2-RELAY`](https://rfc.vac.dev/spec/11/) | `stable` | `/vac/waku/relay/2.0.0` | |
| 48 | +| [`12/WAKU2-FILTER`](https://rfc.vac.dev/spec/12/) | `draft` | `/vac/waku/filter/2.0.0-beta1` | |
| 49 | +| [`13/WAKU2-STORE`](https://rfc.vac.dev/spec/13/) | `draft` | `/vac/waku/store/2.0.0-beta3` | |
| 50 | +| [`18/WAKU2-SWAP`](https://rfc.vac.dev/spec/18/) | `draft` | `/vac/waku/swap/2.0.0-beta1` | |
| 51 | +| [`19/WAKU2-LIGHTPUSH`](https://rfc.vac.dev/spec/19/) | `draft` | `/vac/waku/lightpush/2.0.0-beta1` | |
| 52 | + |
| 53 | +The Waku v1 implementation is stable but not under active development. |
29 | 54 |
|
30 | 55 | ## 2021-06-03 v0.4 |
31 | 56 |
|
|
0 commit comments