Skip to content

Conversation

mmende
Copy link

@mmende mmende commented Jul 28, 2023

The bson package has removed ObjectID (with capital D) from v5 on, which can be seen in the release notes. As mongodb v5.0.0 adopted all changes from bson v5.0.0 and this plugin depends on mongodb v5.4.0 this plugin should use ObjectId instead of ObjectID.

Furthermore did mongodb v5 remove certain callback signatures in favor of promises including the one for delete.

This PR should fix those issues.

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.

1 participant