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 with 9 updates #4331

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 10, 2024

Bumps the drift group with 9 updates:

Package From To
drift 2.12.1 2.14.1
built_value_generator 8.7.0 8.8.1
dart_style 2.3.2 2.3.4
ffigen 9.0.1 11.0.0
code_builder 4.7.0 4.10.0
package_info_plus 4.2.0 5.0.1
drift_dev 2.12.1 2.14.1
built_value 8.7.0 8.8.1
pigeon 11.0.1 16.0.0

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 built_value_generator from 8.7.0 to 8.8.1

Release notes

Sourced from built_value_generator's releases.

Allow serializing record fields

  • Allow classes with record fields to be serialized if they use a typedef for the record type and install a custom Serializer for it.
Changelog

Sourced from built_value_generator's changelog.

8.8.1

  • Fix codegen for enum wire keys when there is a $ in the field name.
  • Remove support for generating legacy (<2.12) Dart code.

8.8.0

  • Allow classes with record fields to be serialized if they use a typedef for the record type and install a custom Serializer for it.
Commits

Updates dart_style from 2.3.2 to 2.3.4

Release notes

Sourced from dart_style's releases.

package:dart_style v2.3.4

  • Add tall-style experiment flag to enable the in-progress unstable new formatting style (#1253).
  • Format extension types.
  • Normalize ignored whitespace and "escaped whitespace" on first line of multiline string literals. (#1235)
Changelog

Sourced from dart_style's changelog.

2.3.4

  • Add tall-style experiment flag to enable the in-progress unstable new formatting style (#1253).
  • Format extension types.
  • Normalize ignored whitespace and "escaped whitespace" on first line of multiline string literals. (#1235)

2.3.3

  • Always split enum declarations containing a line comment (#1254).
  • Fix regression in splitting type annotations with library prefixes (#1249).
  • Remove support for inline class since that syntax has changed.
  • Add --enable-experiment command-line option to enable language experiments. The library API also supports this with DartFormatter.experimentFlags.
Commits

Updates ffigen from 9.0.1 to 11.0.0

Release notes

Sourced from ffigen's releases.

package:ffigen v11.0.0

  • Any compiler errors/warnings in source header files will now result in bindings to not be generated by default, since it may result in invalid bindings if the compiler makes a wrong guess. A flag --ignore-source-errors (or yaml config ignore-source-errors: true) must be passed to change this behaviour.
  • Breaking change: Stop generating setters for global variables marked const in C.
  • Fix objc_msgSend being used on arm64 platforms where it's not available.
  • Fix missing comma with ffi-native functions marked leaf.
  • Add support for finding libclang in Conda environment.

package:ffigen v10.0.0

  • Stable release targeting Dart 3.2 using new dart:ffi features available in Dart 3.2 and later.
  • Add support for ObjC Blocks that can be invoked from any thread, using NativeCallable.listener.
  • Fix invalid exceptional return value ObjCBlocks that return floats.
  • Fix return_of_invalid_type analysis error for ObjCBlocks.
  • Fix crash in ObjC methods and blocks that return structs by value.
  • Fix ObjC methods returning instancetype having the wrong type in sublasses.
  • When generating typedefs for Pointer<NativeFunction<Function>>, also generate a typedef for the Function.
  • Use Dart wrapper types in args and returns of ObjCBlocks.
  • Use Dart wrapper types in args and returns of static functions.
  • Renamed asset to assetId for ffi-native.
Commits
  • 0605d9a [ffigen] Release 11 Stable (#872)
  • 0ffdccc [ffigen] Search dylib in conda env path (#869)
  • 985ddd0 Fix clang "sometimes-uninitialized" and "unused-variable" warnings (#865)
  • 8107f37 [native_toolchain_c] Export environmentFromBatchFile (#864)
  • 2b1fbf8 [ffigen] fix syntax for leaf ffiNative functions (#861)
  • dbe57a1 [native_assets_cli] Add example using dart_api_dl.h (#858)
  • a0949f5 Workflow cleanups (#846)
  • 4282d81 [native_assets_builder] Remove autopublishing workaround (#850)
  • 5aeab29 [native_assets_builder] Handle non-existing package names (#844)
  • ec9e2b2 [native_assets_builder] Don't use FFIgen in test (#843)
  • Additional commits viewable in compare view

Updates code_builder from 4.7.0 to 4.10.0

Release notes

Sourced from code_builder's releases.

package:code_builder v4.9.0

  • Add Library.generatedByComment to support emitting 'generated by' comments.
  • Support emitting an unnamed library with annotations.
Changelog

Sourced from code_builder's changelog.

4.10.0

  • Add Library.docs to support emitting doc comments on libraries.
  • Export RepresentationDeclaration and RepresentationDeclarationBuilder so they can be used when generating extension types.
  • Upgrade to dart_style 2.3.4.

4.9.0

  • Add Library.generatedByComment to support emitting 'generated by' comments.
  • Support emitting an unnamed library with annotations.

4.8.0

  • Add Expression.operatorSubtract
  • Deprecate Expression.operatorSubstract
  • Add Expression.operatorIntDivide
  • Add Expression.operatorUnaryPrefixIncrement
  • Add Expression.operatorUnaryPostfixIncrement
  • Add Expression.operatorUnaryMinus
  • Add Expression.operatorUnaryPrefixDecrement
  • Add Expression.operatorUnaryPostfixDecrement
  • Add Expression.operatorBitwiseAnd
  • Add Expression.operatorBitwiseOr
  • Add Expression.operatorBitwiseXor
  • Add Expression.operatorUnaryBitwiseComplement
  • Add Expression.operatorShiftLeft
  • Add Expression.operatorShiftRight
  • Add Expression.operatorShiftRightUnsigned
  • Add Expression.addAssign
  • Add Expression.subtractAssign
  • Add Expression.multiplyAssign
  • Add Expression.divideAssign
  • Add Expression.intDivideAssign
  • Add Expression.euclideanModuloAssign
  • Add Expression.shiftLeftAssign
  • Add Expression.shiftRightAssign
  • Add Expression.shiftRightUnsignedAssign
  • Add Expression.bitwiseAndAssign
  • Add Expression.bitwiseXorAssign
  • Add Expression.bitwiseOrAssign
  • Allow passing an Expression through literal without an exception.
  • Add support for extension types.
  • Update SDK version constraints to >=3.0.0.
Commits
  • 3cc018c Export representation declaration types, upgrade dart_style to 2.3.4, and pub...
  • 9ab2a9e feat: support docs for libraries (#444)
  • 4d097c4 Support annotations on unnamed libraries; 4.9.0 (#440)
  • d7b662a Add a new field Library.generatedByComment to support emitting 'generated b...
  • 10ebf2a Add support for extension types (#437)
  • 006790d Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#435)
  • edec877 Bump actions/checkout from 4.1.0 to 4.1.1 (#434)
  • 4fd46e4 Allow passing an Expression through literal (#433)
  • eb70874 Add missing operator and assignment expressions (#427)
  • e2e7f80 Bump actions/checkout from 3.6.0 to 4.1.0 (#432)
  • Additional commits viewable in compare view

Updates package_info_plus from 4.2.0 to 5.0.1

Commits
  • 749fa76 chore(package_info_plus): Update version to avoid collision with retracted ve...
  • f8f4579 chore(release): prepare for release (#2385)
  • 450aeb5 fix(package_info_plus): migrate to pkg:web from dart:html (#2316)
  • 32652b8 fix(package_info_plus)!: allow no page extension in versionJsonUrl on web (#2...
  • d6b0c1d chore(deps): bump flutter_lints from 2.0.3 to 3.0.1 in /packages/package_info...
  • 34ceb25 chore(deps): bump flutter_lints from 2.0.3 to 3.0.1 in /packages/package_info...
  • 7ec4253 chore(deps): bump flutter_lints from 2.0.3 to 3.0.0 in /packages/package_info...
  • See full diff 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

Updates built_value from 8.7.0 to 8.8.1

Release notes

Sourced from built_value's releases.

Allow serializing record fields

  • Allow classes with record fields to be serialized if they use a typedef for the record type and install a custom Serializer for it.
Changelog

Sourced from built_value's changelog.

8.8.1

  • Fix codegen for enum wire keys when there is a $ in the field name.
  • Remove support for generating legacy (<2.12) Dart code.

8.8.0

  • Allow classes with record fields to be serialized if they use a typedef for the record type and install a custom Serializer for it.
Commits

Updates pigeon from 11.0.1 to 16.0.0

Commits
  • a5bb26d [pigeon] java non null void (#5786)
  • c6b86c5 [file_selector_android] Attempt to close system dialogs before integration te...
  • 7beab0d [url_launcher] Add InAppBrowserConfiguration parameter (#5758)
  • 31fc7b5 bump mockito across repo to 5.4.4 (#5794)
  • bb97da8 [various] Sync lints with flutter/flutter (#5717)
  • 6b2249f [pointer_interceptor_web] Update package APIs and tests. (#5785)
  • ece0d7b [google_sign_in] Correct method channel clearAuthCache declaration (#5787)
  • bff79f6 [google_sign_in] Correct clearAuthCache declarations (#5693)
  • bbb4134 [camerax] Implement lockCaptureOrientation & unlockCaptureOrientation (#5...
  • 36a7b99 [path_provider]: Bump androidx.annotation:annotation from 1.7.0 to 1.7.1 in /...
  • 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 January 10, 2024 22:16
@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Jan 10, 2024
Bumps the drift group with 9 updates:

| Package | From | To |
| --- | --- | --- |
| [drift](https://github.com/simolus3/drift) | `2.12.1` | `2.14.1` |
| [built_value_generator](https://github.com/google/built_value.dart) | `8.7.0` | `8.8.1` |
| [dart_style](https://github.com/dart-lang/dart_style) | `2.3.2` | `2.3.4` |
| [ffigen](https://github.com/dart-lang/native/tree/main/pkgs) | `9.0.1` | `11.0.0` |
| [code_builder](https://github.com/dart-lang/code_builder) | `4.7.0` | `4.10.0` |
| [package_info_plus](https://github.com/fluttercommunity/plus_plugins/tree/main/packages/package_info_plus) | `4.2.0` | `5.0.1` |
| [drift_dev](https://github.com/simolus3/drift) | `2.12.1` | `2.14.1` |
| [built_value](https://github.com/google/built_value.dart) | `8.7.0` | `8.8.1` |
| [pigeon](https://github.com/flutter/packages/tree/main/packages) | `11.0.1` | `16.0.0` |


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 `built_value_generator` from 8.7.0 to 8.8.1
- [Release notes](https://github.com/google/built_value.dart/releases)
- [Changelog](https://github.com/google/built_value.dart/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/built_value.dart/commits)

Updates `dart_style` from 2.3.2 to 2.3.4
- [Release notes](https://github.com/dart-lang/dart_style/releases)
- [Changelog](https://github.com/dart-lang/dart_style/blob/main/CHANGELOG.md)
- [Commits](dart-lang/dart_style@v2.3.2...v2.3.4)

Updates `ffigen` from 9.0.1 to 11.0.0
- [Release notes](https://github.com/dart-lang/native/releases)
- [Commits](https://github.com/dart-lang/native/commits/ffigen-v11.0.0/pkgs)

Updates `code_builder` from 4.7.0 to 4.10.0
- [Release notes](https://github.com/dart-lang/code_builder/releases)
- [Changelog](https://github.com/dart-lang/code_builder/blob/master/CHANGELOG.md)
- [Commits](dart-archive/code_builder@v4.7.0...v4.10.0)

Updates `package_info_plus` from 4.2.0 to 5.0.1
- [Release notes](https://github.com/fluttercommunity/plus_plugins/releases)
- [Commits](https://github.com/fluttercommunity/plus_plugins/commits/package_info_plus-v5.0.1/packages/package_info_plus)

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)

Updates `built_value` from 8.7.0 to 8.8.1
- [Release notes](https://github.com/google/built_value.dart/releases)
- [Changelog](https://github.com/google/built_value.dart/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/built_value.dart/commits)

Updates `pigeon` from 11.0.1 to 16.0.0
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/pigeon-v16.0.0/packages)

---
updated-dependencies:
- dependency-name: drift
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: drift
- dependency-name: built_value_generator
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: drift
- dependency-name: dart_style
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: drift
- dependency-name: ffigen
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: drift
- dependency-name: code_builder
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: drift
- dependency-name: package_info_plus
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: drift
- dependency-name: drift_dev
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: drift
- dependency-name: built_value
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: drift
- dependency-name: pigeon
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: drift
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pub/drift-7e7fdfb8af branch from 8c3329a to aa5b7b9 Compare January 11, 2024 12:56
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 17, 2024

Superseded by #4349.

@dependabot dependabot bot closed this Jan 17, 2024
@dependabot dependabot bot deleted the dependabot/pub/drift-7e7fdfb8af branch January 17, 2024 12:20
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