From 26d115ab7c60789d833b021db7a91f5d750b24e9 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Mon, 17 Jan 2022 14:57:54 +1100 Subject: [PATCH] Release 0.15.0 ### Added - Implement DNS Discovery as per [EIP-1459](https://eips.ethereum.org/EIPS/eip-1459), with ENR records as defined in [31/WAKU2-ENR](https://rfc.vac.dev/spec/31/); Available by passing `{ bootstrap: { enrUrl: enrtree://... } }` to `Waku.create`. - When using `addDecryptionKey`, it is now possible to specify the decryption method and the content topics of the messages to decrypt; this is to reduce the number of decryption attempt done and improve performance. ### Changed - Test: Upgrade nim-waku node to v0.6. - **Breaking**: Renamed `getBootstrapNodes` to `getNodesFromHostedJson`. - Minimum node version changed to 16. - **Breaking**: Changed `Waku.create` bootstrap option from `{ bootstrap: boolean }` to `{ bootstrap: BootstrapOptions }`. Replace `{ boostrap: true }` with `{ boostrap: { default: true } }` to retain same behaviour. - **Breaking**: `WakuMessage.decode` and `WakuMessage.decodeProto` now accepts method and content topics for the decryption key. `WakuMessage.decode(bytes, [key])` becomes `WakuMessage.decode(bytes, [{key: key}])`. --- CHANGELOG.md | 5 ++++- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7dcbd8d853..2515dd3a44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.15.0] - 2022-01-17 + ### Added - Implement DNS Discovery as per [EIP-1459](https://eips.ethereum.org/EIPS/eip-1459), @@ -287,7 +289,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [ReactJS Chat App example](./examples/web-chat). - [Typedoc Documentation](https://status-im.github.io/js-waku/docs). -[Unreleased]: https://github.com/status-im/js-waku/compare/v0.14.2...HEAD +[Unreleased]: https://github.com/status-im/js-waku/compare/v0.15.0...HEAD +[0.15.0]: https://github.com/status-im/js-waku/compare/v0.14.2...v0.15.0 [0.14.2]: https://github.com/status-im/js-waku/compare/v0.14.1...v0.14.2 [0.14.1]: https://github.com/status-im/js-waku/compare/v0.14.0...v0.14.1 [0.14.0]: https://github.com/status-im/js-waku/compare/v0.13.1...v0.14.0 diff --git a/package-lock.json b/package-lock.json index f06589fdd3..632666d234 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "js-waku", - "version": "0.14.2", + "version": "0.15.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "js-waku", - "version": "0.14.2", + "version": "0.15.0", "license": "MIT OR Apache-2.0", "dependencies": { "@chainsafe/libp2p-noise": "^5.0.0", diff --git a/package.json b/package.json index 3480f3333c..6d726801a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "js-waku", - "version": "0.14.2", + "version": "0.15.0", "description": "TypeScript implementation of the Waku v2 protocol", "main": "build/main/index.js", "typings": "build/main/index.d.ts",