Releases: mongodb/laravel-mongodb
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 #2784
- 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
4.0.3
The PHP team is happy to announce that version 4.0.3 of the MongoDB integration for Laravel is now available.
Release Highlights
- Reset
Model::$unset
when a model is saved or refreshed by @richardfila in #2709
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.0.3
Installation instructions for the mongodb
extension may be found in the PHP.net documentation.
New Contributors
- @richardfila made their first contribution in #2709
Full Changelog: 4.0.2...v4.0.3
4.1.0
The PHP team is happy to announce that version 4.1.0 of the MongoDB integration for Laravel is now available.
Release Highlights
- The Laravel version requirement is increased to 10.30.0 to remove some backward compatibility code (#2665) with the help from @Treggats
- Support for MorphToMany relationships is added (#2670) and polished so that it works with both MongoDB and hybrid models (#2688 and #2690) by @hans-thomas
- Casting of various types is improved (#2658, #2653) by @hans-thomas
- A new method
Connection::ping()
is added to check the connection to the server (#2677) by @hans-thomas - Pagination for
groupBy
queries is supported (#2672) by @GromNaN - Fields can be renamed in migrations (#2682) by @hans-thomas
A complete list of resolved issues in this release may be found in the changelog.
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.0
Installation instructions for the mongodb
extension may be found in the PHP.net documentation.
New Contributors
- @bisht2050 made their first contribution in #2646
- @shoito made their first contribution in #2647
- @andersonls made their first contribution in #2692
Full Changelog: 4.0.2...4.1.0
4.0.2
The PHP team is happy to announce that version 4.0.2 of the MongoDB integration for Laravel is now available.
Release Highlights
- Fix compatibility with Laravel 10.30 by @Treggats in #2661
- PHPORM-92: Test on PHP 8.3 by @alcaeus in #2637
- Add tests on Adding New Fields and fetch relationships withThrashed by @hans-thomas in #2644
- PHPORM-101 Allow empty insert batch for consistency with Eloquent SQL by @GromNaN in #2645
- Test with lowest dependencies in CI by @GromNaN in #2663
New Contributors
- @hans-thomas made their first contribution in #2644
- @Treggats made their first contribution in #2661
Full Changelog: 4.0.0...4.0.2
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.0.2
Installation instructions for the mongodb
extension may be found in the PHP.net documentation.