Release 0.25.0
None-exhaustive list of changes.
See github.com/waku-org/js-waku-examples for examples in using the new API.
Changed
- Published files moved from
buildtodist/. - 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. - Use ESM code in Mocha and Karma tests.
- Upgrade
dns-querydependency, breaking change onDnsNodeDiscoveryAPI. - 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
<script>tag. - Remove need to polyfill
buffer. - breaking: Various API changes. Refer to tests to check proper usage of the new API.
- breaking:
createWakuis in separate exports path. - breaking: Bootstrap class split: dns discovery, static list.
- breaking: bundled files are now under
bundle/.
Fixed
- size-limit config to test several usages of Waku.
bufferis not needed in the browser.
Removed
terserminification andgzipcompressions have been removed.