What's Changed
In this release we improve NWC relay subscription support for multiple relays, and also remove unwanted console logs by introducing an injectable logger interface. We also improve NWC connection secret validation.
Breaking changes
In this release there is a breaking change to remove the websocket polyfill support. For NodeJS users, make sure to upgrade to NodeJS 22 or higher.
New features
- feat: update nostr-tools and enable native auto-reconnect for multiple relays by @Dunsin-cyber and @rolznz in #516
- feat: replace console.debug with injectable logger interface by @reneaaron in #542
- feat: add validation for connection secrets by @naveendhaterwal in #528
- feat: add preimage and payment hash helper for hold invoices by @naveendhaterwal in #524
Fixes
- fix: replaced references of nwc.getalby.com to my.albyhub.com by @DSanich in #543
- fix: add p tag to NIP-47 response events by @ajaysehwal in #546
- fix: remove websocket polyfill by @rolznz in #547
Misc
- chore: add example for wrapped invoices by @rolznz in #529
- chore: convert wallet-service example to TypeScript by @Dunsin-cyber in #518
- chore: add minimal Playwright smoke test by @DSanich in #534
- chore: add NWC faucet integration test by @DSanich in #535
- chore: e2e nwc payment tests by @DSanich in #537
- chore: add missing typings to hold invoice example by @rolznz in #513
- chore: remove comment about accepted state not being spec compliant by @rolznz in #548
- chore: move dev dependencies in examples out of dependencies by @rolznz in #549
- chore: remove unused dev dependencies from main package.json by @rolznz in #552
- docs: add link to developer sandbox by @rolznz in #522
- chore(deps): bump handlebars from 4.7.8 to 4.7.9 by @dependabot[bot] in #551
- chore(deps): bump flatted from 3.2.7 to 3.4.2 by @dependabot[bot] in #554
- chore(deps-dev): bump rollup from 4.52.5 to 4.60.3 by @dependabot[bot] in #508
- chore(deps-dev): bump @rollup/plugin-commonjs from 28.0.8 to 29.0.2 by @dependabot[bot] in #507
- chore(deps-dev): bump @types/node from 24.9.1 to 25.7.0 by @dependabot[bot] in #505
- chore(deps-dev): bump lint-staged from 16.2.5 to 17.0.4 by @dependabot[bot] in #504
- chore(deps): bump picomatch from 4.0.2 to 4.0.4 in /examples by @dependabot[bot] in #553
- chore(deps): bump tar from 7.4.3 to 7.5.15 in /examples by @dependabot[bot] in #555
- chore(deps): bump minimatch from 9.0.5 to 9.0.9 in /examples by @dependabot[bot] in #556
- chore(deps): bump qs from 6.14.0 to 6.15.1 in /examples by @dependabot[bot] in #557
New Contributors
- @DSanich made their first contribution in #534
- @ajaysehwal made their first contribution in #546
- @naveendhaterwal made their first contribution in #528
Full Changelog: v7.0.0...v8.0.0