Skip to content

Commit 12488fb

Browse files
authored
Merge pull request #292 from powersync-ja/prepare-release
Prepare release
2 parents a706aa0 + 48da58c commit 12488fb

File tree

24 files changed

+153
-26
lines changed

24 files changed

+153
-26
lines changed

CHANGELOG.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,60 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## 2025-06-19
7+
8+
### Changes
9+
10+
---
11+
12+
Packages with breaking changes:
13+
14+
- There are no breaking changes in this release.
15+
16+
Packages with other changes:
17+
18+
- [`powersync_core` - `v1.4.0`](#powersync_core---v140)
19+
- [`powersync` - `v1.14.0`](#powersync---v1140)
20+
- [`powersync_sqlcipher` - `v0.1.8`](#powersync_sqlcipher---v018)
21+
- [`powersync_attachments_helper` - `v0.6.18+9`](#powersync_attachments_helper---v06189)
22+
23+
Packages with dependency updates only:
24+
25+
> 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.
26+
27+
- `powersync_attachments_helper` - `v0.6.18+9`
28+
29+
---
30+
31+
#### `powersync_core` - `v1.4.0`
32+
33+
#### `powersync` - `v1.14.0`
34+
35+
#### `powersync_sqlcipher` - `v0.1.8`
36+
37+
Add a new sync client implementation written in Rust instead of Dart. While
38+
this client is still experimental, we intend to make it the default in the
39+
future. The main benefit of this client is faster sync performance, but
40+
upcoming features will also require this client.
41+
We encourage interested users to try it out by passing `SyncOptions` to the
42+
`connect` method:
43+
44+
```dart
45+
database.connect(
46+
connector: YourConnector(),
47+
options: const SyncOptions(
48+
syncImplementation: SyncClientImplementation.rust,
49+
),
50+
);
51+
```
52+
53+
Switching between the clients can be done at any time without compatibility
54+
issues. If you run into issues with the new client, please reach out to us!
55+
56+
#### `powersync_flutter_libs` - `v0.4.9`
57+
58+
- Update PowerSync core extension to version 0.4.0.
59+
660
## 2025-05-29
761

862
### Changes

demos/benchmarks/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010
dependencies:
1111
flutter:
1212
sdk: flutter
13-
powersync: ^1.13.1
13+
powersync: ^1.14.0
1414
path_provider: ^2.1.1
1515
path: ^1.8.3
1616
logging: ^1.2.0

demos/django-todolist/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010
dependencies:
1111
flutter:
1212
sdk: flutter
13-
powersync: ^1.13.1
13+
powersync: ^1.14.0
1414
path_provider: ^2.1.1
1515
path: ^1.8.3
1616
logging: ^1.2.0

demos/firebase-nodejs-todolist/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
flutter:
1212
sdk: flutter
1313

14-
powersync: ^1.13.1
14+
powersync: ^1.14.0
1515
path_provider: ^2.1.1
1616
supabase_flutter: ^2.0.1
1717
path: ^1.8.3

demos/supabase-anonymous-auth/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
flutter:
1212
sdk: flutter
1313

14-
powersync: ^1.13.1
14+
powersync: ^1.14.0
1515
path_provider: ^2.1.1
1616
supabase_flutter: ^2.0.2
1717
path: ^1.8.3

demos/supabase-edge-function-auth/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
flutter:
1212
sdk: flutter
1313

14-
powersync: ^1.13.1
14+
powersync: ^1.14.0
1515
path_provider: ^2.1.1
1616
supabase_flutter: ^2.0.2
1717
path: ^1.8.3

demos/supabase-simple-chat/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dependencies:
3737

3838
supabase_flutter: ^2.0.2
3939
timeago: ^3.6.0
40-
powersync: ^1.13.1
40+
powersync: ^1.14.0
4141
path_provider: ^2.1.1
4242
path: ^1.8.3
4343
logging: ^1.2.0

demos/supabase-todolist-drift/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ environment:
99
dependencies:
1010
flutter:
1111
sdk: flutter
12-
powersync_attachments_helper: ^0.6.18+8
13-
powersync: ^1.13.1
12+
powersync_attachments_helper: ^0.6.18+9
13+
powersync: ^1.14.0
1414
path_provider: ^2.1.1
1515
supabase_flutter: ^2.0.1
1616
path: ^1.8.3

demos/supabase-todolist-optional-sync/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010
dependencies:
1111
flutter:
1212
sdk: flutter
13-
powersync: ^1.13.1
13+
powersync: ^1.14.0
1414
path_provider: ^2.1.1
1515
supabase_flutter: ^2.0.1
1616
path: ^1.8.3

demos/supabase-todolist/lib/powersync.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ Future<String> getDatabasePath() async {
153153
return join(dir.path, dbFilename);
154154
}
155155

156+
const options = SyncOptions(syncImplementation: SyncClientImplementation.rust);
157+
156158
Future<void> openDatabase() async {
157159
// Open the local database
158160
db = PowerSyncDatabase(
@@ -167,15 +169,15 @@ Future<void> openDatabase() async {
167169
// If the user is already logged in, connect immediately.
168170
// Otherwise, connect once logged in.
169171
currentConnector = SupabaseConnector();
170-
db.connect(connector: currentConnector);
172+
db.connect(connector: currentConnector, options: options);
171173
}
172174

173175
Supabase.instance.client.auth.onAuthStateChange.listen((data) async {
174176
final AuthChangeEvent event = data.event;
175177
if (event == AuthChangeEvent.signedIn) {
176178
// Connect to PowerSync when the user is signed in
177179
currentConnector = SupabaseConnector();
178-
db.connect(connector: currentConnector!);
180+
db.connect(connector: currentConnector!, options: options);
179181
} else if (event == AuthChangeEvent.signedOut) {
180182
// Implicit sign out - disconnect, but don't delete data
181183
currentConnector = null;

demos/supabase-todolist/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ environment:
1010
dependencies:
1111
flutter:
1212
sdk: flutter
13-
powersync_attachments_helper: ^0.6.18+8
14-
powersync: ^1.13.1
13+
powersync_attachments_helper: ^0.6.18+9
14+
powersync: ^1.14.0
1515
path_provider: ^2.1.1
1616
supabase_flutter: ^2.0.1
1717
path: ^1.8.3

demos/supabase-trello/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ dependencies:
3636
random_name_generator: ^1.5.0
3737
flutter_dotenv: ^5.2.1
3838
logging: ^1.3.0
39-
powersync: ^1.13.1
39+
powersync: ^1.14.0
4040
sqlite_async: ^0.11.0
4141
path_provider: ^2.1.5
4242
supabase_flutter: ^2.8.3

packages/powersync/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
## 1.14.0
2+
3+
Add a new sync client implementation written in Rust instead of Dart. While
4+
this client is still experimental, we intend to make it the default in the
5+
future. The main benefit of this client is faster sync performance, but
6+
upcoming features will also require this client.
7+
We encourage interested users to try it out by passing `SyncOptions` to the
8+
`connect` method:
9+
10+
```dart
11+
database.connect(
12+
connector: YourConnector(),
13+
options: const SyncOptions(
14+
syncImplementation: SyncClientImplementation.rust,
15+
),
16+
);
17+
```
18+
19+
Switching between the clients can be done at any time without compatibility
20+
issues. If you run into issues with the new client, please reach out to us!
21+
122
## 1.13.1
223

324
- Use `package:http` instead of `package:fetch_client` on the web (since the former now uses fetch as well).

packages/powersync/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: powersync
2-
version: 1.13.1
2+
version: 1.14.0
33
homepage: https://powersync.com
44
repository: https://github.com/powersync-ja/powersync.dart
55
description: PowerSync Flutter SDK. Sync Postgres, MongoDB or MySQL with SQLite in your Flutter app
@@ -12,8 +12,8 @@ dependencies:
1212
sdk: flutter
1313

1414
sqlite3_flutter_libs: ^0.5.23
15-
powersync_core: ^1.3.1
16-
powersync_flutter_libs: ^0.4.8
15+
powersync_core: ^1.4.0
16+
powersync_flutter_libs: ^0.4.9
1717
collection: ^1.17.0
1818

1919
dev_dependencies:

packages/powersync_attachments_helper/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.6.18+9
2+
3+
- Update a dependency to the latest release.
4+
15
## 0.6.18+8
26

37
- Update a dependency to the latest release.

packages/powersync_attachments_helper/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: powersync_attachments_helper
22
description: A helper library for handling attachments when using PowerSync.
3-
version: 0.6.18+8
3+
version: 0.6.18+9
44
repository: https://github.com/powersync-ja/powersync.dart
55
homepage: https://www.powersync.com/
66
environment:
@@ -10,7 +10,7 @@ dependencies:
1010
flutter:
1111
sdk: flutter
1212

13-
powersync_core: ^1.3.1
13+
powersync_core: ^1.4.0
1414
logging: ^1.2.0
1515
sqlite_async: ^0.11.0
1616
path_provider: ^2.0.13

packages/powersync_core/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
## 1.4.0
2+
3+
Add a new sync client implementation written in Rust instead of Dart. While
4+
this client is still experimental, we intend to make it the default in the
5+
future. The main benefit of this client is faster sync performance, but
6+
upcoming features will also require this client.
7+
We encourage interested users to try it out by passing `SyncOptions` to the
8+
`connect` method:
9+
10+
```dart
11+
database.connect(
12+
connector: YourConnector(),
13+
options: const SyncOptions(
14+
syncImplementation: SyncClientImplementation.rust,
15+
),
16+
);
17+
```
18+
19+
Switching between the clients can be done at any time without compatibility
20+
issues. If you run into issues with the new client, please reach out to us!
21+
122
## 1.3.1
223

324
- Use `package:http` instead of `package:fetch_client` on the web (since the former now uses fetch as well).
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
const String libraryVersion = '1.3.1';
1+
const String libraryVersion = '1.4.0';

packages/powersync_core/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: powersync_core
2-
version: 1.3.1
2+
version: 1.4.0
33
homepage: https://powersync.com
44
repository: https://github.com/powersync-ja/powersync.dart
55
description: PowerSync Dart SDK - sync engine for building local-first apps.

packages/powersync_flutter_libs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.4.9
2+
3+
- Update PowerSync core extension to version 0.4.0.
4+
15
## 0.4.8
26

37
- Update PowerSync core extension to version 0.3.14.

packages/powersync_flutter_libs/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: powersync_flutter_libs
22
description: PowerSync core binaries for the PowerSync Flutter SDK. Needs to be included for Flutter apps.
3-
version: 0.4.8
3+
version: 0.4.9
44
repository: https://github.com/powersync-ja/powersync.dart
55
homepage: https://www.powersync.com/
66

packages/powersync_sqlcipher/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
## 0.1.8
2+
3+
Add a new sync client implementation written in Rust instead of Dart. While
4+
this client is still experimental, we intend to make it the default in the
5+
future. The main benefit of this client is faster sync performance, but
6+
upcoming features will also require this client.
7+
We encourage interested users to try it out by passing `SyncOptions` to the
8+
`connect` method:
9+
10+
```dart
11+
database.connect(
12+
connector: YourConnector(),
13+
options: const SyncOptions(
14+
syncImplementation: SyncClientImplementation.rust,
15+
),
16+
);
17+
```
18+
19+
Switching between the clients can be done at any time without compatibility
20+
issues. If you run into issues with the new client, please reach out to us!
21+
122
## 0.1.7
223

324
- Allow subclassing open factory for SQLCipher.

packages/powersync_sqlcipher/example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies:
1313

1414
path: ^1.9.1
1515
path_provider: ^2.1.5
16-
powersync_sqlcipher: ^0.1.7
16+
powersync_sqlcipher: ^0.1.8
1717

1818
dev_dependencies:
1919
flutter_test:

packages/powersync_sqlcipher/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: powersync_sqlcipher
2-
version: 0.1.7
2+
version: 0.1.8
33
homepage: https://powersync.com
44
repository: https://github.com/powersync-ja/powersync.dart
55
description: PowerSync Flutter SDK - sync engine for building local-first apps.
@@ -12,8 +12,8 @@ dependencies:
1212
flutter:
1313
sdk: flutter
1414

15-
powersync_core: ^1.3.1
16-
powersync_flutter_libs: ^0.4.8
15+
powersync_core: ^1.4.0
16+
powersync_flutter_libs: ^0.4.9
1717
sqlcipher_flutter_libs: ^0.6.4
1818
sqlite3_web: ^0.3.0
1919

0 commit comments

Comments
 (0)