Releases: adonisjs/lucid
Releases · adonisjs/lucid
Fix pagination count query to use table aliases
- fix: do not update table name for model query builder when already assigned c62ff03
Full Changelog: v16.3.1...v16.3.2
Allow where and having method column names to be a raw query
- feat: allow column name in where and having clauses to be a raw query 781add7
Full Changelog: v16.3.0...v16.3.1
Bug fixes and make Database Macroable
Commits
- refactor: use kernel.exec over a child process to execute sub commands a544633
- feat: Make Database class macroable c74ee5b
- refactor: accept knex raw queries along with our raw queries 014f38f
- refactor: add missing sumDistinct method 3026bb1
Pull Requests Merged
- Add missing sumDistinct support by @Alyxsqrd in #735
- Update MakeModel.ts by @urishabh11 in #736
New Contributors
- @Alyxsqrd made their first contribution in #735
- @urishabh11 made their first contribution in #736
Full Changelog: v16.2.2...v16.3.0
Fix relationships inheritance
- test: add test for overwriting relationship during inheritance 768dc87
- test: fix breaking inheritance tests 40a8090
- fix: failing test c24e33d
- fix: breaking tests d6ea885
- fix: copy a clone of relationship during inheritance 53a07df
- feat: add support for insert object values to be a raw query d2f961f
- docs: update contributing guide to share the same information as the other projects (#729) 5fe4155
New Contributors
- @sjoaohenrique made their first contribution in #729
Full Changelog: v16.2.1...v16.2.2
Revert support for wrapping model inside self managed transactions
- Revert "feat: add support for running insert, update and delete queries always inside a transaction" 1fddaa5
Add experimental support for wrapping model persist/delete queries inside transaction
The features added are experimental and not meant to used in the current state
Add hooks support to transaction client
Fix `with` and `withRecursive` query builder methods
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