stable

php-mongodb-1.10.0-1.fc35 and php-pecl-mongodb-1.11.0-1.fc35

FEDORA-2021-81c4898b2c created by remi 3 years ago for Fedora 35

php-mongodb-1.10.0

This release adds support for new features in MongoDB 5.0.

Release Highlights

Database::aggregate() and Collection::aggregate() now support executing $out and $merge pipelines on 5.0+ secondaries and will no longer force a primary read preference. If a pre-5.0 secondary would be selected, aggregate() will fall back to selecting a primary server.

New Database::renameCollection() and Collection::rename() methods were introduced, which abstract the renameCollection command.

This release upgrades the mongodb extension requirement to 1.11.0.

complete list of resolved issues:

Bug

  • [PHPLIB-706] - Fix syntax error in example code
  • [PHPLIB-709] - FindAndModify::isAcknowledgedWriteConcern() fails to detect some acknowledged write concerns
  • [PHPLIB-711] - isClientError check in unified test runner should unwrap BulkWriteExceptions

New Feature

  • [PHPLIB-518] - Provide MongoDB\Collection::rename() method to rename a collection

Task

  • [PHPLIB-664] - Add test for security-sensitive command monitoring event redaction
  • [PHPLIB-671] - Add load balancer topology to Evergreen matrix
  • [PHPLIB-676] - Test redaction of replies to security-sensitive commands
  • [PHPLIB-682] - Add test for Database::dropCollection()
  • [PHPLIB-684] - Add test group annotations for serverless spec tests
  • [PHPLIB-685] - Sync spec tests relevant for serverless
  • [PHPLIB-686] - Run serverless tests on evergreen
  • [PHPLIB-688] - Implement serverless detection in test runners
  • [PHPLIB-692] - Update copyright years in file headers
  • [PHPLIB-694] - Implement spec tests for snapshot sessions
  • [PHPLIB-702] - Skip crud-v1 tests that use disabled serverless features
  • [PHPLIB-703] - Integration tests for observeSensitiveCommands
  • [PHPLIB-707] - Remove modifiers option from command monitoring spec test
  • [PHPLIB-708] - Split unified runner valid-fail tests with malformed operations into separate files
  • [PHPLIB-713] - Document hint option for findOneAndDelete operation
  • [PHPLIB-716] - Enable PHP 8.1 testing on GitHub Actions
  • [PHPLIB-739] - Skip $out CRUD tests on serverless environments
  • [PHPLIB-743] - Ignore extra metadata queries in CSFLE spec tests
  • [PHPLIB-745] - aggregate-write-readPreference tests should not expect readConcern to be passed to pre-4.2 servers

Improvement

  • [PHPLIB-651] - Support $merge and $out executing on secondaries
  • [PHPLIB-712] - Allow hint for unacknowledged writes using OP_MSG when supported by the server

php-pecl-mongodb 1.11.0

Bug

  • [PHPC-1982] - Use bson_gettimeofday for Windows compatibility
  • [PHPC-1983] - php_phongo_write_concern_to_zval uses invalid type for 32-bit platform
  • [PHPC-1984] - Incorrect return type in Server::getLatency() documentation
  • [PHPC-1989] - CommandSucceededEvent debug info omits fields

Epic

  • [PHPC-1752] - Load Balancer Support

New Feature

  • [PHPC-1849] - Handle deprecation of Serializable in PHP 8.1
  • [PHPC-1889] - Support snapshot session option
  • [PHPC-1890] - Create constant for snapshot read concern level
  • [PHPC-1976] - Add load balancer serviceId to command monitoring events
  • [PHPC-1978] - Expose libmongoc service ID mocking via INI option
  • [PHPC-1980] - Create Server::TYPE_LOAD_BALANCER constant for use with Server::getType

Task

  • [PHPC-1897] - Test serialization of BSON with embedded null bytes in strings
  • [PHPC-1918] - BSON corpus code and symbol tests are partially testing the wrong types
  • [PHPC-1922] - Update PHONGO_CE_DISABLE_SERIALIZATION for PHP 8.1
  • [PHPC-1930] - Remove disabled __wakeup() function in CursorId
  • [PHPC-1935] - Add .dep files to .gitignore
  • [PHPC-1961] - Regex decoding error tests in top.json have unexpected, invalid syntax
  • [PHPC-1965] - Re-enable and stabilise PHP 8.1 build on GitHub actions
  • [PHPC-1968] - Migrate Atlas testing from server 3.4 to 4.0
  • [PHPC-1975] - Disable SKIPIF caching for skip_if_not_clean on PHP 8.1
  • [PHPC-1977] - Add load balancer topology to Evergreen matrix
  • [PHPC-1992] - Add load balanced serverless connectivity tests

Improvement

  • [PHPC-1538] - Lift restriction on authSource without credentials
  • [PHPC-1858] - Add return type to arginfo for JsonSerializable::jsonSerialize() in PHP 8.1
  • [PHPC-1875] - Disable writes on snapshot sessions
  • [PHPC-1876] - Raise client error for snapshot sessions on pre-5.0 servers
  • [PHPC-1933] - Add return type to arginfo for Iterator and Countable methods in PHP 8.1
  • [PHPC-1937] - ReadPreference for Manager::selectServer() should be optional and default to primary
  • [PHPC-1979] - Use mongoc_client_get_handshake_description for LoadBalancer server types
  • [PHPC-1985] - Server::getLatency() should return null if unset

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2021-81c4898b2c

This update has been submitted for testing by remi.

3 years ago

This update's test gating status has been changed to 'ignored'.

3 years ago

This update's test gating status has been changed to 'waiting'.

3 years ago

remi edited this update.

3 years ago

This update's test gating status has been changed to 'ignored'.

3 years ago

This update has been pushed to testing.

3 years ago

This update has been submitted for stable by bodhi.

3 years ago

This update has been pushed to stable.

3 years ago

Please login to add feedback.

Metadata
Type
enhancement
Karma
0
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
7 days
Dates
submitted
3 years ago
in testing
3 years ago
in stable
3 years ago
modified
3 years ago

Automated Test Results