Releases: ElementsProject/lightning
v25.02rc1 - 2025-02-24
v25.02 release candidate: NAME-GOES-HERE
This release was named by XXX
Highlights for users:
- Channel backup turns our peers into watchtowers by now allowing your node to generate penalty transactions!
- blacklisted runes can now be restored via
relist. - xpay has many, many bugfixes, and is now almost seamlessly compatible when
xpay-handle-payis used. lightning-clihas neater help output, and doesn't crash occasionally on xpay notifications.setconfigdoes more safety checks and uses a separate "config.setconfig" file for runtime changes: you can also now set transient=true if you don't want the config files changed.- Fixed a bug where we would fail to collect our own funds if we force closed a channel we had leased with --experimental-dual-fund.
Highlights for the network:
- BOLT12 offers now use a blinded path if the node has no advertised address.
- Splicing: stricter checking for better interoperability with Eclair.
Highlights for developers:
- clnrest is now a rust plugin.
listpeerchannelsnow contains fieldstheir_max_htlc_value_in_flightandour_max_htlc_value_in_flightto better calculate channel limits.- New notifications
plugin_stoppedandplugin_started. fetchinvoicenow has BIP353 DNS payment instruction support.
Since 24.11.1, we had 242 commits in 68 days from 21 different authors, including three new ones:
- Nishant Bansal
- gudnuf
- Erick λ
See the CHANGELOG for more details!
Thank you from the Core Lightning Team:
@endothermicdev, @rustyrussell, @cdecker, @nepet, @ShahanaFarooqui, and @niftynei.
v24.11.1: The lightning-dev Mailing List II
This is a quick release due to the popularity of xpay, especially using the (reckless!) `xpay-handle-pay option.
Highlights:
xpaycompatibility improved significantly forxpay-handle-pay: the JSON return should be identical, and it handles maxfeepercent and exemptfee parameters.xpayresults inlistpayswill includedestinationandamount_msatfields.xpaydoesn't spam the logs at INFO level any morexpaynow works through unannounced channels (oops!)- Alpine/OpenBSD compilation fix
You can see the full CHANGELOG for all details.
Happy xpay season from the Core Lightning Team!
v24.11: The lightning-dev Mailing List
We are pleased to announce the (giant, if slightly delayed) 24.11 release of Core Lightning, named by @ddustin. For a list of all changes, please see the changelog.
Highlights for Users:
xpayis a new, experimental plugin for payments. It's rewritten from the ground up, on top of another plugin calledaskrene, which provides advanced routing advice for payments. The two play together:xpaytellsaskreneabout the results of payment attempts, so it learns over time. The hard work was done by @Lagrang3 who wrote and refined the minimum-cost-flow solver which is the heart ofaskrene.- For reckless souls,
xpay-handle-paycan be set to true (even at runtime, usingsetconfig) to have xpay take over the simple variants ofpay.
- For reckless souls,
- Paying and receiving offers (bolt12 send and receive) are enabled by default! This reflects it finally being included in the BOLT specs in September, to applause from all the different Lightning implementers.
- We're smarter about remembering where we successfully connected out to a peer, and will always try that again.
pyln-clientin 25.08 accidentally broke compatibility with older CLN versions. That's fixed.hsmtoolgeneratehsmcan now accept all the parameters on the command line.- For large nodes:
- The
autocleanplugin would make nodes freeze for 30 seconds at a time when had a lot of work to do: it's now kinder and gentler. gossipdandconnectdqueues are no longer slow (it was all gossipd's fault, be far too chatty).listpaysnow takesstartandlimitparameters to speed it up if you only want recent payments.
- The
- Some nasty bugs fixed, including one where extended downtime could mean we might never fully resolve unilateral closes (just missing returning the funds to our wallet).
Highlights for Developers:
cln-grpc(our rust plugin to provide a GRPC interface) is enabled by default! Because of this, the newgrpc-hostoption was added: we bind only to localhost by default. Almost all the JSON interfaces are now supported, thanks to @daywalker90 who has been tracking these in record time!- All the RPC documentation now contains generated, accurate examples of their inputs and outputs.
- There's a new dev-splice command from @ddustin which lets you provide a splice script for describing complex moves, such as splicing into and out of multiple channels.
- Tracing infrastructure improved, including tracing across database accesses.
exposesecretcall (if explicitly enabled) allows backup of HSM secret via RPC api.- libplugin is made more uniform: all routines now have a
struct commandcontext to use.
Highlights for the Network:
- We gossip harder: we try to stay connected to 10 nodes (see
autoconnect-seeker-peers, picking random ones if we need to. Every hour we ask one peer for all its gossip, and we always send out our own gossip updates to up to 50 peers. This should help everyone stay up-to-date with what's happening in the network. - Connectd will connect faster on startup, maintaining up to 10 outgoing connection attempts in parallel.
Since 24.08, we had 559 commits in 102 days from 28 different authors, including four new ones:
- Michael Cho
- Lakshya Singh
- Emmanuel Ferdman
- alfredo-toledano
Thank you from the Core Lightning Team:
@rustyrussell, @endothermicdev, @cdecker, @nepet, @ShahanaFarooqui, and @niftynei.
v24.11 Release Candidate 3
Fixes since rc2:
- JSON-RPC:
decoderefused to decode expired bolt12 invoices. - xpay: don't excees maxfee overall.
- Log unknown messages as "UNKNOWN" not "INVALID" so as not to freak people out
v24.11 Release Candidate 2
We are pleased to announce the (giant, if slightly delayed) 24.11 release of Core Lightning, named by @ddustin. For a list of all changes, please see the changelog
Highlights for Users:
xpayis a new, experimental plugin for payments. It's rewritten from the ground up, on top of another plugin calledaskrene, which provides advanced routing advice for payments. The two play together:xpaytellsaskreneabout the results of payment attempts, so it learns over time. The hard work was done by @Lagrang3 who wrote and refined the minimum-cost-flow solver which is the heart ofaskrene.- For reckless souls,
xpay-handle-paycan be set to true (even at runtime, usingsetconfig) to have xpay take over the simple variants ofpay.
- For reckless souls,
- Paying and receiving offers (bolt12 send and receive) are enabled by default! This reflects it finally being included in the BOLT specs in September, to applause from all the different Lightning implementers.
- We're smarter about remembering where we successfully connected out to a peer, and will always try that again.
pyln-clientin 25.08 accidentally broke compatibility with older CLN versions. That's fixed.hsmtoolgeneratehsmcan now accept all the parameters on the command line.- For large nodes:
- The
autocleanplugin would make nodes freeze for 30 seconds at a time when had a lot of work to do: it's now kinder and gentler. gossipdandconnectdqueues are no longer slow (it was all gossipd's fault, be far too chatty).listpaysnow takesstartandlimitparameters to speed it up if you only want recent payments.
- The
- Some nasty bugs fixed, including one where extended downtime could mean we might never fully resolve unilateral closes (just missing returning the funds to our wallet).
Highlights for Developers:
cln-grpc(our rust plugin to provide a GRPC interface) is enabled by default! Because of this, the newgrpc-hostoption was added: we bind only to localhost by default. Almost all the JSON interfaces are now supported, thanks to @daywalker90 who has been tracking these in record time!- All the RPC documentation now contains generated, accurate examples of their inputs and outputs.
- There's a new dev-splice command from @ddustin which lets you provide a splice script for describing complex moves, such as splicing into and out of multiple channels.
- Tracing infrastructure improved, including tracing across database accesses.
exposesecretcall (if explicitly enabled) allows backup of HSM secret via RPC api.- libplugin is made more uniform: all routines now have a
struct commandcontext to use.
Highlights for the Network:
- We gossip harder: we try to stay connected to 10 nodes (see
autoconnect-seeker-peers, picking random ones if we need to. Every hour we ask one peer for all its gossip, and we always send out our own gossip updates to up to 50 peers. This should help everyone stay up-to-date with what's happening in the network. - Connectd will connect faster on startup, maintaining up to 10 outgoing connection attempts in parallel.
Since 24.08, we had 530 commits in 92 days from 28 different authors, including four new ones:
- Michael Cho
- Lakshya Singh
- Emmanuel Ferdman
- alfredo-toledano
Thank you from the Core Lightning Team:
@rustyrussell, @endothermicdev, @cdecker, @nepet, @ShahanaFarooqui, and @niftynei.
v24.08.2 -- Steel Backed-up Channels
This point release addresses few crash fixes and includes an enhancement to remember and update channel hints for payments.
Changed
- pay: Now remembers and updates channel hints across payments.
- pay: Discarding an overly long or expensive route does not blacklist channels anymore.
- grpc: Channel type
anchors/evenwas added to the grpc bindings.
Fixed
- gossipd: crash errors with large gossip_store (>4MB) growth on longer-running nodes.
- connectd: crash on erroneous timeout.
- Protocol: we could get confused on restart and not re-transmit our own channel_updates.
- rpc:
listpeerchannels(and thus, pay) sped up on very large nodes. - Improved pathfinding speed for large nodes.
v24.08.1 -- Steel Backed-up Channels
This hotfix release fixes few crash issues and some other bugs.
Fixed
- No longer crash if a plugin dies during lightningd startup.
- Fixed crash when starting channeld for older channel with no local alias.
- Will not crash for older pre-tlv peers where send_tlvs is NULL.
- Compilation will fail gracefully if
jqis missing or an outdated version is detected. - cln-plugin: Change default log level filter back to INFO.
- Fixed intermittant bug where hsmd (particularly, but also lightningd) could use 100% CPU.
- Made
descriptionoptional inWait(any)invoiceResponseto handle BOLT12. - Removed bogus "BROKEN plugin-topology: DEPRECATED API USED: listchannels.include_private" message.
24.08 - Steel Backed-up Channels
We are pleased to announce the 24.08 release of Core Lightning, named by @Lagrang3. For a list of all changes, please see the changelog.
Highlights for Users
paynow checks for sufficient spendable capacity before computing a route and returns a clear error message if there isn't enough capacity.offerscan now self-fetch and self-pay BOLT12 offers and invoices.offersautomatically adds a blinded path from a peer if we have no public channels, and supports setting a blinded path forinvoicerequestif we're an unannounced node.renepaynow prunes the network by disabling undesired channels, un-reserves routes after use, and introduces a newexcludeoption for channels & nodes to be excluded from routing.- Whitespace at the end of (most) options will not complain anymore.
- I/O optimizations to significantly speed up larger nodes.
Highlights for the Network
paycan now pay to bolt12 invoices if entry to blinded hop is specified as ashort_channel_id.- We can now open unannounced channels with LND nodes again.
- Onion messages are now supported by default and can be forwarded using
short_channel_id. - We now request all gossip from the first peer and immediately send updated gossip to current peers instead of waiting for reconnections.
- Recurring offers had incompatible changes, it will not work against older versions.
Highlights for Developers
- New experimental plugin
askreneaccesses min-cost-flow route calculations. payplugin now includes enhanced logging and improved error codes, and emitschannel_hint_updatednotifications to share inferred balances across payments.- New
reckless-rpcplugin allows to issue commands to reckless over rpc. - Plugin manager
recklessnow supports installing Rust plugins, accepts JSON array input and, provides JSON output with the-j/--jsonoption flag. bookkeepernow listens for two new custom events:utxo_depositandutxo_spend.
Since 24.05, we've had 378 commits by 21 authors in 85 days!
A special thanks to the eight first time contributors:
- michael1011
- Epic Curious
- Tommy Volk
- Pavol Rusnak
- Max Rantil
- Jose Storopoli
- Joseph Goulden
- jackstar12
~ @endothermicdev, @cdecker, @nepet, @ShahanaFarooqui, @niftynei and @rustyrussell
v24.08rc3
Release Candidate 3 for v24.08.
v24.08rc2
Release candidate 2 for v24.08.