Repository navigation
Update dependency mongodb/mongo-php-driver to v2.5.10 - #106
Conversation
There was a problem hiding this comment.
Approved: no adaptation is required under the configured project policy.
Approve PR #106 unchanged. Its sole change is the PHP image’s MongoDB extension pin from 2.5.9 to 2.5.10, and it integrates cleanly with the recorded target. The built PHP 8.5.13 image loaded extension 2.5.10 and initialized the locked MongoDB library 2.5.2 with the sample URI offline. Composer validation, PHP analysis and style checks, and frontend checks passed. Live MongoDB authentication and queries were outside the verification scope. The patch introduces no deprecation or migration work for Nagadmin.
Agent-assessed risk: Low. The native patch builds and loads on the target PHP image, and Nagadmin passes a URI without using the affected separate credential options.
Evidence (10 items)
- Local check:
git merge-base <recorded-base> refs/artidezi/inputs/source-pr; git diff <recorded-base>...refs/artidezi/inputs/source-pr; git diff --check <recorded-base>...refs/artidezi/inputs/source-pr; git merge-tree --write-tree <recorded-base> refs/artidezi/inputs/source-pr— The merge base is the recorded target 8218ced. The diff changes only the MONGODB_VERSION default in etc/docker/php/Dockerfile, with no whitespace errors. The conflict-free merge tree equals the source tree. - Release notes: source — The published patch rejects embedded NUL characters in authentication option values and bundles libmongocrypt 1.21.3. The exact source archive URL used by the Dockerfile returned HTTP 200 on download.
- Upstream diff: source — The credential change rejects embedded NULs in the separate username and password options before C string APIs can silently truncate them. The build change raises the minimum for system libmongocrypt, while this image compiles the bundled copy.
- Release notes: source — The listed libmongocrypt change corrects the source license to Apache.
- Evidence:
app/composer.json, app/composer.lock, app/.env.dist, Compose and Symfony service wiring— The app and locked mongodb/mongodb 2.5.2 require ext-mongodb ^2.5. The MongoDB client receives a URI from MONGODB_URI, and the sample uses mongodb://mongodb. The tracked application wiring does not use separate credential options or client-side encryption. Compose builds the image under its fixed local tag. - Local check:
docker build --build-arg MONGODB_VERSION=2.5.10 --iidfile <image-id-file> etc/docker/php; docker run --rm --network none --entrypoint php <built-image> --ri mongodb— The production image built successfully with the proposed driver pin. Module info confirmed extension 2.5.10 and bundled libmongocrypt 1.21.3. - Local check:
./bin/composer install --no-interaction --prefer-dist; ./bin/composer validate --strict— Both passed in an isolated export of the source PR using its Docker-based Composer helper. - Local check:
docker run --rm --network none <source-tree bind mount> <built-image> with php -r <autoload and MongoDB client smoke check>, vendor/bin/phpstan analyse -c phpstan.neon --no-progress, vendor/bin/php-cs-fixer check --config=.php-cs-fixer.dist.php, and vendor/bin/twig-cs-fixer lint --config=.twig-cs-fixer.dist.php— All passed. The smoke check confirmed PHP 8.5.13, ext-mongodb 2.5.10 and mongodb/mongodb 2.5.2, then constructed a client and selected a database handle using the sample URI. It did not issue database operations or exercise live authentication. - Local check:
just js-analyze js-build— Frontend lint, type checking and asset build passed in the isolated export. - Evidence:
Supplied source CI snapshot for a92e6338754e03f85b9a1121e9e5855abb9acd91— The point-in-time snapshot reports successful frontend and PHP checks.
Assessed source a92e6338754e03f85b9a1121e9e5855abb9acd91.
This PR contains the following updates:
2.5.9→2.5.10Release Notes
mongodb/mongo-php-driver
v2.5.10Compare Source
The PHP team is happy to announce that version 2.5.10 of the MongoDB PHP extension is now available.
Release Highlights
A complete list of resolved issues in this release may be found in Jira.
Documentation
Documentation is available on PHP.net.
Installation
You can either download and install the source manually, or you can install the extension with:
Sources and Windows binaries are attached to the GitHub release notes.
Full Changelog: mongodb/mongo-php-driver@2.5.9...2.5.10
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.