From 6c24c19860ee25de0890693ea3ae970f14be5c63 Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Tue, 16 Jul 2024 13:56:51 +0200 Subject: [PATCH 01/15] Add a debugMode flag to log queries to the performance timeline. --- packages/common/src/client/SQLOpenFactory.ts | 8 ++++++++ .../db/adapters/wa-sqlite/WASQLiteDBAdapter.ts | 16 ++++++++++++++++ .../src/library/powersync/ConnectionManager.ts | 3 ++- 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/packages/common/src/client/SQLOpenFactory.ts b/packages/common/src/client/SQLOpenFactory.ts index 3736c4b8..f0f0a9b5 100644 --- a/packages/common/src/client/SQLOpenFactory.ts +++ b/packages/common/src/client/SQLOpenFactory.ts @@ -9,6 +9,14 @@ export interface SQLOpenOptions { * Directory where the database file is located. */ dbLocation?: string; + + /** + * Enable debugMode to log queries to the performance timeline. + * + * Defaults to false if `process.env.NODE_ENV == 'production'`, + * true otherwise. + */ + debugMode?: boolean; } export interface SQLOpenFactory { diff --git a/packages/web/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.ts b/packages/web/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.ts index 7449ad29..0fc1b81a 100644 --- a/packages/web/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.ts +++ b/packages/web/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.ts @@ -39,12 +39,28 @@ export class WASQLiteDBAdapter extends BaseObserver implement private logger: ILogger; private dbGetHelpers: DBGetUtils | null; private methods: DBFunctionsInterface | null; + private debugMode: boolean; constructor(protected options: WASQLiteDBAdapterOptions) { super(); this.logger = Logger.get('WASQLite'); this.dbGetHelpers = null; this.methods = null; + this.debugMode = options.debugMode ?? process.env.NODE_ENV !== 'production'; + if (this.debugMode) { + const originalExecute = this._execute.bind(this); + this._execute = async (sql, bindings) => { + const start = performance.now(); + try { + const r = await originalExecute(sql, bindings); + performance.measure(`SQL: ${sql}`, { start }); + return r; + } catch (e: any) { + performance.measure(`SQL ERROR: ${e.message} | ${sql}`, { start }); + throw e; + } + }; + } this.initialized = this.init(); this.dbGetHelpers = this.generateDBHelpers({ execute: (query, params) => this.acquireLock(() => this._execute(query, params)) diff --git a/tools/diagnostics-app/src/library/powersync/ConnectionManager.ts b/tools/diagnostics-app/src/library/powersync/ConnectionManager.ts index 4bfda3bc..0382e05c 100644 --- a/tools/diagnostics-app/src/library/powersync/ConnectionManager.ts +++ b/tools/diagnostics-app/src/library/powersync/ConnectionManager.ts @@ -25,7 +25,8 @@ export const schemaManager = new DynamicSchemaManager(); export const db = new PowerSyncDatabase({ database: { - dbFilename: 'example.db' + dbFilename: 'example.db', + debugMode: true }, schema: schemaManager.buildSchema() }); From 7a1a49433e27fe4434d2012017d1487fc21ef68f Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Tue, 16 Jul 2024 16:40:22 +0200 Subject: [PATCH 02/15] Default to debugMode: false, requiring explicit opt-in. --- packages/common/src/client/SQLOpenFactory.ts | 7 +++++-- .../web/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.ts | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/common/src/client/SQLOpenFactory.ts b/packages/common/src/client/SQLOpenFactory.ts index f0f0a9b5..a8115fc6 100644 --- a/packages/common/src/client/SQLOpenFactory.ts +++ b/packages/common/src/client/SQLOpenFactory.ts @@ -13,8 +13,11 @@ export interface SQLOpenOptions { /** * Enable debugMode to log queries to the performance timeline. * - * Defaults to false if `process.env.NODE_ENV == 'production'`, - * true otherwise. + * Defaults to false. + * + * To enable in development builds, use: + * + * debugMode: process.env.NODE_ENV !== 'production' */ debugMode?: boolean; } diff --git a/packages/web/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.ts b/packages/web/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.ts index 0fc1b81a..9ade48ff 100644 --- a/packages/web/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.ts +++ b/packages/web/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.ts @@ -46,7 +46,7 @@ export class WASQLiteDBAdapter extends BaseObserver implement this.logger = Logger.get('WASQLite'); this.dbGetHelpers = null; this.methods = null; - this.debugMode = options.debugMode ?? process.env.NODE_ENV !== 'production'; + this.debugMode = options.debugMode ?? false; if (this.debugMode) { const originalExecute = this._execute.bind(this); this._execute = async (sql, bindings) => { From 670f3c05269e0652d6de62676a299aace2b2d01e Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Tue, 16 Jul 2024 16:42:33 +0200 Subject: [PATCH 03/15] Tweak timeline message. --- packages/web/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.ts b/packages/web/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.ts index 9ade48ff..395cfeed 100644 --- a/packages/web/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.ts +++ b/packages/web/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.ts @@ -53,10 +53,10 @@ export class WASQLiteDBAdapter extends BaseObserver implement const start = performance.now(); try { const r = await originalExecute(sql, bindings); - performance.measure(`SQL: ${sql}`, { start }); + performance.measure(`[SQL] ${sql}`, { start }); return r; } catch (e: any) { - performance.measure(`SQL ERROR: ${e.message} | ${sql}`, { start }); + performance.measure(`[SQL] [ERROR: ${e.message}] ${sql}`, { start }); throw e; } }; From 05f3dbd25b697dee0214e5bafe852d0055c9b736 Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Wed, 17 Jul 2024 09:32:01 +0200 Subject: [PATCH 04/15] Add changeset. --- .changeset/spicy-poems-complain.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/spicy-poems-complain.md diff --git a/.changeset/spicy-poems-complain.md b/.changeset/spicy-poems-complain.md new file mode 100644 index 00000000..a8518737 --- /dev/null +++ b/.changeset/spicy-poems-complain.md @@ -0,0 +1,6 @@ +--- +'@powersync/common': minor +'@powersync/web': minor +--- + +Add debugMode flag to log queries on the performance timeline From 4760f81b6ed5f6239bb3e74d27695bcb49d9585f Mon Sep 17 00:00:00 2001 From: Dominic Gunther Bauer <46312751+DominicGBauer@users.noreply.github.com> Date: Mon, 22 Jul 2024 19:51:57 +0200 Subject: [PATCH 05/15] chore: update favicon (#239) Co-authored-by: DominicGBauer --- demos/example-nextjs/src/app/favicon.ico | Bin 1208 -> 1576 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/demos/example-nextjs/src/app/favicon.ico b/demos/example-nextjs/src/app/favicon.ico index 96be8f92343e0d65781e02fa5bc819c50a5c9956..918ca54eefddfbddd927a9b0558126afd2fc433f 100644 GIT binary patch delta 1559 zcmV+y2I%>?38)N^B!2;OQb$4nuFf3k000HzNklKNBWg5iNUCUCix8(k1CqAZXyT(ni=$B#d?X6dU@Z>^fdMICn#Mn> zg$@tVR%0tLU}H*E7!8;*JZA3M=bqJ`GiNS$?qFiTgnzur$$zJ2lp z!#0G5SA9TSxPQILB4QYlbKDnNYC=nt7cPFeUH*AGAPNz91-&F^*y$}Mvh4V{o6DP# z_=}v*9-&v{V6(SKXnAAZF1e;)`=pM-@lBFisQ}7|QT8xR4ww2%0Vpc1LR)BQ^p;o+ z<7alsTdDCaT1^$UuyFv#StPmScT=sd2`!V82;~hw+<)|*Y)I{%(Tx};5kLx}=iNoX zOnxG(ib13RTG1)qvMO;D8CJ~dmg%X{WW623lGH)3Gsj05#;`~_r`GF*p=Eby8Q?7+ zc2zNY^JeL0v5v;_E|#EZU*h8!<rrrpwCg1}M|KcfWNt|5wU9FUWJ>GCZXgR8ux^3I! zK%ZQz3LDshWdaVRjLW!I-b`#{mC=JqHG9Jmmw%&X2GY%B9f`1u09Ta5gnWL@B3V#c zNY{?lDLG+P+C7#Pe{aiDSZw&JUX1W|8j*mVv~d~D5=)EIj?gmHTmBoKpyo~_#}uu@ z@IC<+$7~$)2sjT%CyrX4kdD3}R2s+A78)8uOY9xvcfXMpak1fR`a29Wvy@I_g1jWl z%764xZ$LKmko>=s;{3A?Mc9j@nt%gTQ!8t~r2`KgPuXvnw;Tz}sGa+ne9CmKAfFs7 z$4PQ{58JSeCm<$Z9L@5#QVQZl+5q}zp98LduO;!%RL0^e1pB>wnvE>%M2g?&# zYUihI_-vK_)C((;DC7+<{^pR(>PJBL=~yf~aA{R{Mc3>7k??r2kcEaQa*U=`_VE|3ppp(O)i^o|RQ$-fdTHLWJ*8Gd+kyjJ zDWy`|tiv$0V;MxiM+o)YE5{QM^;c_?w+zo2MtIAVM7Rn{>R1%7l{-_gZ|VbB=4a&g zP#-n??NDv;mfNz8YjT!Np(Bnh`+r+@%g)rnqnU#qQhAuW?|YjPQV)ov7%j8ob@DL(RO)4Qzk%fL^L46synh&4&MCf4 zWZ1OvA97Rb=o!5k_(K-PR%Xeq$@1`tTHZa7%Fe7XIw8-xY*^W@V+o3icuY?bpK>Jo zWt|T3G4(mcbh)&p$U6>gdRKNAif*yKj^k7kicK6&*Aua ziC`7a0L3z%0PDn1%jlC-er5pHYBioeV!8Yjl6~^}4;j_Hh%^~I?=GXROFgr-}m zqntqnPx#1ZP1_ zK>z@;j|==^1poj9O-V#SRCodHmCtJ=MHI(hbHGx=BAC-=g6QU=WIaWcoqyg{OvJ^si|ll|yQ=(l z$IMJNlOP`4%RDGjr0do9^WLlXhG=YK8{2(0cGgF^U>L;JHgUx!p*Gmsj!pjufSfaQ zN+>lFYzY92IF4~8TozHh!Pd8JIt%>C8G|U+CZE~xZ!o)K|7!sG)?-T~lsW}8fxp)w zS|!GG@{}g_27d+0;iX@FXPxjhOr4UvMv^M4UR6Zvau zp~OYH#z`}Lk?snaYn*p#E5`v|dqN=UP4>mk>`=rIV{QB&k1)|-TU&PjTM>13Rb)dc zMIZs*heD^;dta{@JxW!$)RqEDQ{m6|BW=MU(vi=BoS@MF z9)u1C8Ni-JS>bFAaEsIny7Iz{&420)anr<`xqm8nV%0x4XU6u{t)8Es^+m4b$$Y_M z8OxXXrUx-!YQ?^c%#$}d17WnWp$w?oQS=AtD*5yd_IUM51zoTq&%M0Je(7{LPhawQ zayGuV);UbGWl#R`X_d=d!RJ}a6ZzL&h`B-^#KrYfG7uozV2}a!{k0bHM1fp#*pJ^> z?0?2)0exL29w#oec5mv8^Ot2!*^T<(cb)5&(ct$Pp#L_CR?_ zK7Fwn^>he<*21gqw&x5&laBV z&A0k8JRiM-{+&k~`OFN44B9FhM3{B~27l45&dTt$ccw}uuBJMZd!N~1TLGqq`j!Hj z#^B4exRP9c$|>74!dCUJp1Ok;WJ;am{G7cOYQXLd0&mGFufQhb*vW zAX7!G?LZ{w&pTHlp`UWil25r>AX3q^!=P!r;J#`N-?^^*3gH-plREruA(irFihp-T z0z?q!OoNL|6dh Date: Tue, 23 Jul 2024 07:55:37 +0200 Subject: [PATCH 06/15] [Fix] WebSocket close bug (#238) --- .changeset/pretty-zebras-brush.md | 5 +++++ .../src/client/sync/stream/AbstractRemote.ts | 17 ++++++++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 .changeset/pretty-zebras-brush.md diff --git a/.changeset/pretty-zebras-brush.md b/.changeset/pretty-zebras-brush.md new file mode 100644 index 00000000..cb94e32f --- /dev/null +++ b/.changeset/pretty-zebras-brush.md @@ -0,0 +1,5 @@ +--- +'@powersync/common': patch +--- + +Fix issue where WebSockets might not close under some error conditions. diff --git a/packages/common/src/client/sync/stream/AbstractRemote.ts b/packages/common/src/client/sync/stream/AbstractRemote.ts index 94f332c7..649f485b 100644 --- a/packages/common/src/client/sync/stream/AbstractRemote.ts +++ b/packages/common/src/client/sync/stream/AbstractRemote.ts @@ -253,9 +253,18 @@ export abstract class AbstractRemote { socketIsClosed = true; rsocket.close(); }; + // Helps to prevent double close scenarios + rsocket.onClose(() => (socketIsClosed = true)); // We initially request this amount and expect these to arrive eventually let pendingEventsCount = SYNC_QUEUE_REQUEST_N; + const disposeClosedListener = stream.registerListener({ + closed: () => { + closeSocket(); + disposeClosedListener(); + } + }); + const socket = await new Promise((resolve, reject) => { let connectionEstablished = false; @@ -275,9 +284,8 @@ export abstract class AbstractRemote { if (e.message !== 'Closed. ') { this.logger.error(e); } - // RSocket will close this automatically - // Attempting to close multiple times causes a console warning - socketIsClosed = true; + // RSocket will close the RSocket stream automatically + // Close the downstream stream as well - this will close the RSocket connection and WebSocket stream.close(); // Handles cases where the connection failed e.g. auth error or connection error if (!connectionEstablished) { @@ -318,8 +326,7 @@ export abstract class AbstractRemote { } }, closed: () => { - closeSocket(); - l?.(); + l(); } }); From ad4b319cf3945b2d8c0fe5ce2e95f9cf68a709ce Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Tue, 23 Jul 2024 11:00:57 +0200 Subject: [PATCH 07/15] clarify diagnostics app setup --- tools/diagnostics-app/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/diagnostics-app/README.md b/tools/diagnostics-app/README.md index 325f9fd3..d55f2893 100644 --- a/tools/diagnostics-app/README.md +++ b/tools/diagnostics-app/README.md @@ -24,8 +24,12 @@ Then in this directory run: pnpm dev ``` +The app is now available on [http://localhost:5173/](http://localhost:5173/). + Generate a [development token](https://docs.powersync.com/usage/installation/authentication-setup/development-tokens) and sign in. For development tokens, the PowerSync endpoint should be populated automatically. For some others like Supabase tokens, it needs to be entered manually. +If you run powersync inside docker (such as via the [self-host-demo](https://github.com/powersync-ja/self-host-demo)) the returned powersync_url is internal to the docker network and will be unreachable outside of it. Since we run the diagnostics app outside of docker, you can then connect to the endpoint as exposed by docker-proxy, e.g. `http://localhost:8080`. + **Note**: Please see the known usability issues listed below. ## Functionality From 8a1d5ce01e5879dd29c6c3ea7b2a035942fcd4e0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 23 Jul 2024 11:15:05 +0200 Subject: [PATCH 08/15] Version Packages (#240) Co-authored-by: github-actions[bot] --- .changeset/pretty-zebras-brush.md | 5 ----- demos/angular-supabase-todolist/CHANGELOG.md | 6 ++++++ demos/angular-supabase-todolist/package.json | 2 +- demos/django-react-native-todolist/CHANGELOG.md | 9 +++++++++ demos/django-react-native-todolist/package.json | 2 +- demos/example-capacitor/CHANGELOG.md | 7 +++++++ demos/example-capacitor/package.json | 2 +- demos/example-electron/CHANGELOG.md | 7 +++++++ demos/example-electron/package.json | 2 +- demos/example-nextjs/CHANGELOG.md | 7 +++++++ demos/example-nextjs/package.json | 2 +- demos/example-vite/CHANGELOG.md | 6 ++++++ demos/example-vite/package.json | 2 +- demos/react-multi-client/CHANGELOG.md | 7 +++++++ demos/react-multi-client/package.json | 2 +- demos/react-native-supabase-group-chat/CHANGELOG.md | 9 +++++++++ demos/react-native-supabase-group-chat/package.json | 2 +- demos/react-native-supabase-todolist/CHANGELOG.md | 10 ++++++++++ demos/react-native-supabase-todolist/package.json | 2 +- demos/react-supabase-todolist/CHANGELOG.md | 7 +++++++ demos/react-supabase-todolist/package.json | 2 +- demos/vue-supabase-todolist/CHANGELOG.md | 7 +++++++ demos/vue-supabase-todolist/package.json | 2 +- demos/yjs-react-supabase-text-collab/CHANGELOG.md | 7 +++++++ demos/yjs-react-supabase-text-collab/package.json | 2 +- packages/attachments/CHANGELOG.md | 7 +++++++ packages/attachments/package.json | 2 +- packages/common/CHANGELOG.md | 6 ++++++ packages/common/package.json | 2 +- packages/kysely-driver/CHANGELOG.md | 7 +++++++ packages/kysely-driver/package.json | 2 +- packages/react-native/CHANGELOG.md | 8 ++++++++ packages/react-native/package.json | 2 +- packages/react/CHANGELOG.md | 7 +++++++ packages/react/package.json | 2 +- packages/vue/CHANGELOG.md | 7 +++++++ packages/vue/package.json | 2 +- packages/web/CHANGELOG.md | 7 +++++++ packages/web/package.json | 2 +- tools/diagnostics-app/CHANGELOG.md | 7 +++++++ tools/diagnostics-app/package.json | 2 +- 41 files changed, 165 insertions(+), 25 deletions(-) delete mode 100644 .changeset/pretty-zebras-brush.md diff --git a/.changeset/pretty-zebras-brush.md b/.changeset/pretty-zebras-brush.md deleted file mode 100644 index cb94e32f..00000000 --- a/.changeset/pretty-zebras-brush.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@powersync/common': patch ---- - -Fix issue where WebSockets might not close under some error conditions. diff --git a/demos/angular-supabase-todolist/CHANGELOG.md b/demos/angular-supabase-todolist/CHANGELOG.md index f26d1a16..d8da1573 100644 --- a/demos/angular-supabase-todolist/CHANGELOG.md +++ b/demos/angular-supabase-todolist/CHANGELOG.md @@ -1,5 +1,11 @@ # PowerSync Angular Demo +## 0.0.25 + +### Patch Changes + +- @powersync/web@1.2.4 + ## 0.0.24 ### Patch Changes diff --git a/demos/angular-supabase-todolist/package.json b/demos/angular-supabase-todolist/package.json index a2556716..f5dda124 100644 --- a/demos/angular-supabase-todolist/package.json +++ b/demos/angular-supabase-todolist/package.json @@ -1,6 +1,6 @@ { "name": "angular-supabase-todolist", - "version": "0.0.24", + "version": "0.0.25", "scripts": { "ng": "ng", "serve": "ng serve", diff --git a/demos/django-react-native-todolist/CHANGELOG.md b/demos/django-react-native-todolist/CHANGELOG.md index 116e2eee..791aeb60 100644 --- a/demos/django-react-native-todolist/CHANGELOG.md +++ b/demos/django-react-native-todolist/CHANGELOG.md @@ -1,5 +1,14 @@ # django-react-native-todolist +## 1.2.2 + +### Patch Changes + +- Updated dependencies [44c568b] + - @powersync/common@1.13.1 + - @powersync/react@1.3.7 + - @powersync/react-native@1.8.3 + ## 1.2.1 ### Patch Changes diff --git a/demos/django-react-native-todolist/package.json b/demos/django-react-native-todolist/package.json index b24d351d..c9e721b1 100644 --- a/demos/django-react-native-todolist/package.json +++ b/demos/django-react-native-todolist/package.json @@ -1,6 +1,6 @@ { "name": "django-react-native-todolist", - "version": "1.2.1", + "version": "1.2.2", "main": "./index.js", "scripts": { "android": "expo run:android", diff --git a/demos/example-capacitor/CHANGELOG.md b/demos/example-capacitor/CHANGELOG.md index 50003685..55766187 100644 --- a/demos/example-capacitor/CHANGELOG.md +++ b/demos/example-capacitor/CHANGELOG.md @@ -1,5 +1,12 @@ # example-capacitor +## 0.0.11 + +### Patch Changes + +- @powersync/react@1.3.7 +- @powersync/web@1.2.4 + ## 0.0.10 ### Patch Changes diff --git a/demos/example-capacitor/package.json b/demos/example-capacitor/package.json index 2276d98f..553afaec 100644 --- a/demos/example-capacitor/package.json +++ b/demos/example-capacitor/package.json @@ -1,6 +1,6 @@ { "name": "example-capacitor", - "version": "0.0.10", + "version": "0.0.11", "description": "Example of using Capacitor with PowerSync", "main": "index.js", "private": true, diff --git a/demos/example-electron/CHANGELOG.md b/demos/example-electron/CHANGELOG.md index be3d6740..3545a864 100644 --- a/demos/example-electron/CHANGELOG.md +++ b/demos/example-electron/CHANGELOG.md @@ -1,5 +1,12 @@ # example-electron +## 1.0.16 + +### Patch Changes + +- @powersync/react@1.3.7 +- @powersync/web@1.2.4 + ## 1.0.15 ### Patch Changes diff --git a/demos/example-electron/package.json b/demos/example-electron/package.json index a6fdea97..851e989e 100644 --- a/demos/example-electron/package.json +++ b/demos/example-electron/package.json @@ -1,7 +1,7 @@ { "name": "example-electron", "productName": "example-electron", - "version": "1.0.15", + "version": "1.0.16", "description": "Example of using Electron with PowerSync", "main": ".vite/build/main.js", "type": "module", diff --git a/demos/example-nextjs/CHANGELOG.md b/demos/example-nextjs/CHANGELOG.md index 05bae7ca..111a399e 100644 --- a/demos/example-nextjs/CHANGELOG.md +++ b/demos/example-nextjs/CHANGELOG.md @@ -1,5 +1,12 @@ # example-nextjs +## 0.1.15 + +### Patch Changes + +- @powersync/react@1.3.7 +- @powersync/web@1.2.4 + ## 0.1.14 ### Patch Changes diff --git a/demos/example-nextjs/package.json b/demos/example-nextjs/package.json index 597e6538..1c6dbeb8 100644 --- a/demos/example-nextjs/package.json +++ b/demos/example-nextjs/package.json @@ -1,6 +1,6 @@ { "name": "example-nextjs", - "version": "0.1.14", + "version": "0.1.15", "private": true, "scripts": { "build": "next build", diff --git a/demos/example-vite/CHANGELOG.md b/demos/example-vite/CHANGELOG.md index e598c359..1084192e 100644 --- a/demos/example-vite/CHANGELOG.md +++ b/demos/example-vite/CHANGELOG.md @@ -1,5 +1,11 @@ # example-vite +## 0.0.33 + +### Patch Changes + +- @powersync/web@1.2.4 + ## 0.0.32 ### Patch Changes diff --git a/demos/example-vite/package.json b/demos/example-vite/package.json index a1fa3d38..48757fe8 100644 --- a/demos/example-vite/package.json +++ b/demos/example-vite/package.json @@ -1,7 +1,7 @@ { "name": "example-vite", "private": true, - "version": "0.0.32", + "version": "0.0.33", "type": "module", "scripts": { "dev": "vite", diff --git a/demos/react-multi-client/CHANGELOG.md b/demos/react-multi-client/CHANGELOG.md index 55f5d26f..1e4c2f65 100644 --- a/demos/react-multi-client/CHANGELOG.md +++ b/demos/react-multi-client/CHANGELOG.md @@ -1,5 +1,12 @@ # react-multi-client +## 0.0.7 + +### Patch Changes + +- @powersync/react@1.3.7 +- @powersync/web@1.2.4 + ## 0.0.6 ### Patch Changes diff --git a/demos/react-multi-client/package.json b/demos/react-multi-client/package.json index afb40c5f..6b478caa 100644 --- a/demos/react-multi-client/package.json +++ b/demos/react-multi-client/package.json @@ -1,6 +1,6 @@ { "name": "react-multi-client", - "version": "0.0.6", + "version": "0.0.7", "private": true, "scripts": { "dev": "vite", diff --git a/demos/react-native-supabase-group-chat/CHANGELOG.md b/demos/react-native-supabase-group-chat/CHANGELOG.md index da88a088..1cdeb8fc 100644 --- a/demos/react-native-supabase-group-chat/CHANGELOG.md +++ b/demos/react-native-supabase-group-chat/CHANGELOG.md @@ -1,5 +1,14 @@ # react-native-supabase-group-chat +## 1.1.13 + +### Patch Changes + +- Updated dependencies [44c568b] + - @powersync/common@1.13.1 + - @powersync/react@1.3.7 + - @powersync/react-native@1.8.3 + ## 1.1.12 ### Patch Changes diff --git a/demos/react-native-supabase-group-chat/package.json b/demos/react-native-supabase-group-chat/package.json index 9db3b420..8b05ad30 100644 --- a/demos/react-native-supabase-group-chat/package.json +++ b/demos/react-native-supabase-group-chat/package.json @@ -1,6 +1,6 @@ { "name": "react-native-supabase-group-chat", - "version": "1.1.12", + "version": "1.1.13", "main": "expo-router/entry", "scripts": { "clear": "find ./ -type d -and \\( -name node_modules -or -name build -or -name dist \\) -exec rm -rf '{}' +", diff --git a/demos/react-native-supabase-todolist/CHANGELOG.md b/demos/react-native-supabase-todolist/CHANGELOG.md index dcfdf9b6..d794a734 100644 --- a/demos/react-native-supabase-todolist/CHANGELOG.md +++ b/demos/react-native-supabase-todolist/CHANGELOG.md @@ -1,5 +1,15 @@ # react-native-supabase-todolist +## 1.3.8 + +### Patch Changes + +- Updated dependencies [44c568b] + - @powersync/common@1.13.1 + - @powersync/attachments@2.0.12 + - @powersync/react@1.3.7 + - @powersync/react-native@1.8.3 + ## 1.3.7 ### Patch Changes diff --git a/demos/react-native-supabase-todolist/package.json b/demos/react-native-supabase-todolist/package.json index cc08c763..bb765e3c 100644 --- a/demos/react-native-supabase-todolist/package.json +++ b/demos/react-native-supabase-todolist/package.json @@ -1,6 +1,6 @@ { "name": "react-native-supabase-todolist", - "version": "1.3.7", + "version": "1.3.8", "main": "./index.js", "scripts": { "android": "expo run:android", diff --git a/demos/react-supabase-todolist/CHANGELOG.md b/demos/react-supabase-todolist/CHANGELOG.md index e800100f..ff00bb8c 100644 --- a/demos/react-supabase-todolist/CHANGELOG.md +++ b/demos/react-supabase-todolist/CHANGELOG.md @@ -1,5 +1,12 @@ # react-supabase-todolist +## 0.3.16 + +### Patch Changes + +- @powersync/react@1.3.7 +- @powersync/web@1.2.4 + ## 0.3.15 ### Patch Changes diff --git a/demos/react-supabase-todolist/package.json b/demos/react-supabase-todolist/package.json index 24bc9c56..f325ec32 100644 --- a/demos/react-supabase-todolist/package.json +++ b/demos/react-supabase-todolist/package.json @@ -1,6 +1,6 @@ { "name": "react-supabase-todolist", - "version": "0.3.15", + "version": "0.3.16", "private": true, "scripts": { "dev": "vite", diff --git a/demos/vue-supabase-todolist/CHANGELOG.md b/demos/vue-supabase-todolist/CHANGELOG.md index 88c05e3e..00033936 100644 --- a/demos/vue-supabase-todolist/CHANGELOG.md +++ b/demos/vue-supabase-todolist/CHANGELOG.md @@ -1,5 +1,12 @@ # vue-supabase-todolist +## 0.0.22 + +### Patch Changes + +- @powersync/vue@0.1.9 +- @powersync/web@1.2.4 + ## 0.0.21 ### Patch Changes diff --git a/demos/vue-supabase-todolist/package.json b/demos/vue-supabase-todolist/package.json index 2166d918..db3895a7 100644 --- a/demos/vue-supabase-todolist/package.json +++ b/demos/vue-supabase-todolist/package.json @@ -1,7 +1,7 @@ { "name": "vue-supabase-todolist", "private": true, - "version": "0.0.21", + "version": "0.0.22", "type": "module", "scripts": { "dev": "vue-tsc --noEmit --watch & vite dev", diff --git a/demos/yjs-react-supabase-text-collab/CHANGELOG.md b/demos/yjs-react-supabase-text-collab/CHANGELOG.md index de1fd5df..908563a2 100644 --- a/demos/yjs-react-supabase-text-collab/CHANGELOG.md +++ b/demos/yjs-react-supabase-text-collab/CHANGELOG.md @@ -1,5 +1,12 @@ # yjs-react-supabase-text-collab +## 0.1.16 + +### Patch Changes + +- @powersync/react@1.3.7 +- @powersync/web@1.2.4 + ## 0.1.15 ### Patch Changes diff --git a/demos/yjs-react-supabase-text-collab/package.json b/demos/yjs-react-supabase-text-collab/package.json index e7925efb..a5cf4210 100644 --- a/demos/yjs-react-supabase-text-collab/package.json +++ b/demos/yjs-react-supabase-text-collab/package.json @@ -1,6 +1,6 @@ { "name": "yjs-react-supabase-text-collab", - "version": "0.1.15", + "version": "0.1.16", "private": true, "scripts": { "dev": "vite", diff --git a/packages/attachments/CHANGELOG.md b/packages/attachments/CHANGELOG.md index 18bfcde1..15742797 100644 --- a/packages/attachments/CHANGELOG.md +++ b/packages/attachments/CHANGELOG.md @@ -1,5 +1,12 @@ # @powersync/attachments +## 2.0.12 + +### Patch Changes + +- Updated dependencies [44c568b] + - @powersync/common@1.13.1 + ## 2.0.11 ### Patch Changes diff --git a/packages/attachments/package.json b/packages/attachments/package.json index b711bdad..bee4c946 100644 --- a/packages/attachments/package.json +++ b/packages/attachments/package.json @@ -1,6 +1,6 @@ { "name": "@powersync/attachments", - "version": "2.0.11", + "version": "2.0.12", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index 57cc23d2..bfdaa215 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,5 +1,11 @@ # @powersync/common +## 1.13.1 + +### Patch Changes + +- 44c568b: Fix issue where WebSockets might not close under some error conditions. + ## 1.13.0 ### Minor Changes diff --git a/packages/common/package.json b/packages/common/package.json index 5e511b20..755acaa7 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@powersync/common", - "version": "1.13.0", + "version": "1.13.1", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" diff --git a/packages/kysely-driver/CHANGELOG.md b/packages/kysely-driver/CHANGELOG.md index f9cf12f9..be9cc4eb 100644 --- a/packages/kysely-driver/CHANGELOG.md +++ b/packages/kysely-driver/CHANGELOG.md @@ -1,5 +1,12 @@ # @powersync/kysely-driver +## 0.2.8 + +### Patch Changes + +- Updated dependencies [44c568b] + - @powersync/common@1.13.1 + ## 0.2.7 ### Patch Changes diff --git a/packages/kysely-driver/package.json b/packages/kysely-driver/package.json index 0416cb74..1c552f44 100644 --- a/packages/kysely-driver/package.json +++ b/packages/kysely-driver/package.json @@ -1,6 +1,6 @@ { "name": "@powersync/kysely-driver", - "version": "0.2.7", + "version": "0.2.8", "description": "Kysely driver for PowerSync", "main": "lib/src/index.js", "types": "lib/src/index.d.ts", diff --git a/packages/react-native/CHANGELOG.md b/packages/react-native/CHANGELOG.md index bda2b6d0..98a836f7 100644 --- a/packages/react-native/CHANGELOG.md +++ b/packages/react-native/CHANGELOG.md @@ -1,5 +1,13 @@ # @powersync/react-native +## 1.8.3 + +### Patch Changes + +- Updated dependencies [44c568b] + - @powersync/common@1.13.1 + - @powersync/react@1.3.7 + ## 1.8.2 ### Patch Changes diff --git a/packages/react-native/package.json b/packages/react-native/package.json index 40637c04..f54c0506 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -1,6 +1,6 @@ { "name": "@powersync/react-native", - "version": "1.8.2", + "version": "1.8.3", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 1aabe2c5..b3c72491 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,12 @@ # @powersync/react +## 1.3.7 + +### Patch Changes + +- Updated dependencies [44c568b] + - @powersync/common@1.13.1 + ## 1.3.6 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index cad0194f..55e0fe12 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@powersync/react", - "version": "1.3.6", + "version": "1.3.7", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" diff --git a/packages/vue/CHANGELOG.md b/packages/vue/CHANGELOG.md index 01b3f5ad..d590ac80 100644 --- a/packages/vue/CHANGELOG.md +++ b/packages/vue/CHANGELOG.md @@ -1,5 +1,12 @@ # @powersync/vue +## 0.1.9 + +### Patch Changes + +- Updated dependencies [44c568b] + - @powersync/common@1.13.1 + ## 0.1.8 ### Patch Changes diff --git a/packages/vue/package.json b/packages/vue/package.json index c841d708..abc82d94 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@powersync/vue", - "version": "0.1.8", + "version": "0.1.9", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" diff --git a/packages/web/CHANGELOG.md b/packages/web/CHANGELOG.md index f2257c9f..4d34c9c2 100644 --- a/packages/web/CHANGELOG.md +++ b/packages/web/CHANGELOG.md @@ -1,5 +1,12 @@ # @powersync/web +## 1.2.4 + +### Patch Changes + +- Updated dependencies [44c568b] + - @powersync/common@1.13.1 + ## 1.2.3 ### Patch Changes diff --git a/packages/web/package.json b/packages/web/package.json index 3e05e983..517ab01e 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,6 +1,6 @@ { "name": "@powersync/web", - "version": "1.2.3", + "version": "1.2.4", "description": "A Web SDK for JourneyApps PowerSync", "main": "lib/src/index.js", "types": "lib/src/index.d.ts", diff --git a/tools/diagnostics-app/CHANGELOG.md b/tools/diagnostics-app/CHANGELOG.md index e3875794..6a873f1f 100644 --- a/tools/diagnostics-app/CHANGELOG.md +++ b/tools/diagnostics-app/CHANGELOG.md @@ -1,5 +1,12 @@ # diagnostics-app +## 0.2.2 + +### Patch Changes + +- @powersync/react@1.3.7 +- @powersync/web@1.2.4 + ## 0.2.1 ### Patch Changes diff --git a/tools/diagnostics-app/package.json b/tools/diagnostics-app/package.json index 1a9aa252..15bb6234 100644 --- a/tools/diagnostics-app/package.json +++ b/tools/diagnostics-app/package.json @@ -1,6 +1,6 @@ { "name": "diagnostics-app", - "version": "0.2.1", + "version": "0.2.2", "private": true, "scripts": { "dev": "vite", From 79eaa2562cdf84ff8fad40de91b4f93d568ebe9e Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Thu, 25 Jul 2024 13:50:04 +0200 Subject: [PATCH 09/15] Docker image for diagnostics-app (#243) --- .changeset/config.json | 4 ++ .changeset/odd-beers-tease.md | 5 ++ .dockerignore | 5 ++ .../workflows/diagnostics-image-build.yaml | 25 +++++++++ .../workflows/diagnostics-image-release.yaml | 56 +++++++++++++++++++ tools/diagnostics-app/Dockerfile | 16 ++++++ tools/diagnostics-app/nginx.conf | 8 +++ tools/diagnostics-app/package.json | 2 +- 8 files changed, 120 insertions(+), 1 deletion(-) create mode 100644 .changeset/odd-beers-tease.md create mode 100644 .dockerignore create mode 100644 .github/workflows/diagnostics-image-build.yaml create mode 100644 .github/workflows/diagnostics-image-release.yaml create mode 100644 tools/diagnostics-app/Dockerfile create mode 100644 tools/diagnostics-app/nginx.conf diff --git a/.changeset/config.json b/.changeset/config.json index c62f93ed..38fba6ce 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -11,5 +11,9 @@ "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": { "onlyUpdatePeerDependentsWhenOutOfRange": true, "updateInternalDependents": "out-of-range" + }, + "privatePackages": { + "tag": true, + "version": true } } diff --git a/.changeset/odd-beers-tease.md b/.changeset/odd-beers-tease.md new file mode 100644 index 00000000..4a707bda --- /dev/null +++ b/.changeset/odd-beers-tease.md @@ -0,0 +1,5 @@ +--- +'@powersync/diagnostics-app': minor +--- + +Add docker image diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..3d63c8d3 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,5 @@ +.git +.idea + +**/node_modules +**/dist diff --git a/.github/workflows/diagnostics-image-build.yaml b/.github/workflows/diagnostics-image-build.yaml new file mode 100644 index 00000000..a5d08bfa --- /dev/null +++ b/.github/workflows/diagnostics-image-build.yaml @@ -0,0 +1,25 @@ +name: Diagnostics Image Build + +on: + push: + +concurrency: ${{ github.workflow }}-${{ github.ref }} + +jobs: + build-docker-image: + name: Build diagnostics-app Docker Image + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Build Image + uses: docker/build-push-action@v5 + with: + platforms: linux/amd64 + cache-from: type=registry,ref=${{vars.DIAGNOSTICS_DOCKER_REGISTRY}}:latest + context: . + file: ./tools/diagnostics-app/Dockerfile diff --git a/.github/workflows/diagnostics-image-release.yaml b/.github/workflows/diagnostics-image-release.yaml new file mode 100644 index 00000000..fc6ccba4 --- /dev/null +++ b/.github/workflows/diagnostics-image-release.yaml @@ -0,0 +1,56 @@ +# Publishes the Diagnostics App Docker image to DockerHub +# This is triggered whenever the `diagnostics-app` package is versioned and tagged +name: Diagnostics Image Release + +on: + workflow_dispatch: + push: + tags: + - '@powersync/diagnostics-app*' + +concurrency: ${{ github.workflow }}-${{ github.ref }} + +jobs: + release-docker-image: + name: Build and Release diagnostics-app Docker Image + runs-on: ubuntu-latest + if: github.ref == 'refs/heads/main' + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + # This uses the service's package.json version for the Docker Image tag + - name: Get Image Version from package.json + id: get_version + run: echo "IMAGE_VERSION=$(node -p "require('./tools/diagnostics-app/package.json').version")" >> $GITHUB_OUTPUT + + - name: Build Image and Push + uses: docker/build-push-action@v5 + with: + platforms: linux/amd64 + cache-from: type=registry,ref=${{vars.DIAGNOSTICS_DOCKER_REGISTRY}}:latest + context: . + tags: ${{vars.DIAGNOSTICS_DOCKER_REGISTRY}}:latest,${{vars.DIAGNOSTICS_DOCKER_REGISTRY}}:${{steps.get_version.outputs.IMAGE_VERSION}} + push: true + file: ./tools/diagnostics-app/Dockerfile + + # Updates the README section on the DockerHub page + - name: Update repo description + # Note that this 3rd party extention is recommended in the DockerHub docs: + # https://docs.docker.com/build/ci/github-actions/update-dockerhub-desc/ + uses: peter-evans/dockerhub-description@e98e4d1628a5f3be2be7c231e50981aee98723ae # v4.0.0 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + repository: ${{vars.DIAGNOSTICS_DOCKER_REGISTRY}} + # This is the contents of what will be shown on DockerHub + readme-filepath: ./tools/diagnostics-app/README.md diff --git a/tools/diagnostics-app/Dockerfile b/tools/diagnostics-app/Dockerfile new file mode 100644 index 00000000..089dca94 --- /dev/null +++ b/tools/diagnostics-app/Dockerfile @@ -0,0 +1,16 @@ +FROM node:22.5 AS builder +WORKDIR /app + +RUN npm i -g pnpm@9 + +COPY . /app + +RUN pnpm i --frozen-lockfile --filter ./packages/react --filter ./packages/common --filter ./packages/web --filter ./tools/diagnostics-app +RUN pnpm run --filter ./packages/react --filter ./packages/common --filter ./packages/web build +RUN pnpm run --filter ./tools/diagnostics-app build + +# === PROD === + +FROM nginx +COPY ./tools/diagnostics-app/nginx.conf /etc/nginx/conf.d/default.conf +COPY --from=builder /app/tools/diagnostics-app/dist /usr/share/nginx/html diff --git a/tools/diagnostics-app/nginx.conf b/tools/diagnostics-app/nginx.conf new file mode 100644 index 00000000..79b774af --- /dev/null +++ b/tools/diagnostics-app/nginx.conf @@ -0,0 +1,8 @@ +server { + listen 80; + server_name frontend; + location / { + root /usr/share/nginx/html; + try_files $uri /index.html; + } +} diff --git a/tools/diagnostics-app/package.json b/tools/diagnostics-app/package.json index 15bb6234..10029c6c 100644 --- a/tools/diagnostics-app/package.json +++ b/tools/diagnostics-app/package.json @@ -1,5 +1,5 @@ { - "name": "diagnostics-app", + "name": "@powersync/diagnostics-app", "version": "0.2.2", "private": true, "scripts": { From abf21ee0d65e349d82d8366b93b8906d6370f1a5 Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Thu, 25 Jul 2024 14:01:07 +0200 Subject: [PATCH 10/15] Ignore demos for changesets. --- .changeset/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/config.json b/.changeset/config.json index 38fba6ce..6aa11200 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -7,7 +7,7 @@ "access": "restricted", "baseBranch": "main", "updateInternalDependencies": "patch", - "ignore": [], + "ignore": ["demos/*"], "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": { "onlyUpdatePeerDependentsWhenOutOfRange": true, "updateInternalDependents": "out-of-range" From 6bb6118e721800f10bee14bfecdaa47bb36b553e Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Thu, 25 Jul 2024 14:22:55 +0200 Subject: [PATCH 11/15] Only version powersync packages (exclude demos). --- .changeset/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/config.json b/.changeset/config.json index 6aa11200..a979177f 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -7,7 +7,7 @@ "access": "restricted", "baseBranch": "main", "updateInternalDependencies": "patch", - "ignore": ["demos/*"], + "ignore": ["!@powersync/*"], "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": { "onlyUpdatePeerDependentsWhenOutOfRange": true, "updateInternalDependents": "out-of-range" From 843cfec2ccd96e29691e6657445d0ba7582241ea Mon Sep 17 00:00:00 2001 From: Dominic Gunther Bauer <46312751+DominicGBauer@users.noreply.github.com> Date: Thu, 25 Jul 2024 15:47:37 +0200 Subject: [PATCH 12/15] chore: revert @powersync/common peer dep workspace change (#246) Co-authored-by: DominicGBauer --- .changeset/shaggy-walls-hang.md | 10 ++++++++++ .github/workflows/release.yml | 4 +++- packages/attachments/package.json | 2 +- packages/kysely-driver/package.json | 2 +- packages/react-native/package.json | 2 +- packages/react/package.json | 2 +- packages/vue/package.json | 2 +- packages/web/package.json | 2 +- pnpm-lock.yaml | 8 ++++---- 9 files changed, 23 insertions(+), 11 deletions(-) create mode 100644 .changeset/shaggy-walls-hang.md diff --git a/.changeset/shaggy-walls-hang.md b/.changeset/shaggy-walls-hang.md new file mode 100644 index 00000000..93caefa0 --- /dev/null +++ b/.changeset/shaggy-walls-hang.md @@ -0,0 +1,10 @@ +--- +'@powersync/kysely-driver': patch +'@powersync/react-native': patch +'@powersync/attachments': patch +'@powersync/react': patch +'@powersync/vue': patch +'@powersync/web': patch +--- + +revert peer dep change diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 32a00b8a..813d1d01 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,9 @@ jobs: - uses: pnpm/action-setup@v2 name: Install pnpm with: - version: 9 + # Pnpm 9.4 introduces this https://github.com/pnpm/pnpm/pull/7633 + # which causes workspace:^1.2.0 to be converted to 1.2.0^1.2.0 + version: 9.3 run_install: false - name: Get pnpm store directory shell: bash diff --git a/packages/attachments/package.json b/packages/attachments/package.json index bee4c946..48b74fbc 100644 --- a/packages/attachments/package.json +++ b/packages/attachments/package.json @@ -27,6 +27,6 @@ "watch": "tsc -b -w" }, "peerDependencies": { - "@powersync/common": "workspace:^" + "@powersync/common": "workspace:^1.13.0" } } diff --git a/packages/kysely-driver/package.json b/packages/kysely-driver/package.json index 1c552f44..00a22687 100644 --- a/packages/kysely-driver/package.json +++ b/packages/kysely-driver/package.json @@ -25,7 +25,7 @@ "test": "pnpm build && vitest" }, "peerDependencies": { - "@powersync/common": "workspace:^" + "@powersync/common": "workspace:^1.13.0" }, "dependencies": { "kysely": "^0.27.2" diff --git a/packages/react-native/package.json b/packages/react-native/package.json index f54c0506..aca7b145 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -31,7 +31,7 @@ "react": "*", "react-native": "*", "react-native-polyfill-globals": "^3.1.0", - "@powersync/common": "workspace:^" + "@powersync/common": "workspace:^1.13.0" }, "dependencies": { "@powersync/react": "workspace:*", diff --git a/packages/react/package.json b/packages/react/package.json index 55e0fe12..c9fd4b5b 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -29,7 +29,7 @@ "homepage": "https://docs.powersync.com", "peerDependencies": { "react": "*", - "@powersync/common": "workspace:^" + "@powersync/common": "workspace:^1.13.0" }, "devDependencies": { "@testing-library/react": "^15.0.2", diff --git a/packages/vue/package.json b/packages/vue/package.json index abc82d94..05d95313 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -29,7 +29,7 @@ "homepage": "https://docs.powersync.com", "peerDependencies": { "vue": "*", - "@powersync/common": "workspace:^" + "@powersync/common": "workspace:^1.13.0" }, "devDependencies": { "flush-promises": "^1.0.2", diff --git a/packages/web/package.json b/packages/web/package.json index 517ab01e..a7f410f5 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -34,7 +34,7 @@ "license": "Apache-2.0", "peerDependencies": { "@journeyapps/wa-sqlite": "~0.2.0", - "@powersync/common": "workspace:^" + "@powersync/common": "workspace:^1.13.0" }, "dependencies": { "@powersync/common": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6ed2540a..8ea6f505 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1328,7 +1328,7 @@ importers: packages/attachments: dependencies: '@powersync/common': - specifier: workspace:^ + specifier: workspace:^1.13.0 version: link:../common packages/common: @@ -1383,7 +1383,7 @@ importers: packages/kysely-driver: dependencies: '@powersync/common': - specifier: workspace:^ + specifier: workspace:^1.13.0 version: link:../common kysely: specifier: ^0.27.2 @@ -1429,7 +1429,7 @@ importers: packages/react: dependencies: '@powersync/common': - specifier: workspace:^ + specifier: workspace:^1.13.0 version: link:../common devDependencies: '@testing-library/react': @@ -1488,7 +1488,7 @@ importers: packages/vue: dependencies: '@powersync/common': - specifier: workspace:^ + specifier: workspace:^1.13.0 version: link:../common devDependencies: flush-promises: From ee69e168d18a7c6e400811a3f1e49d0e7403abcb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 25 Jul 2024 15:56:03 +0200 Subject: [PATCH 13/15] Version Packages (#244) Co-authored-by: github-actions[bot] --- .changeset/odd-beers-tease.md | 5 --- .changeset/shaggy-walls-hang.md | 10 ----- .changeset/spicy-poems-complain.md | 6 --- packages/attachments/CHANGELOG.md | 8 ++++ packages/attachments/package.json | 4 +- packages/common/CHANGELOG.md | 6 +++ packages/common/package.json | 2 +- packages/kysely-driver/CHANGELOG.md | 8 ++++ packages/kysely-driver/package.json | 4 +- packages/react-native/CHANGELOG.md | 10 +++++ packages/react-native/package.json | 4 +- packages/react/CHANGELOG.md | 8 ++++ packages/react/package.json | 4 +- packages/vue/CHANGELOG.md | 8 ++++ packages/vue/package.json | 4 +- packages/web/CHANGELOG.md | 12 ++++++ packages/web/package.json | 4 +- pnpm-lock.yaml | 60 ++++++++++++++--------------- tools/diagnostics-app/CHANGELOG.md | 13 +++++++ tools/diagnostics-app/package.json | 2 +- 20 files changed, 117 insertions(+), 65 deletions(-) delete mode 100644 .changeset/odd-beers-tease.md delete mode 100644 .changeset/shaggy-walls-hang.md delete mode 100644 .changeset/spicy-poems-complain.md diff --git a/.changeset/odd-beers-tease.md b/.changeset/odd-beers-tease.md deleted file mode 100644 index 4a707bda..00000000 --- a/.changeset/odd-beers-tease.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@powersync/diagnostics-app': minor ---- - -Add docker image diff --git a/.changeset/shaggy-walls-hang.md b/.changeset/shaggy-walls-hang.md deleted file mode 100644 index 93caefa0..00000000 --- a/.changeset/shaggy-walls-hang.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@powersync/kysely-driver': patch -'@powersync/react-native': patch -'@powersync/attachments': patch -'@powersync/react': patch -'@powersync/vue': patch -'@powersync/web': patch ---- - -revert peer dep change diff --git a/.changeset/spicy-poems-complain.md b/.changeset/spicy-poems-complain.md deleted file mode 100644 index a8518737..00000000 --- a/.changeset/spicy-poems-complain.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@powersync/common': minor -'@powersync/web': minor ---- - -Add debugMode flag to log queries on the performance timeline diff --git a/packages/attachments/CHANGELOG.md b/packages/attachments/CHANGELOG.md index 15742797..3280e553 100644 --- a/packages/attachments/CHANGELOG.md +++ b/packages/attachments/CHANGELOG.md @@ -1,5 +1,13 @@ # @powersync/attachments +## 2.0.13 + +### Patch Changes + +- 843cfec: revert peer dep change +- Updated dependencies [05f3dbd] + - @powersync/common@1.14.0 + ## 2.0.12 ### Patch Changes diff --git a/packages/attachments/package.json b/packages/attachments/package.json index 48b74fbc..6436d747 100644 --- a/packages/attachments/package.json +++ b/packages/attachments/package.json @@ -1,6 +1,6 @@ { "name": "@powersync/attachments", - "version": "2.0.12", + "version": "2.0.13", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" @@ -27,6 +27,6 @@ "watch": "tsc -b -w" }, "peerDependencies": { - "@powersync/common": "workspace:^1.13.0" + "@powersync/common": "workspace:^1.14.0" } } diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index bfdaa215..e2b5c1e5 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,5 +1,11 @@ # @powersync/common +## 1.14.0 + +### Minor Changes + +- 05f3dbd: Add debugMode flag to log queries on the performance timeline + ## 1.13.1 ### Patch Changes diff --git a/packages/common/package.json b/packages/common/package.json index 755acaa7..fdccde2e 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@powersync/common", - "version": "1.13.1", + "version": "1.14.0", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" diff --git a/packages/kysely-driver/CHANGELOG.md b/packages/kysely-driver/CHANGELOG.md index be9cc4eb..b7b5f04d 100644 --- a/packages/kysely-driver/CHANGELOG.md +++ b/packages/kysely-driver/CHANGELOG.md @@ -1,5 +1,13 @@ # @powersync/kysely-driver +## 0.2.9 + +### Patch Changes + +- 843cfec: revert peer dep change +- Updated dependencies [05f3dbd] + - @powersync/common@1.14.0 + ## 0.2.8 ### Patch Changes diff --git a/packages/kysely-driver/package.json b/packages/kysely-driver/package.json index 00a22687..3aed8ffb 100644 --- a/packages/kysely-driver/package.json +++ b/packages/kysely-driver/package.json @@ -1,6 +1,6 @@ { "name": "@powersync/kysely-driver", - "version": "0.2.8", + "version": "0.2.9", "description": "Kysely driver for PowerSync", "main": "lib/src/index.js", "types": "lib/src/index.d.ts", @@ -25,7 +25,7 @@ "test": "pnpm build && vitest" }, "peerDependencies": { - "@powersync/common": "workspace:^1.13.0" + "@powersync/common": "workspace:^1.14.0" }, "dependencies": { "kysely": "^0.27.2" diff --git a/packages/react-native/CHANGELOG.md b/packages/react-native/CHANGELOG.md index 98a836f7..c0043894 100644 --- a/packages/react-native/CHANGELOG.md +++ b/packages/react-native/CHANGELOG.md @@ -1,5 +1,15 @@ # @powersync/react-native +## 1.8.4 + +### Patch Changes + +- 843cfec: revert peer dep change +- Updated dependencies [843cfec] +- Updated dependencies [05f3dbd] + - @powersync/react@1.3.8 + - @powersync/common@1.14.0 + ## 1.8.3 ### Patch Changes diff --git a/packages/react-native/package.json b/packages/react-native/package.json index aca7b145..97b017ef 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -1,6 +1,6 @@ { "name": "@powersync/react-native", - "version": "1.8.3", + "version": "1.8.4", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" @@ -31,7 +31,7 @@ "react": "*", "react-native": "*", "react-native-polyfill-globals": "^3.1.0", - "@powersync/common": "workspace:^1.13.0" + "@powersync/common": "workspace:^1.14.0" }, "dependencies": { "@powersync/react": "workspace:*", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index b3c72491..a5428852 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,13 @@ # @powersync/react +## 1.3.8 + +### Patch Changes + +- 843cfec: revert peer dep change +- Updated dependencies [05f3dbd] + - @powersync/common@1.14.0 + ## 1.3.7 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index c9fd4b5b..993d0905 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@powersync/react", - "version": "1.3.7", + "version": "1.3.8", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" @@ -29,7 +29,7 @@ "homepage": "https://docs.powersync.com", "peerDependencies": { "react": "*", - "@powersync/common": "workspace:^1.13.0" + "@powersync/common": "workspace:^1.14.0" }, "devDependencies": { "@testing-library/react": "^15.0.2", diff --git a/packages/vue/CHANGELOG.md b/packages/vue/CHANGELOG.md index d590ac80..04bd6c8e 100644 --- a/packages/vue/CHANGELOG.md +++ b/packages/vue/CHANGELOG.md @@ -1,5 +1,13 @@ # @powersync/vue +## 0.1.10 + +### Patch Changes + +- 843cfec: revert peer dep change +- Updated dependencies [05f3dbd] + - @powersync/common@1.14.0 + ## 0.1.9 ### Patch Changes diff --git a/packages/vue/package.json b/packages/vue/package.json index 05d95313..3f0d06ed 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@powersync/vue", - "version": "0.1.9", + "version": "0.1.10", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" @@ -29,7 +29,7 @@ "homepage": "https://docs.powersync.com", "peerDependencies": { "vue": "*", - "@powersync/common": "workspace:^1.13.0" + "@powersync/common": "workspace:^1.14.0" }, "devDependencies": { "flush-promises": "^1.0.2", diff --git a/packages/web/CHANGELOG.md b/packages/web/CHANGELOG.md index 4d34c9c2..5346c38d 100644 --- a/packages/web/CHANGELOG.md +++ b/packages/web/CHANGELOG.md @@ -1,5 +1,17 @@ # @powersync/web +## 1.3.0 + +### Minor Changes + +- 05f3dbd: Add debugMode flag to log queries on the performance timeline + +### Patch Changes + +- 843cfec: revert peer dep change +- Updated dependencies [05f3dbd] + - @powersync/common@1.14.0 + ## 1.2.4 ### Patch Changes diff --git a/packages/web/package.json b/packages/web/package.json index a7f410f5..05502a93 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,6 +1,6 @@ { "name": "@powersync/web", - "version": "1.2.4", + "version": "1.3.0", "description": "A Web SDK for JourneyApps PowerSync", "main": "lib/src/index.js", "types": "lib/src/index.d.ts", @@ -34,7 +34,7 @@ "license": "Apache-2.0", "peerDependencies": { "@journeyapps/wa-sqlite": "~0.2.0", - "@powersync/common": "workspace:^1.13.0" + "@powersync/common": "workspace:^1.14.0" }, "dependencies": { "@powersync/common": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8ea6f505..edba0600 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -119,7 +119,7 @@ importers: version: 0.1.11(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) '@react-navigation/drawer': specifier: ^6.6.15 - version: 6.7.2(@react-navigation/native@6.1.18(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-gesture-handler@2.16.2(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-reanimated@3.10.1(@babel/core@7.24.7)(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) + version: 6.7.2(m6eh6u7wcdvlau4phg2siq3jgm) '@react-navigation/native': specifier: ^6.1.17 version: 6.1.18(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) @@ -146,7 +146,7 @@ importers: version: 1.11.1 expo-router: specifier: 3.5.15 - version: 3.5.15(@react-navigation/drawer@6.7.2(@react-navigation/native@6.1.18(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-gesture-handler@2.16.2(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-reanimated@3.10.1(@babel/core@7.24.7)(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(encoding@0.1.13)(expo-constants@16.0.2(expo@51.0.21(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(encoding@0.1.13)))(expo-linking@6.3.1(expo@51.0.21(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(encoding@0.1.13)))(expo-modules-autolinking@1.11.1)(expo-status-bar@1.12.1)(expo@51.0.21(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(encoding@0.1.13))(react-native-reanimated@3.10.1(@babel/core@7.24.7)(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0)(typescript@5.5.3) + version: 3.5.15(vytrjxizjqzgdybgpud5o6ytke) expo-splash-screen: specifier: ~0.27.4 version: 0.27.5(encoding@0.1.13)(expo-modules-autolinking@1.11.1)(expo@51.0.21(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(encoding@0.1.13)) @@ -209,7 +209,7 @@ importers: version: 10.1.0 react-navigation-stack: specifier: ^2.10.4 - version: 2.10.4(@react-native-community/masked-view@0.1.11(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-gesture-handler@2.16.2(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react-navigation@4.4.4(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react@18.2.0) + version: 2.10.4(zoiyoztqcifw2fkbozqgtcm6ta) text-encoding: specifier: ^0.7.0 version: 0.7.0 @@ -696,7 +696,7 @@ importers: version: 6.3.1(expo@51.0.21(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(encoding@0.1.13)) expo-router: specifier: ^3.5.15 - version: 3.5.15(@react-navigation/drawer@6.7.2(@react-navigation/native@6.1.18(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-gesture-handler@2.16.2(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-reanimated@3.10.1(@babel/core@7.24.5)(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(encoding@0.1.13)(expo-constants@16.0.2(expo@51.0.21(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(encoding@0.1.13)))(expo-linking@6.3.1(expo@51.0.21(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(encoding@0.1.13)))(expo-modules-autolinking@1.11.1)(expo-status-bar@1.12.1)(expo@51.0.21(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(encoding@0.1.13))(react-native-reanimated@3.10.1(@babel/core@7.24.5)(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0)(typescript@5.3.3) + version: 3.5.15(pmupowzvd2zk53c3mfaxauzb3u) expo-splash-screen: specifier: ~0.27.4 version: 0.27.5(encoding@0.1.13)(expo-modules-autolinking@1.11.1)(expo@51.0.21(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(encoding@0.1.13)) @@ -811,7 +811,7 @@ importers: version: 0.1.11(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) '@react-navigation/drawer': specifier: ^6.6.3 - version: 6.7.2(@react-navigation/native@6.1.18(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-gesture-handler@2.16.2(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-reanimated@3.10.1(@babel/core@7.24.5)(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) + version: 6.7.2(aoapl23ybysk4ysplqp2ubfomi) '@react-navigation/native': specifier: ^6.0.0 version: 6.1.18(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) @@ -847,7 +847,7 @@ importers: version: 6.3.1(expo@51.0.21(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(encoding@0.1.13)) expo-router: specifier: 3.5.15 - version: 3.5.15(@react-navigation/drawer@6.7.2(@react-navigation/native@6.1.18(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-gesture-handler@2.16.2(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-reanimated@3.10.1(@babel/core@7.24.5)(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(encoding@0.1.13)(expo-constants@16.0.2(expo@51.0.21(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(encoding@0.1.13)))(expo-linking@6.3.1(expo@51.0.21(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(encoding@0.1.13)))(expo-modules-autolinking@1.11.1)(expo-status-bar@1.12.1)(expo@51.0.21(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(encoding@0.1.13))(react-native-reanimated@3.10.1(@babel/core@7.24.5)(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0)(typescript@5.5.3) + version: 3.5.15(molnrvycel5cd3xvws2algrgo4) expo-secure-store: specifier: ~13.0.1 version: 13.0.2(expo@51.0.21(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(encoding@0.1.13)) @@ -913,7 +913,7 @@ importers: version: 10.1.0 react-navigation-stack: specifier: ^2.10.4 - version: 2.10.4(@react-native-community/masked-view@0.1.11(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-gesture-handler@2.16.2(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react-navigation@4.4.4(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react@18.2.0) + version: 2.10.4(ely7qc3yi7iq67i3txk34molke) text-encoding: specifier: ^0.7.0 version: 0.7.0 @@ -1328,7 +1328,7 @@ importers: packages/attachments: dependencies: '@powersync/common': - specifier: workspace:^1.13.0 + specifier: workspace:^1.14.0 version: link:../common packages/common: @@ -1383,7 +1383,7 @@ importers: packages/kysely-driver: dependencies: '@powersync/common': - specifier: workspace:^1.13.0 + specifier: workspace:^1.14.0 version: link:../common kysely: specifier: ^0.27.2 @@ -1429,7 +1429,7 @@ importers: packages/react: dependencies: '@powersync/common': - specifier: workspace:^1.13.0 + specifier: workspace:^1.14.0 version: link:../common devDependencies: '@testing-library/react': @@ -1488,7 +1488,7 @@ importers: packages/vue: dependencies: '@powersync/common': - specifier: workspace:^1.13.0 + specifier: workspace:^1.14.0 version: link:../common devDependencies: flush-promises: @@ -22527,8 +22527,8 @@ snapshots: react-is: 16.13.1 use-latest-callback: 0.2.1(react@18.2.0) - ? '@react-navigation/drawer@6.7.2(@react-navigation/native@6.1.18(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-gesture-handler@2.16.2(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-reanimated@3.10.1(@babel/core@7.24.5)(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0)' - : dependencies: + '@react-navigation/drawer@6.7.2(aoapl23ybysk4ysplqp2ubfomi)': + dependencies: '@react-navigation/elements': 1.3.31(@react-navigation/native@6.1.18(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) '@react-navigation/native': 6.1.18(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) color: 4.2.3 @@ -22540,8 +22540,8 @@ snapshots: react-native-screens: 3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) warn-once: 0.1.1 - ? '@react-navigation/drawer@6.7.2(@react-navigation/native@6.1.18(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-gesture-handler@2.16.2(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-reanimated@3.10.1(@babel/core@7.24.5)(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0)' - : dependencies: + '@react-navigation/drawer@6.7.2(bzlk7agza5aoysc42ojrdei4jy)': + dependencies: '@react-navigation/elements': 1.3.31(@react-navigation/native@6.1.18(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) '@react-navigation/native': 6.1.18(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) color: 4.2.3 @@ -22554,8 +22554,8 @@ snapshots: warn-once: 0.1.1 optional: true - ? '@react-navigation/drawer@6.7.2(@react-navigation/native@6.1.18(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-gesture-handler@2.16.2(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-reanimated@3.10.1(@babel/core@7.24.7)(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0)' - : dependencies: + '@react-navigation/drawer@6.7.2(m6eh6u7wcdvlau4phg2siq3jgm)': + dependencies: '@react-navigation/elements': 1.3.31(@react-navigation/native@6.1.18(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) '@react-navigation/native': 6.1.18(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) color: 4.2.3 @@ -28368,8 +28368,8 @@ snapshots: dependencies: invariant: 2.2.4 - ? expo-router@3.5.15(@react-navigation/drawer@6.7.2(@react-navigation/native@6.1.18(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-gesture-handler@2.16.2(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-reanimated@3.10.1(@babel/core@7.24.5)(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(encoding@0.1.13)(expo-constants@16.0.2(expo@51.0.21(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(encoding@0.1.13)))(expo-linking@6.3.1(expo@51.0.21(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(encoding@0.1.13)))(expo-modules-autolinking@1.11.1)(expo-status-bar@1.12.1)(expo@51.0.21(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(encoding@0.1.13))(react-native-reanimated@3.10.1(@babel/core@7.24.5)(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0)(typescript@5.5.3) - : dependencies: + expo-router@3.5.15(molnrvycel5cd3xvws2algrgo4): + dependencies: '@expo/metro-runtime': 3.2.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0)) '@expo/server': 0.4.4(typescript@5.5.3) '@radix-ui/react-slot': 1.0.1(react@18.2.0) @@ -28386,7 +28386,7 @@ snapshots: react-native-screens: 3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) schema-utils: 4.2.0 optionalDependencies: - '@react-navigation/drawer': 6.7.2(@react-navigation/native@6.1.18(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-gesture-handler@2.16.2(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-reanimated@3.10.1(@babel/core@7.24.5)(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) + '@react-navigation/drawer': 6.7.2(aoapl23ybysk4ysplqp2ubfomi) react-native-reanimated: 3.10.1(@babel/core@7.24.5)(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) transitivePeerDependencies: - encoding @@ -28396,8 +28396,8 @@ snapshots: - supports-color - typescript - ? expo-router@3.5.15(@react-navigation/drawer@6.7.2(@react-navigation/native@6.1.18(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-gesture-handler@2.16.2(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-reanimated@3.10.1(@babel/core@7.24.5)(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(encoding@0.1.13)(expo-constants@16.0.2(expo@51.0.21(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(encoding@0.1.13)))(expo-linking@6.3.1(expo@51.0.21(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(encoding@0.1.13)))(expo-modules-autolinking@1.11.1)(expo-status-bar@1.12.1)(expo@51.0.21(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(encoding@0.1.13))(react-native-reanimated@3.10.1(@babel/core@7.24.5)(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0)(typescript@5.3.3) - : dependencies: + expo-router@3.5.15(pmupowzvd2zk53c3mfaxauzb3u): + dependencies: '@expo/metro-runtime': 3.2.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0)) '@expo/server': 0.4.4(typescript@5.3.3) '@radix-ui/react-slot': 1.0.1(react@18.2.0) @@ -28414,7 +28414,7 @@ snapshots: react-native-screens: 3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) schema-utils: 4.2.0 optionalDependencies: - '@react-navigation/drawer': 6.7.2(@react-navigation/native@6.1.18(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-gesture-handler@2.16.2(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-reanimated@3.10.1(@babel/core@7.24.5)(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) + '@react-navigation/drawer': 6.7.2(bzlk7agza5aoysc42ojrdei4jy) react-native-reanimated: 3.10.1(@babel/core@7.24.5)(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) transitivePeerDependencies: - encoding @@ -28424,8 +28424,8 @@ snapshots: - supports-color - typescript - ? expo-router@3.5.15(@react-navigation/drawer@6.7.2(@react-navigation/native@6.1.18(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-gesture-handler@2.16.2(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-reanimated@3.10.1(@babel/core@7.24.7)(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(encoding@0.1.13)(expo-constants@16.0.2(expo@51.0.21(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(encoding@0.1.13)))(expo-linking@6.3.1(expo@51.0.21(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(encoding@0.1.13)))(expo-modules-autolinking@1.11.1)(expo-status-bar@1.12.1)(expo@51.0.21(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(encoding@0.1.13))(react-native-reanimated@3.10.1(@babel/core@7.24.7)(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0)(typescript@5.5.3) - : dependencies: + expo-router@3.5.15(vytrjxizjqzgdybgpud5o6ytke): + dependencies: '@expo/metro-runtime': 3.2.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0)) '@expo/server': 0.4.4(typescript@5.5.3) '@radix-ui/react-slot': 1.0.1(react@18.2.0) @@ -28442,7 +28442,7 @@ snapshots: react-native-screens: 3.31.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) schema-utils: 4.2.0 optionalDependencies: - '@react-navigation/drawer': 6.7.2(@react-navigation/native@6.1.18(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-gesture-handler@2.16.2(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-reanimated@3.10.1(@babel/core@7.24.7)(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) + '@react-navigation/drawer': 6.7.2(m6eh6u7wcdvlau4phg2siq3jgm) react-native-reanimated: 3.10.1(@babel/core@7.24.7)(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) transitivePeerDependencies: - encoding @@ -34208,8 +34208,8 @@ snapshots: - supports-color - utf-8-validate - ? react-navigation-stack@2.10.4(@react-native-community/masked-view@0.1.11(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-gesture-handler@2.16.2(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react-navigation@4.4.4(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react@18.2.0) - : dependencies: + react-navigation-stack@2.10.4(ely7qc3yi7iq67i3txk34molke): + dependencies: '@react-native-community/masked-view': 0.1.11(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) color: 3.2.1 react: 18.2.0 @@ -34220,8 +34220,8 @@ snapshots: react-native-screens: 3.31.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) react-navigation: 4.4.4(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.8(@babel/core@7.24.5))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) - ? react-navigation-stack@2.10.4(@react-native-community/masked-view@0.1.11(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-gesture-handler@2.16.2(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native-screens@3.31.1(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react-navigation@4.4.4(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0))(react@18.2.0) - : dependencies: + react-navigation-stack@2.10.4(zoiyoztqcifw2fkbozqgtcm6ta): + dependencies: '@react-native-community/masked-view': 0.1.11(react-native@0.74.1(@babel/core@7.24.7)(@babel/preset-env@7.24.8(@babel/core@7.24.7))(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0))(react@18.2.0) color: 3.2.1 react: 18.2.0 diff --git a/tools/diagnostics-app/CHANGELOG.md b/tools/diagnostics-app/CHANGELOG.md index 6a873f1f..b2a83f8d 100644 --- a/tools/diagnostics-app/CHANGELOG.md +++ b/tools/diagnostics-app/CHANGELOG.md @@ -1,5 +1,18 @@ # diagnostics-app +## 0.3.0 + +### Minor Changes + +- 79eaa25: Add docker image + +### Patch Changes + +- Updated dependencies [843cfec] +- Updated dependencies [05f3dbd] + - @powersync/react@1.3.8 + - @powersync/web@1.3.0 + ## 0.2.2 ### Patch Changes diff --git a/tools/diagnostics-app/package.json b/tools/diagnostics-app/package.json index 10029c6c..7514b854 100644 --- a/tools/diagnostics-app/package.json +++ b/tools/diagnostics-app/package.json @@ -1,6 +1,6 @@ { "name": "@powersync/diagnostics-app", - "version": "0.2.2", + "version": "0.3.0", "private": true, "scripts": { "dev": "vite", From c50e03a45d83ab7ed4824595b8c6e8cf9962de2f Mon Sep 17 00:00:00 2001 From: Kobie Botha Date: Fri, 26 Jul 2024 10:06:07 -0600 Subject: [PATCH 14/15] Diagnostics app: link to hosted app in README --- tools/diagnostics-app/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/diagnostics-app/README.md b/tools/diagnostics-app/README.md index d55f2893..987c1f5d 100644 --- a/tools/diagnostics-app/README.md +++ b/tools/diagnostics-app/README.md @@ -7,7 +7,9 @@ This diagnostics app presents data from the perspective of a specific user (no s - Get started quickly - play around with a SQLite database without creating an app. - Serve as a baseline to compare your own apps against if you run into issues. -The app is currently available as a local standalone web app, and is largely based on the [web SDK](/packages/web/). +The app is currently available at [https://diagnostics-app.powersync.com/login](https://diagnostics-app.powersync.com/login) + +It can also be run as a local standalone web app, and is largely based on the [web SDK](/packages/web/). ## Running the app From e9f983372073c9418bb9bb64646407bb0b035bf8 Mon Sep 17 00:00:00 2001 From: Kobie Botha Date: Fri, 26 Jul 2024 10:06:48 -0600 Subject: [PATCH 15/15] fix link --- tools/diagnostics-app/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/diagnostics-app/README.md b/tools/diagnostics-app/README.md index 987c1f5d..07202f28 100644 --- a/tools/diagnostics-app/README.md +++ b/tools/diagnostics-app/README.md @@ -7,7 +7,7 @@ This diagnostics app presents data from the perspective of a specific user (no s - Get started quickly - play around with a SQLite database without creating an app. - Serve as a baseline to compare your own apps against if you run into issues. -The app is currently available at [https://diagnostics-app.powersync.com/login](https://diagnostics-app.powersync.com/login) +The app is currently available at [https://diagnostics-app.powersync.com/](https://diagnostics-app.powersync.com/) It can also be run as a local standalone web app, and is largely based on the [web SDK](/packages/web/).