Skip to content
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

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 21, 2024

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

Updates drift from 2.18.0 to 2.20.0

Release notes

Sourced from drift's releases.

Drift 2.20.0

Drift changes

  • Add readPool parameter to NativeDatabase. It will spawn an additional pool of isolates used to serve multiple reads in parallel, which can improve performance in some specific workloads.
  • Mark legacy package:drift/web.dart as deprecated. Users should migrate to package:drift/wasm.dart.

drift_dev changes

  • Improve manager API to be able to resolve references when running queries.
  • Add TableIndex.sql, allowing database indexes to be defined in SQL without using drift files.
  • Add DataClassName.implementing, which can be used to make drift-generated row classes implement existing interfaces.

drift_flutter changes

  • Add DriftNativeOptions with shareAcrossIsolates option that will give multiple isolates access to the same drift database without having to manually set up ports.

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
  • c49bd49 Remove -dev suffix in drift_dev changelog
  • 48891cc Prepare drift release 2.20.0
  • 5b43cc9 Work around crypto regression in dart2js
  • 06ba381 Skip test failing due to crypto regression
  • aa9ced0 Mark legacy web APIs as deprecated
  • 28f50a8 Add DataClassName.implementing
  • 2a43158 Merge branch 'latest-release' into develop
  • 4863513 Backport package:web upgrade for drift 2.19.2
  • f74c5fa Migration docs: Strongly suggest tools
  • c52b6f1 Fix new lints
  • Additional commits viewable in compare view

Updates sqlite3 from 2.4.2 to 2.4.6

Commits
  • e1552ce Prepare pkg:sqlite3 2.4.6 for release
  • 54e6650 Support latest dependencies
  • ca9d78a Use clang driver to compile sqlite3 to wasm
  • 842b81c Wasm: Compile as reactor module
  • 719fde0 Fix sqlcipher on Android with Flutter 3.24
  • 07ef17b Fix link in custom wasm build readme
  • c028b09 Prepare 2.4.5 patch release
  • 3152537 Fix toString application on js big ints
  • a686c52 Fix deadlock in request synchronizer
  • 7bdca77 Only test on macos-latest, but also with dev sdk
  • Additional commits viewable in compare view

Updates drift_dev from 2.18.0 to 2.20.1

Commits
  • 206aa60 Release drift_dev 2.20.1
  • 0e777ef Merge pull request #3161 from simolus3/referenced-column-name-fix
  • 2bd9632 Update has local sqlite3 test to check version
  • dd70726 Fix name of referenced column in prefetch
  • c49bd49 Remove -dev suffix in drift_dev changelog
  • 48891cc Prepare drift release 2.20.0
  • 5b43cc9 Work around crypto regression in dart2js
  • 06ba381 Skip test failing due to crypto regression
  • aa9ced0 Mark legacy web APIs as deprecated
  • 28f50a8 Add DataClassName.implementing
  • 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 August 21, 2024 20:58
@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Aug 21, 2024
@dependabot dependabot bot force-pushed the dependabot/pub/packages/common/amplify_db_common_dart/drift-00a1735ab3 branch 6 times, most recently from ae9f774 to 84a9119 Compare August 30, 2024 12:24
@dependabot dependabot bot force-pushed the dependabot/pub/packages/common/amplify_db_common_dart/drift-00a1735ab3 branch from 84a9119 to b634100 Compare September 4, 2024 12:11
Bumps the drift group with 3 updates in the /packages/common/amplify_db_common_dart directory: [drift](https://github.com/simolus3/drift), [sqlite3](https://github.com/simolus3/sqlite3.dart) and [drift_dev](https://github.com/simolus3/drift).


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

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

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

---
updated-dependencies:
- dependency-name: drift
  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
- dependency-name: drift_dev
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: drift
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pub/packages/common/amplify_db_common_dart/drift-00a1735ab3 branch from b634100 to 275c32a Compare September 5, 2024 12:49
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 9, 2024

Superseded by #5431.

@dependabot dependabot bot closed this Sep 9, 2024
@dependabot dependabot bot deleted the dependabot/pub/packages/common/amplify_db_common_dart/drift-00a1735ab3 branch September 9, 2024 12:24
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