@powersync/service-core 1.15.1 → 1.15.3

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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @powersync/service-core
2
2
 
3
+ ## 1.15.3
4
+
5
+ ### Patch Changes
6
+
7
+ - f1b4cef: Fix checksum calculation issues with large buckets.
8
+ - Updated dependencies [9681b4c]
9
+ - @powersync/service-sync-rules@0.29.1
10
+ - @powersync/lib-services-framework@0.7.4
11
+ - @powersync/service-rsocket-router@0.2.1
12
+
13
+ ## 1.15.2
14
+
15
+ ### Patch Changes
16
+
17
+ - bec7496: Fix "E11000 duplicate key error collection: powersync_demo.bucket_state" in some cases on sync rules deploy
18
+
3
19
  ## 1.15.1
4
20
 
5
21
  ### Patch Changes
@@ -84,6 +84,9 @@ export interface SyncRulesBucketStorage extends ObserverClient<SyncRulesBucketSt
84
84
  * Compute checksums for a given list of buckets.
85
85
  *
86
86
  * Returns zero checksums for any buckets not found.
87
+ *
88
+ * This may be slow, depending on the size of the buckets.
89
+ * The checksums are cached internally to compensate for this, but does not cover all cases.
87
90
  */
88
91
  getChecksums(checkpoint: util.InternalOpId, buckets: string[]): Promise<util.ChecksumMap>;
89
92
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"SyncRulesBucketStorage.js","sourceRoot":"","sources":["../../src/storage/SyncRulesBucketStorage.ts"],"names":[],"mappings":"AA+SA,MAAM,CAAC,MAAM,yBAAyB,GAAsB;IAC1D,kBAAkB,EAAE,IAAI,GAAG,EAAU;IACrC,qBAAqB,EAAE,IAAI;IAC3B,uBAAuB,EAAE,IAAI,GAAG,EAAU;IAC1C,0BAA0B,EAAE,IAAI;CACjC,CAAC"}
1
+ {"version":3,"file":"SyncRulesBucketStorage.js","sourceRoot":"","sources":["../../src/storage/SyncRulesBucketStorage.ts"],"names":[],"mappings":"AAkTA,MAAM,CAAC,MAAM,yBAAyB,GAAsB;IAC1D,kBAAkB,EAAE,IAAI,GAAG,EAAU;IACrC,qBAAqB,EAAE,IAAI;IAC3B,uBAAuB,EAAE,IAAI,GAAG,EAAU;IAC1C,0BAA0B,EAAE,IAAI;CACjC,CAAC"}
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "1.15.1",
8
+ "version": "1.15.3",
9
9
  "main": "dist/index.js",
10
10
  "license": "FSL-1.1-ALv2",
11
11
  "type": "module",
@@ -33,10 +33,10 @@
33
33
  "uuid": "^11.1.0",
34
34
  "winston": "^3.13.0",
35
35
  "yaml": "^2.3.2",
36
- "@powersync/lib-services-framework": "0.7.3",
36
+ "@powersync/lib-services-framework": "0.7.4",
37
37
  "@powersync/service-jsonbig": "0.17.11",
38
- "@powersync/service-rsocket-router": "0.2.0",
39
- "@powersync/service-sync-rules": "0.29.0",
38
+ "@powersync/service-rsocket-router": "0.2.1",
39
+ "@powersync/service-sync-rules": "0.29.1",
40
40
  "@powersync/service-types": "0.13.0"
41
41
  },
42
42
  "devDependencies": {
@@ -111,6 +111,9 @@ export interface SyncRulesBucketStorage
111
111
  * Compute checksums for a given list of buckets.
112
112
  *
113
113
  * Returns zero checksums for any buckets not found.
114
+ *
115
+ * This may be slow, depending on the size of the buckets.
116
+ * The checksums are cached internally to compensate for this, but does not cover all cases.
114
117
  */
115
118
  getChecksums(checkpoint: util.InternalOpId, buckets: string[]): Promise<util.ChecksumMap>;
116
119