Skip to content

Releases: waku-org/js-waku

Release 0.14.1

22 Oct 04:15
0cf12f3
Compare
Choose a tag to compare

Fixed

  • Issue when importing the utils module.

Release 0.14.0

13 Oct 00:42
2c1ff58
Compare
Choose a tag to compare

Added

  • If the callback function passed toWakuStore.queryHistory returns true, then no further pages are retrieved from the store.
  • Use webpack to build UMD bundle of the library, see README for usage.

Changed

  • Breaking: Renamed WakuStore.QueryOptions's direction to pageDirection (and its type) as it only affects the page ordering,
    not the ordering of messages with the page.

Fixed

  • Docs: Ensure that WakuStore's QueryOptions documentation is available online.

Release 0.13.1

21 Sep 05:22
129b6a9
Compare
Choose a tag to compare

Fixed

  • Error: Bootstrap requires a list of peer addresses error when using bootstrap: true in Waku.create.

Release 0.12.2

21 Sep 05:40
e3dce12
Compare
Choose a tag to compare

Fixed

  • hot fix: Error: Bootstrap requires a list of peer addresses error when using bootstrap: true in Waku.create.

Release 0.13.0

16 Sep 05:14
6bd114f
Compare
Choose a tag to compare

Changed

  • Upgrade libp2p libraries: @chainsafe/libp2p-noise@4.1.1, libp2p@0.32.4, libp2p-gossipsub@0.11.1.
  • Connects to a limited number of bootstrap nodes, defaults to 1.

Release 0.12.1

16 Sep 05:40
def38b4
Compare
Choose a tag to compare

Changed

  • hot fix: Connects to a limited number of bootstrap nodes, defaults to 1.

Release 0.12.0

02 Sep 10:01
3bf7e22
Compare
Choose a tag to compare

Added

  • Examples (eth-pm): Encrypt Public Key Messages using symmetric encryption.
  • Guides: Encrypt messages using Waku Message Version 1.
  • Allow passing decryption keys in hex string format.
  • Allow passing decryption keys to WakuStore instance to avoid having to pass them at every queryHistory call.
  • Allow passing decryption keys to Waku instance to avoid having to pass them to both WakuRelay and WakuStore.
  • Waku.waitForConnectedPeer helper to ensure that we are connected to Waku peers when using the bootstrap option.

Changed

  • Breaking: Moved startTime and endTime for history queries to a timeFilter property as both or neither must be passed; passing only one parameter is not supported.
  • Renamed and promote the usage of generateSymmetricKey() to generate random symmetric keys.
  • Improved errors thrown by WakuStore.queryHistory.

Fixed

  • Buffer concat error when using symmetric encryption in the browser.

Release 0.11.0

20 Aug 03:48
8fce1ad
Compare
Choose a tag to compare

Added

  • Examples: New Ethereum Private Message Using Wallet Encryption Web App
    example that demonstrates the usage of eth_encrypt API (available on Metamask) and EIP-712 for typed structured data signing.
  • New bootstrap option for Waku.create to easily connect to Waku nodes upon start up.
  • Support for startTime and endTime in Store queries to filter by time window as per 21/WAKU2-FTSTORE.

Changed

  • Renamed discover.getStatusFleetNodes to discovery.getBootstrapNodes;
    Changed the API to allow retrieval of bootstrap nodes from other sources.
  • Examples: Renamed eth-dm to eth-pm; "Direct Message" can lead to confusion with "Direct Connection" that
    refers to low latency network connections.
  • Examples (eth-pm): Use sign typed data EIP-712 instead of personal sign.
  • Upgraded dependencies to remove warning at installation.
  • Breaking: Moved DefaultPubSubTopic to waku.ts and fixed the casing.
  • Breaking: Rename all pubsubTopic occurrences to pubSubTopic, across all interfaces.

Removed

  • Examples (cli-chat): The focus of this library is Web environment;
    Several examples now cover usage of Waku Relay and Waku Store making cli-chat example obsolete;
    web-chat POC should be preferred to use the TOY-CHAT protocol.
  • ChatMessage has been moved from js-waku to web-chat example;
    it is a type used for the TOY-CHAT protocol;
    js-waku users should not build on top if this toy protocol and instead design message data structures appropriate to their use case.
  • Unused dependencies & scripts.

Release 0.10.0

06 Aug 06:52
70c58c8
Compare
Choose a tag to compare

Added

  • Relay and ReactJS guides and examples
    (#56).

Changed

  • Breaking: The WakuMessage APIs have been changed to move contentTopic out of the optional parameters.

Removed

  • Examples (web-chat): Remove broken /fleet command.
  • Breaking: Removed DefaultContentTopic as developers must choose a content topic for their app;
    recommendations for content topic can be found at https://rfc.vac.dev/spec/23/.

Fixed

  • WakuMessage.payloadAsUtf8 returning garbage on utf-8 non-ascii characters.
  • ChatMessage.payloadAsUtf8 returning garbage on utf-8 non-ascii characters.

[0.9.0] - 2021-07-26

Changed

  • Breaking: Store Response Protobuf changed to align with nim-waku v0.5
    (nim-waku#676).

Release 0.9.0

26 Jul 10:23
c35fe74
Compare
Choose a tag to compare

Changed

  • Breaking: Store Response Protobuf changed to align with nim-waku v0.5
    (nim-waku#676).