Skip to content

Release 5.0.0 - General update + move to PHP versions 8.X (dropped all 7.X ones)#345

Merged
david-ruiz-cko merged 1 commit into
masterfrom
release/5.0.0
Jun 30, 2026
Merged

Release 5.0.0 - General update + move to PHP versions 8.X (dropped all 7.X ones)#345
david-ruiz-cko merged 1 commit into
masterfrom
release/5.0.0

Conversation

@david-ruiz-cko

@david-ruiz-cko david-ruiz-cko commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

BREAKING CHANGE

This pull request drops support for PHP 7.1 and 7.4, raising the minimum required PHP version to 8.1. It updates the SDK and its dependencies accordingly, simplifies the Composer and CI workflows, and updates documentation to reflect these changes.

PHP version and dependency requirements:

  • Updated composer.json to require php: >=8.1.0, guzzlehttp/guzzle: ^7.4, and monolog/monolog: ^2.4 || ^3.0.0; dropped support for older versions and removed compatibility with PHP 7.x and Guzzle 6.x. Updated dev dependencies to require phpunit/phpunit: ^9.0 only.
  • Updated README.md to state that as of v5.0.0, the SDK requires PHP 8.1 or newer, and to explain the rationale for dropping PHP 7.x support. Updated Composer example accordingly.

Continuous Integration (CI) and workflow changes:

  • Removed all references to PHP 7.1 and 7.4 from GitHub Actions workflows (build-master.yml, build-pull-request.yml, build-release.yml), so CI now only tests PHP 8.1 and 8.4 on supported OSes. Simplified installation and Composer steps accordingly. [1] [2] [3] [4] [5] [6] [7] [8]

General update

This release introduces new functionality for retrieving assets associated with face authentication and identity verification attempts, adds support for recurring payment plans and authorization types to several payment request objects, and exposes a new processing field. It also includes comprehensive tests for the new features.

Identity Verification & Face Authentication Enhancements:

  • Added the AttemptAssetsQueryFilter entity to support pagination when querying assets related to authentication and verification attempts.
  • Introduced getFaceAuthenticationAttemptAssets and getIdentityVerificationAttemptAssets methods in their respective clients, enabling retrieval of assets (like images and videos) captured during an attempt, with optional pagination. [1] [2]
  • Added corresponding unit and integration tests for these new asset retrieval methods, ensuring correct API endpoint usage and response validation. [1] [2] [3] [4] [5] [6]

Payments API Improvements:

  • Added support for recurring payment plans and authorization types by introducing new payment_plan and authorization_type fields to HostedPaymentsSessionRequest, PaymentLinkRequest, and PaymentSessionsRequest. [1] [2] [3]
  • Exposed the scheme_transaction_link_id field in ProcessingSettings to allow access to the scheme transaction link identifier for card transactions.
  • Updated integration tests to safely access the new scheme_transaction_link_id field, confirming its presence and type when available.

@david-ruiz-cko david-ruiz-cko requested a review from a team June 30, 2026 15:42
@sonarqubecloud

Copy link
Copy Markdown

@david-ruiz-cko david-ruiz-cko merged commit 63d3cde into master Jun 30, 2026
4 checks passed
@david-ruiz-cko david-ruiz-cko deleted the release/5.0.0 branch June 30, 2026 15:59
@david-ruiz-cko david-ruiz-cko changed the title Move to PHP versions 8.X (dropped all 7.X ones) Release 5.0.0 - General update + move to PHP versions 8.X (dropped all 7.X ones) Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants