Skip to content

Commit 5691cd5

Browse files
committed
Merge branch 'main' into offline-demo
2 parents 77804ba + 4044a39 commit 5691cd5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Packages with other changes:
2626
- Customize `User-Agent` header
2727
- Add `client_id` parameter to sync requests
2828
- Persist `lastSyncedAt`
29-
- Emit update notifications on `disconnectAndClear()`
29+
- Emit update notifications for watch queries on `disconnectAndClear()`
3030
- Validate that the `powersync-sqlite-core` version number is in a compatible range of `^0.2.0`
3131
- Always cast `target_op` (write checkpoints) to ensure it's an integer
3232
- Sync optimizations for MOVE and REMOVE operations

packages/powersync/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- Customize `User-Agent` header
66
- Add `client_id` parameter to sync requests
77
- Persist `lastSyncedAt`
8-
- Emit update notifications on `disconnectAndClear()`
8+
- Emit update notifications for watch queries on `disconnectAndClear()`
99
- Validate that the `powersync-sqlite-core` version number is in a compatible range of `^0.2.0`
1010
- Always cast `target_op` (write checkpoints) to ensure it's an integer
1111
- Sync optimizations for MOVE and REMOVE operations

packages/powersync/lib/src/user_agent/user_agent_native.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ String powerSyncUserAgent() {
1010
}
1111
// Ideally we'd get an OS version as well, but that's a little complex.
1212
// Platform.operatingSystemVersion is very verbose.
13-
return 'powersync-dart/$libraryVersion ($dart; ${Platform.operatingSystem})';
13+
return 'powersync-dart/$libraryVersion $dart ${Platform.operatingSystem}';
1414
}
1515

1616
Map<String, String> userAgentHeaders() {

packages/powersync/lib/src/user_agent/user_agent_web.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import 'package:powersync/src/version.dart';
22

33
String powerSyncUserAgent() {
4-
return 'powersync-dart/$libraryVersion (flutter-web)';
4+
return 'powersync-dart/$libraryVersion Dart (flutter-web)';
55
}
66

77
Map<String, String> userAgentHeaders() {

0 commit comments

Comments
 (0)