Skip to content

Release/4.5.0#411

Closed
mehmet-yoti wants to merge 7 commits intomasterfrom
Release/4.5.0
Closed

Release/4.5.0#411
mehmet-yoti wants to merge 7 commits intomasterfrom
Release/4.5.0

Conversation

@mehmet-yoti
Copy link
Copy Markdown
Contributor

Release 4.5.0

Breaking Changes

Security Fixes

New Features

PRs Included

* SDK-2795-php-upgrade-to-protobuf-4-33-6-and-phpseclib-3-0-50
…d from the idv pages (#409)

* SDK-2791-php-add-support-for-retrieving-the-extraction-image-ids-field-from-the-idv-pages
* Update README.md
* SDK-2742-php-expose-idv-breakdown-process-property
)

* SDK-2215 allow rb to supply an applicant profile for identity profile sessions
* SDK-2296 added allow rb to fetch application profile from get sessions
* Add missing @throws DateTimeException annotations
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Release 4.5.0 updates the PHP SDK’s platform/dependency baseline and extends the session create/retrieve models to expose new API fields (recommendations, applicant profiles, extraction image IDs, breakdown process).

Changes:

  • Dropped PHP 7.4/8.0 support (PHP 8.1+ only) and updated CI matrix accordingly.
  • Upgraded security-sensitive dependencies (google/protobuf to ^4.33.6, phpseclib/phpseclib to ^3.0.50) and bumped SDK version to 4.5.0.
  • Added new SDK surface area for task recommendation, applicant profiles (create + retrieve), page extraction image IDs, and breakdown process.

Reviewed changes

Copilot reviewed 30 out of 30 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/DocScan/Session/Retrieve/TaskResponseTest.php Adds coverage for deserializing recommendation on TaskResponse.
tests/DocScan/Session/Retrieve/TaskRecommendationResponseTest.php New unit tests for TaskRecommendationResponse.
tests/DocScan/Session/Retrieve/TaskRecommendationReasonResponseTest.php New unit tests for TaskRecommendationReasonResponse.
tests/DocScan/Session/Retrieve/ResourceContainerTest.php Adds assertions/coverage for parsing applicant_profiles.
tests/DocScan/Session/Retrieve/PageResponseTest.php Adds coverage for extraction_image_ids.
tests/DocScan/Session/Retrieve/BreakdownResponseTest.php Adds coverage for new process field.
tests/DocScan/Session/Retrieve/ApplicantProfileResourceResponseTest.php New unit tests for applicant profile resource deserialization.
tests/DocScan/Session/Create/StructuredPostalAddressBuilderTest.php New tests for building/serializing structured postal addresses.
tests/DocScan/Session/Create/SessionSpecificationBuilderTest.php Adds coverage for setting/serializing resources on session creation.
tests/DocScan/Session/Create/ResourceCreationContainerBuilderTest.php New tests for building/serializing session resources container.
tests/DocScan/Session/Create/ApplicantProfileBuilderTest.php New tests for building/serializing applicant profile.
src/DocScan/Session/Retrieve/TaskResponse.php Deserializes task-level recommendation.
src/DocScan/Session/Retrieve/TaskRecommendationResponse.php New response model for task recommendation payload.
src/DocScan/Session/Retrieve/TaskRecommendationReasonResponse.php New response model for recommendation reason payload.
src/DocScan/Session/Retrieve/ResourceContainer.php Adds parsing/accessor for applicant_profiles.
src/DocScan/Session/Retrieve/PageResponse.php Adds extraction_image_ids storage + accessor.
src/DocScan/Session/Retrieve/BreakdownResponse.php Adds process storage + accessor.
src/DocScan/Session/Retrieve/ApplicantProfileResourceResponse.php New resource response type for applicant profiles.
src/DocScan/Session/Create/StructuredPostalAddressBuilder.php New builder for StructuredPostalAddress.
src/DocScan/Session/Create/StructuredPostalAddress.php New JSON-serializable model for structured postal address.
src/DocScan/Session/Create/SessionSpecificationBuilder.php Adds withResources() and wires into build().
src/DocScan/Session/Create/SessionSpecification.php Adds resources field to session specification + serialization.
src/DocScan/Session/Create/ResourceCreationContainerBuilder.php New builder for session resources container.
src/DocScan/Session/Create/ResourceCreationContainer.php New JSON-serializable resources container (e.g., applicant_profile).
src/DocScan/Session/Create/ApplicantProfileBuilder.php New builder for ApplicantProfile.
src/DocScan/Session/Create/ApplicantProfile.php New JSON-serializable applicant profile model.
src/Constants.php Bumps SDK version constant to 4.5.0.
README.md Updates PHP requirement + install instructions for 4.5.0.
composer.json Enforces PHP ^8.1, bumps dependencies, updates package version to 4.5.0.
.github/workflows/tests.yaml Updates CI jobs to run on PHP 8.1–8.4 only.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/DocScan/Session/Retrieve/PageResponse.php
Copy link
Copy Markdown
Contributor

@nikhilPank nikhilPank left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mehmet-yoti mehmet-yoti deleted the Release/4.5.0 branch April 17, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants