payany: update to v0.4.0 - #958
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog
[0.4.0] 2026-09-01
Changed
Fixed
payfailed again for a bare offer or a bip353 address. The 0.3.2 removal of their handling caused the failure.paynow passes them toxpayunchanged.maxfeepercent/exemptfee/excludecannot be converted for them, usemaxfeeinstead.messageargument was dropped again. The 0.3.2 removal of their handling caused the failure. Payany now forwards it aspayer_notewhen the command supports it.pay/xpay/renepaycould race each other and exceed the budget, budget checks are now serialized and payments that passed the check are accounted for until they either show up inlistsendpaysor 10 seconds have passedbolt11argument too.amount_msatis given.messageargument is percent-encoded before it is added to the callback URL. This change prevents special characters from changing the URL parameters.amountandcommentparameters are appended correctly instead of corrupting the URL.commentlength check now counts characters, not bytes.httpsclearnet link or anhttponion link. Local test hosts (localhost,127.0.0.1,[::1]) usehttp. Payany checks the callback URL the same way.messageargument is now forwarded aspayer_notewhen the command supports it. Setting bothmessageandpayer_notereturns an error. Amessageon a command without thepayer_noteargument returns an error that asks you to upgrade CLN.localhost/127.0.0.1/[::1]hosts are fetched viahttp, any other domain that merely contains them (e.g.mylocalhost.com) is fetched viahttps..onionaddresses are fetched viahttpso they work when CLN is configured to use tor.payany-budget-peris now parsed strictly, values likegarbage1week,1week extraor1.5hare rejected instead of being silently accepted. The time period is checked for overflow and absurd values can no longer wrap around and disable the budget check.Removed
<v26.06are no longer supported,v25.09especially no longer works