# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ### Added - `WakuRelay.addObserver` now returns a function to delete the observer. ### Changed - `queryCallbackOnPromise`'s return value has been simplified to `Promise`. - doc: clarified behaviour of `WakuStore` query functions. ## [0.28.0] - 2022-09-16 ### Changed - Correct options type for `createFullNode` & `createPrivacy` to enable passing gossipsub options. - `WakuStore` now provides several APIs: `queryGenerator`, `queryCallbackOnPromise`, `queryOrderedCallback`; each provides different guarantees and performance. ## [0.27.0] - 2022-09-13 ### Added - `createLightNode` to create a Waku node for resource restricted environment with Light Push, Filter and Relay. - `createPrivacyNode` to create a Waku node for privacy preserving usage with Relay only. - `createFullNode` to create a Waku node for with all protocols, for **testing purposes only**. ### Changed - `Waku` is now defined as an interface with `WakuNode` an implementation of it. - `createWaku` is deprecated in favour of `createLightNode` and `createPrivacyNode`. - `waitForRemotePeer` can throw, default behaviour has changed. - `addPeerToAddressBook` is now async. - API Docs moved to https://js.waku.org/ - test: fix typing for nwaku JSON RPC responses. ## [0.26.0] - 2022-09-08 ### Added - Simple connection management that selects the most recent connection for store, light push and filter requests. ### Changed - **breaking**: `DecryptionParams` may be passed when using `queryHistory` instead of just keys. - Examples have been moved to https://github.com/waku-org/js-waku-examples. ### Fixed - doc: add missing modules. ## [0.25.0] - 2022-09-05 ### Changed - Published files moved from `build` to `dist/`. - Migrate from ts-proto to protons; the latter does not bring Buffer/Long deps, is ESM compatible and remove the need for bufbuild and protoc. - Move package to `"type": "module"`, it is now a [pure ESM package](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). - Use ESM code in Mocha and Karma tests. - Upgrade `dns-query` dependency, breaking change on `DnsNodeDiscovery` API. - Bump many libp2p libraries to their latest version (which usually are pure ESM). - Replace webpack with parcel for bundling - Examples: Updated store-js and relay-js to demonstrate usage of ESM bundle in `