Skip to content

Releases: adonisjs/lucid

Fix issue for disableTransactions flag being ignored for schema classes

12 Mar 07:59
Compare
Choose a tag to compare

21.6.1 (2025-03-12)

Bug Fixes

  • read disableTransactions flag from the current schema class (8cfc7b3)

What's Changed

New Contributors

Full Changelog: v21.6.0...v21.6.1

Handful of small improvements

24 Dec 06:48
Compare
Choose a tag to compare

Features

  • add db connection event types (4862c7d)
  • model_query_builder: add error.model for E_ROW_NOT_FOUND; (#1081) (334186f)
  • preloader: add preloadOnce to preload a relationship only once (#1078) (fbfadbe)

What's Changed

  • Add db connection event types by @adrianNEMO in #1074
  • feat(preloader): add preloadOnce to preload a relationship only once by @zaosoula in #1078
  • added decimalNumbers config to connection properties for compatibility to mysql by @siddiquipro in #1080
  • feat(model_query_builder): add error.model for E_ROW_NOT_FOUND; by @radiumrasheed in #1081

New Contributors

Full Changelog: v21.5.1...v21.6.0

Fix model.transaction method to behave exactly as db.transction

09 Dec 07:09
Compare
Choose a tag to compare

Bug Fixes

  • Model.transaction always create a transaction and do not re-use existing one (1afdd81)

Full Changelog: v21.5.0...v21.5.1

Improvements to unique and exists rule and add isDirty method

04 Dec 12:56
Compare
Choose a tag to compare

Bug Fixes

  • use correct property name for reading local primary key value (65790bf), closes #1069

Features

  • add isDirty method (#1068) (151f862)
  • add meta to all relations (#1042) (ade635f)
  • add support for creating transaction client from model (4a2adcd)
  • allow unique and exists validations to perform case insensitive search (761f823)

What's Changed

New Contributors

Full Changelog: v21.4.0...v21.5.0

Export relationships query clients and allow instanceName config property

13 Nov 08:07
Compare
Choose a tag to compare

Features

What's Changed

New Contributors

Full Changelog: v21.3.0...v21.4.0

Bug fixes and new features

10 Oct 07:37
Compare
Choose a tag to compare
  • Feat: Add loadOnce method to preload a relationship only when its not already preloaded.
  • Feat: Add support for --compact-output in migration:reset and migration:refresh commands.
  • Feat: Export Adapter and ModelPaginator from the ORM.
  • Fix: Clone the preloader when cloning the query builder

Bug Fixes

  • Clone the preloader when cloning the query builder (#1050) (18103ea)
  • lint script (edc3d3a)
  • run migration:reset via migrate test utils (9f669dd)

Features

  • add support for --compact-output flag in reset and refresh commands (89322f9)
  • export Adapter from orm (#1030) (cbbb4fd)
  • export ModelPaginator class (#1051) (76dd1e5)
  • orm: add loadOnce to lazy load a relationship only once (#1052) (96df6a6)

What's Changed

New Contributors

Full Changelog: v21.2.0...v21.3.0

Pin strtok3 and fix relationship query builder to apply constraints on subqueries

08 Aug 05:48
2fd32fc
Compare
Choose a tag to compare

v21.1.1...v21.2.0

What's Changed

  • fix: apply relationship constraints when using sub query in whereIn condition by @adamcikado in #1037

Full Changelog: v21.1.1...v21.2.0

Fix - Cleanup connection resources when using read replicas

25 Jul 05:27
Compare
Choose a tag to compare
  • test: fix failing tests 14f345a
  • test: add test for connection resource cleanup with replicas 2e002b7
  • fix: connection resource cleanup logic a9eac4b
  • fix: cleanup of resources when using replicas aa0a573
  • chore: update dependencies 2aee01a
  • chore: update dependencies 2d25ef0

Full Changelog: v21.1.0...v21.1.1

Display dialect names in configure prompts

19 Jun 02:41
Compare
Choose a tag to compare
  • refactor: configure command to display dialect name in prompts 596c153

v21.0.1...v21.1.0

Fix for last release

19 Jun 02:07
Compare
Choose a tag to compare
  • fix: broken import of libsql client 1afc648

Full Changelog: v21.0.0...v21.0.1