Releases: adonisjs/lucid
Releases · adonisjs/lucid
Fix bug where map function on paginator was not working
Add support for lazy loading aggregates
- chore: update dependencies a08356f
- test: add a regression test for getters and setters 1dde971
- test: improvements to query debugging and fix breaking test 0750a93
- test: fix breaking test 4d46a4a
- feat: add support for lazy loading relationship aggregates d58f179
- fix: the proxy handler for model properties to work with ts "useDefineForClassFields" flag 5539349
- style: format source code 72361c1
- refactor: accept allowExtraProperties flag with static persistance methods 2134069
- improvement: consumeAdapterResult set the property on the model directly 918a4bc
- fix: model proxy to work with useDefineForClassFields typescript flag d96d17a
- test: fix breaking tests 08dc435
- fix: increment & decrement methods resolve key names from model columns 027f15e
- chore: update dependencies bc46a37
- improvement: merge method set the model property when already defined on the model 3d36a66
- refactor: allow select method to accept numeric values 478fd7d
- refactor: use count query for exists / unique validators (#710) 7beaa79
- test: make tests work across dialects 447255e
- fix: convert schema.date instances to a string when querying for exists and unique 89a495e
- chore: update dependencies 8fc83d9
Fixes for the Model query builder update method and db seed paths normalizing
Small improvements and bug fixes
- style: remove unwanted import statement bcfac65
- improvement: improve the connection flag description e60dfa2
- fix: normalize seeder custom path for windows 1856ba7
- fix: allow updating primary key localy when using selfAssignPrimaryKey flag f1c2e5f
- chore: update dependencies 8afc90f
- chore: update dependencies e15e8c0
Fix logger not defined issue in the validator rules
Re-organize TypeScript ambient modules
Even though this release has breaking changes. It will not impact you, unless your app was using imports not documented on the website. We have renamed the following TypeScript ambient modules
@ioc:Adonis/Lucid/Model
->@ioc:Adonis/Lucid/Orm
@ioc:Adonis/Lucid/Relations
->@ioc:Adonis/Lucid/Orm
@ioc:Adonis/Lucid/DatabaseQueryBuilder
->@ioc:Adonis/Lucid/Database
Commits
Export SnakeCaseNamingStrategy and add transaction isolation support
- chore: do not run tests during release 5503cbb
- feat: add support for query isolation b808f03
- fix: use correct query for health check query for oracledb 48dc522
- improvement: improve database config options 398b24a
- chore: upgrade to newer husky syntax 2c72134
- chore: update dependencies 57df64c
- feat: expose default naming strategy from Orm binding (#689) b693054
Improvements to migration stub and add withScopes method
- fix: use withScopes as an alias for apply 65ab31e
- improvement: export commonly used types from orm module 2c8d393
- fix: migration stub to use cross database compatible timestamp methods 80dfe84
- refactor: example to use correct syntax for scope query builder generic 293df5b
- feat: add withScopes method 039defb
- improvement: do not report SQL errors to validator 5480de7
- refactor: remove log statements bb71bab
- ci: force colors when running in CI c085171
- ci: tweak debug calls 2c950cc
- ci: add log statements for debugging 55560e7
- fix: breaking test e9d3774
- style: format source files 39a66c1
- ci: add github actions workflow file 8fad3cd
- chore: update dependencies 7af99ec
- chore: update dependencies 890f2e4