Skip to content

build(deps): bump drift from 2.15.0 to 2.26.1 in /packages/espressocash_app #1735

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 11, 2025

Bumps drift from 2.15.0 to 2.26.1.

Release notes

Sourced from drift's releases.

Drift 2.26.1

This patch release mainly fixes issues in drift_dev:

  • Avoid the use of the shared database cache in the SchemaVerifier implementation.
  • Fix crash when drift_dev schema dump is used on SQLite databases with triggers, views or indexes.
  • CLI: Don't exit with code 0 when no command was selected.
  • Fix generatedAs not being generated for versioned schema imports.

And adds two minor API additions to drift:

  • Add isNotNull() column filter for the manager APIs.
  • Add optional orderBy parameter to more aggregate function extension.

Drift 2.26.0

This release adds support for window functions in the Dart query builder (through WindowFunctionExpression) and contains improvements to the generator:

  • Fix warning on Dart-defined views referencing the same table multiple times.
  • Don't generate unnecessary verification code.
  • Suggest a test with data integrity when adding a new column without a default value in make-migrations.

Drift 2.25.0

Core drift package:

  • Report SqliteExceptions occurring on workers as SqliteException instances. Previously, they were sent as strings only.
  • Fix LazyDatabase being closed without ever being used potentially leaking resources.

In the generator:

  • Fix incorrect code when applying non-nullable type converters with a nullable JSON type to nullable column.
  • Fix missing outputs for drift files only consisting of imports in modular generation mode.
  • Allow generating manager references across different files in modular generation mode.
  • Fix class names with dollar signs not being escaped in drift-generated toString().
  • Make-migrations command: Use flutter_test if the core test package is unavailable and warn when database class needs changes for test.

Drift 2.24.0

This version improves jsonb support and adds other minor improvements:

  • Add TypeConverter.jsonb to directly store values in the JSONB format used by SQLite.
  • Deprecate TypeConverter.json utility in favor of TypeConverter.json2. The new method avoids encoding values twice when mapping drift row classes to JSON. The documentation
  • Add runWithInterceptor method to databases to only apply interceptors in a restricted block.

In the generator, we:

  • Support versions 7.x of the analyzer package.
  • Add analysis support for SQLite 3.48.
  • Fix nullability analysis around fts5 tables (enabled when raising the version to 3.48 to preserve backwards-compatibility).

Drift 2.23.1

... (truncated)

Commits
  • cc7f29a Prepare drift and drift_dev release
  • 96a8d4f Improve make-migrations docs
  • 8ca4629 Ignore user_version errors for step by step
  • 0b20fe1 Reference @​Musta-Pollo sync example
  • 259d14e Update analyzer and mockito in drift
  • f6fa5a2 Allow extracting schema version from field
  • 15a27cd CLI: Don't exit with code 0 without command
  • 64885f6 Add file path to error message in make-migrations script
  • fd42712 Ensure statements from database have AST
  • 2fa6781 Avoid shared cache for verifier
  • 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 <dependency name> 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)

Bumps [drift](https://github.com/simolus3/drift) from 2.15.0 to 2.26.1.
- [Release notes](https://github.com/simolus3/drift/releases)
- [Commits](simolus3/drift@drift-2.15.0...drift-2.26.1)

---
updated-dependencies:
- dependency-name: drift
  dependency-version: 2.26.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dart Pull requests that update dart code dependencies Pull requests that update a dependency file labels May 11, 2025
@dependabot dependabot bot requested a review from ookami-kb as a code owner May 11, 2025 08:52
@dependabot dependabot bot added dependencies Pull requests that update a dependency file dart Pull requests that update dart code labels May 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dart Pull requests that update dart code dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants