@powersync/service-module-postgres-storage 0.8.4 → 0.10.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 +69 -0
- package/LICENSE +3 -3
- package/dist/.tsbuildinfo +1 -1
- package/dist/@types/storage/PostgresSyncRulesStorage.d.ts +4 -3
- package/dist/@types/storage/batch/PostgresBucketBatch.d.ts +10 -1
- package/dist/@types/types/models/SyncRules.d.ts +2 -2
- package/dist/storage/PostgresSyncRulesStorage.js +67 -63
- package/dist/storage/PostgresSyncRulesStorage.js.map +1 -1
- package/dist/storage/batch/PostgresBucketBatch.js +71 -5
- package/dist/storage/batch/PostgresBucketBatch.js.map +1 -1
- package/package.json +11 -10
- package/src/storage/PostgresSyncRulesStorage.ts +80 -83
- package/src/storage/batch/PostgresBucketBatch.ts +76 -13
- package/test/src/__snapshots__/storage_sync.test.ts.snap +319 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,74 @@
|
|
|
1
1
|
# @powersync/service-module-postgres-storage
|
|
2
2
|
|
|
3
|
+
## 0.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 6d4a4d1: Create a persisted checksum cache when compacting buckets.
|
|
8
|
+
- c27e1c8: Upgrade Node, Sentry, Fastify and OpenTelemetry dependencies.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 060b829: Update license abbreviation to FSL-1.1-ALv2.
|
|
13
|
+
- d49bebe: - Hooked up the MySQL binlog heartbeat events with the bucket batch keepalive mechanism.
|
|
14
|
+
Heartbeat events will now update the latest keepalive timestamp in the sync rules.
|
|
15
|
+
- Updated dependencies [6d4a4d1]
|
|
16
|
+
- Updated dependencies [b0b8ae9]
|
|
17
|
+
- Updated dependencies [d2be184]
|
|
18
|
+
- Updated dependencies [29a368e]
|
|
19
|
+
- Updated dependencies [c27e1c8]
|
|
20
|
+
- Updated dependencies [5284fb5]
|
|
21
|
+
- Updated dependencies [18435a4]
|
|
22
|
+
- Updated dependencies [5284fb5]
|
|
23
|
+
- Updated dependencies [f56acce]
|
|
24
|
+
- Updated dependencies [6fd0242]
|
|
25
|
+
- Updated dependencies [6315334]
|
|
26
|
+
- Updated dependencies [86807d0]
|
|
27
|
+
- Updated dependencies [060b829]
|
|
28
|
+
- Updated dependencies [d49bebe]
|
|
29
|
+
- @powersync/service-core@1.15.0
|
|
30
|
+
- @powersync/service-sync-rules@0.29.0
|
|
31
|
+
- @powersync/service-types@0.13.0
|
|
32
|
+
- @powersync/lib-service-postgres@0.4.7
|
|
33
|
+
- @powersync/lib-services-framework@0.7.3
|
|
34
|
+
- @powersync/service-jpgwire@0.20.2
|
|
35
|
+
- @powersync/service-jsonbig@0.17.11
|
|
36
|
+
|
|
37
|
+
## 0.9.0
|
|
38
|
+
|
|
39
|
+
### Minor Changes
|
|
40
|
+
|
|
41
|
+
- b1add5a: [MongoDB Storage] Compact action now also compacts parameter lookup storage.
|
|
42
|
+
- d56eeb9: Delay switching over to new sync rules until we have a consistent checkpoint.
|
|
43
|
+
- d4db4e2: MySQL:
|
|
44
|
+
- Added schema change handling
|
|
45
|
+
- Except for some edge cases, the following schema changes are now handled automatically:
|
|
46
|
+
- Creation, renaming, dropping and truncation of tables.
|
|
47
|
+
- Creation and dropping of unique indexes and primary keys.
|
|
48
|
+
- Adding, modifying, dropping and renaming of table columns.
|
|
49
|
+
- If a schema change cannot handled automatically, a warning with details will be logged.
|
|
50
|
+
- Mismatches in table schema from the Zongji binlog listener are now handled more gracefully.
|
|
51
|
+
- Replication of wildcard tables is now supported.
|
|
52
|
+
- Improved logging for binlog event processing.
|
|
53
|
+
|
|
54
|
+
### Patch Changes
|
|
55
|
+
|
|
56
|
+
- Updated dependencies [b1add5a]
|
|
57
|
+
- Updated dependencies [2378e36]
|
|
58
|
+
- Updated dependencies [4a34a51]
|
|
59
|
+
- Updated dependencies [4ebc3bf]
|
|
60
|
+
- Updated dependencies [2378e36]
|
|
61
|
+
- Updated dependencies [a882b94]
|
|
62
|
+
- Updated dependencies [1aafdaf]
|
|
63
|
+
- Updated dependencies [d56eeb9]
|
|
64
|
+
- Updated dependencies [d4db4e2]
|
|
65
|
+
- @powersync/service-core-tests@0.11.0
|
|
66
|
+
- @powersync/service-core@1.14.0
|
|
67
|
+
- @powersync/service-jpgwire@0.20.1
|
|
68
|
+
- @powersync/service-sync-rules@0.28.0
|
|
69
|
+
- @powersync/lib-services-framework@0.7.2
|
|
70
|
+
- @powersync/lib-service-postgres@0.4.6
|
|
71
|
+
|
|
3
72
|
## 0.8.4
|
|
4
73
|
|
|
5
74
|
### Patch Changes
|
package/LICENSE
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
# Functional Source License, Version 1.1,
|
|
1
|
+
# Functional Source License, Version 1.1, ALv2 Future License
|
|
2
2
|
|
|
3
3
|
## Abbreviation
|
|
4
4
|
|
|
5
|
-
FSL-1.1-
|
|
5
|
+
FSL-1.1-ALv2
|
|
6
6
|
|
|
7
7
|
## Notice
|
|
8
8
|
|
|
9
|
-
Copyright 2023-
|
|
9
|
+
Copyright 2023-2025 Journey Mobile, Inc.
|
|
10
10
|
|
|
11
11
|
## Terms and Conditions
|
|
12
12
|
|