nightscout / cgm-remote-monitor

nightscout web monitor
GNU Affero General Public License v3.0
2.42k stars 71.74k forks source link

mongodb version compatibility #8305

Open mxsrm opened 6 days ago

mxsrm commented 6 days ago

Nightscout recommends running very old versions of mongodb (4.2 or 4.4) which are no longer receiving security support (4.4 ended 29.02.2024).

5.0 security support is ending 31.10.2024.

Does the software support 6.0 (EOS: 31.07.2025), 7.0 (EOS: 31.08.2026) or 8.0 (EOS: not yet determined; newest stable version) versions of mongodb?

sulkaharo commented 6 days ago

AFAIK the reason for this is the codebase still uses Mongo API that requires old drivers, which don't work with newer Mongo versions. I refactored the code to support the new drivers, which got merged, but there was a bug so the change was reverted and sadly in a way that causes a lot of work to re-apply the patch, but guess I'll have to find the time to do this. See here for the changes needed (minus one additional persistence call) https://github.com/nightscout/cgm-remote-monitor/pull/8026/files