All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Trim the value of the encryption key read from file.
- Add support for 'with_payment_methods' param in Application->get endpoint.
- Add 'functionallity' endpoint.
- Add 'assessment' endpoint.
- Bump PHPStan level to 8.
- Replace trigger_error calls with exceptions.
- Properly document methods of API classes to enable autocompletion with external tools.
- Convert booleans in strings instead of integers in query strings.
- Add 'with_beneficiary' param in connect endpoint.
- Add support for beneficiary query params in payment endpoint.
- Add 'state' as an optional parameter for RTP endpoint.
- Add update method for Payment endpoint.
- Add 'php-http/discovery' in 'allow-plugins' config.
- Better reporting for HTTP discovery.
- Add "xLanguage" as an optional header of requestForPayout endpoint.
- Add requestForPayout endpoint.
- Support additionalHeaders in connect method.
- Add "with_virtualbeneficiary" query param in connect call.
- Add optional state param to refund call.
- Some HTTP success codes were not handled.
- Bump minimum PHP version to 7.2.
- BC: Drop included Curl client.
- Adopt PSR-18 HTTP client.
- Tested up to PHP 8.1.
- Improve validation of HTTP requests.
- Add an exception for null config when validating a signature.
- Rename an internal field.
- Remove unuseful imports.
- Fix RTP call.
- Improve PHP 7.1 compatibility.
- Better handling of HTTP errors.
- Add new telemetry method.
- Add tests and dev instructions.
- Fix sending of a call.
- Always have a default HTTP client even if no client is set.
- Always have a default Message Factory even if no client is set.
- Set API wrapper for Validation and Telemetry classes even if no client is set.
- Fix use of some methods with multiple clients.
- Change url of an endpoint.
- Disable telemetry at instance for now.
See UPGRADE.md to update.
- PHP 7.1+.
- Rewrite of the SDK.
- Decoupled from any HTTP client.