Skip to content

Commit 619f193

Browse files
committed
Merge branch 'main' into locks
2 parents ca52a12 + 197a37a commit 619f193

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1387
-816
lines changed

.changeset/calm-pans-worry.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/swift-seahorses-help.md renamed to .changeset/friendly-chairs-camp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'@powersync/common': minor
33
---
44

5-
add 'connecting' flag to SyncStatus
5+
Support bucket priorities

.changeset/lovely-impalas-do.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/mighty-spies-fail.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@powersync/op-sqlite': patch
3+
'@powersync/react-native': patch
4+
'@powersync/web': patch
5+
---
6+
7+
Update core PowerSync SQLite extensions to 0.3.11

.changeset/slow-spiders-smash.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/spotty-students-serve.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
test:
99
name: Test Packages
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-xl
1111
steps:
1212
- uses: actions/checkout@v4
1313
with:

demos/react-native-supabase-group-chat/src/app/(app)/(chats)/g/create.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ export default function CreateGroup() {
2626

2727
await powerSync.writeTransaction(async (tx) => {
2828
try {
29-
await tx.executeAsync('INSERT INTO groups (id, owner_id, name, created_at) VALUES (?, ?, ?, datetime())', [
29+
await tx.execute('INSERT INTO groups (id, owner_id, name, created_at) VALUES (?, ?, ?, datetime())', [
3030
groupId,
3131
user?.id,
3232
name
3333
]);
3434
for (const profileId of selectedContacts) {
3535
const membershipId = uuid();
36-
await tx.executeAsync(
36+
await tx.execute(
3737
'INSERT INTO memberships (id, group_id, profile_id, created_at) VALUES (?, ?, ?, datetime())',
3838
[membershipId, groupId, profileId]
3939
);

demos/react-native-supabase-group-chat/src/app/(app)/contacts/index.tsx

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,6 @@ export default function ContactsIndex() {
4141
ownerId,
4242
profileId
4343
]);
44-
45-
/* await powerSync.writeTransaction(async (tx) => {
46-
try {
47-
tx.executeAsync(
48-
"INSERT INTO profiles (id, name, handle, demo) VALUES (?, ?, ?, ?)",
49-
[profileId, name, handle, true],
50-
);
51-
tx.executeAsync(
52-
"INSERT INTO contacts (id, owner_id, profile_id) VALUES (?, ?, ?)",
53-
[contactId, ownerId, profileId],
54-
);
55-
} catch (error) {
56-
console.error("Error", error);
57-
}
58-
}); */
5944
}
6045

6146
async function handleAddContact(profileId: string, name: string, handle: string) {

packages/common/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @powersync/common
22

3+
## 1.24.0
4+
5+
### Minor Changes
6+
7+
- 893d42b: Introduced `fetchStrategy` option to connect, allowing you to choose either `buffered` or `sequential` for the Websocket connect option. Internally the functionality of `buffered` was used by default, but now it can be switched to the sequential mode. This changes the WebSocket sync queue to only process one sync event at a time, improving known keep-alive issues for lower-end hardware with minimal impact on sync performance.
8+
- 0606ac2: add 'connecting' flag to SyncStatus
9+
310
## 1.23.0
411

512
### Minor Changes

0 commit comments

Comments
 (0)