github usnistgov/NEMO 8.0.0

5 hours ago

Upgrade notes

  • Major update to Django 5.2, make sure to backup your database before upgrading. Plugin compatibility is not guaranteed.
  • Database Compatibility, Django 5.2 only supports:
    • Postgres 14 or newer. psycopg driver 3.1.8 or newer is required
    • MariaDB 10.5 or Mysql 8.0.11 or newer
    • Oracle 19c or newer. oracledb driver 2.3.0 or newer is required
  • A new health check has been added in the docker image, for it to work correctly you will need in settings.py:
    1. make sure you have "localhost" in your list of ALLOWED_HOSTS
    2. if you use SECURE_SSL_REDIRECT = True, make sure to add SECURE_REDIRECT_EXEMPT = [r"^health/$"]
  • Date time formats have changed in Django 5.2, and you have the following options:
    1. in settings.py set LANGUAGE_CODE = "custom" to keep previous behavior using date formats defined in settings.py
    2. set LANGUAGE_CODE = <your_locale> to use predefined formats for a specific locale
    3. don't add anything in settings.py which will use the default "en-us" formats

Improvements

  • Added new rating usage/reservation question with customizable symbol, number, color and empty_color
  • Added tracking of unplanned resource outages
  • Allowing users with view staff absences to view absence details in staff status dashboard
  • Added option in Customization -> Calendar to show a category filter in calendar and tool control pages
  • In adjustment requests, added information about the person who applied the change

API

  • Updated tool status API to add dates since tool is non operational, has outages, problems, etc.

Bug fixes

  • Fixed error in validation preventing from adding tool usage counters
  • Fixed tool counters not updating correctly when the exact same pre and post questions are asked

Libraries

  • Django 4.2.30 -> 5.2.14
  • django-filter 25.1 -> 25.2
  • requests 2.33.1 -> 2.34.2

Don't miss a new NEMO release

NewReleases is sending notifications on new releases.