Skip to content

Conversation

@alecgibson
Copy link
Collaborator

This change bumps the mongodb dependency to v4, and:

  • removes the returnDocument option: the deprecated version is no
    longer supported for v4, and we drop its support here
  • update add() to check insertedIds, since ops was removed in v4

This change bumps the `mongodb` dependency to v4, and:

 - removes the `returnDocument` option: the deprecated version is no
   longer supported for v4, and we drop its support here
 - update `add()` to check `insertedIds`, since `ops` was removed in v4
@alecgibson alecgibson merged commit e9d7fe0 into main Jul 23, 2021
@alecgibson alecgibson deleted the mongodb4 branch July 23, 2021 09:45
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.

3 participants