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

Upgrade to MongoDB 7 #216

Closed
aldy505 opened this issue Jan 12, 2024 · 1 comment
Closed

Upgrade to MongoDB 7 #216

aldy505 opened this issue Jan 12, 2024 · 1 comment
Labels
difficulty: easy enhancement New feature or request good first issue Good for newcomers

Comments

@aldy505
Copy link
Member

aldy505 commented Jan 12, 2024

I got an email from MongoDB Cloud that says

Your M0/M2/M5 Atlas cluster(s) will be automatically upgraded to MongoDB 7.0 in February 2024.

What’s in the update?

MongoDB 7.0 introduces new features and improvements such as:

What do I need to do?

To ensure a seamless transition, we recommend updating your driver version to ensure continued compatibility with your applications. If your applications are compatible with MongoDB version 7.0, no downtime is expected for your applications. Visit our Docs to see compatibility changes in 7.0, determine which driver versions are compatible with 7.0, and download the latest version.

While most upgrades do not require any application changes, if you are concerned about compatibility we recommend exploring the Stable API.

These are the parts that we need to look at:

mongo:
image: mongo:6.0-jammy

"mongoose": "^7.6.5",

bot/src/app.js

Lines 49 to 51 in 5137125

const mongo = mongoose.createConnection(String(process.env.MONGO_URL), {
useNewUrlParser: true
});

@aldy505 aldy505 added enhancement New feature or request good first issue Good for newcomers difficulty: easy labels Jan 12, 2024
@WahidinAji
Copy link
Contributor

#226

@aldy505 aldy505 closed this as completed Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: easy enhancement New feature or request good first issue Good for newcomers
Projects
Status: Done
Development

No branches or pull requests

2 participants