Update dependency mongodb/mongodb to v2 #86
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.12->^1.12 || ^2.0Release Notes
mongodb/mongo-php-library (mongodb/mongodb)
v2.1.1Compare Source
The PHP team is happy to announce that version 2.1.1 of the MongoDB PHP library is now available.
Release Highlights
This version fixes the deletion of metadata collections when automatic encryption is enabled.
A 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
mongodbextension may be found in the PHP.net documentation.v2.1.0Compare Source
The PHP team is happy to announce that version 2.1.0 of the MongoDB PHP library is now available.
Release Highlights
This release introduces the new
Client::bulkWrite()method using thebulkWritecommand added in MongoDB 8.0 and supported bymongodbextension v2.1.0. Support for MongoDB 4.0 has been removed.A 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, including the new Client Bulk Write.
Installation
This library may be installed or upgraded with:
Installation instructions for the
mongodbextension may be found in the PHP.net documentation.v2.0.0Compare Source
The PHP team is happy to announce that version 2.0.0 of the MongoDB PHP library is now available.
Release Highlights
Pipelinedirectly to theaggregatemethod.Cursortype hints withCursorInterfacefor better extensibility and compatibility.A complete list of resolved issues in this release may be found in JIRA.
New Features and Enhancements
aggregatemethod now supports passing an aggregation builderPipelinefor more flexible and readable queries. (PHPLIB-1617).CursorInterfaceto allow more flexibility for custom cursor implementations. (PHPLIB-1114).Deprecated and Removed Features
md5,contentType,aliases) have been removed, which may affect older implementations. (PHPLIB-1218).Watch::FULL_DOCUMENT_DEFAULT Constant: TheFULL_DOCUMENT_DEFAULTconstant inWatchhas been removed (PHPLIB-818).FindOptions Removed: Various deprecatedFindoptions have been removed as part of streamlining the API (PHPLIB-1511).mapReduceHelper: ThemapReducehelper has been removed fromCollectiondue to its deprecation in favor of other aggregation methods (PHPLIB-1513).autoIndexIdOption: TheautoIndexIdoption has been removed fromCreateCollection, simplifying collection creation (PHPLIB-1159).Compatibility Updates
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
mongodbextension may be found in the PHP.net documentation.v1.21.2Compare Source
The PHP team is happy to announce that version 1.21.2 of the MongoDB PHP library is now available.
Release Highlights
This version fixes the deletion of metadata collections when automatic encryption is enabled.
A 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
mongodbextension may be found in the PHP.net documentation.v1.21.1Compare Source
The PHP team is happy to announce that version 1.21.1 of the MongoDB PHP library is now available.
Release Highlights
Remove dependency to extensions and PHP polyfill packages that are always available in PHP 8.1+.
A 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
mongodbextension may be found in the PHP.net documentation.Learn more about the aggregation builder here: Better Aggregation Pipeline Support in the MongoDB PHP Driver
v1.21.0Compare 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
mongodbPHP extension, and PHP 8.1 or later.New Features and Enhancements
sortoption inreplaceOneandupdateOneoperations was added to better control which documents get updatedselectDatabase()andselectCollectionmethods are renamed togetDatabaseandgetCollection. 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\Documentinstances, integers are now accepted to access numeric keys in a BSON documenthintoption 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:
typeMapoption is deprecated when creating a collection or when dropping collections, databases and indexes.singleBatchoption.WriteConcernorReadPreferenceinstances to command execution methods is deprecated. Use thewriteConcernandreadPreferenceoptions instead.UTCDateTime: ConstructingMongoDB\BSON\UTCDateTimewith a float argument is now deprecated.Fixed bugs
limit == batchSizeCompatibility Updates
mongodbextension 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
mongodbextension 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: 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.
Read more information about the use of Renovate Bot within Laminas.