chore(deps): migrate to sqlite3 3.x + drift_flutter 0.3.0#269
Merged
Conversation
- drift: ^2.23.1 → ^2.32.1 - drift_dev: ^2.23.1 → ^2.32.1 - drift_flutter: ^0.2.4 → ^0.3.0 - sqlite3_flutter_libs: ^0.5.30 removed (deprecated, 0.6.0 is no-op) - sqlite3: ^3.1.7 via drift_flutter transitive (was ^2.9.4) The sqlite3_flutter_libs package is deprecated. sqlite3 3.x uses Dart hooks to bundle SQLite binaries instead of Flutter build scripts. WORKAROUNDS (dependency_overrides): - analyzer: ^10.0.0 — riverpod_generator 4.0.3 pins ^9.0.0 but GitHub source already supports >=10.0.0 <13.0.0 (issue #4732). Remove when riverpod_generator publishes a new release. - dart_style: 3.1.7 — transitive via build_runner, incompatible with analyzer 10+. 3.1.8 requires analyzer ^12.0.0. Closes #257, #262.
This was referenced Apr 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrates from the deprecated
sqlite3_flutter_libspackage to the new sqlite3 3.x hook-based binary bundling.Changes
drift: ^2.23.1 → ^2.32.1drift_dev: ^2.23.1 → ^2.32.1drift_flutter: ^0.2.4 → ^0.3.0sqlite3_flutter_libs: ^0.5.30 removed (deprecated, 0.6.0 is end-of-life / no-op)sqlite3: ^3.1.7 via drift_flutter transitiveWhy
sqlite3_flutter_libs0.6.0 is deprecated and contains no code. sqlite3 3.x uses Dart hooks to download and bundle prebuilt SQLite binaries from GitHub releases, replacing the old Flutter plugin build script approach.Workarounds (dependency_overrides)
analyzer: ^10.0.0— riverpod_generator 4.0.3 pinsanalyzer ^9.0.0but the GitHub source already supports>=10.0.0 <13.0.0(riverpod_generator 4.0.3: analyzer dependency mismatch between pub.dev (^9.0.0) and GitHub (>=10.0.0 <13.0.0) rrousselGit/riverpod#4732). The published version just hasn't been released yet.dart_style: 3.1.7— transitive via build_runner, incompatible with analyzer 10+. 3.1.8 requires analyzer ^12.0.0.Verified
flutter pub getresolves cleanlydart run build_runner buildgenerates 365 outputsdart formatpassesflutter analyze --fatal-infospassesflutter test— all 423 tests passflutter build apk --debugcompilesCloses #257, closes #262.