js-waku/packages/interfaces/CHANGELOG.md

22 KiB

Changelog

All notable changes to this project will be documented in this file.

The file is maintained by Release Please based on Conventional Commits specification, and this project adheres to Semantic Versioning.

0.0.27 (2024-09-05)

Bug Fixes

0.0.26 (2024-08-29)

⚠ BREAKING CHANGES

  • lightpush: return new error messages (#2115)
  • deprecate named pubsub topics and use static/auto sharding (#2097)
  • store v3 (#2036)
  • filter: new simpler filter API (#2092)

Features

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @waku/proto bumped from ^0.0.7 to ^0.0.8

0.0.25 (2024-07-10)

⚠ BREAKING CHANGES

  • filter: return error codes instead of throwing errors (#1971)

Features

  • filter: Peer/subscription renewal with recurring Filter pings (#2052) (318667e)
  • filter: Return error codes instead of throwing errors (#1971) (4eb06c6)
  • filter: Use protocol peer management (#2047) (4db508b)
  • lightpush: Peer management for protocols (#2003) (93e78c3)

0.0.24 (2024-04-30)

⚠ BREAKING CHANGES

  • use ShardingParams on subscriptions, make Decoder/Encoder auto sharding friendly by default (#1958)
  • lightpush: move protocol implementation to @waku/sdk (1/n) (#1964)

Features

  • Add keep alive to Filter (#1970) (1a6bc4f)
  • Add libp2p option for max ping connections (fa523b7)
  • Lift contentTopics and make shardInfo mandatory for createLight… (#1959) (5b03709)
  • Use ShardingParams on subscriptions, make Decoder/Encoder auto sharding friendly by default (#1958) (f3627c4)

Bug Fixes

  • Use correct shard index when creating encoder (9514653)

Miscellaneous Chores

  • lightpush: Move protocol implementation to @waku/sdk (1/n) (#1964) (5fb1006)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @waku/proto bumped from ^0.0.6 to ^0.0.7

0.0.23 (2024-04-09)

⚠ BREAKING CHANGES

  • store: move protocol implementation opinions to @waku/sdk (#1913)
  • lightpush: move protocol implementation opinions to @waku/sdk (#1887)

Features

Miscellaneous Chores

  • lightpush: Move protocol implementation opinions to @waku/sdk (#1887) (8deab11)
  • store: Move protocol implementation opinions to @waku/sdk (#1913) (bf42c8f)

0.0.22 (2024-03-04)

⚠ BREAKING CHANGES

  • rename local-discovery to local-peer-cache-discovery (#1867)
  • protocols filter peers as per configured shard (#1756)

Features

  • Add bootstrapPeers option and refactor sdk (#1871) (9f198dd)
  • Create node and subscription by content topic (ee2d417)
  • Decouple sharding params out of core (e138b4f)
  • Lightpush & filter send requests to multiple peers (#1779) (7affbe2)
  • Local discovery (#1811) (199f6ab)
  • Make ShardingParams optional in sdk, required internally (68d3229)
  • Protocols filter peers as per configured shard (#1756) (477c2a5)

Miscellaneous Chores

  • Rename local-discovery to local-peer-cache-discovery (#1867) (f3cb10d)

0.0.21 (2024-01-10)

⚠ BREAKING CHANGES

  • add support for sharded pubsub topics & remove support for named pubsub topics (#1697)
  • change all instances of PubSubTopic to PubsubTopic (#1703)

Features

  • Add support for autosharded pubsub topics (2bc3735)
  • Add support for sharded pubsub topics & remove support for named pubsub topics (#1697) (4cf2ffe)
  • Metadata protocol (#1732) (9ac2a3f)
  • Track node connection state (#1719) (1d0e2ac)

Miscellaneous Chores

  • Change all instances of PubSubTopic to PubsubTopic (#1703) (3166a51)

0.0.20 (2023-11-01)

Features

  • Fail early when trying to send empty payload (#1642) (6bad4ea)

0.0.19 (2023-10-16)

⚠ BREAKING CHANGES

  • static-sharding: allow multiple pubSubTopics (#1586)
  • return REMOTE_PEER_REJECTED if remote peer rejected the message

Features

  • Return REMOTE_PEER_REJECTED if remote peer rejected the message (053b654)
  • static-sharding: Allow multiple pubSubTopics (#1586) (a3c45b6)
  • static-sharding: Filter peer connections per shards (#1626) (124a29e)

Bug Fixes

  • Catch stream creation promise rejection for lightPush.send (b696a89)

0.0.18 (2023-09-11)

⚠ BREAKING CHANGES

  • set peer-exchange with default bootstrap (#1469)
  • refactor store protocol for readability (#1456)
  • remove filter v1 (#1433)
  • upgrade to libp2p@0.45 (#1400)
  • filter v2 (#1332)
  • add and implement IReceiver (#1219)

Features

  • Add 1MB restriction to LightPush and Relay (#1351) (72f97d4)
  • Add and implement IReceiver (#1219) (e11e5b4)
  • Allow passing of multiple ENR URLs to DNS Discovery & dial multiple peers in parallel (#1379) (f32d7d9)
  • ConnectionManager extends EventEmitter & exposed on the Waku interface (& minor improvements) (#1447) (0b8936f)
  • dns-discovery: Set default for NodeRequirements (#1466) (aab9c08)
  • Enable event emission for peer discovery/connection in ConnectionManager (#1438) (6ce898d)
  • Expose meta on IDecodedMessage (5724bb2)
  • Filter v2 (#1332) (8d0e647)
  • Set peer-exchange with default bootstrap (#1469) (81a52a8)
  • ToSubscriptionIterator impl for IReceiver (#1307) (7daa9d0)
  • Upgrade to libp2p@0.45 (#1400) (420e6c6)

Miscellaneous Chores

0.0.17 (2023-08-02)

Features

  • ConnectionManager extends EventEmitter & exposed on the Waku interface (& minor improvements) (#1447) (0b8936f)

0.0.16 (2023-07-26)

⚠ BREAKING CHANGES

Features

Miscellaneous Chores

0.0.15 (2023-06-08)

Features

  • Allow passing of multiple ENR URLs to DNS Discovery & dial multiple peers in parallel (#1379) (f32d7d9)

0.0.14 (2023-05-26)

⚠ BREAKING CHANGES

Features

0.0.13 (2023-05-18)

Features

  • Add 1MB restriction to LightPush and Relay (#1351) (72f97d4)
  • Expose meta on IDecodedMessage (5724bb2)

0.0.12 (2023-05-09)

Features

  • ToSubscriptionIterator impl for IReceiver (#1307) (7daa9d0)

0.0.11 (2023-04-03)

⚠ BREAKING CHANGES

  • add and implement IReceiver (#1219)

Features

0.0.10 (2023-03-24)

Bug Fixes

0.0.9 (2023-03-23)

⚠ BREAKING CHANGES

  • use ISender and deprecate Light Push .push (#1217)

Features

0.0.8 (2023-03-16)

⚠ BREAKING CHANGES

  • add custom events to Relay and make observers private (#1213)
  • enable encoding of meta field
  • expose pubsub topic in IDecodedMessage
  • directly convert from ENR to PeerInfo, remove unneeded utility
  • extract encoder code
  • update store.proto
  • update message.proto: payload and content topic are always defined
  • ConnectionManager and KeepAliveManager (#1135)
  • bump typescript
  • bump libp2p dependencies

Features

  • Add custom events to Relay and make observers private (#1213) (275b166)
  • Codec as a property of the protocol implementations (a5ff788)
  • ConnectionManager and KeepAliveManager (#1135) (24c24cc)
  • Enable encoding of meta field (bd983ea)
  • Expose pubsub topic in IDecodedMessage (628ac50), closes #1208

Bug Fixes

  • Prettier and cspell ignore CHANGELOG (#1235) (4d7b3e3)
  • Remove initialising peer-exchange while creating a node (#1158) (1b41569)

Miscellaneous Chores

  • Bump libp2p dependencies (803ae7b)
  • Bump typescript (12d86e6)
  • Directly convert from ENR to PeerInfo, remove unneeded utility (6dbcde0)
  • Extract encoder code (22ffcf5)
  • Update message.proto: payload and content topic are always defined (5cf8ed2)
  • Update store.proto (967e6ff)

Unreleased

Added

  • multicodec property on protocol interfaces.

0.0.7 - 2023-01-18

Added

  • IPeerExchange interface.
  • IEnr interface.

0.0.6 - 2022-12-15

Changed

  • Add I prefix to protocol and messages interfaces.
  • Renamed node interfaces to include Node.
  • Renamed WakuPrivacy to RelayNode.

0.0.5 - 2022-11-18

Added

  • Alpha version of @waku/interfaces.