@powersync/service-module-postgres-storage 0.13.3 → 0.14.0
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 +57 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/@types/storage/PostgresBucketStorageFactory.d.ts +2 -1
- package/dist/@types/storage/PostgresReportStorage.d.ts +1 -1
- package/dist/@types/storage/PostgresSyncRulesStorage.d.ts +4 -2
- package/dist/@types/storage/batch/PostgresBucketBatch.d.ts +1 -1
- package/dist/@types/types/models/SyncRules.d.ts +9 -0
- package/dist/@types/types/models/models-index.d.ts +1 -1
- package/dist/@types/utils/test-utils.d.ts +2 -2
- package/dist/@types/utils/utils-index.d.ts +1 -1
- package/dist/migrations/migration-utils.js +2 -2
- package/dist/migrations/migration-utils.js.map +1 -1
- package/dist/migrations/scripts/1771424826685-current-data-pending-deletes.js +1 -1
- package/dist/storage/PostgresBucketStorageFactory.js +6 -5
- package/dist/storage/PostgresBucketStorageFactory.js.map +1 -1
- package/dist/storage/PostgresReportStorage.js +3 -3
- package/dist/storage/PostgresReportStorage.js.map +1 -1
- package/dist/storage/PostgresSyncRulesStorage.js +72 -39
- package/dist/storage/PostgresSyncRulesStorage.js.map +1 -1
- package/dist/storage/batch/PostgresBucketBatch.js +5 -5
- package/dist/storage/batch/PostgresBucketBatch.js.map +1 -1
- package/dist/storage/checkpoints/PostgresWriteCheckpointAPI.js +1 -1
- package/dist/storage/checkpoints/PostgresWriteCheckpointAPI.js.map +1 -1
- package/dist/storage/current-data-store.js +1 -1
- package/dist/storage/current-data-store.js.map +1 -1
- package/dist/storage/sync-rules/PostgresPersistedSyncRulesContent.js +3 -3
- package/dist/storage/sync-rules/PostgresPersistedSyncRulesContent.js.map +1 -1
- package/dist/types/models/SyncRules.js +3 -1
- package/dist/types/models/SyncRules.js.map +1 -1
- package/dist/types/models/models-index.js +1 -1
- package/dist/types/models/models-index.js.map +1 -1
- package/dist/utils/test-utils.js +3 -3
- package/dist/utils/test-utils.js.map +1 -1
- package/dist/utils/utils-index.js +1 -1
- package/dist/utils/utils-index.js.map +1 -1
- package/package.json +11 -11
- package/src/migrations/migration-utils.ts +2 -2
- package/src/migrations/scripts/1771424826685-current-data-pending-deletes.ts +1 -1
- package/src/storage/PostgresBucketStorageFactory.ts +7 -5
- package/src/storage/PostgresReportStorage.ts +5 -5
- package/src/storage/PostgresSyncRulesStorage.ts +81 -39
- package/src/storage/batch/PostgresBucketBatch.ts +5 -5
- package/src/storage/checkpoints/PostgresWriteCheckpointAPI.ts +3 -1
- package/src/storage/current-data-store.ts +1 -1
- package/src/storage/sync-rules/PostgresPersistedSyncRulesContent.ts +3 -6
- package/src/types/models/SyncRules.ts +3 -1
- package/src/types/models/models-index.ts +1 -1
- package/src/utils/test-utils.ts +3 -3
- package/src/utils/utils-index.ts +1 -1
- package/test/src/__snapshots__/storage_sync.test.ts.snap +282 -0
- package/test/src/connection-report-storage.test.ts +4 -4
- package/test/src/setup.ts +1 -1
- package/test/tsconfig.json +0 -1
- package/dist/@types/storage/current-data-table.d.ts +0 -9
- package/dist/storage/current-data-table.js +0 -22
- package/dist/storage/current-data-table.js.map +0 -1
- package/src/storage/current-data-table.ts +0 -26
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,62 @@
|
|
|
1
1
|
# @powersync/service-module-postgres-storage
|
|
2
2
|
|
|
3
|
+
## 0.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 01c29c3: Avoid parameter results loaded from bucket storage exceeding the configured limit.
|
|
8
|
+
- 8afe719: When querying parameter rows, track which lookups resulted in which rows.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- cdb8993: Add `config.storage_version` configuration option.
|
|
13
|
+
- 7c7b525: [MongoDB] Log replication timing info per batch
|
|
14
|
+
- 040fffd: Improve consistency of logs and error messages
|
|
15
|
+
- 2b19fc3: Update first-party uuid dependencies to v14.
|
|
16
|
+
- Updated dependencies [f20f318]
|
|
17
|
+
- Updated dependencies [9add445]
|
|
18
|
+
- Updated dependencies [17503d1]
|
|
19
|
+
- Updated dependencies [ad9ea06]
|
|
20
|
+
- Updated dependencies [01c29c3]
|
|
21
|
+
- Updated dependencies [8afe719]
|
|
22
|
+
- Updated dependencies [b8f0195]
|
|
23
|
+
- Updated dependencies [cdb8993]
|
|
24
|
+
- Updated dependencies [7c7b525]
|
|
25
|
+
- Updated dependencies [824e229]
|
|
26
|
+
- Updated dependencies [6304a21]
|
|
27
|
+
- Updated dependencies [040fffd]
|
|
28
|
+
- Updated dependencies [9e474d3]
|
|
29
|
+
- Updated dependencies [75174c4]
|
|
30
|
+
- Updated dependencies [423822c]
|
|
31
|
+
- Updated dependencies [2b19fc3]
|
|
32
|
+
- @powersync/service-core@1.21.0
|
|
33
|
+
- @powersync/service-sync-rules@0.36.0
|
|
34
|
+
- @powersync/lib-services-framework@0.9.4
|
|
35
|
+
- @powersync/service-types@0.15.2
|
|
36
|
+
- @powersync/service-jsonbig@0.17.13
|
|
37
|
+
- @powersync/service-jpgwire@0.21.18
|
|
38
|
+
- @powersync/lib-service-postgres@0.4.27
|
|
39
|
+
|
|
40
|
+
## 0.13.4
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- b6a7896: Report errors from compiled sync plans.
|
|
45
|
+
- 756746c: Fix PSYNC_S2305 logging when parameter limit is exceeded.
|
|
46
|
+
- Updated dependencies [41875f7]
|
|
47
|
+
- Updated dependencies [afc9890]
|
|
48
|
+
- Updated dependencies [2b72c2a]
|
|
49
|
+
- Updated dependencies [4611a49]
|
|
50
|
+
- Updated dependencies [b6a7896]
|
|
51
|
+
- Updated dependencies [2b72c2a]
|
|
52
|
+
- Updated dependencies [756746c]
|
|
53
|
+
- @powersync/service-types@0.15.1
|
|
54
|
+
- @powersync/service-core@1.20.5
|
|
55
|
+
- @powersync/lib-services-framework@0.9.3
|
|
56
|
+
- @powersync/service-sync-rules@0.35.0
|
|
57
|
+
- @powersync/lib-service-postgres@0.4.26
|
|
58
|
+
- @powersync/service-jpgwire@0.21.17
|
|
59
|
+
|
|
3
60
|
## 0.13.3
|
|
4
61
|
|
|
5
62
|
### Patch Changes
|