Skip to content

Releases: btcpayserver/btcpayserver-greenfield-php

v2.0.0

27 Oct 22:27
406a775
Compare
Choose a tag to compare

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: renamed getInvoice() to getLightningInvoice()
  • Client\LightningInternalNode: getLightningInvoice() and createLightningInvoice() return Result\LightningInvoice (instead of Result\Invoice)
  • Client\LightningInternalNode: payLightningInvoice() returns Result\LightningPayment (instead of bool)
  • Client\Webhook: removed deprecated getWebhooks(), use getStoreWebhooks() instead
  • Result\AddressList: removed deprecated getAddresses(), use all() instead
  • Result\Invoice: renamed isFullyPaid() to isSettled() + fixed it
  • Result\Invoice: removed misleading function isPaid(), no replacement
  • Result\InvoiceList: removed deprecated getInvoices(), use all() instead
  • Result\StorePaymentMethodCollection: remove deprecated getPaymentMethods(), use all() 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 in getFeeRate()

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

v1.3.6

12 Sep 21:31
cc9ab93
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3.5...v1.3.6

v1.3.5

17 Aug 22:12
3e39b11
Compare
Choose a tag to compare

What's Changed

  • Add undocumented param secret to workaround BTCPay Server bug. by @ndeet in #69

Full Changelog: v1.3.4...v1.3.5

v1.3.4

28 Jul 12:25
155c182
Compare
Choose a tag to compare

What's Changed

  • Webhook: Added updateWebhook() by @ndeet in #56
  • Fix markPayoutAsPaid in PullPayment.php by @Igi773 in #64
  • Webhook example to use libraries webhook validation function. by @petzsch in #66
  • Update payout_usage.php by @leonardooleg in #61
  • Make autoApproveClaims optional. by @ndeet in #67

New Contributors

  • @Igi773 made their first contribution in #64
  • @leonardooleg made their first contribution in #61

Full Changelog: v1.3.3...v1.3.4

v1.3.3

21 May 19:18
aff6ab9
Compare
Choose a tag to compare

What's Changed

  • Added Max Fee Percent, Max Fee Flat to Pay Lightning Invoice by @barrydeen in #59

Full Changelog: v1.3.2...v1.3.3

v1.3.2

16 Mar 21:29
563c1b9
Compare
Choose a tag to compare

What's Changed

  • Lightning Endpoints, PSR-4 Autoloading, UTXO GetAddress() by @barrydeen in #55

Full Changelog: v1.3.1...v1.3.2

v1.3.1

14 Feb 20:33
f6fa7ae
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.0...v1.3.1

v1.3.0

13 Feb 22:40
8585486
Compare
Choose a tag to compare

What's Changed

Deprecations as of v2.0.0

The following methods will be removed with v2.0.0 of this package:

Client\Webhook: getWebhooks() replaced by getStoreWebhooks()

Result\AddressList: getAddresses() replaced by all()

Result\InvoiceList: getInvoices() replaced by all()

Result\StorePaymentMethodCollection: getPaymentMethods() replaced by all()

New Contributors

Full Changelog: v1.2.0...v1.3.0

v1.2.0

09 Nov 18:10
1394aed
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.0...v1.2.0

v1.1.0

29 Oct 13:24
70f4cf3
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.0...v1.1.0