Skip to content

Releases: bitpay/php-bitpay-client-v2

7.1.0

18 Nov 02:07
543c621

Choose a tag to compare

Overview

This release adds new GitHub checks, upgrades Guzzle, and addresses an issue with toArray() on the Invoice object.

Changed

  • Added initial PHPDoc, with more detail coming in the next few minor releases
  • PHPUnit now runs checks on pull requests (one check for each supported version of PHP: 7.4, 8.0, and 8.1)
  • PHP_CodeSniffer now runs as a check on pull requests
  • Upgraded Guzzle to ^7.0
  • Addressed issue #113 Unable to call toArray() on Invoice, "Call to a member function toArray() on array"

7.0.1

17 Oct 16:51
cbd0832

Choose a tag to compare

Overview

This is a patch release that implements bitpay-php-keyutils version 1.1.1, which addresses an issue with the deprecation of Serializable interfaces in PHP 8.1.

Changed

  • Updated bitpay-php-keyutils version 1.1.1

7.0.0

30 Sep 20:01
a295200

Choose a tag to compare

⚠️= breaking changes

Overview

This is a major release that is laying the ground work for further iteration. It gives us a testable base to build upon and refactor. The 7.x version will have iterations focused on:

  • Testing
  • Refactoring implementations
  • Exception alignment with the API

Changed

  • ⚠️ Updated logic for updateInvoice: Updating the invoice will require EITHER SMS or E-mail, but not both.
  • ⚠️ Updated logic for cancelInvoice: Changed the complete parameter to status
  • Addressed deprecation warnings for PHP 8.1
  • Cleaned up exception usage to be more readable and make better use of inheritance
  • Added new fields to Invoice\BuyerProvidedInfo
    • sms
    • smsVerified
  • Added new fields to Invoice
    • buyerSms
    • selectedTransactionCurrency
    • transactionDetails
  • Added new fields to Invoice\RefundInfo
    • reference
  • Added xrp as a supported currency to Invoice\SupportedTransactionCurrencies
  • Added new fields to Invoice\SupportedTransactionCurrency
    • reason
  • Added new model: Invoice\TransactionDetails
  • Added new fields to Ledger
    • entries
  • Added new fields to Payout
    • account
    • btc
    • dateExecuted
    • depositTotal
    • fee
    • percentFee
    • rate
    • redirectUrl
    • supportPhone
  • Added new fields to Payout\PayoutBatch
    • guid
    • pricingMethod
    • redirectUrl
  • Added new fields to Payout\PayoutRecipient
    • account
    • guid
    • reference
    • supportPhone

Added

  • Added PHPUnit support, which runs against PHP 7.4, 8.0, and 8.1 in branches (with master branch runs coming soon)
  • Added PHP_CodeSniffer support and PSR-12 (with some exceptions -- see pull request)
  • Added unit tests for the vast majority of the SDK

v6.0.2111

23 Nov 16:21
ef2ca72

Choose a tag to compare

What's New (⚠️= breaking changes):

Changed
  • RESTCli updated to support API codes
  • ⚠️ Payroll facade/token fully deprecated
  • ⚠️ Payout Batch request now requires Payout token
Added
  • Single payouts functionality
  • Rate Pair resource
  • New Payout facade and token creation on ConfigGenerator

v5.2.2106

28 Jun 10:56
2c538b1

Choose a tag to compare

What's New (⚠️= breaking changes):

Added
  • Support for proxy settings

v5.1.2106

25 Jun 13:01
9fc1990

Choose a tag to compare

What's New (⚠️= breaking changes):

Changed
  • Implemented Guzzle exceptions
Added
  • PHP 8 support
  • Invoice: added closeURL and autoRedirect
Fixed
  • Invoice: missing properties added

v5.0.2011

02 Nov 11:51
30eb79f

Choose a tag to compare

What's New (⚠️= breaking changes):

Changed
  • ⚠️Payout:PayoutBatch model updated
  • Functional tests update
  • Composer lock update
  • Version upgrade
Added
  • Payout recipients resource
Fixed
  • Fixed getInvoices
  • Code refactor

v4.0.2010

07 Oct 10:51
7c47450

Choose a tag to compare

What's New:

Added
  • Yaml 5

v4.0.2007

24 Jul 10:48
da497a7

Choose a tag to compare

What's New:

Added
  • Guzzle 7

v4.0.2006

30 Jun 12:14
341d137

Choose a tag to compare

What's New (⚠️= breaking changes):

Changed
  • ⚠️Removed deprecated code
Fixed
  • Updated Ledger feature