mirror of
https://github.com/daywalker90/cln-nip47.git
synced 2026-08-13 12:33:43 +02:00
3.4 KiB
3.4 KiB
Changelog
[0.2.0] 2026-08-09
Added
- holdinvoice methods:
make_hold_invoice,cancel_hold_invoice,settle_hold_invoice - holdinvoice notification:
hold_invoice_accepted
Changed
pay_keysendwill use the new CLNxkeysendcommand using CLN v26.06+- Budget is updated on demand instead of by a background task
list_transactionsis bounded (at most 500 transactions and ~128kB response) to prevent DoS- Upgrade
nostr_sdkand CLN dependencies
Removed
multi_pay_invoiceandmulti_pay_keysend, they were removed from the spec
Fixed
nip47-createno 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
[0.1.9] 2026-04-23
Fixed
nip47-budget: race condition where new budget settings would sometimes be ignored
[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_sentnotification might not have been sent
[0.1.6] 2025-11-10
Added
- Include pending and failed payments in
list_transactions, now thatstateexists wallets can display these more meaningfully - Include expired invoices in
list_transactions, now thatstateexists wallets can display these more meaningfully
Changed
- Upgrade
nostr_sdktov0.44and implement new fields in sync with thenip47spec, e.g.statefor transactions - Only process events that were created after
cln-nip47started so it does not sent duplicate responses
Fixed
- Some minor fixes around
bolt11invoices with 0 amount (aka any amount) - Don't ignore
offsetparameter inlist_transactions - Also add
notificationsto theinfo_event'scontentif enabled to be in line with the spec
[0.1.5] 2025-07-24
Changed
- cap
list_transactionsto under 128kB since more can lead to incompatibilities with certain wallets
[0.1.4] 2025-07-24
Fixed
- no longer panic on missing both bolt11 and bolt12 strings from listpays response
[0.1.3] 2025-05-04
Changed
- 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)
[0.1.2] 2025-04-18
Added
nip47-createandnip47-list: addclientkey_publicandwalletkey_publicto output. These are useful for private relay whitelists.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
[0.1.1] 2025-04-07
Changed
- use
xpayinstead ofpayif CLN version supports it, this is a workaround for a library issue but also xpay is better
Fixed
- added missing nip47-list labels
[0.1.0] 2025-04-02
Added
- initial release of cln-nip47