Skip to content
Source
Sign inSign up
TanStack/db

fix(powersync): preserve updates and support PowerSync 2 #1831

MergedKyleAMathews(GitHub profile, opens in a new tab)merged 6 commits intomain fromrefs/pull/1831/headmerged by KyleAMathews(GitHub profile, opens in a new tab)

Showing 16 changed files with 15 additions and 10 deletions (loading 12).

x
0 of 16 viewed, 16 left
5 additions and 0 deletions.changeset/fix-powersync-correctness.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@tanstack/powersync-db-collection': minor
+---
+​
+Require PowerSync 2 and fix update conservation, declared-view rows, transformed-schema comparison, and portable inferred declarations.
7 additions and 7 deletionsdocs/collections/powersync-collection.mdModified
View file
@@ -55,8 +55,8 @@
### 3. (optional) Configure Sync with a Backend
​
```ts
-import {
- AbstractPowerSyncDatabase,
+import type {
+ CommonPowerSyncDatabase,
PowerSyncBackendConnector,