Skip to content

Bump drift from 2.22.0 to 2.24.0#21

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/drift-2.24.0
Closed

Bump drift from 2.22.0 to 2.24.0#21
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/drift-2.24.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jan 22, 2025

Copy link
Copy Markdown

Bumps drift from 2.22.0 to 2.24.0.

Release notes

Sourced from drift's releases.

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.
  • Improve schema exports to resolve default values instead of embedding their source.
  • Update dependencies to support latest dart_style version.
  • Fix generating dialect-specific code when only a single dialect (that isn't sqlite3) is enabled.
Commits

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.24.0.
- [Release notes](https://github.com/simolus3/drift/releases)
- [Commits](simolus3/drift@drift-2.22.0...drift-2.24.0)

---
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 Jan 22, 2025
@dependabot @github

dependabot Bot commented on behalf of github Feb 10, 2025

Copy link
Copy Markdown
Author

Superseded by #25.

@dependabot dependabot Bot closed this Feb 10, 2025
@dependabot dependabot Bot deleted the dependabot/pub/drift-2.24.0 branch February 10, 2025 16:07
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