Skip to content

Release 0.15.0

Choose a tag to compare

@D4nte D4nte released this 19 Jan 01:24
· 2074 commits to master since this release
26d115a

Added

  • Implement DNS Discovery as per EIP-1459,
    with ENR records as defined in 31/WAKU2-ENR;
    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}]).

Fixed

  • Doc: Some broken links.