Skip to content

Commit 87c2d66

Browse files
authored
feat: upgrade driver and bson to 5.0 MONGOSH-1358 (#1403)
* chore: make --quiet and --verbose no-ops These are no longer supported by the driver, and will only become useful once full driver logging is implemented. * chore: remove unused and deprecated .remove() method from service providers * chore(cli-repl): display write errors as separate error category * chore: update mocks in tests for TS updates * chore(shell-api): start sharding test setup with --csrs * feat: update Shell BSON code for BSON v5 upgrade * feat: upgrade driver and bson to 5.0.0 * chore(deps): bump mongodb-client-encryption to 2.5.0 * chore: switch java-shell to webpack, adjust for bson v5 * chore(deps): bump mongodb-log-writer to 1.1.5 * chore: update shell bson printing code for bson 5 * chore(deps): bump driver to 5.1.0, mongodb-client-encryption to 2.6.0 * chore(deps): bump compass-editor, compass-components for bson 5
1 parent 7aeb3e2 commit 87c2d66

Some content is hidden

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

57 files changed

+3244
-5364
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ variable. For detailed instructions for each of our supported platforms, please
3333
--host [arg] Server to connect to
3434
--port [arg] Port to connect to
3535
--version Show version information
36-
--verbose Increase the verbosity of the output of the shell
3736
--quiet Silence output from the shell during the connection process
3837
--shell Run the shell after executing files
3938
--nodb Don't connect to mongod on startup - no 'db address' [arg] expected

config/webpack.base.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ module.exports = {
2525
}
2626
},
2727

28+
externals: { "node:crypto": "commonjs crypto" },
29+
2830
optimization: {
2931
minimizer: [
3032
new TerserPlugin({

package-lock.json

Lines changed: 407 additions & 185 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"karma-typescript": "^5.5.1",
123123
"lerna": "^4.0.0",
124124
"mocha": "^7.1.2",
125-
"mongodb": "^4.13.0",
125+
"mongodb": "^5.1.0",
126126
"mongodb-download-url": "^1.3.0",
127127
"mongodb-js-precommit": "^2.0.0",
128128
"nock": "^13.0.11",

0 commit comments

Comments
 (0)