Skip to content

Commit 3a3e718

Browse files
committed
Release 0.8.0
### Added - `WakuRelay.deleteObserver` to allow removal of observers, useful when a React component add observers when mounting and needs to delete it when unmounting. - Keep alive feature that pings host regularly, reducing the chance of connections being dropped due to idle. Can be disabled or default frequency (10s) can be changed when calling `Waku.create`. - New `lib/utils` module for easy, dependency-less hex/bytes conversions. - New `peers` and `randomPeer` methods on `WakuStore` and `WakuLightPush` to have a better idea of available peers; Note that it does not check whether Waku node is currently connected to said peers. - Enable passing decryption private keys to `WakuStore.queryHistory`. - Test: Introduce testing in browser environment (Chrome) using Karma. - Add support for Waku Message version 1: Asymmetric encryption, symmetric encryption, and signature of the data. ### Changed - **Breaking**: Auto select peer if none provided for store and light push protocols. - Upgrade to `libp2p@0.31.7` and `libp2p-gossipsub@0.10.0` to avoid `TextEncoder` errors in ReactJS tests. - Disable keep alive by default as latest nim-waku release does not support ping protocol. - **Breaking**: Optional parameters for `WakuMessage.fromBytes` and `WakuMessage.fromUtf8String` are now passed in a single `Options` object. - **Breaking**: `WakuMessage` static functions are now async to allow for encryption and decryption. - **Breaking**: `WakuMessage` constructor is now private, `from*` and `decode*` function should be used. - `WakuMessage` version 1 is partially supported, enabling asymmetrical encryption and signature of messages; this can be done by passing keys to `WakuMessage.from*` and `WakuMessage.decode*` methods. - Examples (eth-dm): Use Waku Message version 1 encryption scheme instead of `eth-crypto`. - Examples (eth-dm): Use Protobuf for direct messages instead of JSON ([#214](#214)). ### Fixed - Disable `keepAlive` if set to `0`.
1 parent 6bd93ee commit 3a3e718

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.8.0] - 2021-07-15
11+
1012
### Added
1113
- `WakuRelay.deleteObserver` to allow removal of observers, useful when a React component add observers when mounting and needs to delete it when unmounting.
1214
- Keep alive feature that pings host regularly, reducing the chance of connections being dropped due to idle.
@@ -118,7 +120,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
118120
- [ReactJS Chat App example](./examples/web-chat).
119121
- [Typedoc Documentation](https://status-im.github.io/js-waku/docs).
120122

121-
[Unreleased]: https://github.com/status-im/js-waku/compare/v0.7.0...HEAD
123+
[Unreleased]: https://github.com/status-im/js-waku/compare/v0.8.0...HEAD
124+
[0.8.0]: https://github.com/status-im/js-waku/compare/v0.7.0...v0.8.0
122125
[0.7.0]: https://github.com/status-im/js-waku/compare/v0.6.0...v0.7.0
123126
[0.6.0]: https://github.com/status-im/js-waku/compare/v0.5.0...v0.6.0
124127
[0.5.0]: https://github.com/status-im/js-waku/compare/v0.4.0...v0.5.0

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "js-waku",
3-
"version": "0.7.0",
3+
"version": "0.8.0",
44
"description": "TypeScript implementation of the Waku v2 protocol",
55
"main": "build/main/index.js",
66
"typings": "build/main/index.d.ts",

0 commit comments

Comments
 (0)