@powersync/service-module-postgres 0.0.0-dev-20250829094737 → 0.0.0-dev-20250901073220
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 +18 -5
- package/package.json +9 -9
- package/test/src/storage_combination.test.ts +1 -1
- package/test/src/util.ts +3 -3
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,26 @@
|
|
|
1
1
|
# @powersync/service-module-postgres
|
|
2
2
|
|
|
3
|
-
## 0.0.0-dev-
|
|
3
|
+
## 0.0.0-dev-20250901073220
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
- Updated dependencies [
|
|
9
|
-
- Updated dependencies [
|
|
10
|
-
|
|
7
|
+
- a700ec9: Reporting mongo storage added to storage engine.
|
|
8
|
+
- Updated dependencies [f1d187b]
|
|
9
|
+
- Updated dependencies [0fad466]
|
|
10
|
+
- Updated dependencies [a700ec9]
|
|
11
|
+
- @powersync/service-core@0.0.0-dev-20250901073220
|
|
12
|
+
- @powersync/service-types@0.0.0-dev-20250901073220
|
|
13
|
+
- @powersync/lib-services-framework@0.0.0-dev-20250901073220
|
|
14
|
+
- @powersync/lib-service-postgres@0.0.0-dev-20250901073220
|
|
15
|
+
|
|
16
|
+
## 0.16.1
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- 6352283: Fix pre-computing of checksums after intial replication causing replication timeouts
|
|
21
|
+
- Updated dependencies [6352283]
|
|
22
|
+
- Updated dependencies [6352283]
|
|
23
|
+
- @powersync/service-core@1.15.1
|
|
11
24
|
|
|
12
25
|
## 0.16.0
|
|
13
26
|
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.0.0-dev-
|
|
8
|
+
"version": "0.0.0-dev-20250901073220",
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"license": "FSL-1.1-ALv2",
|
|
11
11
|
"type": "module",
|
|
@@ -28,20 +28,20 @@
|
|
|
28
28
|
"ts-codec": "^1.3.0",
|
|
29
29
|
"uri-js": "^4.4.1",
|
|
30
30
|
"uuid": "^11.1.0",
|
|
31
|
-
"@powersync/lib-service-postgres": "0.
|
|
32
|
-
"@powersync/lib-services-framework": "0.
|
|
33
|
-
"@powersync/service-core": "0.0.0-dev-
|
|
31
|
+
"@powersync/lib-service-postgres": "0.0.0-dev-20250901073220",
|
|
32
|
+
"@powersync/lib-services-framework": "0.0.0-dev-20250901073220",
|
|
33
|
+
"@powersync/service-core": "0.0.0-dev-20250901073220",
|
|
34
34
|
"@powersync/service-jpgwire": "0.20.2",
|
|
35
35
|
"@powersync/service-jsonbig": "0.17.11",
|
|
36
36
|
"@powersync/service-sync-rules": "0.29.0",
|
|
37
|
-
"@powersync/service-types": "0.
|
|
37
|
+
"@powersync/service-types": "0.0.0-dev-20250901073220"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/semver": "^7.5.4",
|
|
41
|
-
"@powersync/service-core-tests": "0.0.0-dev-
|
|
42
|
-
"@powersync/service-module-mongodb-storage": "0.0.0-dev-
|
|
43
|
-
"@powersync/lib-service-postgres": "0.
|
|
44
|
-
"@powersync/service-module-postgres-storage": "0.0.0-dev-
|
|
41
|
+
"@powersync/service-core-tests": "0.0.0-dev-20250901073220",
|
|
42
|
+
"@powersync/service-module-mongodb-storage": "0.0.0-dev-20250901073220",
|
|
43
|
+
"@powersync/lib-service-postgres": "0.0.0-dev-20250901073220",
|
|
44
|
+
"@powersync/service-module-postgres-storage": "0.0.0-dev-20250901073220"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "tsc -b",
|
|
@@ -7,7 +7,7 @@ describe.skipIf(!env.TEST_POSTGRES_STORAGE)('replication storage combination - p
|
|
|
7
7
|
test('should allow the same Postgres cluster to be used for data and storage', async () => {
|
|
8
8
|
// Use the same cluster for the storage as the data source
|
|
9
9
|
await using context = await WalStreamTestContext.open(
|
|
10
|
-
postgres_storage.
|
|
10
|
+
postgres_storage.test_utils.postgresTestStorageFactoryGenerator({
|
|
11
11
|
url: env.PG_TEST_URL
|
|
12
12
|
}),
|
|
13
13
|
{ doNotClear: false }
|
package/test/src/util.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { PostgresRouteAPIAdapter } from '@module/api/PostgresRouteAPIAdapter.js'
|
|
|
2
2
|
import * as types from '@module/types/types.js';
|
|
3
3
|
import * as lib_postgres from '@powersync/lib-service-postgres';
|
|
4
4
|
import { logger } from '@powersync/lib-services-framework';
|
|
5
|
-
import { BucketStorageFactory, InternalOpId, TestStorageFactory
|
|
5
|
+
import { BucketStorageFactory, InternalOpId, TestStorageFactory } from '@powersync/service-core';
|
|
6
6
|
import * as pgwire from '@powersync/service-jpgwire';
|
|
7
7
|
import * as mongo_storage from '@powersync/service-module-mongodb-storage';
|
|
8
8
|
import * as postgres_storage from '@powersync/service-module-postgres-storage';
|
|
@@ -11,12 +11,12 @@ import { describe, TestOptions } from 'vitest';
|
|
|
11
11
|
|
|
12
12
|
export const TEST_URI = env.PG_TEST_URL;
|
|
13
13
|
|
|
14
|
-
export const INITIALIZED_MONGO_STORAGE_FACTORY = mongo_storage.
|
|
14
|
+
export const INITIALIZED_MONGO_STORAGE_FACTORY = mongo_storage.test_utils.mongoTestStorageFactoryGenerator({
|
|
15
15
|
url: env.MONGO_TEST_URL,
|
|
16
16
|
isCI: env.CI
|
|
17
17
|
});
|
|
18
18
|
|
|
19
|
-
export const INITIALIZED_POSTGRES_STORAGE_FACTORY = postgres_storage.
|
|
19
|
+
export const INITIALIZED_POSTGRES_STORAGE_FACTORY = postgres_storage.test_utils.postgresTestStorageFactoryGenerator({
|
|
20
20
|
url: env.PG_STORAGE_TEST_URL
|
|
21
21
|
});
|
|
22
22
|
|