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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 4, 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.0

Release notes

Sourced from drift's releases.

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
  • 633cc52 Prepare 2.14 release
  • 27b459d Fix attached index not resolving
  • 09d450e Fix height of db viewer in devtools
  • a973de3 Revert unintentional change to example
  • 5740eb8 Fix generated code with $ in identifier names
  • 99bb9e0 Mention JSON support in expressions page
  • 434982a Make schema classes public (#2749)
  • 81d7e92 Fetch stream if outstanding requests are cancelled
  • 08241bf Merge branch 'more-plurals' into develop
  • 28c3c44 Re-run builders, add changelog entry
  • Additional commits viewable in compare view

Updates drift_dev from 2.12.1 to 2.14.0

Commits
  • 633cc52 Prepare 2.14 release
  • 27b459d Fix attached index not resolving
  • 09d450e Fix height of db viewer in devtools
  • a973de3 Revert unintentional change to example
  • 5740eb8 Fix generated code with $ in identifier names
  • 99bb9e0 Mention JSON support in expressions page
  • 434982a Make schema classes public (#2749)
  • 81d7e92 Fetch stream if outstanding requests are cancelled
  • 08241bf Merge branch 'more-plurals' into develop
  • 28c3c44 Re-run builders, add changelog entry
  • 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 4, 2023 12:09
@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Dec 4, 2023
@dependabot dependabot bot force-pushed the dependabot/pub/packages/common/amplify_db_common_dart/drift-6e474ee7f7 branch 2 times, most recently from 86059bc to cb5a713 Compare December 6, 2023 12:53
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.0
- [Release notes](https://github.com/simolus3/drift/releases)
- [Commits](simolus3/drift@drift-2.12.1...drift-2.14.0)

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

---
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-6e474ee7f7 branch from cb5a713 to f4a5ff3 Compare December 6, 2023 23:52
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 12, 2023

Superseded by #4243.

@dependabot dependabot bot closed this Dec 12, 2023
@dependabot dependabot bot deleted the dependabot/pub/packages/common/amplify_db_common_dart/drift-6e474ee7f7 branch December 12, 2023 12:31
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