Skip to content

build(deps): bump drift from 2.15.0 to 2.26.0 in /packages/espressocash_app #1720

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

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps drift from 2.15.0 to 2.26.0.

Release notes

Sourced from drift's releases.

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

This patch release fixes the following issues:

  • Fix TableStatements.insertAll to only apply a database-specific pragma for SQLite databases.
  • Don't attempt to roll-back transactions that failed to begin.
  • Fix unhandled exception when cancelling transactions.
  • Fix deadlock when drift databases are used in a fake_async Zone and then closed outside that zone.

Also, drift_dev version 2.23.1 contains one improvement:

  • Generate typed reference-resolving queries through the manager API when modular code-generation is enabled. Previously, this feature was only enabled for monolithic generation modes.

Drift 2.23.0

This drift release contains smaller fixes and new features:

... (truncated)

Commits
  • 7295a3a Fix building devtools extension
  • 06ef17d Prepare release
  • ea903ff Suggest running flutter test in Flutter projects
  • 33af57f Suggest testing data for columns without default
  • e09cfe7 Fix deprecated local storage invocations
  • e536157 Document stream limitation of customStatement
  • 34cd2cb Docs: MIgrate user version when encrypting existing databases
  • 73b8e76 Merge pull request #3485 from simolus3/dickermoshe-patch-1
  • 9d57869 Update database.dart
  • 6bbf0f9 Allow empty writeReturning for updates
  • 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)

@dependabot dependabot bot added dart Pull requests that update dart code dependencies Pull requests that update a dependency file labels May 1, 2025
@dependabot dependabot bot requested a review from ookami-kb as a code owner May 1, 2025 20:23
Bumps [drift](https://github.com/simolus3/drift) from 2.15.0 to 2.26.0.
- [Release notes](https://github.com/simolus3/drift/releases)
- [Commits](simolus3/drift@drift-2.15.0...drift-2.26.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pub/packages/espressocash_app/drift-2.26.0 branch from 58a6673 to c8e0f27 Compare May 10, 2025 15:14
Copy link
Contributor Author

dependabot bot commented on behalf of github May 11, 2025

Superseded by #1735.

@dependabot dependabot bot closed this May 11, 2025
@dependabot dependabot bot deleted the dependabot/pub/packages/espressocash_app/drift-2.26.0 branch May 11, 2025 08:52
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