@powersync/service-module-postgres-storage 0.0.0-dev-20250214100224 → 0.0.0-dev-20250227082606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +55 -4
- package/dist/.tsbuildinfo +1 -1
- package/dist/@types/storage/PostgresBucketStorageFactory.d.ts +6 -10
- package/dist/@types/storage/PostgresCompactor.d.ts +0 -6
- package/dist/@types/storage/PostgresSyncRulesStorage.d.ts +9 -3
- package/dist/@types/storage/batch/PostgresBucketBatch.d.ts +3 -2
- package/dist/@types/types/models/SourceTable.d.ts +1 -1
- package/dist/@types/types/types.d.ts +5 -0
- package/dist/storage/PostgresBucketStorageFactory.js +41 -142
- package/dist/storage/PostgresBucketStorageFactory.js.map +1 -1
- package/dist/storage/PostgresCompactor.js +19 -6
- package/dist/storage/PostgresCompactor.js.map +1 -1
- package/dist/storage/PostgresSyncRulesStorage.js +221 -123
- package/dist/storage/PostgresSyncRulesStorage.js.map +1 -1
- package/dist/storage/batch/PostgresBucketBatch.js +5 -2
- package/dist/storage/batch/PostgresBucketBatch.js.map +1 -1
- package/dist/types/types.js.map +1 -1
- package/package.json +7 -7
- package/src/storage/PostgresBucketStorageFactory.ts +43 -160
- package/src/storage/PostgresCompactor.ts +19 -14
- package/src/storage/PostgresSyncRulesStorage.ts +231 -38
- package/src/storage/batch/PostgresBucketBatch.ts +6 -2
- package/src/types/models/SourceTable.ts +1 -1
- package/src/types/types.ts +1 -0
- package/test/src/__snapshots__/storage_sync.test.ts.snap +138 -0
- package/test/src/storage.test.ts +1 -1
- package/test/src/storage_compacting.test.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,63 @@
|
|
|
1
1
|
# @powersync/service-module-postgres-storage
|
|
2
2
|
|
|
3
|
-
## 0.0.0-dev-
|
|
3
|
+
## 0.0.0-dev-20250227082606
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 7f8d223: Make some service limits configurable.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [7f8d223]
|
|
12
|
+
- @powersync/service-core-tests@0.0.0-dev-20250227082606
|
|
13
|
+
- @powersync/service-core@0.0.0-dev-20250227082606
|
|
14
|
+
- @powersync/lib-service-postgres@0.0.0-dev-20250227082606
|
|
15
|
+
- @powersync/service-types@0.0.0-dev-20250227082606
|
|
16
|
+
|
|
17
|
+
## 0.4.1
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- 88ab679: Keep serving current data when restarting replication due to errors.
|
|
22
|
+
- 2f75fd7: Improve handling of some edge cases which could trigger truncating of synced tables.
|
|
23
|
+
- 346382e: Fix issue where compacting might fail with an "unexpected PUT operation" error.
|
|
24
|
+
- 346382e: Unified compacting options between storage providers.
|
|
25
|
+
- Updated dependencies [b4fe4ae]
|
|
26
|
+
- Updated dependencies [88ab679]
|
|
27
|
+
- Updated dependencies [2f75fd7]
|
|
28
|
+
- Updated dependencies [346382e]
|
|
29
|
+
- Updated dependencies [346382e]
|
|
30
|
+
- Updated dependencies [9b1868d]
|
|
31
|
+
- @powersync/service-core@1.7.1
|
|
32
|
+
- @powersync/lib-services-framework@0.5.3
|
|
33
|
+
- @powersync/service-core-tests@0.6.0
|
|
34
|
+
- @powersync/lib-service-postgres@0.3.3
|
|
35
|
+
|
|
36
|
+
## 0.4.0
|
|
37
|
+
|
|
38
|
+
### Minor Changes
|
|
39
|
+
|
|
40
|
+
- 436eee6: Minor optimizations to new checkpoint calulations.
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- Updated dependencies [436eee6]
|
|
45
|
+
- Updated dependencies [15283d4]
|
|
46
|
+
- Updated dependencies [88d4cb3]
|
|
47
|
+
- Updated dependencies [f55e36a]
|
|
48
|
+
- @powersync/service-core-tests@0.5.0
|
|
49
|
+
- @powersync/service-core@1.7.0
|
|
50
|
+
- @powersync/service-sync-rules@0.24.0
|
|
51
|
+
- @powersync/lib-services-framework@0.5.2
|
|
52
|
+
- @powersync/lib-service-postgres@0.3.2
|
|
53
|
+
|
|
54
|
+
## 0.3.1
|
|
4
55
|
|
|
5
56
|
### Patch Changes
|
|
6
57
|
|
|
7
|
-
- Updated dependencies [
|
|
8
|
-
- @powersync/service-core@0.
|
|
9
|
-
- @powersync/service-core-tests@0.
|
|
58
|
+
- Updated dependencies [ffc8d98]
|
|
59
|
+
- @powersync/service-core@0.18.1
|
|
60
|
+
- @powersync/service-core-tests@0.4.1
|
|
10
61
|
|
|
11
62
|
## 0.3.0
|
|
12
63
|
|