Skip to content

Prepare release #285

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,50 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2025-05-29

### Changes

---

Packages with breaking changes:

- There are no breaking changes in this release.

Packages with other changes:

- [`powersync_core` - `v1.3.1`](#powersync_core---v131)
- [`powersync` - `v1.13.1`](#powersync---v1131)
- [`powersync_sqlcipher` - `v0.1.7`](#powersync_sqlcipher---v017)
- [`powersync_attachments_helper` - `v0.6.18+8`](#powersync_attachments_helper---v06188)

Packages with dependency updates only:

> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

- `powersync_attachments_helper` - `v0.6.18+8`

---

#### `powersync_core` - `v1.3.1`

- Use `package:http` instead of `package:fetch_client` on the web (since the former now uses fetch as well).
- Allow disconnecting in the credentials callback of a connector.
- Deprecate retry and CRUD upload durations as fields and independent parameters. Use the new `SyncOptions` class instead.
- Fix sync progress report after a compaction or defragmentation on the sync service.

#### `powersync` - `v1.13.1`

- Use `package:http` instead of `package:fetch_client` on the web (since the former now uses fetch as well).
- Allow disconnecting in the credentials callback of a connector.
- Deprecate retry and CRUD upload durations as fields and independent parameters. Use the new `SyncOptions` class instead.
- Fix sync progress report after a compaction or defragmentation on the sync service.

#### `powersync_sqlcipher` - `v0.1.7`

- Allow subclassing open factory for SQLCipher.


## 2025-05-07

### Changes
Expand Down
2 changes: 1 addition & 1 deletion demos/benchmarks/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
dependencies:
flutter:
sdk: flutter
powersync: ^1.13.0
powersync: ^1.13.1
path_provider: ^2.1.1
path: ^1.8.3
logging: ^1.2.0
Expand Down
2 changes: 1 addition & 1 deletion demos/django-todolist/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
dependencies:
flutter:
sdk: flutter
powersync: ^1.13.0
powersync: ^1.13.1
path_provider: ^2.1.1
path: ^1.8.3
logging: ^1.2.0
Expand Down
2 changes: 1 addition & 1 deletion demos/firebase-nodejs-todolist/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
flutter:
sdk: flutter

powersync: ^1.13.0
powersync: ^1.13.1
path_provider: ^2.1.1
supabase_flutter: ^2.0.1
path: ^1.8.3
Expand Down
2 changes: 1 addition & 1 deletion demos/supabase-anonymous-auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
flutter:
sdk: flutter

powersync: ^1.13.0
powersync: ^1.13.1
path_provider: ^2.1.1
supabase_flutter: ^2.0.2
path: ^1.8.3
Expand Down
2 changes: 1 addition & 1 deletion demos/supabase-edge-function-auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
flutter:
sdk: flutter

powersync: ^1.13.0
powersync: ^1.13.1
path_provider: ^2.1.1
supabase_flutter: ^2.0.2
path: ^1.8.3
Expand Down
2 changes: 1 addition & 1 deletion demos/supabase-simple-chat/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies:

supabase_flutter: ^2.0.2
timeago: ^3.6.0
powersync: ^1.13.0
powersync: ^1.13.1
path_provider: ^2.1.1
path: ^1.8.3
logging: ^1.2.0
Expand Down
4 changes: 2 additions & 2 deletions demos/supabase-todolist-drift/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ environment:
dependencies:
flutter:
sdk: flutter
powersync_attachments_helper: ^0.6.18+7
powersync: ^1.13.0
powersync_attachments_helper: ^0.6.18+8
powersync: ^1.13.1
path_provider: ^2.1.1
supabase_flutter: ^2.0.1
path: ^1.8.3
Expand Down
2 changes: 1 addition & 1 deletion demos/supabase-todolist-optional-sync/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
dependencies:
flutter:
sdk: flutter
powersync: ^1.13.0
powersync: ^1.13.1
path_provider: ^2.1.1
supabase_flutter: ^2.0.1
path: ^1.8.3
Expand Down
4 changes: 2 additions & 2 deletions demos/supabase-todolist/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ environment:
dependencies:
flutter:
sdk: flutter
powersync_attachments_helper: ^0.6.18+7
powersync: ^1.13.0
powersync_attachments_helper: ^0.6.18+8
powersync: ^1.13.1
path_provider: ^2.1.1
supabase_flutter: ^2.0.1
path: ^1.8.3
Expand Down
2 changes: 1 addition & 1 deletion demos/supabase-trello/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dependencies:
random_name_generator: ^1.5.0
flutter_dotenv: ^5.2.1
logging: ^1.3.0
powersync: ^1.13.0
powersync: ^1.13.1
sqlite_async: ^0.11.0
path_provider: ^2.1.5
supabase_flutter: ^2.8.3
Expand Down
7 changes: 7 additions & 0 deletions packages/powersync/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 1.13.1

- Use `package:http` instead of `package:fetch_client` on the web (since the former now uses fetch as well).
- Allow disconnecting in the credentials callback of a connector.
- Deprecate retry and CRUD upload durations as fields and independent parameters. Use the new `SyncOptions` class instead.
- Fix sync progress report after a compaction or defragmentation on the sync service.

## 1.13.0

* Report real-time progress information about downloads through `SyncStatus.downloadProgress`.
Expand Down
4 changes: 2 additions & 2 deletions packages/powersync/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: powersync
version: 1.13.0
version: 1.13.1
homepage: https://powersync.com
repository: https://github.com/powersync-ja/powersync.dart
description: PowerSync Flutter SDK. Sync Postgres, MongoDB or MySQL with SQLite in your Flutter app
Expand All @@ -12,7 +12,7 @@ dependencies:
sdk: flutter

sqlite3_flutter_libs: ^0.5.23
powersync_core: ^1.3.0
powersync_core: ^1.3.1
powersync_flutter_libs: ^0.4.8
collection: ^1.17.0

Expand Down
4 changes: 4 additions & 0 deletions packages/powersync_attachments_helper/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.6.18+8

- Update a dependency to the latest release.

## 0.6.18+7

- Update a dependency to the latest release.
Expand Down
4 changes: 2 additions & 2 deletions packages/powersync_attachments_helper/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: powersync_attachments_helper
description: A helper library for handling attachments when using PowerSync.
version: 0.6.18+7
version: 0.6.18+8
repository: https://github.com/powersync-ja/powersync.dart
homepage: https://www.powersync.com/
environment:
Expand All @@ -10,7 +10,7 @@ dependencies:
flutter:
sdk: flutter

powersync_core: ^1.3.0
powersync_core: ^1.3.1
logging: ^1.2.0
sqlite_async: ^0.11.0
path_provider: ^2.0.13
Expand Down
7 changes: 7 additions & 0 deletions packages/powersync_core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 1.3.1

- Use `package:http` instead of `package:fetch_client` on the web (since the former now uses fetch as well).
- Allow disconnecting in the credentials callback of a connector.
- Deprecate retry and CRUD upload durations as fields and independent parameters. Use the new `SyncOptions` class instead.
- Fix sync progress report after a compaction or defragmentation on the sync service.

## 1.3.0

* Report real-time progress information about downloads through `SyncStatus.downloadProgress`.
Expand Down
2 changes: 1 addition & 1 deletion packages/powersync_core/lib/src/version.dart
Original file line number Diff line number Diff line change
@@ -1 +1 @@
const String libraryVersion = '1.3.0';
const String libraryVersion = '1.3.1';
2 changes: 1 addition & 1 deletion packages/powersync_core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: powersync_core
version: 1.3.0
version: 1.3.1
homepage: https://powersync.com
repository: https://github.com/powersync-ja/powersync.dart
description: PowerSync Dart SDK - sync engine for building local-first apps.
Expand Down
5 changes: 3 additions & 2 deletions packages/powersync_core/test/watch_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,10 @@ void main() {
lastCount = count;
}

// The number of read queries must not be greater than the number of writes overall.
// The number of read queries must not be greater than the number of
//writes overall, plus one for an initial read.
expect(numberOfQueries,
lessThanOrEqualTo(results.last.first['count'] as int));
lessThanOrEqualTo((results.last.first['count'] as int) + 1));

DateTime? lastTime;
for (var r in times) {
Expand Down
4 changes: 4 additions & 0 deletions packages/powersync_sqlcipher/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.1.7

- Allow subclassing open factory for SQLCipher.

## 0.1.6

* Report real-time progress information about downloads through `SyncStatus.downloadProgress`.
Expand Down
2 changes: 1 addition & 1 deletion packages/powersync_sqlcipher/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:

path: ^1.9.1
path_provider: ^2.1.5
powersync_sqlcipher: ^0.1.6
powersync_sqlcipher: ^0.1.7

dev_dependencies:
flutter_test:
Expand Down
4 changes: 2 additions & 2 deletions packages/powersync_sqlcipher/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: powersync_sqlcipher
version: 0.1.6
version: 0.1.7
homepage: https://powersync.com
repository: https://github.com/powersync-ja/powersync.dart
description: PowerSync Flutter SDK - sync engine for building local-first apps.
Expand All @@ -12,7 +12,7 @@ dependencies:
flutter:
sdk: flutter

powersync_core: ^1.3.0
powersync_core: ^1.3.1
powersync_flutter_libs: ^0.4.8
sqlcipher_flutter_libs: ^0.6.4
sqlite3_web: ^0.3.0
Expand Down