Releases: mongodb/laravel-mongodb
4.4.0
What's Changed
New Features
- PHPORM-82 Support prefix for collection names by @GromNaN in #2930
- [fix] Prevent exception when connection is closed by @SanderMuller in #2967
- Improve error message for invalid configuration by @GromNaN in #2975
- Unset
_id: null
to let it be autogenerated by @GromNaN in #2969 - PHPORM-81 implement
mongodb
driver for batch by @GromNaN in #2904
Fixed
- Remove
@mixin
on Model class by @GromNaN in #2981 - PHPORM-180 Keep createOrFirst in 2 commands to simplify implementation by @GromNaN in #2984
Other Changes
- Fallback to jenssegers/mongodb package name when mongodb/laravel-mongodb is not installed by @GromNaN in #2920
- PHPORM-181: Add SBOM lite by @alcaeus in #2937
- PHPORM-184 Use fixed key for temporary setting nested field by @GromNaN in #2962
- PHPORM-179: Upload PHPStan report to GitHub Code Scanning by @alcaeus in #2965
New Contributors
- @mongoKart made their first contribution in #2938
- @SanderMuller made their first contribution in #2967
Full Changelog: 4.3.0...4.4.0
4.3.1
What's Changed
New Features
- [fix] Prevent exception when connection is closed by @SanderMuller in #2967
- Improve error message for invalid configuration by @GromNaN in #2975
Fixed
Other Changes
- Fallback to jenssegers/mongodb package name when mongodb/laravel-mongodb is not installed by @GromNaN in #2920
- PHPORM-181: Add SBOM lite by @alcaeus in #2937
- PHPORM-184 Use fixed key for temporary setting nested field by @GromNaN in #2962
- PHPORM-179: Upload PHPStan report to GitHub Code Scanning by @alcaeus in #2965
- PHPORM-153: Add automated release workflow by @alcaeus in #2964
New Contributors
- @mongoKart made their first contribution in #2938
- @SanderMuller made their first contribution in #2967
Full Changelog: 4.3.0...4.3.1
v3.8.6
The PHP team is happy to announce that version 3.8.5 of the MongoDB integration for Laravel is now available.
Release Highlights
Installation
This library may be installed or upgraded with:
composer require mongodb/laravel-mongodb:3.8.5
Installation instructions for the mongodb
extension may be found in the PHP.net documentation.
Full Changelog: v3.8.5...v3.8.6
4.3.0
The PHP team is happy to announce that version 4.3.0 of the MongoDB integration for Laravel is now available.
Release Highlights
- New aggregation pipeline builder by @GromNaN in #2738
- Drop support for Composer 1.x by @GromNaN in #2785
- Add
mongodb
cache and lock drivers by @GromNaN in #2877 - Fix
artisan query:retry
command by @GromNaN in #2838
Documentation
Documentation for this library may be found one the Readme.
Installation
This library may be installed or upgraded with:
composer require mongodb/laravel-mongodb:4.3.0
Installation instructions for the mongodb
extension may be found in the PHP.net documentation.
Full Changelog: 4.2.2...4.3.0
4.2.2
The PHP team is happy to announce that version 4.2.2 of the MongoDB integration for Laravel is now available.
Release Highlights
Documentation
Documentation for this library may be found one the Readme.
Installation
This library may be installed or upgraded with:
composer require mongodb/laravel-mongodb:4.2.2
Installation instructions for the mongodb
extension may be found in the PHP.net documentation.
Full Changelog: 4.2.1...4.2.2
4.2.1
The PHP team is happy to announce that version 4.2.1 of the MongoDB integration for Laravel is now available.
Release Highlights
Documentation
Documentation for this library may be found one the Readme.
Installation
This library may be installed or upgraded with:
composer require mongodb/laravel-mongodb:4.2.1
Installation instructions for the mongodb
extension may be found in the PHP.net documentation.
Full Changelog: 4.2.0...4.2.1
4.2.0
The PHP team is happy to announce that version 4.2.0 of the MongoDB integration for Laravel is now available.
Release Highlights
- Add support for Laravel 11 by @GromNaN in #2735
- Implement Model::createOrFirst() using findOneAndUpdate operation by @GromNaN in #2742
Documentation
Documentation for this library may be found one the Readme.
Installation
This library may be installed or upgraded with:
composer require mongodb/laravel-mongodb:4.2.0
Installation instructions for the mongodb
extension may be found in the PHP.net documentation.
Full Changelog: 4.1.3...4.2.0
4.1.3
The PHP team is happy to announce that version 4.1.3 of the MongoDB integration for Laravel is now available.
Release Highlights
- PHPORM-143 Ensure date are read using local timezone by @GromNaN in #2739
- PHPORM-148 Fix
null
indatetime
fields and reset time indate
field with custom format by @GromNaN in #2741
Documentation
Documentation for this library may be found one the Readme.
Installation
This library may be installed or upgraded with:
composer require mongodb/laravel-mongodb:4.1.3
Installation instructions for the mongodb
extension may be found in the PHP.net documentation.
Full Changelog: 4.1.2...4.1.3
4.1.2
The PHP team is happy to announce that version 4.1.2 of the MongoDB integration for Laravel is now available.
Release Highlights
- Fix support for subqueries using the query builder by @GromNaN in #2717
- PHPORM-145 Fix
Query\Builder::dump
anddd
methods to dump MongoDB query by @GromNaN in #2727 and #2730 - PHPORM-140: Fix documentation for inverse embed relationships by @alcaeus in #2734
Documentation
Documentation for this library may be found one the Readme.
Installation
This library may be installed or upgraded with:
composer require mongodb/laravel-mongodb:4.1.2
Installation instructions for the mongodb
extension may be found in the PHP.net documentation.
Full Changelog: 4.1.1...4.1.2
4.1.1
The PHP team is happy to announce that version 4.1.1 of the MongoDB integration for Laravel is now available.
Release Highlights
- Fix casting issues by @stubbo in #2705
- Reset
Model::$unset
when a model is saved or refreshed by @richardfila in #2709 - DOCSP-35148: Convert docs to Snooty RST by @ccho-mongodb in #2704
Documentation
Documentation for this library may be found in the Readme.
Installation
This library may be installed or upgraded with:
composer require mongodb/laravel-mongodb:4.1.1
Installation instructions for the mongodb
extension may be found in the PHP.net documentation.
New Contributors
- @ccho-mongodb made their first contribution in #2704
- @stubbo made their first contribution in #2705
- @richardfila made their first contribution in #2709
Full Changelog: 4.1.0...4.1.1