Skip to content

[DNM] chore(467) rename NodeOptions to MongoClientOptions #219

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

Closed
wants to merge 1 commit into from

Conversation

aherlihy
Copy link

@aherlihy aherlihy commented Dec 1, 2020

MONGOSH-467 Upgrade the Node driver to 4.0

Description

Previously we were making our own options interface NodeOptions but now that the driver is in typescript we can use their MongoClientOptions interface directly. This will need to be merged after the shell is released with the change

@aherlihy aherlihy added the WIP label Dec 1, 2020
@alenakhineika
Copy link
Contributor

TODO: merge after @mongosh/service-provider-server@0.7.0 published.

@gribnoysup gribnoysup mentioned this pull request Feb 22, 2021
10 tasks
addaleax added a commit that referenced this pull request Jun 16, 2021
Also includes the change from
#219
and bumps mongodb-connection-model to a version that depends on the
3.x driver directly instead of using it as a peer dependency,
and minor drive-by things I’ve noticed (use `mongodb` itself only
for typed imports, use `assert.strictEqual` where it gives a better
error message, adjust types in preparation for a 4.0 driver update).
addaleax added a commit that referenced this pull request Jun 21, 2021
Also includes the change from
#219
and bumps mongodb-connection-model & mongodb-data-service
to versions that depend on the 4.x driver as a peer dependency,
and minor drive-by things I’ve noticed (use `mongodb` itself only
for typed imports, use `assert.strictEqual` where it gives a better
error message, adjust types in some places).

This also includes a hack that was necessitated by the
fact that we’re using a prerelease of the driver package.
We should be able to remove that once 4.0.0 is released.
@Anemy
Copy link
Member

Anemy commented Jul 13, 2021

Merged in #301 🎆

@Anemy Anemy closed this Jul 13, 2021
@Anemy Anemy deleted the 4.0-upgrade branch July 13, 2021 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants