Releases: adonisjs/lucid
Releases · adonisjs/lucid
Do not attempt to remove types and views when not supported by db
- chore: release under latest tag 0889732
- refactor: do not attempt to remove types and views when not support by db 780167a
- refactor: log message when performing version upgrade 454ecb2
- test: migrate to the new Japa (#803) cb15d56
PRs
- refactor: migrate to the new Japa by @Julien-R44 in #803
- Small improvements for PR 764 by @thetutlage in #802
Full Changelog: v17.0.0...v17.0.1
Full of goodies
Highlights
- This release includes a drop-in replacement for
faker-js
(a project no longer active) - Support for
better-sqlite3
. 16x faster replacement to sqlite3. - Fixing migration names to be platform agnostics
- New commands
migration:refresh
,migration:reset
,migration:fresh
anddb:wipe
.
Breaking changes
- The
returning
method now returns an array of objects, even when one column is mentioned. It is a direct result of changes made by knex knex/knex#4471 - The
sqlite3
package is no longer supported. Instead, you can use@vscode/sqlite3
as a drop-in replacement. - The
fakerjs
package is no longer supported. Instead, you can use@faker-js/faker
as a drop-in replacement.
Commits
- chore: release under next tag cad1e8c
- test: fix breaking tests 6ea257b
- fix: Fix migration filenames to be platform agnostic eecdc56
- fix: retain existing attributes when calling loadCount on the model instance 0e19c53
- refactor: remove unused imports 27e1dfd
- feat: add support for better-sqlite3 5d006b8
- fix: ddl logs to lowercase the SQL query b991e82
- chore: dropping log statements to debug failing mssql tests 5aea733
- ci: update docker setup and failing mysql tests a118455
- test: fixing breaking tests after knex upgrade 851b23f
- ci: running sqlite tests outside of docker 78c4939
- ci: attempt to fix sqlite3 errors 5149a81
- refactor: allow returning calls for sqlite 3b3bb7a
- chore: attempt to fix dockerfile python issues b7ce89c
- fix: node-gyp docker-alpine error and switch to lts 3d9f752
- chore: use @vscode/sqlite3 over sqlite3 02468dc
- test: fix test script path d27a87f
- chore: update dependencies e35170f
- refactor: reorganize meta config 64bffa4
- chore: update dependencies bfcc2e6
- refactor: use @faker-js/faker instead of faker (#791) 759f2e4
- feat: add
getAllViews
getAllTypes
dropAllTypes
anddropAllViews
functions (#784) f7aa5b9 - feat: add
migration:refresh
,migration:reset
,migration:fresh
anddb:wipe
commands (#764) 441d9b5 - refactor: add missing "wrapIdentifier" option on PostgreConfig (#763) 19990dc
- feat(real): add helper to load all factories (#760) 7e88ad6
- refactor(stub): Enable foreign key support in SQLite config 87ce418
PRs
- Enable foreign key support in SQLite by @akatora28 in #745
- Add helper to load all factories by @RomainLanz in #760
- Adding "wrapIdentifier" option on PostgreConfig by @lucianostegun in #763
- Add
migration:refresh
,migration:reset
,migration:fresh
anddb:wipe
commands by @Julien-R44 in #764 - feat: add
getAllViews
getAllTypes
dropAllTypes
anddropAllViews
functions by @Julien-R44 in #784 - use @faker-js/faker instead of faker by @bnoufel in #791
New Contributors
- @akatora28 made their first contribution in #745
- @lucianostegun made their first contribution in #763
- @Julien-R44 made their first contribution in #764
- @bnoufel made their first contribution in #791
Full Changelog: v16.3.2...v17.0.0
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