Skip to content

Comments

Bump drift from 2.22.0 to 2.25.1#26

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pub/drift-2.25.1
Open

Bump drift from 2.22.0 to 2.25.1#26
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pub/drift-2.25.1

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Feb 14, 2025

Bumps drift from 2.22.0 to 2.25.1.

Release notes

Sourced from drift's releases.

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:

Core query builder:

  • Allow building compound select statements in Dart.
  • Support NULLS FIRST and NULLS LAST in manager API.

Generator and command line tools:

  • Fix custom companion names on @DataClassName not being recognized.

... (truncated)

Commits
  • 776f7aa Prepare patch release
  • be1ccd4 Add changelog entry for worker fix
  • b8b53b9 Fix imports of deprecated SDK libraries
  • c6454a2 Prefer using single quotes for the generated test description (#3472)
  • 6411ac7 Use const for the generated versions (#3471)
  • dd61bcf Fix new deprecation warning in snippet
  • c9e9c5c Test with Flutter 3.29
  • 228cbbe Merge pull request #3469 from brian-superlist/fix-worker-probe
  • d5d9964 Skip Firefox dart2wasm integration tests too
  • 8d53d4a Skip unit tests with dart2wasm on Firefox
  • 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.22.0 to 2.25.1.
- [Release notes](https://github.com/simolus3/drift/releases)
- [Commits](simolus3/drift@drift-2.22.0...drift-2.25.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Feb 14, 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