Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

feat/upgrade mongodb to 4.4 #41

Open
wants to merge 6 commits into
base: trunk
Choose a base branch
from
Open

Conversation

vanpho93
Copy link
Member

@vanpho93 vanpho93 commented Jul 18, 2022

Signed-off-by: Brian Nguyen vanpho02@gmail.com

Resolves #6383
Type: feature

Issue

MongoDB 4.2 will reach EOD soon. We should update to MongoDB 5.

Solution

Bump mongodb driver version from v3.6.2 to v4.4.1.
Modify collection object to support v3 queries

Breaking changes

https://github.com/mongodb/node-mongodb-native/blob/4.1/docs/CHANGES_4.0.0.md

Some changes resolved by this PR:

  • returnOriginal
  • { result: { ok: 1, n: 1 } }

Testing

Run e2e test.

More detail for what each of these sections should include are available in our Contributing Docs

Signed-off-by: Brian Nguyen <vanpho02@gmail.com>
@vanpho93 vanpho93 force-pushed the feat/upgrade-mongodb-to-4.4 branch from c963ba0 to cb33a8b Compare July 18, 2022 02:54
vanpho93 added 5 commits July 18, 2022 17:41
Signed-off-by: Brian Nguyen <vanpho02@gmail.com>
Signed-off-by: Brian Nguyen <vanpho02@gmail.com>
Signed-off-by: Brian Nguyen <vanpho02@gmail.com>
Signed-off-by: Brian Nguyen <vanpho02@gmail.com>
Signed-off-by: Brian Nguyen <vanpho02@gmail.com>
@vanpho93 vanpho93 requested a review from brent-hoover July 19, 2022 09:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to MongoDB 5
1 participant