Skip to content

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Oct 1, 2024

https://jira.mongodb.org/browse/PHPC-2459

This also folds bson-utcdatetime_error-001.phpt into bson-utcdatetime_error-004.phpt.

This also folds bson-utcdatetime_error-001.phpt into bson-utcdatetime_error-004.phpt.
@jmikola jmikola requested review from GromNaN and alcaeus October 1, 2024 17:49
@jmikola jmikola merged commit 979cb4b into mongodb:v2.x Oct 2, 2024
59 checks passed
@jmikola jmikola deleted the 2.0-phpc-2459 branch October 2, 2024 13:18
nicolas-grekas added a commit to symfony/symfony that referenced this pull request Oct 22, 2024
…db v2 (GromNaN) This PR was merged into the 5.4 branch. Discussion ---------- [HttpFoundation][Lock] Ensure compatibility with ext-mongodb v2 | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | - | License | MIT The extension `mongodb` and the library `mongodb/mongodb` will soon have a version 2.0 that brings breaking changes (see [extension changes](https://jira.mongodb.org/browse/PHPC-2445) and [library changes](https://jira.mongodb.org/browse/PHPLIB-1332)). This PR ensures compatibility with the upcoming version for Symfony 5.4. - Return types added to `MongoDB\Collection::updateOne()`, the closure in the mock `willReturnCallback` must return an object. mongodb/mongo-php-library#1391 - `MongoDB\Driver\Exception\WriteException` removed in favor of `BulkWriteException` mongodb/mongo-php-driver#1685. No need to keep catching `WriteException` since a the driver bulk API have always be used. - `float` support to construct `MongoDB\BSON\UTCDateTime` is removed mongodb/mongo-php-driver#1709 Commits ------- 81366bf Ensure compatibility with mongodb v2
alcaeus added a commit that referenced this pull request Oct 29, 2024
* v2.x: (22 commits) PHPC-2441: Remove deprecated Manager constructor options (#1719) PHPC-990: Strict type validation for boolean URI options (#1713) PHPC-2440: Remove deprecated Query constructor options (#1707) PHPC-2459: Remove support for float arg in UTCDateTime ctor (#1709) Remove obsolete test PHPC-2344 Remove SSLConnectionException (#1696) PHPC-2144 Throw a LogicException when getting info from unacknowledged write result (#1687) PHPC-2454: Remove --enable-system-ciphers configure option (#1681) PHPC-2348 Remove `WriteException` and move `getWriteResult` to `BulkWriteException` (#1685) PHPC-2417 Add UTCDateTimeInterface::toDateTimeImmutable() (#1684) PHPC-2309: Remove --with-openssl-dir configure option (#1676) PHPC-2444: Remove support for string arguments in UTCDateTime constructor (#1662) PHPC-2248: Remove Serializable implementations (#1663) Update version for 2.x branch (#1672) PHPC-1021: Remove support for ReadPreference integer modes (#1666) PHPC-2342: Remove --with-libbson and --with-libmongoc configure options (#1667) PHPC-2351: Remove CursorId class (#1664) PHPC-2140: Make tentative return types definitive (#1658) PHPC-2402: Remove range_preview constants (#1665) PHPC-2346: Remove deprecated BSON functions (#1653) ...
alcaeus added a commit that referenced this pull request Jun 12, 2025
* v2.1: (37 commits) Back to -dev Package 2.1.0 PHPC-2555: Stop testing with MongoDB 4.0 (#1827) PHPC-2510 Install evergreen tools using git submodule (#1797) Bump to libmongoc 1.30.4 (#1822) Feature: Client Bulk Write (#1818) Mention Serializable/Unserializable types in upgrade guide (#1805) Back to -dev Package 2.0.0 Master is now 2.1-dev PHPC-2536: Remove run-ocsp-responder.sh (#1802) PHPC-2536: Migrate to common OCSP responder script (#1800) 1.x is now 1.22.0dev PHPC-2485: Remove WriteConcern and ReadPreference from execute method arginfo (#1783) PHPC-2497: BulkWriteException stub should inherit ServerException (#1784) PHPC-2441: Remove deprecated Manager constructor options (#1719) PHPC-990: Strict type validation for boolean URI options (#1713) PHPC-2440: Remove deprecated Query constructor options (#1707) PHPC-2459: Remove support for float arg in UTCDateTime ctor (#1709) Remove obsolete test ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants