Update dependency mongodb/mongodb to ~1.21.0 #110
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.
This PR contains the following updates:
~1.20.0
->~1.21.0
Release Notes
mongodb/mongo-php-library (mongodb/mongodb)
v1.21.0
Compare Source
The MongoDB team is pleased to announce the release of version 1.21.0 of the MongoDB PHP Library.
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
sort
option inreplaceOne
andupdateOne
operations was added to better control which documents get updatedselectDatabase()
andselectCollection
methods are renamed togetDatabase
andgetCollection
. The old names are deprecated and will be released in 3.0 to give projects ample time to update.deleteByName($filename)
andrenameByName($filename, $newFilename)
to modify all the revisions of a file by its name.MongoDB\BSON\Document
instances, integers are now accepted to access numeric keys in a BSON documenthint
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:
typeMap
option is deprecated when creating a collection or when dropping collections, databases and indexes.singleBatch
option.WriteConcern
orReadPreference
instances to command execution methods is deprecated. Use thewriteConcern
andreadPreference
options instead.UTCDateTime
: ConstructingMongoDB\BSON\UTCDateTime
with a float argument is now deprecated.Fixed bugs
limit == batchSize
Compatibility Updates
mongodb
extension to the version 1.21A complete list of resolved issues in this release may be found in JIRA.
Documentation
Documentation for this library may be found in the PHP Library Manual.
Installation
This library may be installed or upgraded with:
Installation instructions for the
mongodb
extension may be found in the PHP.net documentation.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
Read more information about the use of Renovate Bot within Laminas.