Releases: mongodb/laravel-mongodb
4.6.0
What's Changed
New Features
- Add
DocumentModel
trait to use any 3rd party model with MongoDB @GromNaN in #2580 - Add
HasSchemaVersion
trait to help implementing the schema versioning pattern @florianJacques in #3021 - Add support for Closure for Embed pagination @GromNaN in #3027
Other Changes
- PHPORM-175: Use foreign key name for MorphTo relationships by @jmikola in #3011
- DOCSP-41010: Fix transactions code example by @norareidy in #3016
- DOCSP-38380: array reads by @rustagir in #3028
- Use PHPUnit's Attributes instead of annotation by @GromNaN in #3035
New Contributors
- @jmikola made their first contribution in #3011
- @florianJacques made their first contribution in #3021
Full Changelog: 4.5.0...4.6.0
4.5.0
What's Changed
New Features
- PHPORM-186 GridFS adapter for Filesystem by @GromNaN in #2985
Other Changes
- Upload code scanning results to correct ref when releasing by @alcaeus in #3006
- Use full-report convenience action for SSDLC reports by @alcaeus in #3010
- DOCSP-39849: revise job batching docs by @rustagir in #2994
- Add link to filesystems docs by @GromNaN in #3009
Full Changelog: 4.4.1...4.5.0
4.4.1
What's Changed
Other Changes
- Update RELEASING.md by @GromNaN in #2990
- Update compatibility tables for v4.4 by @norareidy in #2995
- PHPORM-190: Update drivers-github-tools to v2 by @alcaeus in #2998
- PHPORM-185, PHPORM-191, PHPORM-192: Publish SSDLC assets on release by @alcaeus in #3004
Full Changelog: 4.4.0...4.4.1
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