github cashubtc/nutshell 0.21.0

6 hours ago

Nutshell 0.21.0

Caution

This release includes database migrations for the mint and mint authentication databases. Ensure you back up your databases before upgrading your Nutshell instance to avoid data loss.

Nutshell 0.21.0 brings security hardening, Lightning backend improvements, wallet fixes, and the retirement of deprecated integrations and APIs.

Compatibility Notes

  • Removed Lightning backends: BlinkWallet, LNbitsWallet, and the deprecated CoreLightningRestWallet. Operators using these must switch to a supported backend before upgrading. Core Lightning users should use CLNRestWallet with xpay available.
  • Removed legacy API support: deprecated mint endpoints and wallet compatibility fallbacks for older mint responses have been retired. Integrations should use the current /v1 API.

Notable Changes

Mint

  • LND self-payments: optional support through MINT_LND_ALLOW_SELF_PAYMENT, disabled by default, for both REST and gRPC backends.
  • LND invoice compatibility: fixes for millisatoshi invoice creation and sub-satoshi rounding, plus clearer errors for unsupported partial self-payments.
  • Core Lightning: CLNRestWallet now uses xpay for outgoing payments.
  • NUT-06 request limits: /v1/info now advertises max_array_length, allowing wallets to size requests before submitting them.
  • Standardized error codes: aligned with the Cashu specifications, including error 12002 for inactive output keysets.
  • Spark: updated the Breez SDK dependency.

Wallet

  • Named wallets: receiving tokens and listing wallets now consistently use the correct wallet name and database.
  • CLI invoice handling: unpaid invoices are no longer reported as paid, and waiting for WebSocket payment notifications is bounded.
  • Lightning change: blank change outputs now use amount 0 for NUT-08 compatibility.
  • npub.cash: correctly recognizes already-issued quotes using the updated mint error code.

Other

  • Added scheduled mutation testing and expanded Lightning, Spark, mint, wallet, and authentication integration tests.
  • Removed obsolete regtest tooling and standardized LF line endings.

New Contributors

Full Changelog: 0.20.3...0.21.0

What's Changed

New Contributors

Full Changelog: 0.20.3...0.21.0

Don't miss a new nutshell release

NewReleases is sending notifications on new releases.