Releases: mongodb/laravel-mongodb
Releases · mongodb/laravel-mongodb
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:table
command by @paulinevos in #3394 - Add conditional return type to
Builder::raw()
by @paulinevos in #3395 - Support adding schema validation by @paulinevos in #3397
QueryBuilder
multiply 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
DocumentModel
by @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_at
with$set
by @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
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