Skip to content

Commit ed9edba

Browse files
authored
Merge branch 'main' into fix-web-locks
2 parents 541ee5d + 2140b80 commit ed9edba

File tree

47 files changed

+5582
-6174
lines changed

Some content is hidden

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

47 files changed

+5582
-6174
lines changed

.changeset/eighty-pots-search.md

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

.changeset/short-snails-visit.md

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

demos/angular-supabase-todolist/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# PowerSync Angular Demo
22

3+
## 0.0.22
4+
5+
### Patch Changes
6+
7+
- 27126e6: Ensuring that SupabaseConnector's error codes are evaluated when processing upload queue.
8+
- Updated dependencies [8d5b702]
9+
- @powersync/web@1.2.1
10+
311
## 0.0.21
412

513
### Patch Changes

demos/angular-supabase-todolist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-supabase-todolist",
3-
"version": "0.0.21",
3+
"version": "0.0.22",
44
"scripts": {
55
"ng": "ng",
66
"serve": "ng serve",

demos/angular-supabase-todolist/src/app/supabase.service.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ export class SupabaseService implements PowerSyncBackendConnector {
131131
}
132132

133133
if (result.error) {
134-
throw new Error(`Could not update Supabase. Received error: ${result.error.message}`);
134+
console.error(result.error);
135+
result.error.message = `Could not update Supabase. Received error: ${result.error.message}`;
136+
throw result.error;
135137
}
136138
}
137139

@@ -147,7 +149,7 @@ export class SupabaseService implements PowerSyncBackendConnector {
147149
* If protecting against data loss is important, save the failing records
148150
* elsewhere instead of discarding, and/or notify the user.
149151
*/
150-
console.error(`Data upload error - discarding ${lastOp}`, ex);
152+
console.error('Data upload error - discarding:', lastOp, ex);
151153
await transaction.complete();
152154
} else {
153155
// Error may be retryable - e.g. network error or temporary server error.

demos/django-react-native-todolist/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# django-react-native-todolist
22

3+
## 1.2.0
4+
5+
### Minor Changes
6+
7+
- 9842df6: Use react hooks. Remove Mobx stores.
8+
9+
### Patch Changes
10+
11+
- 27126e6: Ensuring that SupabaseConnector's error codes are evaluated when processing upload queue.
12+
- Updated dependencies [8d5b702]
13+
- @powersync/react-native@1.8.1
14+
315
## 1.1.10
416

517
### Patch Changes

demos/django-react-native-todolist/library/django/DjangoConnector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class DjangoConnector implements PowerSyncBackendConnector {
9090
* If protecting against data loss is important, save the failing records
9191
* elsewhere instead of discarding, and/or notify the user.
9292
*/
93-
console.error(`Data upload error - discarding ${lastOp}`, ex);
93+
console.error('Data upload error - discarding:', lastOp, ex);
9494
await transaction.complete();
9595
} else {
9696
// Error may be retryable - e.g. network error or temporary server error.

demos/django-react-native-todolist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "django-react-native-todolist",
3-
"version": "1.1.10",
3+
"version": "1.2.0",
44
"main": "./index.js",
55
"scripts": {
66
"android": "expo run:android",

demos/example-capacitor/CHANGELOG.md

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

3+
## 0.0.8
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [8d5b702]
8+
- @powersync/web@1.2.1
9+
310
## 0.0.7
411

512
### Patch Changes

demos/example-capacitor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-capacitor",
3-
"version": "0.0.7",
3+
"version": "0.0.8",
44
"description": "Example of using Capacitor with PowerSync",
55
"main": "index.js",
66
"private": true,

0 commit comments

Comments
 (0)