Skip to content

Commit 816081a

Browse files
committed
Merge branch 'main' into metrics-refactor
# Conflicts: # modules/module-mongodb/src/replication/ChangeStream.ts # modules/module-mongodb/test/src/change_stream_utils.ts # modules/module-postgres/test/src/slow_tests.test.ts # packages/service-core-tests/src/tests/register-sync-tests.ts
2 parents 5dc7599 + 0dd746a commit 816081a

File tree

126 files changed

+4006
-1970
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+4006
-1970
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
33
"changelog": "@changesets/cli/changelog",
44
"commit": false,
5-
"fixed": [],
5+
"fixed": [["@powersync/service-core", "@powersync/service-image"]],
66
"linked": [],
77
"access": "restricted",
88
"baseBranch": "origin/main",

.changeset/hot-pets-itch.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@powersync/service-module-mongodb-storage': patch
3+
'@powersync/service-module-mongodb': patch
4+
---
5+
6+
Improve intial replication performance for MongoDB by avoiding sessions.

.changeset/khaki-avocados-travel.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/odd-snails-end.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/tall-peas-cough.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ jobs:
4242
- uses: actions/checkout@v4
4343

4444
- name: Start MongoDB
45-
uses: supercharge/mongodb-github-action@1.8.0
45+
uses: supercharge/mongodb-github-action@1.12.0
4646
with:
47-
mongodb-version: '6.0'
47+
mongodb-version: '8.0'
4848
mongodb-replica-set: test-rs
4949

5050
- name: Setup Node.js
@@ -117,9 +117,9 @@ jobs:
117117
-d postgres:${{ matrix.postgres-version }}
118118
119119
- name: Start MongoDB
120-
uses: supercharge/mongodb-github-action@1.8.0
120+
uses: supercharge/mongodb-github-action@1.12.0
121121
with:
122-
mongodb-version: '6.0'
122+
mongodb-version: '8.0'
123123
mongodb-replica-set: test-rs
124124

125125
- name: Setup Node.js
@@ -183,9 +183,9 @@ jobs:
183183
--server-id=1
184184
185185
- name: Start MongoDB
186-
uses: supercharge/mongodb-github-action@1.8.0
186+
uses: supercharge/mongodb-github-action@1.12.0
187187
with:
188-
mongodb-version: '6.0'
188+
mongodb-version: '8.0'
189189
mongodb-replica-set: test-rs
190190

191191
- name: Start PostgreSQL (Storage)
@@ -245,7 +245,7 @@ jobs:
245245
- uses: actions/checkout@v4
246246

247247
- name: Start MongoDB
248-
uses: supercharge/mongodb-github-action@1.8.0
248+
uses: supercharge/mongodb-github-action@1.12.0
249249
with:
250250
mongodb-version: ${{ matrix.mongodb-version }}
251251
mongodb-replica-set: test-rs

libs/lib-mongodb/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @powersync/lib-service-mongodb
22

3+
## 0.4.3
4+
5+
### Patch Changes
6+
7+
- b4fe4ae: Upgrade mongodb and bson packages, removing the need for some workarounds.
8+
- Updated dependencies [b4fe4ae]
9+
- @powersync/lib-services-framework@0.5.3
10+
11+
## 0.4.2
12+
13+
### Patch Changes
14+
15+
- @powersync/lib-services-framework@0.5.2
16+
317
## 0.4.1
418

519
### Patch Changes

libs/lib-mongodb/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@powersync/lib-service-mongodb",
33
"repository": "https://github.com/powersync-ja/powersync-service",
44
"types": "dist/index.d.ts",
5-
"version": "0.4.1",
5+
"version": "0.4.3",
66
"main": "dist/index.js",
77
"license": "FSL-1.1-Apache-2.0",
88
"type": "module",
@@ -29,8 +29,8 @@
2929
},
3030
"dependencies": {
3131
"@powersync/lib-services-framework": "workspace:*",
32-
"bson": "^6.8.0",
33-
"mongodb": "^6.11.0",
32+
"bson": "^6.10.3",
33+
"mongodb": "^6.13.0",
3434
"ts-codec": "^1.3.0",
3535
"uri-js": "^4.4.1"
3636
},

libs/lib-postgres/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @powersync/lib-service-postgres
22

3+
## 0.3.3
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [b4fe4ae]
8+
- @powersync/lib-services-framework@0.5.3
9+
10+
## 0.3.2
11+
12+
### Patch Changes
13+
14+
- @powersync/lib-services-framework@0.5.2
15+
316
## 0.3.1
417

518
### Patch Changes

libs/lib-postgres/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@powersync/lib-service-postgres",
33
"repository": "https://github.com/powersync-ja/powersync-service",
44
"types": "dist/index.d.ts",
5-
"version": "0.3.1",
5+
"version": "0.3.3",
66
"main": "dist/index.js",
77
"license": "FSL-1.1-Apache-2.0",
88
"type": "module",

0 commit comments

Comments
 (0)