jarle / remix-adonisjs

Build fullstack Remix applications powered by AdonisJS
https://remix-adonisjs.matstack.dev/
MIT License
35 stars 2 forks source link

Bump @adonisjs/lucid from 20.6.0 to 21.1.0 #59

Open dependabot[bot] opened 2 months ago

dependabot[bot] commented 2 months ago

Bumps @adonisjs/lucid from 20.6.0 to 21.1.0.

Release notes

Sourced from @​adonisjs/lucid's releases.

Display dialect names in configure prompts

  • refactor: configure command to display dialect name in prompts 596c153

https://github.com/adonisjs/lucid/compare/v21.0.1...v21.1.0

Fix for last release

  • fix: broken import of libsql client 1afc648

Full Changelog: https://github.com/adonisjs/lucid/compare/v21.0.0...v21.0.1

Support for libSQL and new health checks

This release adds first-class support for libSQL and removes all options + types + methods related to legacy way of doing health checks. Instead, you must use the following two classes to register health checks with AdonisJS v6.

import db from '@adonisjs/lucid/services/db'
import { DbConnectionCountCheck, DbCheck } from '@adonisjs/lucid/database'

new HealthChecks().register([ new DbCheck(db.connection()), new DbConnectionCountCheck(db.connection()) ])

Breaking changes

  • The config.healthCheck property
  • Remove connection.getReport method.
  • Remove connectionManager.report method.
  • Remove ReportNode type.

Deprecations

  • Deprecate connection.dialectName in favor of connection.clientName. The clientName refers to the npm clients you can use with Knex and dialectName refers to the Lucid dialects. One dialect can be used with multiple clients. For example, the MySQL dialect can be used with mysql and mysql2 clients.

Commits

  • test: another attempt at fixing broken tests 8a4df1c
  • test: fix breaking tests 2d9697b
  • refactor: update usages of dialectName with clientName 7fedbfe
  • feat: add support for libsql and cleanup clients to dialects mapping 95f11d1
  • feat: export health check classes 1b32dca
  • feat: add database health checks and remove legacy health check flag 0373e7f
  • refactor: remove legacy health checks 32f377e
  • test: fix broken types 44da18c
  • chore: update peer dependencies 9dbd7fc
  • chore: update dependencies bdc32b5

Full Changelog: https://github.com/adonisjs/lucid/compare/v20.6.0...v21.0.0

Commits
  • 9fe4c2e chore(release): 21.1.0
  • 596c153 refactor: configure command to display dialect name in prompts
  • 62e3c2f chore(release): 21.0.1
  • 1afc648 fix: broken import of libsql client
  • 9fc57d6 chore(release): 21.0.0
  • 8a4df1c test: another attempt at fixing broken tests
  • 2d9697b test: fix breaking tests
  • 7fedbfe refactor: update usages of dialectName with clientName
  • 95f11d1 feat: add support for libsql and cleanup clients to dialects mapping
  • 1b32dca feat: export health check classes
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)