Skip to content

chore(deps): update dependency @adonisjs/lucid to v22#39

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/adonisjs-lucid-22.x
Open

chore(deps): update dependency @adonisjs/lucid to v22#39
renovate[bot] wants to merge 1 commit intomainfrom
renovate/adonisjs-lucid-22.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 2, 2026

This PR contains the following updates:

Package Change Age Confidence
@adonisjs/lucid ^21.8.1^22.4.2 age confidence

Release Notes

adonisjs/lucid (@​adonisjs/lucid)

v22.4.2: Custom schema rules correctly override default decorators

Compare Source

Bug Fixes
  • schema-generator: prevent default decorators from leaking into custom schema rules
    (66e0a5c)

loadRules() was using deepmerge without custom merge strategies, which caused two issues:

  1. decorators array format: default decorators were concatenated with user-defined ones instead of being replaced (e.g.
    [@column(), @​decimal()] instead of just [@decimal()])
  2. Deprecated decorator string format: the default decorators array took precedence over the user's decorator string,
    silently ignoring it

Custom type and column rules now correctly replace the defaults.

v22.4.1: Unlock Knex version

Compare Source

This release unlock Knex version

v22.4.0: Add test assertion helpers, support for multiple decorators and bug fixes

Compare Source

Bug Fixes
Features
  • assertion testing helpers (#​1161) (8a5cd06)
  • handle invalid JS identifiers in schema generator and add structured decorators (e150d15), closes #​1166

What's Changed

New Contributors

Full Changelog: adonisjs/lucid@v22.3.0...v22.4.0

v22.3.0: Make transformer alongside model and update scaffolding commands to accept stub path from CLI

Compare Source

Features
  • add --contents-from flag and --transformer support to make commands (b07ec04)

Full Changelog: adonisjs/lucid@v22.2.0...v22.3.0

v22.2.0: Pin Knex to version 3.1.0

Compare Source

Bug Fixes
  • prevent primary key columns from being marked as nullable in generated schema (fe5caa4)
  • use parameterized bindings and knex.ref() for SQL identifiers across dialects and vinejs bindings (6245220)
Features

v22.1.1: Fix primary keys detection in schema generation and generate schema classes for non-public PostgreSQL schemas

Compare Source

Bug Fixes
  • add getPrimaryKeys to transaction client (25a8965)
  • detect primary keys from database instead of hardcoding id column (6375708)
  • make dialects schema-aware for non-public PostgreSQL schemas (6993d07), closes #​1147
  • use string instead of text for primary key test columns (2f277ed)

Full Changelog: adonisjs/lucid@v22.1.0...v22.1.1

v22.1.0: Add support for CTE and onConflict expression builder support to InsertQueryBuilder

Compare Source

Bug Fixes
  • guard dialect-specific insert tests for mssql and mysql compatibility (b19c048)
  • sort columns alphabetically in schema generator for deterministic output (7b12c6a)
Features
  • add onConflict, CTE, and comment support to InsertQueryBuilder (a92abf7)

Full Changelog: adonisjs/lucid@v22.0.0...v22.1.0

v22.0.0: Tables to model schema generation and integration with Transformers

Compare Source

Please check all 22.0.0 pre-releases to get a better sense of what changed

Bug Fixes

  • prevent redundant loadOnce on null 1:1 preloads (#​1142) (25d651f)
  • broken types (d7ada34)
  • handle Database.raw in prepare method for update operations (17aa2bf), closes #​1079
  • properly quote column names in groupLimit window functions (5922062), closes #​1110
  • truncateAll implementation of sqlite and MSSQL (f559bf7)
  • types generation when same data type varies among dialects (f1e62f7)

Features

  • add toAttributes method to BaseModel and LucidRow (2d9d1f0)
  • extend BaseTransformer method Lucid specific aggregate methods (16ff8d2)
  • add auto-booting to BaseModel for models without decorators (b650cca)
  • change make:model stub to use Schema class (166859a)
  • exclude migrations table from schema generation (6a107e7)
  • allow column name to be optional in unique and exists rule (f6e41c1)
  • add support for generating schema classes (d71bedb)
  • add support for table-qualified column aliases in models (e9dcde4)
  • add truncateAllTables method to dialects and query client (ddd7e74)

What's Changed

Full Changelog: adonisjs/lucid@v21.8.0...v22.0.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "on Monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/adonisjs-lucid-22.x branch 2 times, most recently from 8cb9bdb to a67c0b5 Compare March 12, 2026 09:39
@renovate renovate bot force-pushed the renovate/adonisjs-lucid-22.x branch 3 times, most recently from aa6bd9c to 644225e Compare March 30, 2026 05:07
@renovate renovate bot force-pushed the renovate/adonisjs-lucid-22.x branch 2 times, most recently from 27bfb17 to 0a8e8eb Compare April 1, 2026 17:31
@renovate renovate bot force-pushed the renovate/adonisjs-lucid-22.x branch from 0a8e8eb to db0bfb6 Compare April 5, 2026 09:58
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 5, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8d5a6250-0083-4b83-8890-abb98574e3bb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/adonisjs-lucid-22.x

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants