Skip to content

Bump mongoose version to accomodate MongoDB Atlas changes#345

Open
Naapperas wants to merge 3 commits into
developfrom
deps/bump-mongoose
Open

Bump mongoose version to accomodate MongoDB Atlas changes#345
Naapperas wants to merge 3 commits into
developfrom
deps/bump-mongoose

Conversation

@Naapperas
Copy link
Copy Markdown
Collaborator

MongoDB announced that Atlas would be migrating all database instances to version 7 of MongoDB.

This PR updates mongoose and the code accordingly to reflect the changes made (since this is potentially bumping 2 major versions).

There is no need to change the docker-compose.yaml file since it pulls from the untagged mongo image, aka, the latest image available on Docker Hub. I already checked and, on my machine, the image, when running mongosh, runs server version 7.x, which is what we want.

@render
Copy link
Copy Markdown

render Bot commented Jan 31, 2024

@Naapperas Naapperas changed the title Deps/bump mongoose Bump mongoose version to accomodate MongoDB Atlas changes Jan 31, 2024
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 31, 2024

Codecov Report

❌ Patch coverage is 80.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.27%. Comparing base (81bce7c) to head (0e594f0).
⚠️ Report is 2 commits behind head on develop.

Files with missing lines Patch % Lines
src/config/passport.js 77.77% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #345      +/-   ##
===========================================
- Coverage    90.33%   90.27%   -0.06%     
===========================================
  Files           54       54              
  Lines         1469     1471       +2     
  Branches       245      244       -1     
===========================================
+ Hits          1327     1328       +1     
- Misses         137      138       +1     
  Partials         5        5              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Naapperas
Copy link
Copy Markdown
Collaborator Author

Audit fails due to this, which was only reported 11 hours ago, will need to wait for a fix 💀

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