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 5 updates #5519

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 2, 2024

Bumps the drift group with 5 updates in the /packages/test/pub_server directory:

Package From To
drift 2.18.0 2.20.3
shelf_multipart 1.0.0 2.0.0
amplify_lints 2.0.3 3.1.0
pub_api_client 2.6.0 3.0.0
drift_dev 2.18.0 2.20.3

Updates drift from 2.18.0 to 2.20.3

Release notes

Sourced from drift's releases.

Drift 2.20.3

This patch release fixes a deadlock that could occur when using concurrent nested transactions, a problem introduced in the 2.20.0 release (simolus3/drift#3244). Note that drift_worker.js bundles from drift version 2.20.0 until 2.20.2 also have the issue and need to be updated to apply the fix.

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.

... (truncated)

Commits
  • f38c539 Prepare patch release for deadlock issue
  • cdd4a6b Fix deadlock with remote transactions
  • 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
  • Additional commits viewable in compare view

Updates shelf_multipart from 1.0.0 to 2.0.0

Commits

Updates amplify_lints from 2.0.3 to 3.1.0

Release notes

Sourced from amplify_lints's releases.

2.4.1

Fixes

  • fix(datastore): FlutterSerializedModel.extractJsonValue returns .some(nil) instead of nil (#5370)
  • fix(api): web socket error handling (#5359)

Chores

  • chore(deps): Amplify Android 2.21.1 (#5376)

2.4.0

Features

  • feat(Auth): Add fetchCurrentDevice API (#5251)

Fixes

  • fix(datastore): Clear subscriptions on Stop (#5253)
  • fix(datastore): Restart Sync Engine when network on/off (#5218)
  • fix(notification): flush events (#5215)
  • fix(secure_storage): Plugin Endorsement (#5208)
  • fix(authenticator): Export InstructionsResolver (#5169)

Chores

  • chore: bump json_annotation dependency to v4.9 (#5197)

2.3.0

Fixes

amplify_datastore_v2.2.1

Fixes

  • fix(datastore): prevent auth plugin from throwing during configuration (#5132)

2.2.0

Fixes

  • fix(api): GraphQLResponse.toString() include data & errors (#5079)
  • fix(core): improve amplify configure api error message (#5021)
  • fix(notifications): allow offline configuration
  • fix: wait for in progress multi part uploads to cancel for pause and cancel

Features

  • feat: Support Amplify Gen 2 outputs (#5073)

2.1.0

Features

  • feat(datastore): Migrate to Amplify Swift V2 (#4962)))
Commits

Updates pub_api_client from 2.6.0 to 3.0.0

Release notes

Sourced from pub_api_client's releases.

3.0.0

  • Replaced deprecated pubspec to pubspec_parse package
  • Extensions for Pubspec, repository, issueTracker, screenshots, and issueTracker are now properties and not methods, for consistency with pubspec_parse

Full Changelog: leoafarias/pub_api_client@2.7.1...3.0.0

2.7.1

What's Changed

New Contributors

Full Changelog: leoafarias/pub_api_client@2.7.0...2.7.1

2.7.0

What's Changed

New Contributors

Full Changelog: leoafarias/pub_api_client@2.6.0...3.0.0

Changelog

Sourced from pub_api_client's changelog.

3.0.0

  • Replaced deprecated pubspec to pubspec_parse package
  • Extensions for Pubspec, repository, issueTracker, screenshots, and issueTracker are now properties and not methods, for consistency with pubspec_parse

2.7.1

  • Fix result data class schema #50

2.7.0

Commits

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

Bumps the drift group with 5 updates in the /packages/test/pub_server directory:

| Package | From | To |
| --- | --- | --- |
| [drift](https://github.com/simolus3/drift) | `2.18.0` | `2.20.3` |
| [shelf_multipart](https://github.com/simolus3/goodies.dart) | `1.0.0` | `2.0.0` |
| [amplify_lints](https://github.com/aws-amplify/amplify-flutter/tree/main/packages) | `2.0.3` | `3.1.0` |
| [pub_api_client](https://github.com/leoafarias/pub_api_client) | `2.6.0` | `3.0.0` |
| [drift_dev](https://github.com/simolus3/drift) | `2.18.0` | `2.20.3` |



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

Updates `shelf_multipart` from 1.0.0 to 2.0.0
- [Commits](simolus3/goodies.dart@release/shelf_multipart/1.0.0...release/shelf_multipart/2.0.0)

Updates `amplify_lints` from 2.0.3 to 3.1.0
- [Release notes](https://github.com/aws-amplify/amplify-flutter/releases)
- [Commits](https://github.com/aws-amplify/amplify-flutter/commits/HEAD/packages)

Updates `pub_api_client` from 2.6.0 to 3.0.0
- [Release notes](https://github.com/leoafarias/pub_api_client/releases)
- [Changelog](https://github.com/leoafarias/pub_api_client/blob/main/CHANGELOG.md)
- [Commits](leoafarias/pub_api_client@2.6.0...3.0.0)

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: shelf_multipart
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: drift
- dependency-name: amplify_lints
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: drift
- dependency-name: pub_api_client
  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
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner October 2, 2024 12:10
@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Oct 2, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 15, 2024

Superseded by #5557.

@dependabot dependabot bot closed this Oct 15, 2024
@dependabot dependabot bot deleted the dependabot/pub/packages/test/pub_server/drift-8c6afd2aee branch October 15, 2024 12:40
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