cln-nip47/CHANGELOG.md

95 lines
3.5 KiB
Markdown
Raw Permalink Normal View History

2025-04-02 18:00:50 +02:00
# Changelog
2026-08-09 18:14:12 +02:00
## [0.2.0] 2026-08-09
2025-11-08 13:41:11 +01:00
### Added
- holdinvoice methods: ``make_hold_invoice``, ``cancel_hold_invoice``, ``settle_hold_invoice``
- holdinvoice notification: ``hold_invoice_accepted``
2026-05-17 19:46:22 +02:00
### Changed
2026-08-09 20:07:11 +02:00
- there are now five default relays that will be used if ``nip47-relays`` is not set
2026-05-17 19:46:22 +02:00
- `pay_keysend` will use the new CLN `xkeysend` command using CLN v26.06+
2026-08-09 18:11:28 +02:00
- Budget is updated on demand instead of by a background task
- `list_transactions` is bounded (at most 500 transactions and ~128kB response) to prevent DoS
- Upgrade ``nostr_sdk`` and CLN dependencies
2026-05-17 19:46:22 +02:00
2026-02-24 16:18:46 +01:00
### Removed
- ``multi_pay_invoice`` and ``multi_pay_keysend``, they were removed from the spec
2026-08-09 18:11:28 +02:00
### Fixed
- ``nip47-create`` no longer fails if the NWC fails to start, the error is only logged, since the NWC at that point is already persisted to the DB
- Paying amount-less invoices with a request amount
- Legacy keysend TLV byte decoding
- Report the correct error when the payment route is too expensive
- Notifications are sent per client, so one failing client no longer prevents the others from receiving them
- Available payment methods are now determined from the node's RPC instead of it's (custom) version string
- Deduplication of request events instead of filtering unreliably
2026-04-23 11:00:51 +02:00
## [0.1.9] 2026-04-23
### Fixed
- ``nip47-budget``: race condition where new budget settings would sometimes be ignored
2026-04-03 10:16:21 +02:00
## [0.1.8] 2026-04-03
### Changed
- updated cln dependencies
## [0.1.7] 2025-11-27
### Fixed
- If there were failed payment attempts before success the ``payment_sent`` notification might not have been sent
2025-11-10 10:51:32 +01:00
## [0.1.6] 2025-11-10
### Added
2025-11-10 10:51:32 +01:00
- Include pending and failed payments in ``list_transactions``, now that ``state`` exists wallets can display these more meaningfully
- Include expired invoices in ``list_transactions``, now that ``state`` exists wallets can display these more meaningfully
### Changed
2025-11-10 10:51:32 +01:00
- Upgrade ``nostr_sdk`` to ``v0.44`` and implement new fields in sync with the ``nip47`` spec, e.g. ``state`` for transactions
- Only process events that were created after ``cln-nip47`` started so it does not sent duplicate responses
### Fixed
2025-11-10 10:51:32 +01:00
- Some minor fixes around ``bolt11`` invoices with 0 amount (aka any amount)
- Don't ignore `offset` parameter in ``list_transactions``
2025-11-10 10:51:32 +01:00
- Also add ``notifications`` to the ``info_event``'s ``content`` if enabled to be in line with the spec
2025-07-24 21:56:33 +02:00
## [0.1.5] 2025-07-24
### Changed
- cap `list_transactions` to under 128kB since more can lead to incompatibilities with certain wallets
2025-07-24 18:30:25 +02:00
## [0.1.4] 2025-07-24
### Fixed
- no longer panic on missing both bolt11 and bolt12 strings from listpays response
2025-05-04 14:08:01 +02:00
## [0.1.3] 2025-05-04
2025-05-04 11:42:29 +02:00
### Changed
2025-05-04 14:08:01 +02:00
- NWC's with budget at 0 and no renewing interval set (aka "receive-only" NWC) will now stop announcing pay methods when announcing itself to relays, this is for services which demand a receive-only NWC (e.g. stacker.news)
2025-05-04 11:42:29 +02:00
## [0.1.2] 2025-04-18
### Added
- ``nip47-create`` and ``nip47-list``: add ``clientkey_public`` and ``walletkey_public`` to output. These are useful for private relay whitelists.
2025-04-18 15:12:30 +02:00
- ``nip47-notifications``: new option to enable/disable nip47 notifications. Usefule if you don't need them and want to use public relays that may rate limit you.
### Fixed
- ``nip47-revoke``: actually stop task if no relays were ever connected
2025-04-07 23:57:41 +02:00
## [0.1.1] 2025-04-07
### Changed
- use `xpay` instead of `pay` if CLN version supports it, this is a workaround for a library issue but also xpay is better
### Fixed
- added missing nip47-list labels
2025-04-02 18:00:50 +02:00
## [0.1.0] 2025-04-02
### Added
2025-07-24 18:30:25 +02:00
- initial release of cln-nip47