Skip to content

Releases: adonisjs/lucid

Getting package ready for the beta version of core

12 Oct 05:30
Compare
Choose a tag to compare
  • chore: use the next tag to publish the package 5b66c6c
  • feat: implement provider shutdown method to cleanup database connections 12a8755
  • refactor: do not register healthcheck & validator rules in REPL mode 37d63fa
  • feat: define repl bindings 9b8f524
  • feat: add types for container bindings e1f954c
  • refactor: getting package ready for beta release of core 5e7b712

v8.5.0...v9.0.0

Handful of new additions and bug fixes

07 Oct 15:02
Compare
Choose a tag to compare
  • fix: breaking test coz of casing issue 9707f1d
  • refactor: only consume returning value when selfAssignPrimaryKey = false 7d31312
  • feat: add support for writing conditional queries 17a9420
  • feat: add whereColumn query builder methods e19bcf0
  • fix: set readonly ready on the ConnectionContract 8dffab6
  • test: fix breaking uuid test 121f2c1
  • fix: orderBy accept raw queries f1a4335
  • fix: accept raw queries in having clause 5d73de3
  • fix: whereIn types 892b3f7
  • chore: stick @adonisjs/validator to the @Alpha version 0b3faf5
  • chore: pin @adonisjs/fold version d91cb08
  • fix: breaking tests f2f6b9f
  • chore: stick to non-breaking dependencies 9a6fbc5
  • fix: use db return value only when local value is not assigned ab33c0c
  • chore: update dependencies 8efe4d2

v8.4.4...v8.5.0

Improvements to the instructions invoke flow

23 Sep 10:15
Compare
Choose a tag to compare
  • refactor: instructions file do not re-create tmp dir when one already exists f6dc20d
  • feat: create default factory file (#603) 8685b06

v8.4.3...v8.4.4

Update `make:model` command to optionally generate migration & controller

21 Sep 15:09
Compare
Choose a tag to compare
  • refactor: format source files 620789c
  • refactor: use child_process.execFile over kernel.exec command 86f4d69
  • feat(cli): allow us to generate a controller & migration at the same time (#526) 3d06be2
  • Fixing typo in Run command. (#597) 0fc3e23

v8.4.2...v8.4.3

Fix orderBy and nullable datetime columns bug

28 Aug 16:03
Compare
Choose a tag to compare
  • style: format source files e10c01e
  • fix: orderBy transformer array of keys to model column names 6b84db3
  • fix: allow datetime columns to be nullable 71908f3
  • chore(package): update dependencies 3a8551a
  • chore: remove lock file from the repository 26cb39c

v8.4.1...v8.4.2

Fix for v8.4.0

15 Aug 18:16
Compare
Choose a tag to compare
  • fix: typo in instructions file name 13196ac

v8.4.0...v8.4.1

Bug fixes and lots of improvements

15 Aug 13:05
Compare
Choose a tag to compare

Highlights

  • The paginate method output now extends Array class. So it allows you to loop over the rows directly.
  • You can define per connection multiple seed directories.
  • The node ace invoke @adonisjs/lucid command now prompts for setting up the right databases

Commits

  • style: format source files 102ec3c
  • improvement: query.select allow raw queries adf41d8
  • improvement: allow factory callback to return model instance over just attributes d1603b0
  • feat: add isActive property to paginator.getUrlsForRange method output 7d7d0dd
  • improvement: SimplePaginator extend Array to allow iterating over rows 008ea24
  • style: format source files 6e420f0
  • improvement: normalize --files property values da67e56
  • improvement: make relatedQuery and relatedSubQuery compatible with each other 31d25ed
  • style: format source code 6017852
  • fix: invoke "onQuery" when creating subQuery 184cdec
  • fix: rename opaque hint property name from "type" to "__opaque_type" 71c882f
  • improvement: use app.directoriesMap to pull migrations and seeds path 469cde0
  • improvement: improving seeds and migrations flow 4a6acad
  • refactor: change method for resolving migrations directories d818980
  • fix(validator): allow passing where constraints to rules with refs (#583) 16b6882
  • improvement: improving the auto setup flow 904d31e
  • chore: register instructions file with adonisjs block 2fa6d90
  • feat: add instructions to auto-install DBMS (#569) 16168a1

v8.3.1...v8.4.0

Adding support for case insensitive search in unique and exists rules

04 Aug 18:05
Compare
Choose a tag to compare
  • fix(validator): use prepared statements with unique and exists rules f10656b
  • test: fix breaking tests 4dc1c29
  • docs(README): add audit badge and update urls 417ac9d
  • improvement: allow case-insensitive unique and exists queries 29f7dfc
  • test: write tests for the provider 7bc9b7a

v8.3.0...v8.3.1

Wooah! We have got new relationship helper methods

04 Aug 09:14
Compare
Choose a tag to compare

Finally, the support for whereHas, has and withCount methods has been added to model query builder. The idea is to limit the parent rows based upon the existence of relationship. Docs will cover more about the usage

  • test: fix breaking tests 6175dbb
  • style: fix eslint errors 963b903
  • fix(migrator): getList method create schema table when missing d982261
  • feat: add support for has and whereHas methods b159609
  • fix: db credentials in .env file af10ecf
  • style: format source files 269697a
  • docs(contributing): fix link to contributing file dc62011
  • feat: allow defining custom alias for the withCount query df61f1d
  • feat: add support for withCount 469f193
  • fix: update method handle use case where values are falsy 232f16a
  • chore: integrate prettier and update source files 1fd882a
  • chore: update dependencies b4a38a3
  • improvement: allow dateTime columns to be optional 853822a

v8.2.2...v8.3.0

Added BaseSeeder and accept connection,client in model factories

21 Jun 05:49
Compare
Choose a tag to compare
  • improvement: update seeder template to use BaseSeeder f41a92d
  • improvement: allow passing model adapter options via the query method c5e44ac
  • feat: add BaseSeeder abd0882
  • feat: allow defining custom connection and client in factories fd64466
  • fix: prefix seeder to the class name 4d9ab93

v8.2.1...v8.2.2