Sdk 2795 php upgrade to protobuf 4 33 6 and phpseclib 3 0 50#408
Merged
mehmet-yoti merged 5 commits intodevelopmentfrom Apr 8, 2026
Merged
Conversation
Release/4.4.2
Version update release 4.4.2
There was a problem hiding this comment.
Pull request overview
This PR performs a security-focused dependency upgrade and aligns the SDK’s supported PHP/runtime matrix accordingly, including a version bump to 4.5.0.
Changes:
- Bump SDK version to 4.5.0 across
src/Constants.php,composer.json, andREADME.md. - Raise minimum supported PHP version to
^8.1and remove older PHP versions from documentation and CI. - Upgrade vulnerable dependencies:
google/protobufto^4.33.6andphpseclib/phpseclibto^3.0.50.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
src/Constants.php |
Updates SDK version constant to 4.5.0. |
README.md |
Updates PHP requirements and installation examples to 4.5.0 / PHP ^8.1. |
composer.json |
Raises minimum PHP to ^8.1, upgrades protobuf/phpseclib, bumps package version to 4.5.0. |
.github/workflows/tests.yaml |
Updates CI jobs to run unit tests on PHP 8.1–8.4 (removing 7.4/8.0). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jlmartyres
approved these changes
Apr 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Security update addressing two dependency vulnerabilities. Minimum PHP version raised to 8.1.
Security Fixes
google/protobuf — GHSA-p2gh-cfq4-4wjc (HIGH)
Denial of Service issue through malicious messages containing negative varints or deep recursion.
^3.10→^4.33.6phpseclib/phpseclib — CVE-2026-32935 (MEDIUM)
AES-CBC padding oracle timing attack.
^3.0→^3.0.50Breaking Changes
^7.4 || ^8.0 || ^8.1 || ^8.4^8.1^3.10^4.33.6^3.0^3.0.50Changes
google/protobufconstraint to^4.33.6phpseclib/phpseclibconstraint to^3.0.50^8.14.5.0