v2.0.0
ATTENTION: Take a 👀 on the breaking changes before upgrading.
Breaking changes:
- Minimum PHP version bumped to 8.0 (as 7.4 is EOL November 2022)
Client\LightningInternalNode
: renamedgetInvoice()
togetLightningInvoice()
Client\LightningInternalNode
:getLightningInvoice()
andcreateLightningInvoice()
returnResult\LightningInvoice
(instead ofResult\Invoice
)Client\LightningInternalNode
:payLightningInvoice()
returnsResult\LightningPayment
(instead ofbool
)Client\Webhook
: removed deprecatedgetWebhooks()
, usegetStoreWebhooks()
insteadResult\AddressList
: removed deprecatedgetAddresses()
, useall()
insteadResult\Invoice
: renamedisFullyPaid()
toisSettled()
+ fixed itResult\Invoice
: removed misleading functionisPaid()
, no replacementResult\InvoiceList
: removed deprecatedgetInvoices()
, useall()
insteadResult\StorePaymentMethodCollection
: remove deprecatedgetPaymentMethods()
, useall()
instead
Changes/Fixes:
- Updates to LightningInternalNode classes
- Added
Result\LightningPayment
class - Added
Result\LightningInvoice
class - Fix PHP 8.1 deprecation warnings in
Result\AbstractResult
class Result\ StoreOnChainWalletFeeRate
: Fix wrong return type hint ingetFeeRate()
Tests:
- Added .env support to pass BTCPay variables
- Added LightingInternalNodeTestClass
What's Changed
- Update php version on github workflow by @utxo-one in #75
- Update php version by @utxo-one in #76
- Replace return type int with float by @Igi773 in #71
- Lightning Internal Node Updates & Tests by @utxo-one in #74
- Import Classes, Remove Deprecated Methods by @utxo-one in #78
- V2 preparation by @ndeet in #80
- Remove isPaid() and fix isSettled() to include late payment. by @ndeet in #81
Full Changelog: v1.3.6...v2.0.0