Releases: mongodb/laravel-mongodb
Releases · mongodb/laravel-mongodb
5.6.0
Immutable
release. Only release title and notes can be modified.
This release fixes compatibility with Laravel 12.51.
What's Changed
Fixed
- PHPORM-373 Use
DatabaseTransactionsManagerinManagesTransactionstrait by @paulinevos in #3443 - PHPORM-432 Wait for search indexes to be dropped before creating new one in tests by @GromNaN in #3460
- ScoutEngine: correct
delete()TypeError message to reference EloquentCollection by @zigzagdev in #3457 - Fix test that randomly crashes by @GromNaN in #3464
- Fix Builder methods declaration for compatibility with Laravel 12.51 by @GromNaN in #3479
Other Changes
- Improve change log categories by @paulinevos in #3442
- Bump actions/labeler from 5 to 6 by @dependabot[bot] in #3445
- Remove explicit dependency to symfony/http-kernel as it's not used directly by @GromNaN in #3446
- Bump mongodb-labs/drivers-github-tools from 2 to 3 by @dependabot[bot] in #3452
- Bump github/codeql-action from 3 to 4 by @dependabot[bot] in #3455
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in #3458
- PHPORM-418 Test with PHP 8.5 and reduce test matrix by @GromNaN in #3459
- Consolidate repetitive model instantiations across tests by @zigzagdev in #3416
- Bump actions/cache from 4 to 5 by @dependabot[bot] in #3468
- Drop docs folder by @alcaeus in #3473
- Fix chunked order query bug by @paulinevos in #3480
New Contributors
- @zigzagdev made their first contribution in #3457
Full Changelog: 5.5.0...5.6.0
5.5.0
What's Changed
Fixed
- PHPORM-330 Fix: Convert query duration time to milliseconds by @AmirRezaM75 in #3374
- PHPORM-331 Fix test on job payload by @GromNaN in #3375
- Fix database name extraction from DSN containing a CA file path by @fergusean in #3381
- [5.x] Replaced a too strict assertion in DatabaseSessionHandler.php that prevented to use the sessions at all with a more simple sanity check. Test already failed on that, now they pass. by @tonivega in #3366
Other Changes
- Validate PSR namespaces in CI by @GromNaN in #3363
- Bump ramsey/composer-install from 3.1.0 to 3.1.1 by @dependabot[bot] in #3393
- PHPORM-326 Add collation to
db:tablecommand by @paulinevos in #3394 - Add conditional return type to
Builder::raw()by @paulinevos in #3395 - Support adding schema validation by @paulinevos in #3397
QueryBuildermultiply and divide support by @faissaloux in #3373- Bump PHP to 8.2 in Docker test container by @paulinevos in #3399
- Bump stefanzweifel/git-auto-commit-action from 5 to 6 by @dependabot[bot] in #3409
- Limit CI workflows to supported branches by @alcaeus in #3411
- Improve error handling on unsupported hybrid queries by @paulinevos in #3404
- PHPORM-264: Deprecate Mongo soft deletes trait by @paulinevos in #3408
- Add Mongo builder mixin to
DocumentModelby @paulinevos in #3417 - PHPORM-146: Add override attribute everywhere by @paulinevos in #3412
- Replace extra substr() call by @jmikola in #3430
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #3440
Docs changes
- DOCSP-50472: schema validation by @rustagir in #3400
- DOCSP-50781: Update SoftDeletes references by @mcmorisi in #3413
- DOCSP-50607: multiply/divide QB methods by @rustagir in #3403
- DOCSP-50960: Install PHP ext with pie by @norareidy in #3419
New Contributors
- @tonivega made their first contribution in #3366
- @AmirRezaM75 made their first contribution in #3374
- @fergusean made their first contribution in #3381
- @paulinevos made their first contribution in #3394
- @faissaloux made their first contribution in #3373
Full Changelog: 5.4.3...5.5.0
5.4.3
What's Changed
Fixed
- Fix overwriting
updated_atwith$setby @guram-vashakidze in #3433
New Contributors
- @guram-vashakidze made their first contribution in #3433
Full Changelog: 5.4.2...5.4.3
5.4.2
What's Changed
Fixed
- PHPORM-369: Fix ID handling when using insert method instead of save by @alcaeus in #3429
Other Changes
- DOCSP-49784: View file typo (#3376) by @norareidy in #3378
- DOCSP-50023: remove eol server version mentions by @rustagir in #3387
- [docs] add limitation to transactions page by @rustagir in #3389
- DOCSP-48860: DOCS+ tutorial - Laravel MongoDB backend by @rustagir in #3386
- DOCSP-43518: logging by @rustagir in #3316
- PHPORM-361 Remove autocommit of CS fixes by @GromNaN in #3420
- DOCSP-51402: schema-flexible terminology by @rustagir in #3424
- DOCSP-50960: Install PHP ext with pie (#3419) by @norareidy in #3426
Full Changelog: 5.4.1...5.4.2
5.4.1
What's Changed
Fixed
- PHPORM-327 Fix invalid
assertinDatabaseSessionHandler::read()by @tonivega in #3368
Other Changes
- DOCSP-49324: dedicated session handler by @rustagir in #3364
- Remove usage of deprecated
getMongoDBmethod 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
getViewsand 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
.idfield path to._idby @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
idto_idfield 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