SAMA-Communications / sama-server

SAMA - Simple but Advanced Messaging Alternative chat server, powered by uWebsockets.js
https://samacloud.io
GNU General Public License v3.0
112 stars 8 forks source link

Upgrade MongoDB Dependency to Version 5.0 or Higher #105

Closed ShunPin closed 4 months ago

ShunPin commented 5 months ago

Our project currently uses MongoDB version 4.4. We need to upgrade the MongoDB dependency to version 5.0 or higher. This upgrade is necessary to take advantage of the new features, improvements, and security enhancements available in the latest versions.

IgorKhomenko commented 5 months ago

@ShunPin thanks for reporting it. I have added a ticket to our TODO list.

Meanwhile, I assume that can be easily done since we do not use any exotic MongoDB API, so probably you could try it on your end by changing the following and let us know:

ShunPin commented 4 months ago

I haven't modified any code yet; I only changed the connection information for mongoDB to an internal development environment using mongodb:7.0.11, and it is currently working fine. If I encounter any issues later, I will modify and test it, then provide feedback.

IgorKhomenko commented 4 months ago

@ShunPin that's great to hear 👍

IgorKhomenko commented 4 months ago

I believe this can be closed