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 in /packages/common/amplify_db_common_dart with 2 updates #4243

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 12, 2023

Bumps the drift group in /packages/common/amplify_db_common_dart with 2 updates: drift and drift_dev.

Updates drift from 2.12.1 to 2.14.1

Release notes

Sourced from drift's releases.

Drift 2.14.1

This minor release fixes bugs in the drift and the drift_dev packages:

  • Fix WasmProbeResult.open ignoring the ìnitializeDatabase callback.
  • Fix inconsistencies when generating Variable instances for columns with custom types.
  • Fix a build performance regression introduced in version 2.14.0 related to analyzing imports in drift files.

Drift 2.14

New features in drift:

  • Add the QueryInterceptor API to easily monitor or transform all database calls made by drift.
  • Add the count() extension on tables to easily count rows in tables or views.
  • For updates made in drift files, we now support the column-name-list syntax.

Changes to the generator:

  • Breaking change: The name of the generated row class derived from the name of the Dart table name now supports more forms of plurals. For instance, a table without a @DataClassName annotation named Categories would now generate a Category class instead of Categorie. This is done in a minor release because we assume users previously running into this are already using @DataClassName as a workaround.
  • Make versioned schema snapshots generated by drift_dev schema steps public.
  • Don't generate const row classes when they are extending a class which isn't const.
  • Fix indices attached to tables not generating reliably.

Drift 2.13

Core Library

  • Add support for custom types, which are useful when extending drift to support other database engines.
  • Add Expression.and and Expression.or to create disjunctions and conjunctions of sub-predicates.
  • Step-by-step migrations now save the intermediate schema version after each step.
  • The TypeConverter.json factory reduces the boilerplate needed to define type converters doing JSON conversions.

Backends

  • Add APIs to setup Wasm databases with custom drift workers.
  • The drift_postgres package is now available on pub.dev.

Utilities

  • Drift now provides a DevTools extension embedding the drift inspector written by Koen Van Looveren. When opening DevTools from Flutter's beta channel, a Drift tab is available to inspect open databases.
Commits
  • 7964782 Re-run generator
  • b7f9c28 Prepare release
  • f51eab3 Remove sponsorship badges
  • 829f451 Don't run discovery prematurely
  • e53035b update drift_wasm_test
  • 08e50d2 pass missing initializeDatabase property to WasmProbeResult.open
  • 417d1f5 Fix generating variables with custom types
  • 5115bc1 Fix modular example taking forever
  • 7774fcb Fix sqlite3 deprecation warning
  • 1563b99 Fix potential crash whne resolving columns
  • Additional commits viewable in compare view

Updates drift_dev from 2.12.1 to 2.14.1

Commits
  • 7964782 Re-run generator
  • b7f9c28 Prepare release
  • f51eab3 Remove sponsorship badges
  • 829f451 Don't run discovery prematurely
  • e53035b update drift_wasm_test
  • 08e50d2 pass missing initializeDatabase property to WasmProbeResult.open
  • 417d1f5 Fix generating variables with custom types
  • 5115bc1 Fix modular example taking forever
  • 7774fcb Fix sqlite3 deprecation warning
  • 1563b99 Fix potential crash whne resolving columns
  • 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 December 12, 2023 12:31
@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Dec 12, 2023
@dependabot dependabot bot force-pushed the dependabot/pub/packages/common/amplify_db_common_dart/drift-b5e4df757e branch from 9965bea to 875dfe1 Compare December 25, 2023 12:33
@dependabot dependabot bot force-pushed the dependabot/pub/packages/common/amplify_db_common_dart/drift-b5e4df757e branch from 875dfe1 to 8149e7d Compare January 4, 2024 12:46
Bumps the drift group in /packages/common/amplify_db_common_dart with 2 updates: [drift](https://github.com/simolus3/drift) and [drift_dev](https://github.com/simolus3/drift).


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

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

---
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
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pub/packages/common/amplify_db_common_dart/drift-b5e4df757e branch from 8149e7d to 3fbe36b Compare January 11, 2024 12:46
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 18, 2024

Superseded by #4357.

@dependabot dependabot bot closed this Jan 18, 2024
@dependabot dependabot bot deleted the dependabot/pub/packages/common/amplify_db_common_dart/drift-b5e4df757e branch January 18, 2024 12:26
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