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

feat(query): remove all references to option "maxScan" #13022

Merged
merged 1 commit into from Feb 13, 2023

Conversation

hasezoey
Copy link
Collaborator

Summary

This PR removes all references to query option maxScan, which has been removed from the driver in 4.0 and has been removed from mongodb's (db) side since 4.2 (and deprecated since 4.0)

PS: i am not quite sure if this should be removed already, because version 4.0 and 4.2 are still supported by the driver (but the options have been removed from the driver) and from what i can tell mongoose matches the drivers support of mongodb (db) versions

BREAKING CHANGE:
Query Option "maxScan" has now been removed
@hasezoey hasezoey added this to the 7.0 milestone Feb 11, 2023
Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@vkarpov15 vkarpov15 merged commit 41c1d89 into Automattic:7.0 Feb 13, 2023
@hasezoey hasezoey deleted the removeMaxScan branch February 13, 2023 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants