Skip to content

Releases: adonisjs/lucid

Fix pagination count query to use table aliases

09 Nov 01:45
Compare
Choose a tag to compare
  • 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

08 Nov 06:51
Compare
Choose a tag to compare
  • 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

08 Nov 01:10
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v16.2.2...v16.3.0

Fix relationships inheritance

25 Oct 10:54
Compare
Choose a tag to compare
  • 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

Full Changelog: v16.2.1...v16.2.2

Revert support for wrapping model inside self managed transactions

01 Oct 05:37
Compare
Choose a tag to compare
  • Revert "feat: add support for running insert, update and delete queries always inside a transaction" 1fddaa5

v16.2.0...v16.2.1

Add experimental support for wrapping model persist/delete queries inside transaction

30 Sep 13:51
Compare
Choose a tag to compare

The features added are experimental and not meant to used in the current state

  • refactor: remove unused imports 6df0d12
  • feat: add support for running insert, update and delete queries always inside a transaction be92c9f
  • feat: add defineProperty method on the model itself 78e7a53
  • chore: update dependencies 2923085

v16.1.0...v16.2.0

Add hooks support to transaction client

23 Sep 02:34
Compare
Choose a tag to compare
  • improvement: add returning method to all query builder 9b35e13
  • feat: add support for registering hooks with the transaction client bf8f83f
  • chore: update dependencies 132efa9
  • refactor: use schema.alterTable in alter template (#724) bf15645
  • docs: use gh actions badge urls ca560e1

v16.0.2...v16.1.0

Fix `with` and `withRecursive` query builder methods

04 Sep 10:47
Compare
Choose a tag to compare
  • ci: update dockerfile image dac87c4
  • fix: with and withRecursive methods to support raw queries, callbacks and sub queries 32a552f

v16.0.1...v16.0.2

Fix bug where map function on paginator was not working

04 Sep 05:04
Compare
Choose a tag to compare
  • improvement(paginator): use better metric for hasPages property 3477c4b
  • test: fix breaking tests after paginator changes 0a454f6
  • fix(paginator): pass rows as an iterator to the Array class 4af86f3
  • chore: update dependencies 1a11e70
  • test: add test for an edge case 0d91565

v16.0.0...v16.0.1

Add support for lazy loading aggregates

30 Aug 04:31
Compare
Choose a tag to compare
  • 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

v15.0.3...v16.0.0