Releases: adonisjs/lucid
Releases · adonisjs/lucid
Fix issue for disableTransactions flag being ignored for schema classes
21.6.1 (2025-03-12)
Bug Fixes
- read disableTransactions flag from the current schema class (8cfc7b3)
What's Changed
- docs : update exists binding with correct comments by @ranseur92 in #1084
- Remove unnecessary override for strtok3 by @ThisIsMissEm in #1091
New Contributors
- @ranseur92 made their first contribution in #1084
- @ThisIsMissEm made their first contribution in #1091
Full Changelog: v21.6.0...v21.6.1
Handful of small improvements
Features
- add db connection event types (4862c7d)
- model_query_builder: add
error.model
for E_ROW_NOT_FOUND; (#1081) (334186f) - preloader: add preloadOnce to preload a relationship only once (#1078) (fbfadbe)
What's Changed
- Add db connection event types by @adrianNEMO in #1074
- feat(preloader): add preloadOnce to preload a relationship only once by @zaosoula in #1078
- added decimalNumbers config to connection properties for compatibility to mysql by @siddiquipro in #1080
- feat(model_query_builder): add
error.model
forE_ROW_NOT_FOUND
; by @radiumrasheed in #1081
New Contributors
- @adrianNEMO made their first contribution in #1074
- @radiumrasheed made their first contribution in #1081
Full Changelog: v21.5.1...v21.6.0
Fix model.transaction method to behave exactly as db.transction
Bug Fixes
- Model.transaction always create a transaction and do not re-use existing one (1afdd81)
Full Changelog: v21.5.0...v21.5.1
Improvements to unique and exists rule and add isDirty method
Bug Fixes
Features
- add isDirty method (#1068) (151f862)
- add meta to all relations (#1042) (ade635f)
- add support for creating transaction client from model (4a2adcd)
- allow unique and exists validations to perform case insensitive search (761f823)
What's Changed
- feat: add meta to all relations by @zaosoula in #1042
- feat: add isDirty method by @adamcikado in #1068
- feat: unique accept options as object by @Xstoudi in #1012
New Contributors
Full Changelog: v21.4.0...v21.5.0
Export relationships query clients and allow instanceName config property
Features
What's Changed
- Add missing instanceName to the MssqlConnectionNode type by @Imunal in #1063
- feat: export relation's query client by @adamcikado in #1061
New Contributors
Full Changelog: v21.3.0...v21.4.0
Bug fixes and new features
- Feat: Add
loadOnce
method to preload a relationship only when its not already preloaded. - Feat: Add support for
--compact-output
inmigration:reset
andmigration:refresh
commands. - Feat: Export
Adapter
andModelPaginator
from the ORM. - Fix: Clone the preloader when cloning the query builder
Bug Fixes
- Clone the preloader when cloning the query builder (#1050) (18103ea)
- lint script (edc3d3a)
- run migration:reset via migrate test utils (9f669dd)
Features
- add support for --compact-output flag in reset and refresh commands (89322f9)
- export Adapter from orm (#1030) (cbbb4fd)
- export ModelPaginator class (#1051) (76dd1e5)
- orm: add loadOnce to lazy load a relationship only once (#1052) (96df6a6)
What's Changed
- export Adapter from orm by @siddiquipro in #1030
- feat: Export ModelPaginator Class by @aayush123 in #1051
- Clone the preloader when cloning the query builder by @RomainLanz in #1050
- feat(orm): add loadOnce by @RomainLanz in #1052
New Contributors
- @siddiquipro made their first contribution in #1030
Full Changelog: v21.2.0...v21.3.0
Pin strtok3 and fix relationship query builder to apply constraints on subqueries
- fix: pin strtok3 version 0699d06
- chore: update dependencies 45e43c1
- fix: apply constraints in whereIn condition (#1037) c131bc7
What's Changed
- fix: apply relationship constraints when using sub query in whereIn condition by @adamcikado in #1037
Full Changelog: v21.1.1...v21.2.0
Fix - Cleanup connection resources when using read replicas
- test: fix failing tests 14f345a
- test: add test for connection resource cleanup with replicas 2e002b7
- fix: connection resource cleanup logic a9eac4b
- fix: cleanup of resources when using replicas aa0a573
- chore: update dependencies 2aee01a
- chore: update dependencies 2d25ef0
Full Changelog: v21.1.0...v21.1.1
Display dialect names in configure prompts
- refactor: configure command to display dialect name in prompts 596c153
Fix for last release
- fix: broken import of libsql client 1afc648
Full Changelog: v21.0.0...v21.0.1