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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 5, 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.21.0

Release notes

Sourced from drift's releases.

Drift 2.21.0

Versions 2.21.0 of drift and drift_dev as well as version 0.2.1 of drift_flutter have just been released:

Core changes

  • View.from is now declared to return a JoinedSelectStatement, the type it returns at runtime.
  • The manager APIs now support computed fields, allowing advanced SQL expressions to be embedded into simple manager queries.

Isolate improvements

  • To infer whether serialization is required for inter-isolate communication, drift now sends a test message instead of serializing by default.
  • drift_flutter: Enable serialization between background isolates where necessary.

Tooling and generator

  • The DevTools extension can now clear drift databases.
  • Fix Dart-defined check constraints not being considered in exported schemas.
  • Columns can now be defined with late final fields. Defining columns with getters => is still supported too.
    class MyTable extends Table {
      // Before:
      IntColumn get id => integer().autoIncrement()();
    // After:
    late final id = integer().nullable()();
    }

  • Make build.yaml definitions pass build_runner doctor.
  • Fix generate_manager option not consistently being applied to modular builds.
  • Add the make-migrations command which combines the existing schema commands into a single tool.

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.

... (truncated)

Commits
  • 3c11432 Prepare release
  • d7cc547 Allow using group by on view without join
  • f89a8eb Merge pull request #3278 from simolus3/fix-related-relations-on-manager
  • 9a8def1 Merge branch 'develop' into fix-related-relations-on-manager
  • fb71a56 move regression test into tests
  • bd80a46 Devtools extension: Button to clear database
  • 4cadb06 Merge pull request #3250 from simolus3/drift_migrator_tool
  • 2ef6c60 Attempt to fix Flutter CI
  • 04a046d Fix migration tooling test
  • 1d742e0 Add changelog entry
  • Additional commits viewable in compare view

Updates sqlite3 from 2.4.5 to 2.4.7

Commits
  • f9f6f44 Re-compile sqlite3 for CI
  • feac3e2 Merge branch 'dynamicbuffer'
  • e21f161 Changelog entry
  • 0a8e4d6 Avoid copying for writes to memory
  • 5133fdb Support 16KiB page sizes on Android
  • a0032ff Switch to Uint8Buffer.
  • b4890e2 Add a DynamicBuffer for faster VFS implementations.
  • d7cbbe9 Fix extension tests in CI
  • 558a1b5 Link custom extension example
  • 3395710 Expand readme
  • Additional commits viewable in compare view

Updates drift_dev from 2.18.0 to 2.21.2

Commits
  • a4874f3 Backport make-migrations template fix
  • 41ddd91 Prepare patch releases
  • c235f60 Fix incorrect code for nullable type arguments
  • abe93e4 Fix infering result type of fts5 functions
  • 5c2af78 Fix bm25 parameter count lint
  • 6c1edb7 Allow crawling for release docs builds
  • 3c11432 Prepare release
  • d7cc547 Allow using group by on view without join
  • f89a8eb Merge pull request #3278 from simolus3/fix-related-relations-on-manager
  • 9a8def1 Merge branch 'develop' into fix-related-relations-on-manager
  • 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 November 5, 2024 19:54
@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Nov 5, 2024
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.21.0
- [Release notes](https://github.com/simolus3/drift/releases)
- [Commits](simolus3/drift@drift-2.18.0...drift-2.21.0)

Updates `sqlite3` from 2.4.5 to 2.4.7
- [Release notes](https://github.com/simolus3/sqlite3.dart/releases)
- [Commits](simolus3/sqlite3.dart@sqlite3-2.4.5...sqlite3-2.4.7)

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

---
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-ec725ad036 branch from 884eb1d to 7402a20 Compare November 12, 2024 13:04
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 13, 2024

Looks like these dependencies are no longer updatable, so this is no longer needed.

@dependabot dependabot bot closed this Nov 13, 2024
@dependabot dependabot bot deleted the dependabot/pub/packages/common/amplify_db_common_dart/drift-ec725ad036 branch November 13, 2024 12:14
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