Skip to content

Commit a87e6f6

Browse files
authored
Merge branch 'powersync-ja:main' into feat/tanstack-use-queries
2 parents ef3666c + 71db1e7 commit a87e6f6

25 files changed

+1199
-766
lines changed

.changeset/chilled-birds-cheer.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@powersync/web': patch
3+
---
4+
5+
Use `BEGIN EXCLUSIVE` to open write transactions

.changeset/dull-mugs-carry.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@powersync/react-native': patch
3+
'@powersync/diagnostics-app': patch
4+
'@powersync/common': patch
5+
'@powersync/node': patch
6+
'@powersync/op-sqlite': patch
7+
'@powersync/web': patch
8+
---
9+
10+
Improve websocket keepalive logic to reduce keepalive errors.

.changeset/five-colts-whisper.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@powersync/op-sqlite': patch
3+
---
4+
5+
Fixed an issue where the default `op-sqlite` database location determination logic was being overridden. The `dbLocation` is now only applied when explicitly provided, resolving issues with features like iOS App Groups.

.changeset/lazy-onions-dance.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@powersync/node': minor
3+
---
4+
5+
Upgrade undici and use the default undici errors for WebSockets.

.changeset/light-clocks-hang.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@powersync/common': patch
3+
'@powersync/node': patch
4+
'@powersync/web': patch
5+
'@powersync/react-native': patch
6+
---
7+
8+
Rust client: Properly upload CRUD entries made while offline.

.changeset/new-readers-dance.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@powersync/common': patch
3+
---
4+
5+
Rust sync client: Fix `connect()` resolving before a connection is made.

.changeset/tall-dolphins-sleep.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@powersync/common': patch
3+
'@powersync/node': patch
4+
'@powersync/web': patch
5+
'@powersync/react-native': patch
6+
---
7+
8+
Rust sync client: Fix reported `lastSyncedAt` values in sync status.

demos/example-node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"@powersync/node": "workspace:*",
1414
"dotenv": "^16.4.7",
15-
"undici": "^7.10.0"
15+
"undici": "^7.11.0"
1616
},
1717
"devDependencies": {
1818
"ts-node": "^10.9.2",

packages/common/src/client/ConnectionManager.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ export class ConnectionManager extends BaseObserver<ConnectionManagerListener> {
194194

195195
this.logger.debug('Attempting to connect to PowerSync instance');
196196
await this.syncStreamImplementation?.connect(appliedOptions!);
197-
this.syncStreamImplementation?.triggerCrudUpload();
198197
}
199198

200199
/**

packages/common/src/client/sync/bucket/BucketStorageAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,5 @@ export interface BucketStorageAdapter extends BaseObserver<BucketStorageListener
106106
/**
107107
* Invokes the `powersync_control` function for the sync client.
108108
*/
109-
control(op: PowerSyncControlCommand, payload: string | ArrayBuffer | null): Promise<string>;
109+
control(op: PowerSyncControlCommand, payload: string | Uint8Array | null): Promise<string>;
110110
}

0 commit comments

Comments
 (0)