Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/fix-comlink-dispose-listener.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/neat-bears-listen.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/rare-windows-argue.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/witty-steaks-worry.md

This file was deleted.

2 changes: 1 addition & 1 deletion demos/angular-supabase-todolist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@angular/router": "^19.2.4",
"@angular/service-worker": "^19.2.4",
"@journeyapps/wa-sqlite": "^1.4.1",
"@powersync/web": "^1.30.0",
"@powersync/web": "^1.31.0",
"@supabase/supabase-js": "^2.44.4",
"rxjs": "~7.8.1",
"tslib": "^2.6.3",
Expand Down
2 changes: 1 addition & 1 deletion demos/django-react-native-todolist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@expo/vector-icons": "^14.0.0",
"@journeyapps/react-native-quick-sqlite": "^2.5.0",
"@powersync/react": "^1.8.2",
"@powersync/react-native": "^1.28.0",
"@powersync/react-native": "^1.28.1",
"@react-native-community/async-storage": "^1.12.1",
"@react-native-community/masked-view": "^0.1.11",
"@react-navigation/drawer": "^7.1.1",
Expand Down
2 changes: 1 addition & 1 deletion demos/example-capacitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@powersync/capacitor": "^0.2.0",
"@journeyapps/wa-sqlite": "^1.4.1",
"@powersync/react": "^1.8.2",
"@powersync/web": "^1.30.0",
"@powersync/web": "^1.31.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.23.0"
Expand Down
2 changes: 1 addition & 1 deletion demos/example-electron-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"webpack": "^5.90.1"
},
"dependencies": {
"@powersync/node": "^0.15.1",
"@powersync/node": "^0.15.2",
"better-sqlite3": "^12.2.0",
"electron-squirrel-startup": "^1.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion demos/example-electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@mui/x-data-grid": "^6.19.11",
"express": "^4.19.2",
"@powersync/react": "^1.8.2",
"@powersync/web": "^1.30.0",
"@powersync/web": "^1.31.0",
"electron-squirrel-startup": "^1.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion demos/example-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@mui/icons-material": "^5.15.18",
"@mui/material": "^5.15.18",
"@powersync/react": "^1.8.2",
"@powersync/web": "^1.30.0",
"@powersync/web": "^1.31.0",
"lato-font": "^3.0.0",
"lexical": "^0.15.0",
"next": "14.2.3",
Expand Down
2 changes: 1 addition & 1 deletion demos/example-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"start": "node --import ./register.mjs src/main.ts"
},
"dependencies": {
"@powersync/node": "^0.15.1",
"@powersync/node": "^0.15.2",
"better-sqlite3": "^12.2.0",
"better-sqlite3-multiple-ciphers": "^12.2.0",
"dotenv": "^16.4.7",
Expand Down
2 changes: 1 addition & 1 deletion demos/example-vite-encryption/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test:build": "pnpm build"
},
"dependencies": {
"@powersync/web": "^1.30.0"
"@powersync/web": "^1.31.0"
},
"devDependencies": {
"@swc/core": "~1.6.0",
Expand Down
2 changes: 1 addition & 1 deletion demos/example-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test:build": "pnpm build && vitest run"
},
"dependencies": {
"@powersync/web": "^1.30.0"
"@powersync/web": "^1.31.0"
},
"devDependencies": {
"@swc/core": "~1.6.0",
Expand Down
2 changes: 1 addition & 1 deletion demos/example-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test:build": "pnpm build"
},
"dependencies": {
"@powersync/web": "^1.30.0"
"@powersync/web": "^1.31.0"
},
"devDependencies": {
"@types/webpack": "^5.28.5",
Expand Down
2 changes: 1 addition & 1 deletion demos/react-multi-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@journeyapps/wa-sqlite": "^1.4.1",
"@powersync/react": "^1.8.2",
"@powersync/web": "^1.30.0",
"@powersync/web": "^1.31.0",
"@supabase/supabase-js": "^2.43.1",
"@vitejs/plugin-react": "^4.2.1",
"@webflow/webflow-cli": "^1.6.9",
Expand Down
4 changes: 2 additions & 2 deletions demos/react-native-barebones-opsqlite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"dependencies": {
"@azure/core-asynciterator-polyfill": "^1.0.2",
"@op-engineering/op-sqlite": "^14.0.2",
"@powersync/op-sqlite": "^0.7.17",
"@powersync/op-sqlite": "^0.7.18",
"@powersync/react": "^1.8.2",
"@powersync/react-native": "^1.28.0",
"@powersync/react-native": "^1.28.1",
"react": "18.3.1",
"react-native": "0.77.0"
},
Expand Down
2 changes: 1 addition & 1 deletion demos/react-native-supabase-group-chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@expo/vector-icons": "^15.0.3",
"@faker-js/faker": "^10.1.0",
"@journeyapps/react-native-quick-sqlite": "^2.5.0",
"@powersync/react-native": "^1.28.0",
"@powersync/react-native": "^1.28.1",
"@react-native-async-storage/async-storage": "2.2.0",
"@react-navigation/bottom-tabs": "^7.4.0",
"@react-navigation/elements": "^2.6.3",
Expand Down
2 changes: 1 addition & 1 deletion demos/react-native-supabase-todolist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@journeyapps/react-native-quick-sqlite": "^2.5.0",
"@powersync/attachments": "^2.4.1",
"@powersync/react": "^1.8.2",
"@powersync/react-native": "^1.28.0",
"@powersync/react-native": "^1.28.1",
"@react-native-community/masked-view": "^0.1.11",
"@react-navigation/drawer": "^7.1.1",
"@react-navigation/native": "^7.0.14",
Expand Down
4 changes: 2 additions & 2 deletions demos/react-native-web-supabase-todolist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"@journeyapps/wa-sqlite": "^1.4.1",
"@powersync/attachments": "^2.4.1",
"@powersync/react": "^1.8.2",
"@powersync/react-native": "^1.28.0",
"@powersync/web": "^1.30.0",
"@powersync/react-native": "^1.28.1",
"@powersync/web": "^1.31.0",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-navigation/bottom-tabs": "^7.2.0",
"@react-navigation/drawer": "^7.1.1",
Expand Down
4 changes: 2 additions & 2 deletions demos/react-neon-tanstack-query-notes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@neondatabase/serverless": "^1.0.2",
"@powersync/drizzle-driver": "^0.7.1",
"@powersync/react": "^1.8.2",
"@powersync/tanstack-react-query": "^0.1.12",
"@powersync/web": "^1.30.0",
"@powersync/tanstack-react-query": "^0.1.13",
"@powersync/web": "^1.31.0",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-toggle": "^1.1.10",
"@tailwindcss/vite": "^4.1.17",
Expand Down
2 changes: 1 addition & 1 deletion demos/react-supabase-todolist-optional-sync/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@powersync/react": "^1.8.2",
"@powersync/web": "^1.30.0",
"@powersync/web": "^1.31.0",
"@emotion/react": "11.11.4",
"@emotion/styled": "11.11.5",
"@journeyapps/wa-sqlite": "^1.4.1",
Expand Down
2 changes: 1 addition & 1 deletion demos/react-supabase-todolist-sync-streams/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@powersync/react": "^1.8.2",
"@powersync/web": "^1.30.0",
"@powersync/web": "^1.31.0",
"@emotion/react": "11.11.4",
"@emotion/styled": "11.11.5",
"@journeyapps/wa-sqlite": "^1.4.1",
Expand Down
2 changes: 1 addition & 1 deletion demos/react-supabase-todolist-tanstackdb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@mui/material": "^5.15.12",
"@mui/x-data-grid": "^6.19.6",
"@powersync/react": "^1.8.2",
"@powersync/web": "^1.30.0",
"@powersync/web": "^1.31.0",
"@supabase/supabase-js": "^2.39.7",
"@tanstack/db": "^0.5.11",
"@tanstack/powersync-db-collection": "^0.1.15",
Expand Down
2 changes: 1 addition & 1 deletion demos/react-supabase-todolist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@powersync/react": "^1.8.2",
"@powersync/web": "^1.30.0",
"@powersync/web": "^1.31.0",
"@emotion/react": "11.11.4",
"@emotion/styled": "11.11.5",
"@journeyapps/wa-sqlite": "^1.4.1",
Expand Down
2 changes: 1 addition & 1 deletion demos/vue-supabase-todolist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test:build": "pnpm build"
},
"dependencies": {
"@powersync/web": "^1.30.0",
"@powersync/web": "^1.31.0",
"@powersync/vue": "^0.4.1",
"@mdi/font": "7.4.47",
"@supabase/supabase-js": "^2.39.7",
Expand Down
2 changes: 1 addition & 1 deletion demos/yjs-react-supabase-text-collab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@mui/material": "^5.15.12",
"@mui/x-data-grid": "^6.19.6",
"@powersync/react": "^1.8.2",
"@powersync/web": "^1.30.0",
"@powersync/web": "^1.31.0",
"@supabase/supabase-js": "^2.39.8",
"@tiptap/extension-collaboration": "2.2.2",
"@tiptap/extension-collaboration-cursor": "2.2.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/attachments/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"test:exports": "attw --pack ."
},
"peerDependencies": {
"@powersync/common": "workspace:^1.44.0"
"@powersync/common": "workspace:^1.45.0"
},
"devDependencies": {
"@powersync/common": "workspace:*",
Expand Down
7 changes: 6 additions & 1 deletion packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @powersync/common

## 1.45.0

### Minor Changes

- 133f376: - Improved serializing of upload and download errors for SyncStatus events. Some JS `Error`s are not cloneable, the JSON representation of a SyncStatus should now always be cloneable.

## 1.44.0

### Minor Changes
Expand Down Expand Up @@ -620,7 +626,6 @@
- ca458d3: Updated logic to correspond with React Native Quick SQLite concurrent transactions. Added helper methods on transaction contexts.

API changes include:

- Removal of synchronous DB operations in transactions: `execute`, `commit`, `rollback` are now async functions. `executeAsync`, `commitAsync` and `rollbackAsync` have been removed.
- Transaction contexts now have `get`, `getAll` and `getOptional` helpers.
- Added a default lock timeout of 2 minutes to aide with potential recursive lock/transaction requests.
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@powersync/common",
"version": "1.44.0",
"version": "1.45.0",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/drizzle-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"test:exports": "attw --pack ."
},
"peerDependencies": {
"@powersync/common": "workspace:^1.44.0",
"@powersync/common": "workspace:^1.45.0",
"drizzle-orm": "<1.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/kysely-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"test:exports": "attw --pack ."
},
"peerDependencies": {
"@powersync/common": "workspace:^1.44.0"
"@powersync/common": "workspace:^1.45.0"
},
"dependencies": {
"kysely": "^0.28.0"
Expand Down
9 changes: 8 additions & 1 deletion packages/node/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @powersync/node

## 0.15.2

### Patch Changes

- 133f376: DB operations will now throw a dedicated `ConnectionClosed` error when an attempt to perform an operation on a closed connection is made.
- Updated dependencies [133f376]
- @powersync/[email protected]

## 0.15.1

### Patch Changes
Expand Down Expand Up @@ -112,7 +120,6 @@
- 688265f: Use upstream better-sqlite3 dependency instead of the PowerSync fork.

After upgrading:

1. Ensure you no longer depend on the `@powersync/better-sqlite3` package: `npm uninstall @powersync/better-sqlite3`.
2. Unlike in older versions, the upstream `better-sqlite3` dependency is marked as optional since custom forks
are supported too.
Expand Down
4 changes: 2 additions & 2 deletions packages/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@powersync/node",
"version": "0.15.1",
"version": "0.15.2",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
Expand Down Expand Up @@ -57,7 +57,7 @@
},
"homepage": "https://docs.powersync.com/",
"peerDependencies": {
"@powersync/common": "workspace:^1.44.0",
"@powersync/common": "workspace:^1.45.0",
"better-sqlite3": "12.x"
},
"peerDependenciesMeta": {
Expand Down
8 changes: 7 additions & 1 deletion packages/powersync-op-sqlite/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @powersync/op-sqlite

## 0.7.18

### Patch Changes

- Updated dependencies [133f376]
- @powersync/[email protected]

## 0.7.17

### Patch Changes
Expand Down Expand Up @@ -155,7 +162,6 @@
- ddc0bd1: Updated op-sqlite upstream peer dependency from 11.x.x to support ^13.x.x and ^14.x.x,

Noteworthy changes from version 11 to version 14 include:

1. SQLite updated to 3.49.1
2. SQLCipher updated to 4.8.0
3. Monorepo config resolution, you may need to move your `op-sqlite` config from your application's `package.json` to the monorepo root `package.json` depending on where your package manager tool hoists modules (see [1](https://op-engineering.github.io/op-sqlite/docs/installation) and [2](https://github.com/OP-Engineering/op-sqlite/issues/264)).
Expand Down
4 changes: 2 additions & 2 deletions packages/powersync-op-sqlite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@powersync/op-sqlite",
"version": "0.7.17",
"version": "0.7.18",
"description": "PowerSync - sync Postgres or MongoDB with SQLite in your React Native app for offline-first and real-time data",
"source": "./src/index.ts",
"main": "./lib/commonjs/index.js",
Expand Down Expand Up @@ -66,7 +66,7 @@
},
"peerDependencies": {
"@op-engineering/op-sqlite": "^13.0.0 || ^14.0.0",
"@powersync/common": "workspace:^1.44.0",
"@powersync/common": "workspace:^1.45.0",
"react": "*",
"react-native": "*"
},
Expand Down
9 changes: 8 additions & 1 deletion packages/react-native/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @powersync/react-native

## 1.28.1

### Patch Changes

- Updated dependencies [133f376]
- @powersync/[email protected]
- @powersync/[email protected]

## 1.28.0

### Minor Changes
Expand Down Expand Up @@ -958,7 +966,6 @@
- ca458d3: Updated logic to correspond with React Native Quick SQLite concurrent transactions. Added helper methods on transaction contexts.

API changes include:

- Removal of synchronous DB operations in transactions: `execute`, `commit`, `rollback` are now async functions. `executeAsync`, `commitAsync` and `rollbackAsync` have been removed.
- Transaction contexts now have `get`, `getAll` and `getOptional` helpers.
- Added a default lock timeout of 2 minutes to aide with potential recursive lock/transaction requests.
Expand Down
Loading