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 #5439

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 11, 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.2

Release notes

Sourced from drift's releases.

Drift 2.20.1

This patch release fixes the following issues:

Core drift package

  • Migrate legacy package:drift/web.dart to the new JS interop SDK libraries. For backwards compatibility, the channel() extension on the MessagePort class in dart:html has been kept. Once dart:html is removed from the Dart SDK, that extension will have to be removed from drift as well.
  • Fix cast errors in the protocol for remote workers when compiling with dart2wasm.
  • Introduce a faster protocol for communicating with workers. This protocol is enabled automatically after upgrading drift_worker.js.

Generator

  • Strip leading numbers when generating modular accessor names for drift files, fixing syntax errors.
  • Support triggers targeting views.
  • Include dialect-specific constraints in exported schema files.
  • Fix schema export not respecting column constraints of the target dialect.
  • Resolve json_extract return types from context if possible.

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:

... (truncated)

Commits
  • 0dce5e8 Prepare patch release
  • 3288a18 fix(drift_dev): Deserialization of view triggers
  • 5e8b254 Delete unreachable default clauses. (#3209)
  • 74af262 Prepare minor drift release
  • 6dadf68 Fix serving web tests manually
  • 593bb55 Merge pull request #3206 from simolus3/manager-shorthand-null
  • 2c98d15 Support null in ColumnFilters.call
  • 50c620b Merge pull request #3202 from FMorschel/issue-template-docs
  • d999c83 description for aditional info
  • 9d35aca better description for improvement
  • 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.3

Commits
  • 0dce5e8 Prepare patch release
  • 3288a18 fix(drift_dev): Deserialization of view triggers
  • 5e8b254 Delete unreachable default clauses. (#3209)
  • 74af262 Prepare minor drift release
  • 6dadf68 Fix serving web tests manually
  • 593bb55 Merge pull request #3206 from simolus3/manager-shorthand-null
  • 2c98d15 Support null in ColumnFilters.call
  • 50c620b Merge pull request #3202 from FMorschel/issue-template-docs
  • d999c83 description for aditional info
  • 9d35aca better description for improvement
  • 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 September 11, 2024 12:18
@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Sep 11, 2024
@dependabot dependabot bot force-pushed the dependabot/pub/packages/common/amplify_db_common_dart/drift-6c4ab5a63f branch 5 times, most recently from c5260cf to 4214744 Compare September 19, 2024 12:43
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.2
- [Release notes](https://github.com/simolus3/drift/releases)
- [Commits](simolus3/drift@drift-2.18.0...drift-2.20.2)

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.3
- [Release notes](https://github.com/simolus3/drift/releases)
- [Commits](simolus3/drift@drift_dev-2.18.0...drift_dev-2.20.3)

---
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-6c4ab5a63f branch from 4214744 to abef9a1 Compare September 19, 2024 13:53
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