Migrate to work with AdonisJS v6 core
Pre-release
Pre-release
This release updates the Lucid codebase to work with AdonisJS v6. There are minor breaking changes in the API of the ORM, alongside the ESM migration.
Breaking changes
- The package is ESM only.
- The
@ioc
style import paths have been removed in favor of standard imports. The final AdonisJS migration guide will contain the new import paths. - The deprecated
developmentOnly
flag has been removed from seeders. Useenvironment
property instead. - Rename
table
CLI flag inmake:migration
command toalter
. - The
alter
andcreate
CLI flags inmake:migration
command now accept boolean values and act as an action.
That is all!
Commits
- chore: update dependencies and peer dependencies c9d28af
- docs: update README 98d74e9
- ci: update typecheck job's command e50c45d
- fix: path for sqlite and mssql db password f41bd17
- fix: env variables 25d6e87
- ci: fix env vars cabefba
- ci: fix env vars 9472db9
- feat: add configure instructions 1417942
- test: fix breaking tests 3a219a6
- refactor: remove test utils and validator bindings for now 49b33b6
- refactor: migrate commands 50b098b
- refactor: migrate factories codebase 2ecaac6
- refactor: relationships module 7af92d9
- feat: migrate orm BaseModel 532b9cb
- refactor: migrate seeders module 887f5f1
- refactor: migrate migrations module 26c7466
- refactor: migrate schema module c523cc2
- refactor: migrate connection and db modules 145ee86
Full Changelog: v18.4.0...v19.0.0-0