Fedora 40 Update: php-mongodb-1.21.0-1.fc40

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2025-07e9443654
2025-03-09 03:30:51.063754+00:00
--------------------------------------------------------------------------------

Name        : php-mongodb
Product     : Fedora 40
Version     : 1.21.0
Release     : 1.fc40
URL         : https://github.com/mongodb/mongo-php-library
Summary     : MongoDB driver library
Description :
This library provides a high-level abstraction around the lower-level drivers
for PHP and HHVM (i.e. the mongodb extension).

While the extension provides a limited API for executing commands, queries,
and write operations, this library implements an API similar to that of the
legacy PHP driver. It contains abstractions for client, database, and
collection objects, and provides methods for CRUD operations and common
commands (e.g. index and collection management).

Autoloader: /usr/share/php/MongoDB/autoload.php

--------------------------------------------------------------------------------
Update Information:

Version 1.21.0
This release introduces new features, enhancements, and deprecations in
preparation for future improvements. It requires version 1.21.0 of the mongodb
PHP extension, and PHP 8.1 or later.
New Features and Enhancements
Aggregation Builder: Introduces the builder framework to simplify writing
aggregation pipelines and query filters.
Added support for the sort option in replaceOne and updateOne operations was
added to better control which documents get updated
Method name changes: selectDatabase() and selectCollection methods are renamed
to getDatabase and getCollection. The old names are deprecated and will be
released in 3.0 to give projects ample time to update.
GridFS helpers: Introduces new methods deleteByName($filename) and
renameByName($filename, $newFilename) to modify all the revisions of a file by
its name.
When using array access on MongoDB\BSON\Document instances, integers are now
accepted to access numeric keys in a BSON document
Distinct index: The hint option is now supported in distinct queries, improving
index utilization.
Deprecations
In this release, we also deprecated a number of features in preparation for an
upcoming 2.0 release:
Returned value of database and collection operations without meaningful result
is deprecated. The typeMap option is deprecated when creating a collection or
when dropping collections, databases and indexes.
Negative limit Values: Passing negative values for the limit option in queries
is deprecated. Instead, use the singleBatch option.
Write Concern and Read Preference Changes: Passing WriteConcern or
ReadPreference instances to command execution methods is deprecated. Use the
writeConcern and readPreference options instead.
Float Arguments in UTCDateTime: Constructing MongoDB\BSON\UTCDateTime with a
float argument is now deprecated.
Fixed bugs
In Find operation, ensure no cursor is left behind when limit == batchSize
Compatibility Updates
MongoDB Extension 1.21: This release requires to update the mongodb extension to
the version 1.21
PHP 8.1 Required: Support for PHP 7.4 and 8.0 has been dropped. The minimum
required version is now PHP 8.1.
Support for MongoDB 4.0 Deprecated: Future versions will require MongoDB 4.2 or
later.
--------------------------------------------------------------------------------
ChangeLog:

* Fri Feb 28 2025 Remi Collet <remi@xxxxxxxxxxxx> - 1.21.0-1
- update to 1.21.0
- re-license spec file to CECILL-2.1
- raise dependency on mongodb extension version 1.21
--------------------------------------------------------------------------------

This update can be installed with the "dnf" update program. Use
su -c 'dnf upgrade --advisory FEDORA-2025-07e9443654' at the command
line. For more information, refer to the dnf documentation available at
http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label

All packages are signed with the Fedora Project GPG key. More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------

-- 
_______________________________________________
package-announce mailing list -- package-announce@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-announce-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-announce@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]

  Powered by Linux