Skip to content

remove deprecated useNewUrlParser and useUnifiedTopology #100

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

DLeibner
Copy link
Contributor

@DLeibner DLeibner commented Nov 20, 2024

We're currently on Mongo version 6, where there is a deprecation warning for useNewUrlParser and useUnifiedTopology options, introduced with PR.

These options were removed in 4.0.0 but continued to be parsed and silently left unused. We have now added a deprecation warning through Node.js' warning system to prepare for finally removing these options in the next major release.

@DLeibner DLeibner merged commit a38c33e into main Nov 22, 2024
1 check passed
@DLeibner DLeibner deleted the chore/remove_deprecated_options branch November 22, 2024 08:57
Copy link
Contributor

@inca inca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worth bumping mongodb library as well

@DLeibner
Copy link
Contributor Author

Bumped mongodb to latest version (6.10.0) directly on main.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants