@powersync/service-module-postgres-storage 0.0.0-dev-20260313100403 → 0.0.0-dev-20260515144844
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 +100 -9
- package/dist/.tsbuildinfo +1 -1
- package/dist/@types/storage/PostgresBucketStorageFactory.d.ts +2 -1
- package/dist/@types/storage/PostgresReportStorage.d.ts +4 -4
- 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/1684951997326-init.js +24 -100
- package/dist/migrations/scripts/1684951997326-init.js.map +1 -1
- package/dist/migrations/scripts/1749024804042-snapshot-progress.js +12 -88
- package/dist/migrations/scripts/1749024804042-snapshot-progress.js.map +1 -1
- package/dist/migrations/scripts/1756282360128-connection-reporting.js +12 -88
- package/dist/migrations/scripts/1756282360128-connection-reporting.js.map +1 -1
- package/dist/migrations/scripts/1771232439485-storage-version.js +14 -90
- package/dist/migrations/scripts/1771232439485-storage-version.js.map +1 -1
- package/dist/migrations/scripts/1771424826685-current-data-pending-deletes.js +1 -1
- package/dist/migrations/scripts/1771491856000-sync-plan.js +6 -82
- package/dist/migrations/scripts/1771491856000-sync-plan.js.map +1 -1
- package/dist/storage/PostgresBucketStorageFactory.js +6 -5
- package/dist/storage/PostgresBucketStorageFactory.js.map +1 -1
- package/dist/storage/PostgresReportStorage.js +10 -10
- package/dist/storage/PostgresReportStorage.js.map +1 -1
- package/dist/storage/PostgresSyncRulesStorage.js +76 -107
- 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 +36 -112
- 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 -12
- 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 +12 -12
- 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__/{client-connections-storage.test.ts.snap → connection-report-storage.test.ts.snap} +22 -22
- package/test/src/__snapshots__/storage_sync.test.ts.snap +282 -0
- package/test/src/{client-connections-storage.test.ts → connection-report-storage.test.ts} +5 -5
- 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,25 +1,116 @@
|
|
|
1
1
|
# @powersync/service-module-postgres-storage
|
|
2
2
|
|
|
3
|
-
## 0.0.0-dev-
|
|
3
|
+
## 0.0.0-dev-20260515144844
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [5b1b215]
|
|
8
|
+
- Updated dependencies [31bca10]
|
|
9
|
+
- @powersync/service-sync-rules@0.0.0-dev-20260515144844
|
|
10
|
+
- @powersync/lib-services-framework@0.0.0-dev-20260515144844
|
|
11
|
+
- @powersync/service-core@0.0.0-dev-20260515144844
|
|
12
|
+
- @powersync/lib-service-postgres@0.0.0-dev-20260515144844
|
|
13
|
+
|
|
14
|
+
## 0.14.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- 01c29c3: Avoid parameter results loaded from bucket storage exceeding the configured limit.
|
|
19
|
+
- 8afe719: When querying parameter rows, track which lookups resulted in which rows.
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- cdb8993: Add `config.storage_version` configuration option.
|
|
24
|
+
- 7c7b525: [MongoDB] Log replication timing info per batch
|
|
25
|
+
- 040fffd: Improve consistency of logs and error messages
|
|
26
|
+
- 2b19fc3: Update first-party uuid dependencies to v14.
|
|
27
|
+
- Updated dependencies [f20f318]
|
|
28
|
+
- Updated dependencies [9add445]
|
|
29
|
+
- Updated dependencies [17503d1]
|
|
30
|
+
- Updated dependencies [ad9ea06]
|
|
31
|
+
- Updated dependencies [01c29c3]
|
|
32
|
+
- Updated dependencies [8afe719]
|
|
33
|
+
- Updated dependencies [b8f0195]
|
|
34
|
+
- Updated dependencies [cdb8993]
|
|
35
|
+
- Updated dependencies [7c7b525]
|
|
36
|
+
- Updated dependencies [824e229]
|
|
37
|
+
- Updated dependencies [6304a21]
|
|
38
|
+
- Updated dependencies [040fffd]
|
|
39
|
+
- Updated dependencies [9e474d3]
|
|
40
|
+
- Updated dependencies [75174c4]
|
|
41
|
+
- Updated dependencies [423822c]
|
|
42
|
+
- Updated dependencies [2b19fc3]
|
|
43
|
+
- @powersync/service-core@1.21.0
|
|
44
|
+
- @powersync/service-sync-rules@0.36.0
|
|
45
|
+
- @powersync/lib-services-framework@0.9.4
|
|
46
|
+
- @powersync/service-types@0.15.2
|
|
47
|
+
- @powersync/service-jsonbig@0.17.13
|
|
48
|
+
- @powersync/service-jpgwire@0.21.18
|
|
49
|
+
- @powersync/lib-service-postgres@0.4.27
|
|
50
|
+
|
|
51
|
+
## 0.13.4
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- b6a7896: Report errors from compiled sync plans.
|
|
56
|
+
- 756746c: Fix PSYNC_S2305 logging when parameter limit is exceeded.
|
|
57
|
+
- Updated dependencies [41875f7]
|
|
58
|
+
- Updated dependencies [afc9890]
|
|
59
|
+
- Updated dependencies [2b72c2a]
|
|
60
|
+
- Updated dependencies [4611a49]
|
|
61
|
+
- Updated dependencies [b6a7896]
|
|
62
|
+
- Updated dependencies [2b72c2a]
|
|
63
|
+
- Updated dependencies [756746c]
|
|
64
|
+
- @powersync/service-types@0.15.1
|
|
65
|
+
- @powersync/service-core@1.20.5
|
|
66
|
+
- @powersync/lib-services-framework@0.9.3
|
|
67
|
+
- @powersync/service-sync-rules@0.35.0
|
|
68
|
+
- @powersync/lib-service-postgres@0.4.26
|
|
69
|
+
- @powersync/service-jpgwire@0.21.17
|
|
70
|
+
|
|
71
|
+
## 0.13.3
|
|
72
|
+
|
|
73
|
+
### Patch Changes
|
|
74
|
+
|
|
75
|
+
- df451c6: Node 24.14.0 and other dependency upgrades.
|
|
76
|
+
- Updated dependencies [df451c6]
|
|
77
|
+
- Updated dependencies [dea1e00]
|
|
78
|
+
- Updated dependencies [ada86f2]
|
|
79
|
+
- Updated dependencies [11b4deb]
|
|
80
|
+
- @powersync/service-core@1.20.4
|
|
81
|
+
- @powersync/lib-service-postgres@0.4.25
|
|
82
|
+
- @powersync/service-sync-rules@0.34.1
|
|
83
|
+
- @powersync/lib-services-framework@0.9.2
|
|
84
|
+
- @powersync/service-jpgwire@0.21.16
|
|
85
|
+
|
|
86
|
+
## 0.13.2
|
|
87
|
+
|
|
88
|
+
### Patch Changes
|
|
89
|
+
|
|
90
|
+
- @powersync/service-core@1.20.3
|
|
91
|
+
|
|
92
|
+
## 0.13.1
|
|
4
93
|
|
|
5
94
|
### Patch Changes
|
|
6
95
|
|
|
7
96
|
- 4c92c24: [Internal] Add a createWriter() API to replace startBatch().
|
|
8
|
-
-
|
|
97
|
+
- Updated dependencies [224c35e]
|
|
9
98
|
- Updated dependencies [acf1486]
|
|
10
99
|
- Updated dependencies [391c5ef]
|
|
100
|
+
- Updated dependencies [7ee87d4]
|
|
11
101
|
- Updated dependencies [99de8be]
|
|
12
102
|
- Updated dependencies [9daf965]
|
|
13
103
|
- Updated dependencies [4c92c24]
|
|
104
|
+
- Updated dependencies [3d230c2]
|
|
105
|
+
- Updated dependencies [206633f]
|
|
14
106
|
- Updated dependencies [3a0627e]
|
|
15
107
|
- Updated dependencies [275fd5f]
|
|
16
|
-
- Updated dependencies [
|
|
17
|
-
- @powersync/service-sync-rules@0.
|
|
18
|
-
- @powersync/service-core@
|
|
19
|
-
- @powersync/
|
|
20
|
-
- @powersync/
|
|
21
|
-
- @powersync/service-
|
|
22
|
-
- @powersync/lib-service-postgres@0.0.0-dev-20260313100403
|
|
108
|
+
- Updated dependencies [7ce1b8e]
|
|
109
|
+
- @powersync/service-sync-rules@0.34.0
|
|
110
|
+
- @powersync/service-core@1.20.2
|
|
111
|
+
- @powersync/lib-services-framework@0.9.1
|
|
112
|
+
- @powersync/service-jpgwire@0.21.15
|
|
113
|
+
- @powersync/lib-service-postgres@0.4.24
|
|
23
114
|
|
|
24
115
|
## 0.13.0
|
|
25
116
|
|