Update dependency powersync to v2 #20

Open
renovate wants to merge 1 commits from renovate/powersync-2.x into main
Collaborator

This PR contains the following updates:

Package Type Update Change
powersync (source) dependencies major ^1.12.2^2.0.0

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

powersync-ja/powersync.dart (powersync)

v2.0.2

Compare Source

Release powersync-v2.0.2

  • Update PowerSync SQLite core extension to version 0.4.13.
  • Fix changes in active Sync Stream subscriptions causing a reconnect delay.

v2.0.1

Compare Source

Release powersync-v2.0.1

  • Fix documentation not generating.

v2.0.0

Compare Source

Release powersync-v2.0.0

  • Upgrade sqlite packages: Version 3.x of sqlite3, 0.6.x of sqlite3_web, 0.14.x of sqlite_async.
    • Remember to download updated db workers and sqlite3.wasm files after upgrading!
    • Breaking: Remove package:powersync/sqlite3_open.dart, since SQLite is now loaded through build hooks exclusively.
    • Breaking: Remove AbstractPowerSyncOpenFactory and PowerSyncOpenFactory. If you want to customize how databases
      are opened, use conditional imports for package:powersync/native.dart and package:powersync/web.dart to extend
      NativePowerSyncOpenFactory or WebPowerSyncOpenFactory, respectively.
    • Improve performance of native databases.
    • Native databases can now be opened on multiple isolates or Flutter engines (e.g. for background tasks).
      They will automatically share write locks and table updates. Note that only one instance may connect to the PowerSync service though.
    • For Chrome browsers, we now use OPFS by default instead of IndexedDB. This improves performance. Existing databases are still loaded from IndexedDB.
    • The maxReaders parameter on PowerSyncDatabase constructors is no longer functional, set that parameter on
      SqliteOptions instead.
    • Add watchUnthrottled and onChangeUnthrottled as variants of watch and onChange that only take backpressure
      from paused subscriptions into account withut using a fixed delay.
    • Add abortableReadLock and abortableWriteLock, which can be used to acquire a read/write context with a flexible
      abort signal instead of a fixed timeout.
  • Breaking: The powersync_core, powersync_sqlcipher and powersync_flutter_libs packages have been removed.
    The powersync package now provides the entire SDK for all platforms (both for Flutter and standalone Dart apps).
  • Breaking: The powersync_sleep and powersync_connection_name SQL functions have been removed. Also, it is
    no longer possible to define additional user-defined functions in Dart.
  • Add encryption support to the powersync package (see the EncryptionOptions class for details).
  • Remove the legacy Dart sync client. The new Rust client has been the default since version 1.17.0.
  • Deprecate re-exports of other packages (package:powersync/sqlite_async.dart, package:powersync/sqlite3_common.dart,
    package:powersync/sqlite3.dart). Instead, add a dependency on the respective package and import it directly.
  • Remove powersync_sync.worker.js. powersync_db.worker.js now covers both database access and sync.
  • Fix sync isolate retry loop (#​397).

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [powersync](https://powersync.com) ([source](https://github.com/powersync-ja/powersync.dart)) | dependencies | major | `^1.12.2` → `^2.0.0` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/3) for more information. --- ### Release Notes <details> <summary>powersync-ja/powersync.dart (powersync)</summary> ### [`v2.0.2`](https://github.com/powersync-ja/powersync.dart/releases/tag/powersync-v2.0.2) [Compare Source](https://github.com/powersync-ja/powersync.dart/compare/powersync-v2.0.1...powersync-v2.0.2) Release powersync-v2.0.2 - Update PowerSync SQLite core extension to version 0.4.13. - Fix changes in active Sync Stream subscriptions causing a reconnect delay. ### [`v2.0.1`](https://github.com/powersync-ja/powersync.dart/releases/tag/powersync-v2.0.1) [Compare Source](https://github.com/powersync-ja/powersync.dart/compare/powersync-v2.0.0...powersync-v2.0.1) Release powersync-v2.0.1 - Fix documentation not generating. ### [`v2.0.0`](https://github.com/powersync-ja/powersync.dart/releases/tag/powersync-v2.0.0) [Compare Source](https://github.com/powersync-ja/powersync.dart/compare/powersync-v1.18.0...powersync-v2.0.0) Release powersync-v2.0.0 - Upgrade sqlite packages: Version 3.x of `sqlite3`, 0.6.x of `sqlite3_web`, 0.14.x of `sqlite_async`. - Remember to download updated db workers and `sqlite3.wasm` files after upgrading! - **Breaking**: Remove `package:powersync/sqlite3_open.dart`, since SQLite is now loaded through [build hooks](https://pub.dev/documentation/sqlite3/latest/topics/hook-topic.html) exclusively. - **Breaking**: Remove `AbstractPowerSyncOpenFactory` and `PowerSyncOpenFactory`. If you want to customize how databases are opened, use conditional imports for `package:powersync/native.dart` and `package:powersync/web.dart` to extend `NativePowerSyncOpenFactory` or `WebPowerSyncOpenFactory`, respectively. - Improve performance of native databases. - Native databases can now be opened on multiple isolates or Flutter engines (e.g. for background tasks). They will automatically share write locks and table updates. Note that only one instance may connect to the PowerSync service though. - For Chrome browsers, we now use OPFS by default instead of IndexedDB. This improves performance. Existing databases are still loaded from IndexedDB. - The `maxReaders` parameter on `PowerSyncDatabase` constructors is no longer functional, set that parameter on `SqliteOptions` instead. - Add `watchUnthrottled` and `onChangeUnthrottled` as variants of `watch` and `onChange` that only take backpressure from paused subscriptions into account withut using a fixed delay. - Add `abortableReadLock` and `abortableWriteLock`, which can be used to acquire a read/write context with a flexible abort signal instead of a fixed timeout. - **Breaking**: The `powersync_core`, `powersync_sqlcipher` and `powersync_flutter_libs` packages have been removed. The `powersync` package now provides the entire SDK for all platforms (both for Flutter and standalone Dart apps). - **Breaking**: The `powersync_sleep` and `powersync_connection_name` SQL functions have been removed. Also, it is no longer possible to define additional user-defined functions in Dart. - Add encryption support to the `powersync` package (see the `EncryptionOptions` class for details). - Remove the legacy Dart sync client. The new Rust client has been the default since version 1.17.0. - Deprecate re-exports of other packages (`package:powersync/sqlite_async.dart`, `package:powersync/sqlite3_common.dart`, `package:powersync/sqlite3.dart`). Instead, add a dependency on the respective package and import it directly. - Remove `powersync_sync.worker.js`. `powersync_db.worker.js` now covers both database access and sync. - Fix sync isolate retry loop ([#&#8203;397](https://github.com/powersync-ja/powersync.dart/issues/397)). </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMzkuMSIsInVwZGF0ZWRJblZlciI6IjQzLjE1MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJib3QiLCJ1cGdyYWRlIl19-->
renovate added 1 commit 2026-04-22 06:48:05 +00:00
Update dependency powersync to v2
Some checks failed
renovate/artifacts Artifact file update failure
3b3a3c59d8
Author
Collaborator

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pubspec.lock
spawn flutter ENOENT
### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: pubspec.lock ``` spawn flutter ENOENT ```
Some checks failed
renovate/artifacts Artifact file update failure
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/powersync-2.x:renovate/powersync-2.x
git checkout renovate/powersync-2.x
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: erichardson/wheres-my-sign#20