Skip to content

chore(deps): bump the drift group across 1 directory with 3 updates #5142

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 Jul 12, 2024

Bumps the drift group with 3 updates in the /packages/common/amplify_db_common_dart directory: drift, drift_dev and sqlite3.

Updates drift from 2.18.0 to 2.19.1

Release notes

Sourced from drift's releases.

Drift 2.19.1

This patch release fixes exclusively not working on the web (#3089). The fix requires a drift_worker.js update.

Drift 2.19.0 expands the migrator API and adds a method to exclusively use the database without a transaction (useful for things like setting pragmas which are unsupported in transactions).

  • Add exclusively method to database classes, allowing a block to temporarily take exclusive control over a database connection without starting a transaction.
  • Add the enableMigrations parameter to WasmDatabase to control whether drift migrations are enabled on that database.
  • Add initiallyDeferred option to references() column builder for foreign key constraints.
  • Add dropColumn method to Migrator.
  • Add selectExpressions method to build select statements without a FROM clause.
  • Both transaction and exclusively will wait for the transaction or the exclusive lock to be set up before invoking their callback now.
  • In drift files: Support for sqlite 3.46.0.

This release also fixes the following bugs:

  • Fix encoding BigInt arguments in batched statements sent to web workers. Note that the fix also requires the latest drift_worker.js to be effective.
  • Fix stream queries possibly cancelling a migration if they are the first method on the database.
  • Drift files: Make columns coming from subquery expressions nullable.
  • Fix generated CREATE VIEW statements containing existing row class syntax only supposed to be used during static analysis.
  • Fix Dart views referencing the same column from different table aliases using columns with the same name.
  • Fix drift_dev schema steps generating invalid code when no migrations have been defined yet.
  • Fix generated imports for extension member references in modular mode.

While not part of the core packages in this repository, another addition is drift_hrana, which allows using drift with a libsql server - that may be useful for some Dart backends using Turso or related offerings.

Commits
  • 7b2168c Fix exclusively connection close on web
  • db72e13 Interceptors: Mention how to apply in docs
  • 2e343a5 Prepare 2.19 release
  • defdafc Revert "Merge pull request #3070 from dickermoshe/withRefs" (#3085)
  • 0a2e0e9 Make extension references explicit
  • ca7f177 Reflect that root isolate token can be null
  • 84548b6 Fix typo in documentation (#3074)
  • 01a009c Add import for type references in views
  • 313371c Merge pull request #3070 from dickermoshe/withRefs
  • 95d4e48 refactor: base class for withReferences
  • Additional commits viewable in compare view

Updates drift_dev from 2.18.0 to 2.19.0

Commits

Updates sqlite3 from 2.4.2 to 2.4.4

Commits
  • 9b45662 Return value from callable to work around VM issue
  • db5077b Update expected sqlite3 wasm version
  • 89df480 Remove js-interop workaround
  • 6f5aa2d Update docs on how to compile sqlite3 on macos
  • d3a7aa5 Enable SQLITE_ENABLE_DBSTAT_VTAB (#238)
  • 1a79d68 Clarify changelog
  • c957925 Bump changelog version
  • 8ed25af Update changelog
  • 9db337f Enable extension loading
  • 53cc4be Update min ios version on flutter libs
  • Additional commits viewable in compare view

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot requested a review from a team as a code owner July 12, 2024 12:49
@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Jul 12, 2024
@jeff-matawan
Copy link

When will this be merged ? I currently blocks the latest drift version

@dependabot dependabot bot force-pushed the dependabot/pub/packages/common/amplify_db_common_dart/drift-51548c3045 branch 3 times, most recently from 093df61 to 39340df Compare July 17, 2024 20:38
@dependabot dependabot bot force-pushed the dependabot/pub/packages/common/amplify_db_common_dart/drift-51548c3045 branch 2 times, most recently from dfb7148 to 9ff848c Compare July 23, 2024 12:27
Bumps the drift group with 3 updates in the /packages/common/amplify_db_common_dart directory: [drift](https://github.com/simolus3/drift), [drift_dev](https://github.com/simolus3/drift) and [sqlite3](https://github.com/simolus3/sqlite3.dart).


Updates `drift` from 2.18.0 to 2.19.1
- [Release notes](https://github.com/simolus3/drift/releases)
- [Commits](simolus3/drift@drift-2.18.0...drift-2.19.1)

Updates `drift_dev` from 2.18.0 to 2.19.0
- [Release notes](https://github.com/simolus3/drift/releases)
- [Commits](simolus3/drift@drift_dev-2.18.0...drift_dev-2.19.0)

Updates `sqlite3` from 2.4.2 to 2.4.4
- [Release notes](https://github.com/simolus3/sqlite3.dart/releases)
- [Commits](simolus3/sqlite3.dart@sqlite3-2.4.2...sqlite3-2.4.4)

---
updated-dependencies:
- dependency-name: drift
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: drift
- dependency-name: drift_dev
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: drift
- dependency-name: sqlite3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: drift
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pub/packages/common/amplify_db_common_dart/drift-51548c3045 branch from 9ff848c to 2e17f8a Compare July 26, 2024 12:56
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 29, 2024

Superseded by #5214.

@dependabot dependabot bot closed this Jul 29, 2024
@dependabot dependabot bot deleted the dependabot/pub/packages/common/amplify_db_common_dart/drift-51548c3045 branch July 29, 2024 12:35
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.

1 participant