Skip to content

Releases: adonisjs/lucid

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

Fixes for the Model query builder update method and db seed paths normalizing

04 Jul 07:11
Compare
Choose a tag to compare
  • test: fix a breaking test b62e764
  • chore: change mssql image source 432b75b
  • fix: ts error post upgrading @types/node package b3f159b
  • fix: Model query builder update method should resolve real column names dacfc5f
  • fix: normalize paths when comparing them inside the db seed command cc89a5c

v15.0.2...v15.0.3

Small improvements and bug fixes

01 Jul 05:33
Compare
Choose a tag to compare
  • 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

v15.0.1...v15.0.2

Fix logger not defined issue in the validator rules

13 Jun 10:25
Compare
Choose a tag to compare
  • fix: pass logger instance to extendValidator method e4715ed
  • style: fix typo in docblock 57a6581

v15.0.0...v15.0.1

Re-organize TypeScript ambient modules

07 Jun 02:49
Compare
Choose a tag to compare

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

  • test: fix breaking test after migrator changes ea6d36e
  • feat: register migrator with the container daf6e56
  • refactor: simplify generic extending any ebbf53a
  • refactor: rename internal ambient modules to public module names 1bd457f
  • chore: update dependencies 03e890f

v14.2.0...v15.0.0

Export SnakeCaseNamingStrategy and add transaction isolation support

02 Jun 23:29
Compare
Choose a tag to compare
  • 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

v14.1.0...v14.2.0

Improvements to migration stub and add withScopes method

22 May 05:21
Compare
Choose a tag to compare
  • 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

v14.0.2...v14.1.0