Skip to content

Release/4.5.1#412

Merged
mehmet-yoti merged 14 commits into
masterfrom
Release/4.5.1
May 5, 2026
Merged

Release/4.5.1#412
mehmet-yoti merged 14 commits into
masterfrom
Release/4.5.1

Conversation

@mehmet-yoti

Copy link
Copy Markdown
Contributor

Release 4.5.1

Breaking Changes

Security Fixes

New Features

PRs Included

mehmet-yoti and others added 8 commits April 8, 2026 08:09
* 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
(cherry picked from commit eebbb19)

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Release branch changes for the 4.5.x line: raises minimum supported PHP version, upgrades security-sensitive dependencies, and adds several Doc Scan SDK response fields + session-creation resources support.

Changes:

  • Require PHP 8.1+, upgrade google/protobuf to ^4.33.6 and phpseclib/phpseclib to ^3.0.50, and update CI to test PHP 8.1–8.4.
  • Add new retrieval fields/APIs: task recommendation, page extraction_image_ids, breakdown process, and session applicant_profiles resource parsing.
  • Add session-creation support for resources.applicant_profile (builder + model), including structured postal address.

Reviewed changes

Copilot reviewed 33 out of 34 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
tests/DocScan/Session/Retrieve/TaskResponseTest.php Adds coverage for deserializing task-level recommendation.
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 tests for parsing applicant_profiles resources.
tests/DocScan/Session/Retrieve/PageResponseTest.php Adds tests for extraction_image_ids field handling.
tests/DocScan/Session/Retrieve/Configuration/SessionConfigurationResponseTest.php Updates suppressed screen identifier constants in tests.
tests/DocScan/Session/Retrieve/BreakdownResponseTest.php Adds test coverage for breakdown process.
tests/DocScan/Session/Retrieve/ApplicantProfileResourceResponseTest.php New unit tests for applicant profile resource response parsing.
tests/DocScan/Session/Create/StructuredPostalAddressBuilderTest.php New unit tests for structured postal address builder/model.
tests/DocScan/Session/Create/SessionSpecificationBuilderTest.php Adds tests for setting/serializing resources in session spec.
tests/DocScan/Session/Create/SdkConfigBuilderTest.php Updates suppressed screen identifier constants in tests.
tests/DocScan/Session/Create/ResourceCreationContainerBuilderTest.php New tests for building/serializing resources.applicant_profile.
tests/DocScan/Session/Create/ApplicantProfileBuilderTest.php New tests for applicant profile builder/model serialization.
src/DocScan/Session/Retrieve/TaskResponse.php Adds recommendation parsing + getter.
src/DocScan/Session/Retrieve/TaskRecommendationResponse.php New response model for task recommendation.
src/DocScan/Session/Retrieve/TaskRecommendationReasonResponse.php New response model for recommendation.reason.
src/DocScan/Session/Retrieve/ResourceContainer.php Adds parsing/accessor for applicant_profiles.
src/DocScan/Session/Retrieve/PageResponse.php Adds extraction_image_ids parsing + getter.
src/DocScan/Session/Retrieve/BreakdownResponse.php Adds breakdown process field + getter.
src/DocScan/Session/Retrieve/ApplicantProfileResourceResponse.php New resource response type for applicant profiles (media + timestamps).
src/DocScan/Session/Create/StructuredPostalAddressBuilder.php New builder for structured postal address in session creation.
src/DocScan/Session/Create/StructuredPostalAddress.php New structured postal address model + JSON serialization.
src/DocScan/Session/Create/SessionSpecificationBuilder.php Adds withResources() and passes resources into SessionSpecification.
src/DocScan/Session/Create/SessionSpecification.php Adds resources field to session spec serialization + getter.
src/DocScan/Session/Create/ResourceCreationContainerBuilder.php New builder for session creation resources.
src/DocScan/Session/Create/ResourceCreationContainer.php New model for session creation resources JSON payload.
src/DocScan/Session/Create/ApplicantProfileBuilder.php New builder for session creation applicant profile.
src/DocScan/Session/Create/ApplicantProfile.php New applicant profile model + JSON serialization.
src/Constants.php Bumps SDK version constant.
examples/doc-scan/app/Http/Controllers/HomeController.php Updates example comments/identifiers for suppressed screens.
composer.json Updates SDK version, PHP requirement, and dependency versions.
README.md Updates PHP requirements and install instructions/version.
.gitignore Ignores .claude/ directory.
.github/workflows/tests.yaml Updates test matrix to PHP 8.1–8.4 and tweaks job definitions.

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

Comment thread src/Constants.php
Comment thread README.md
Comment thread examples/doc-scan/app/Http/Controllers/HomeController.php
Comment thread composer.json
@mehmet-yoti

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts in this pull request

…ions

Co-authored-by: mehmet-yoti <111424390+mehmet-yoti@users.noreply.github.com>

Copilot AI commented Apr 28, 2026

Copy link
Copy Markdown

@copilot resolve the merge conflicts in this pull request

Resolved the merge conflicts in commit 48416ef. The 4 conflicting files were:

  • src/Constants.php — kept SDK_VERSION = '4.5.1'
  • composer.json — kept "version": "4.5.1"
  • README.md — kept ^4.5.1 install references
  • examples/doc-scan/app/Http/Controllers/HomeController.php — kept the suppressed screens documentation comments from our branch

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 31 out of 31 changed files in this pull request and generated 2 comments.


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

Comment thread tests/DocScan/Session/Retrieve/PageResponseTest.php Outdated
Comment thread src/DocScan/Session/Retrieve/PageResponse.php Outdated
mehmet-yoti and others added 2 commits April 29, 2026 12:27
Add UI block to display extraction image IDs for each page of ID documents
and supplementary documents on the success view. Each ID is rendered as a
link to the existing /media/{id} route so the image can be opened directly
for QA verification.

@nikhilPank nikhilPank left a comment

Copy link
Copy Markdown
Contributor

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 merged commit d4cc170 into master May 5, 2026
12 checks passed
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