Releases: adonisjs/lucid
Releases · adonisjs/lucid
Getting package ready for the beta version of core
- 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
Handful of new additions and bug fixes
- 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
Improvements to the instructions invoke flow
Update `make:model` command to optionally generate migration & controller
Fix orderBy and nullable datetime columns bug
Fix for v8.4.0
- fix: typo in instructions file name 13196ac
Bug fixes and lots of improvements
Highlights
- The
paginate
method output now extendsArray
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
Adding support for case insensitive search in unique and exists rules
Wooah! We have got new relationship helper methods
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