github kizniche/Mycodo v8.18.0
8.18.0

50 minutes ago

8.18.0 (2026.12.05)

This release fixes several bugs, improves security, and makes upgrades safer. Upgrades now check for Python 3.11 or newer and enough free disk space before changing anything, and restore the previous version if a critical step fails.

The daemon now only accepts connections from the same computer (127.0.0.1), except under Docker. If you control the Mycodo daemon from another computer, add PYRO_BIND_HOST = '0.0.0.0' to /opt/Mycodo/mycodo/config_override.py to restore the previous behavior.

Bugfixes

  • Fix a controller being able to keep running after it was deactivated while starting (#1307)
  • Fix InfluxDB 1.x MEAN and SUM queries returning the median and incorrect sums (#1523)
  • Fix Atlas Scientific FTDI Inputs and Outputs by updating pylibftdi to 0.24.0 (#1542)
  • Fix notifications covering the navigation bar (#1541)
  • Fix a server error when a note attachment is missing (#1596)
  • Fix symlinks being able to bypass file path checks for note attachments and camera images (#1546)
  • Fix upgrades started from the web interface being stopped when the web server restarts (#1602)
  • Fix being logged out while viewing the upgrade log (#1602)
  • Fix the database wipe option of major version upgrades (#1601)
  • Fix the installing user not being added to the mycodo group (root was added instead) (#1604)

Features

  • Upgrades check the Python version, free disk space and the download before changing anything, and restore the previous version if a critical step fails (#1601)
  • Show failed upgrades in the web interface (#1601)
  • Show the commit when upgraded to the master branch (#1602)
  • Limit login attempts to 20 per 5 minutes per address (#1600)

Miscellaneous

  • Daemon only listens on 127.0.0.1 by default (#1600)
  • Harden mycodo_wrapper: no shell, clean environment, argument checks (#1600)
  • Backup page only accepts existing backups (#1600)
  • Use the client address set by nginx for the login log and limits (#1600)
  • Update Python packages, including Flask 3.1.3, gunicorn 25.3.0, SQLAlchemy 2.0.48 and alembic 1.18.4 (#1597)
  • Add issue templates and a security policy (#1593)
  • Run tests in parallel (#1599)
  • Check the upgrade scripts and mycodo_wrapper in CI (#1600, #1601)

Don't miss a new Mycodo release

NewReleases is sending notifications on new releases.