Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Up Mongodb SDK to 4.13.0 #15607

Merged
merged 35 commits into from
May 19, 2023
Merged

Conversation

tianzhu007
Copy link
Contributor

Bump Up Mongodb SDK to 4.13.0

Change the docker image to mongo:3.6 to compile with new SDK.
I refactored server/routerlicious/packages/services/src/mongodb.ts to fit the latest Mongodb SDK.
In MongoClientOptions:
The autoReconnect, bufferMaxEntries, reconnectInterval, and reconnectTries have been deprecated:
https://mongodb.github.io/node-mongodb-native/3.4/reference/unified-topology/
The useNewUrlParser has been deprecated:
https://www.mongodb.com/community/forums/t/argument-of-type-usenewurlparser-boolean-useunifiedtopology-boolean-is-not-assignable-to-parameter-of-type/169033

tianzhu007 and others added 30 commits February 7, 2023 16:12
…luidFramework into bump-up-mongodb-sdk

# Conflicts:
#	server/routerlicious/packages/services/package.json
# Conflicts:
#	server/routerlicious/packages/routerlicious-base/src/alfred/runnerFactory.ts
#	server/routerlicious/packages/routerlicious/config/config.json
#	server/routerlicious/packages/services-core/src/database.ts
#	server/routerlicious/packages/services/package.json
#	server/routerlicious/packages/services/src/mongodb.ts
#	server/routerlicious/pnpm-lock.yaml
Resolve Conflicts:
#	server/routerlicious/packages/services/src/mongodb.ts
#	server/routerlicious/pnpm-lock.yaml
# Conflicts:
#	server/routerlicious/kubernetes/routerlicious/values.yaml
#	server/routerlicious/pnpm-lock.yaml
# Conflicts:
#	pnpm-lock.yaml
#	server/routerlicious/kubernetes/routerlicious/values.yaml
@github-actions github-actions bot added the base: main PRs targeted against main branch label May 16, 2023
@tianzhu007 tianzhu007 requested review from msfluid-bot and a team as code owners May 16, 2023 18:20
@github-actions github-actions bot added area: server Server related issues (routerlicious) dependencies Pull requests that update a dependency file labels May 16, 2023
@msfluid-bot
Copy link
Collaborator

msfluid-bot commented May 16, 2023

@fluid-example/bundle-size-tests: -2.23 KB
Metric NameBaseline SizeCompare SizeSize Diff
aqueduct.js 446.96 KB 446.99 KB +34 Bytes
connectionState.js 680 Bytes 680 Bytes No change
containerRuntime.js 239.2 KB 239.21 KB +5 Bytes
loader.js 155.36 KB 155.39 KB +35 Bytes
map.js 46.66 KB 46.66 KB +2 Bytes
matrix.js 140.5 KB 140.5 KB +2 Bytes
odspDriver.js 92.43 KB 92.44 KB +4 Bytes
odspPrefetchSnapshot.js 43.64 KB 43.64 KB +4 Bytes
sharedString.js 161.46 KB 161.47 KB +2 Bytes
sharedTree2.js 274.05 KB 273.06 KB -1009 Bytes
Total Size 1.72 MB 1.72 MB -2.23 KB

Baseline commit: 4acda11

Generated by 🚫 dangerJS against facd34b

# Conflicts:
#	pnpm-lock.yaml
@tianzhu007 tianzhu007 merged commit 7e2393e into microsoft:main May 19, 2023
tylerbutler pushed a commit that referenced this pull request Jun 2, 2023
…41c4827062ed (#15812)

## Description

Looks like #15607 made a
change with a bad merge that overwrote the client package lock update
for client when updating server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: server Server related issues (routerlicious) base: main PRs targeted against main branch dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants