@powersync/service-module-postgres-storage 0.13.4 → 0.15.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.
Files changed (27) hide show
  1. package/CHANGELOG.md +70 -0
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/@types/storage/PostgresSyncRulesStorage.d.ts +4 -4
  4. package/dist/@types/storage/batch/PostgresBucketBatch.d.ts +12 -3
  5. package/dist/migrations/scripts/1771424826685-current-data-pending-deletes.js +1 -1
  6. package/dist/storage/PostgresBucketStorageFactory.js +5 -5
  7. package/dist/storage/PostgresBucketStorageFactory.js.map +1 -1
  8. package/dist/storage/PostgresSyncRulesStorage.js +78 -197
  9. package/dist/storage/PostgresSyncRulesStorage.js.map +1 -1
  10. package/dist/storage/batch/PostgresBucketBatch.js +265 -15
  11. package/dist/storage/batch/PostgresBucketBatch.js.map +1 -1
  12. package/dist/storage/checkpoints/PostgresWriteCheckpointAPI.js +1 -1
  13. package/dist/storage/checkpoints/PostgresWriteCheckpointAPI.js.map +1 -1
  14. package/dist/storage/sync-rules/PostgresPersistedSyncRulesContent.js +3 -3
  15. package/dist/storage/sync-rules/PostgresPersistedSyncRulesContent.js.map +1 -1
  16. package/package.json +11 -11
  17. package/src/migrations/scripts/1771424826685-current-data-pending-deletes.ts +1 -1
  18. package/src/storage/PostgresBucketStorageFactory.ts +6 -5
  19. package/src/storage/PostgresSyncRulesStorage.ts +90 -209
  20. package/src/storage/batch/PostgresBucketBatch.ts +308 -26
  21. package/src/storage/checkpoints/PostgresWriteCheckpointAPI.ts +3 -1
  22. package/src/storage/sync-rules/PostgresPersistedSyncRulesContent.ts +3 -6
  23. package/test/tsconfig.json +0 -1
  24. package/dist/@types/storage/current-data-table.d.ts +0 -9
  25. package/dist/storage/current-data-table.js +0 -22
  26. package/dist/storage/current-data-table.js.map +0 -1
  27. package/src/storage/current-data-table.ts +0 -26
package/CHANGELOG.md CHANGED
@@ -1,5 +1,75 @@
1
1
  # @powersync/service-module-postgres-storage
2
2
 
3
+ ## 0.15.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e2bf1ad: [Internal] rework resolveTables to handle multiple SourceTables.
8
+ - 15e2466: [MongoDB] Support snapshotting concurrently with streaming in storage v3+.
9
+ - ebeaa3b: [Postgres] Skip storing a redundant copy of replicated rows in `current_data` for tables with `REPLICA IDENTITY FULL`.
10
+
11
+ ### Patch Changes
12
+
13
+ - 6e2a57e: Refactor HydratedSyncConfig to support multiple SyncConfigs.
14
+ - Updated dependencies [17fd96b]
15
+ - Updated dependencies [6e2a57e]
16
+ - Updated dependencies [ec6df9f]
17
+ - Updated dependencies [99d33d5]
18
+ - Updated dependencies [cae92ce]
19
+ - Updated dependencies [5ac5345]
20
+ - Updated dependencies [15cb880]
21
+ - Updated dependencies [f2f5086]
22
+ - Updated dependencies [5b1b215]
23
+ - Updated dependencies [e2bf1ad]
24
+ - Updated dependencies [92cc83b]
25
+ - Updated dependencies [0aab0f9]
26
+ - Updated dependencies [15e2466]
27
+ - Updated dependencies [ebeaa3b]
28
+ - Updated dependencies [b116857]
29
+ - Updated dependencies [a94b6c3]
30
+ - @powersync/service-core@1.22.0
31
+ - @powersync/service-sync-rules@0.37.0
32
+ - @powersync/lib-services-framework@0.9.5
33
+ - @powersync/service-jpgwire@0.21.19
34
+ - @powersync/lib-service-postgres@0.4.28
35
+
36
+ ## 0.14.0
37
+
38
+ ### Minor Changes
39
+
40
+ - 01c29c3: Avoid parameter results loaded from bucket storage exceeding the configured limit.
41
+ - 8afe719: When querying parameter rows, track which lookups resulted in which rows.
42
+
43
+ ### Patch Changes
44
+
45
+ - cdb8993: Add `config.storage_version` configuration option.
46
+ - 7c7b525: [MongoDB] Log replication timing info per batch
47
+ - 040fffd: Improve consistency of logs and error messages
48
+ - 2b19fc3: Update first-party uuid dependencies to v14.
49
+ - Updated dependencies [f20f318]
50
+ - Updated dependencies [9add445]
51
+ - Updated dependencies [17503d1]
52
+ - Updated dependencies [ad9ea06]
53
+ - Updated dependencies [01c29c3]
54
+ - Updated dependencies [8afe719]
55
+ - Updated dependencies [b8f0195]
56
+ - Updated dependencies [cdb8993]
57
+ - Updated dependencies [7c7b525]
58
+ - Updated dependencies [824e229]
59
+ - Updated dependencies [6304a21]
60
+ - Updated dependencies [040fffd]
61
+ - Updated dependencies [9e474d3]
62
+ - Updated dependencies [75174c4]
63
+ - Updated dependencies [423822c]
64
+ - Updated dependencies [2b19fc3]
65
+ - @powersync/service-core@1.21.0
66
+ - @powersync/service-sync-rules@0.36.0
67
+ - @powersync/lib-services-framework@0.9.4
68
+ - @powersync/service-types@0.15.2
69
+ - @powersync/service-jsonbig@0.17.13
70
+ - @powersync/service-jpgwire@0.21.18
71
+ - @powersync/lib-service-postgres@0.4.27
72
+
3
73
  ## 0.13.4
4
74
 
5
75
  ### Patch Changes