Major version release. The migration guide contains a detailed list of backwards-incompatible changes with upgrade instructions.
Pull requests included in this release (cf. #552) (⚠️ = breaking changes):
- ⚠️ Drop support for PHP 5.4 (#551)
- ⚠️ Drop support for PHP 5.5 (#554)
- Bump dependencies (#553)
- Remove
CURLFile
check (#555) - Update constant definitions for PHP >= 5.6 (#556)
- ⚠️ Remove
FileUpload
alias (#557) - Remove
curl_reset
check (#570) - Use
\Stripe\<class>::class
constant instead of strings (#643) - Use
array_column
to flatten params (#686) - ⚠️ Remove deprecated methods (#692)
- ⚠️ Remove
IssuerFraudRecord
(#696) - Update constructors of Stripe exception classes (#559)
- Fix remaining TODOs (#700)
- Use yield for autopagination (#703)
- ⚠️ Rename fake magic methods and rewrite array conversion (#704)
- Add
ErrorObject
to Stripe exceptions (#705) - Start using PHP CS Fixer (#706)
- Update error messages for nested resource operations (#708)
- Upgrade retry logic (#707)
- ⚠️
Collection
improvements / fixes (#715) - ⚠️ Modernize exceptions (#709)
- Add constants for error codes (#716)
- Update certificate bundle (#717)
- Retry requests on a 429 that's a lock timeout (#718)
- Fix
toArray()
calls (#719) - Couple of fixes for PHP 7.4 (#725)