Skip to content

Commit 3c91517

Browse files
committed
2 parents b3a9401 + c68675a commit 3c91517

File tree

60 files changed

+3584
-1500
lines changed

Some content is hidden

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

60 files changed

+3584
-1500
lines changed

.changeset/calm-pans-worry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@powersync/diagnostics-app': minor
3+
---
4+
5+
Improve diagnostics app performance for bulk downloads.

.changeset/lovely-impalas-do.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@powersync/web': minor
3+
---
4+
5+
Add cacheSizeKb option, defaulting to 50MB.

.changeset/slow-spiders-smash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@powersync/diagnostics-app': minor
3+
---
4+
5+
Switch diagnostics app to OPFS.

.changeset/spotty-students-serve.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@powersync/op-sqlite': minor
3+
---
4+
5+
Default to using memory for temp store, and 50MB cache size.

.changeset/swift-seahorses-help.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@powersync/common': minor
3+
---
4+
5+
add 'connecting' flag to SyncStatus

.github/workflows/deploy-docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: pnpm build:packages
5555
- name: Build Docs
5656
run: pnpm docs:build
57-
- uses: actions/upload-pages-artifact@v2
57+
- uses: actions/upload-pages-artifact@v3
5858
with:
5959
path: ./docs/build
6060
deploy:
@@ -66,4 +66,4 @@ jobs:
6666
steps:
6767
- name: Deploy to GitHub Pages
6868
id: deployment
69-
uses: actions/deploy-pages@v2
69+
uses: actions/deploy-pages@v4

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ import {
99
PowerSyncDatabase,
1010
Schema,
1111
Table,
12-
WASQLiteOpenFactory
12+
WASQLiteOpenFactory,
13+
WASQLiteVFS
1314
} from '@powersync/web';
1415

1516
export interface ListRecord {
@@ -66,14 +67,15 @@ export class PowerSyncService {
6667
constructor() {
6768
const factory = new WASQLiteOpenFactory({
6869
dbFilename: 'test.db',
69-
70+
vfs: WASQLiteVFS.OPFSCoopSyncVFS,
7071
// Specify the path to the worker script
7172
worker: 'assets/@powersync/worker/WASQLiteDB.umd.js'
7273
});
7374

7475
this.db = new PowerSyncDatabase({
7576
schema: AppSchema,
7677
database: factory,
78+
7779
sync: {
7880
// Specify the path to the worker script
7981
worker: 'assets/@powersync/worker/SharedSyncImplementation.umd.js'

demos/react-supabase-todolist/src/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<html lang="en">
22
<head>
33
<meta name="theme-color" content="#c44eff" />
4+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
45
<link rel="apple-touch-icon" href="/icons/icon.png" />
56
<link rel="stylesheet" href="./app/globals.css" />
67
<script type="module" src="./app/index.tsx"></script>

demos/react-supabase-todolist/vite.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default defineConfig({
2525
// Don't optimize these packages as they contain web workers and WASM files.
2626
// https://github.com/vitejs/vite/issues/11672#issuecomment-1415820673
2727
exclude: ['@journeyapps/wa-sqlite', '@powersync/web'],
28-
include: [],
28+
include: []
2929
// include: ['@powersync/web > js-logger'], // <-- Include `js-logger` when it isn't installed and imported.
3030
},
3131
plugins: [

packages/common/CHANGELOG.md

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

3+
## 1.23.0
4+
5+
### Minor Changes
6+
7+
- 0f28fb3: Add `retryDelayMs` and `crudUploadThrottleMs` to `connect` so that the values can be dynamically changed upon reconnecting.
8+
39
## 1.22.2
410

511
### Patch Changes

0 commit comments

Comments
 (0)