Releases: mongodb/laravel-mongodb
5.4.1
What's Changed
Fixed
- PHPORM-327 Fix invalid
assert
inDatabaseSessionHandler::read()
by @tonivega in #3368
Other Changes
- DOCSP-49324: dedicated session handler by @rustagir in #3364
- Remove usage of deprecated
getMongoDB
method in tests by @GromNaN in #3367
Full Changelog: 5.4.0...5.4.1
5.4.0
What's Changed
This release fixes the db:show
and db:tables
database introspection commands when using views.
The user id, IP address and user agent are now saved by the `mongodb' session driver if available.
Feature
- PHPORM-310 Create dedicated session handler by @GromNaN in #3348
- PHPORM-325 Add
getViews
and categorize table types by @masterbater in #3327
Full Changelog: 5.3.1...5.4.0
5.3.1
What's Changed
Bug
- PHPORM-320 Fix aliasing
.id
field path to._id
by @GromNaN in #3353
Documentation
- DOCSP-49236: v5.3 release by @rustagir in #3344
- DOCSP-49217: disable id alias conversion in embedded docs by @rustagir in #3346
Full Changelog: 5.3.0...5.3.1
4.9.0
What's Changed
This is a maintenance release to enable compatibility with the version 2.0.0 of the MongoDB extension and library.
Feature
- PHPORM-319 Make branch 4.x compatible with driver v2 by @GromNaN in #3347
Documentation
- DOCSP-45411: qb options by @rustagir in #3208
- DOCSP-44949 TOC Relabel by @lindseymoore in #3204
- DOCSP-42020: queues feedback by @rustagir in #3221
- DOCSP-45877: txn parallel ops not supported (#3247) by @rustagir in #3249
- DOCSP-38327: add Query Builder examples to usage examples by @rustagir in #3259
Full Changelog: 4.8.1...4.9.0
5.3.0
What's Changed
Features
- PHPORM-255 Add option to disable the
id
to_id
field rename in embedded documents by @GromNaN in #3332
Fixed
- Fixes: getting immutable_datetime property fails if
Date::use(CarbonImmutable::class)
is set by @saineshmamgain in #3342 - PHPORM-314 Use stable version of mongodb extension v2 by @GromNaN in #3343
Documentation
- DOCSP-35945: read operations reorg by @rustagir in #3293
- Fix releasing from development branch by @alcaeus in #3299
- DOCSP-48817: php v2 extension compat by @rustagir in #3339
New Contributors
- @saineshmamgain made their first contribution in #3342
Full Changelog: 5.2.2...5.3.0
5.2.2
What's Changed
Bug
- PHPORM-311 Fix Update of numeric field name by @GromNaN in #3336
Documentation
- DOCSP-48956: replace tutorial link by @rustagir in #3333
Full Changelog: 5.2.1...5.2.2
5.2.1
What's Changed
Bug
- PHPORM-309 Remove manual dirty
_id
check when updating a model by @itodor in #3329
Features
- PHPORM-306 Test with MongoDB Driver v2 by @GromNaN in #3319
Documentation
- DOCSP-48028: v5.2 release by @rustagir in #3297
- Merges the read operation reorganization into 5.2 by @rustagir in #3301
- DOCSP-46479: document Scout integration by @rustagir in #3261
- DOCSP-48018: laravel 12 feature compat by @rustagir in #3304
- DOCSP-47950: Fix all operator section by @norareidy in #3308
- Remove link to builder package/repo by @rustagir in #3312
- fix line spacing in feature compat doc by @rustagir in #3315
New Contributors
Full Changelog: 5.2.0...5.2.1
5.2.0
The MongoDB team is pleased to announce the release of version 5.2.0 of the Laravel MongoDB Library.
This release requires an upgrade of the mongodb
extesion to version 1.21 and the mongodb/mongodb
library to version 1.21.
New Features and Enhancements
- Atlas Search and Vector Search, integration with new methods in the query builder and schema builder
- Laravel Scout support, to use MongoDB Atlas as a search engine.
- An optimized session driver to store sessions in MongoDB
- Rename
Connection::getMongoDB
togetDatabase
for naming consistency.
Compatibility Updates
- Laravel 12 support
- MongoDB Extension 1.21: This release requires to update the mongodb extension to the version 1.21
- Support for MongoDB 4.0 Deprecated: Future versions will require MongoDB 4.2 or later.
- Support for
spatie/laravel-query-builder
v6
Documentation
Documentation for this library may be found in the Laravel MongoDB Manual.
Installation
This library may be installed or upgraded with:
composer require mongodb/laravel-mongodb:^5.2.0
Installation instructions for the mongodb extension may be found in the PHP.net documentation.
Full Changelog: 5.1.1...5.2.0
5.1.1
What's Changed
Fixed
Other Changes
- Docs changes v5.1 by @norareidy in #3174
- DOCSP-44158: Convert arrow to dot notation by @norareidy in #3173
- DOCSP-44177: 5.1 compatibility by @norareidy in #3177
- Typo in upgrade doc by @GromNaN in #3180
- DOCSP-44610: fix php links by @rustagir in #3185
- Fix generation of SARIF reports by @alcaeus in #3193
- DOCSP-42964: Remove nested component by @norareidy in #3198
- PHPORM-256: Disable mongoc_client reuse between connections by @alcaeus in #3197
- Increase connection timeouts to allow using Atlas shared clusters by @GromNaN in #3206
- DOCSP-45411: qb options by @rustagir in #3208
- DOCSP-44949 TOC Relabel by @lindseymoore in #3204
- DOCSP-42020: queues feedback 5.0 by @rustagir in #3222
New Contributors
- @lindseymoore made their first contribution in #3204
- @bskl made their first contribution in #3237
Full Changelog: 5.1.0...5.1.1
4.8.1
What's Changed
Fixed
- PHPORM-263 Fix deprecation message for collection/table config in MongoDBQueueServiceProvider by @GromNaN in #3209
Other Changes
- DOCSP-42794: Laravel Passport by @norareidy in #3113
- DOCSP-43115 - v4.8 compat by @mongoKart in #3125
- DOCSP-44610: fix php links by @rustagir in #3185
- Fix generation of SARIF reports by @alcaeus in #3193
Full Changelog: 4.8.0...4.8.1