Skip to content

Releases: adonisjs/lucid

Use latest API for publishing stubs

26 Dec 06:23
Compare
Choose a tag to compare
Pre-release
  • test: fix breaking tests ae35d24
  • refactor: update stubs to use latest APIs 0556cb5

Full Changelog: v19.0.0-6...v19.0.0-7

All bug fixes

15 Dec 09:25
Compare
Choose a tag to compare
All bug fixes Pre-release
Pre-release
  • test: remove searchPath from postgreSQL config 4b10565
  • refactor: add connectionString config option in postgresql config 2ae295b
  • fix(orm): use naming strategy for computed field (#970) 073fee4
  • fix: mention search paths from config during db:wipe and db:truncate commands 5e99253
  • fix: make models inherit relationships 8a6f894
  • refactor: deprecate useTransaction method usage on query builder 223db39
  • fix: passing connection debug flag to relationships loaded via model instance b44d15e
  • fix: logic for wrapping existing where clauses when applying relationship constraints 45cad2e
  • chore: package update dependencies 638b150
  • fix: release connection in provider shutdown (#977) 8b839d3

What's Changed

Full Changelog: v19.0.0-5...v19.0.0-6

Add unique and exists rules

28 Nov 05:27
Compare
Choose a tag to compare
Pre-release
  • refactor: define vine types within the provider ceec581
  • refactor: do not promopt for db selection when --db flag is used 58244db
  • refactor: create tmp directory during configure for sqlite dialect c952219
  • feat: add unique and exists validation rules ef6fbc3
  • refactor: remove useTz flag from timestamps 0ebd2ee
  • fix: invalid migration alter stub 811e059
  • feat: add type info for db:query event 1e5bab3
  • refactor: do not import env when using sqlite driver 797957d

Full Changelog: v19.0.0-4...v19.0.0-5

Update dependencies

27 Nov 11:03
Compare
Choose a tag to compare
Update dependencies Pre-release
Pre-release

What's Changed

  • fix: correct a typo in the readme by @maevdb in #969

New Contributors

  • @maevdb made their first contribution in #969

Full Changelog: v19.0.0-3...v19.0.0-4

Bug fixes and update dependencies

20 Oct 06:54
Compare
Choose a tag to compare
Pre-release
  • chore: update dependencies a6f290d
  • feat(errors): use new way to define exceptions (#966) 123b275
  • fix(configure): add missing luxon install (#964) 492f476
  • fix(datetime): check equalities properly (#959) a66f901
  • fix(migrator): set primary key for schema_versions table (#957) 62e5b5e
  • fix(types): allow belongs to and has one to be null (#958) a014c21

What's Changed

Full Changelog: v19.0.0-2...v19.0.0-3

Change default env variable values

26 Sep 07:16
dcd0dd8
Compare
Choose a tag to compare
  • fix(configure): change localhost to 127.0.0.1 0417d84

Full Changelog: v18.4.1...v18.4.2

Relations can now be nullable

22 Sep 07:15
14befae
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v18.4.0...v18.4.1

Correct types path & definition of the $adapter property

21 Sep 17:42
Compare
Choose a tag to compare

What's Changed

Full Changelog: v19.0.0-1...v19.0.0-2

Remove IoC container dependency and some bug fixes

20 Sep 03:39
Compare
Choose a tag to compare
  • test: fix breaking test 2cc1460
  • feat: add BaseModel.useAdapter method to define an adapter for the model 498572f
  • feat: add method to create a model adapter from database service 1f6cf33
  • refactor: remove container dependency 054554f
  • fix: bug fixes from the last release e4bd887

Full Changelog: v19.0.0-0...v19.0.0-1

Migrate to work with AdonisJS v6 core

20 Sep 02:36
Compare
Choose a tag to compare
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. Use environment property instead.
  • Rename table CLI flag in make:migration command to alter.
  • The alter and create CLI flags in make: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