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:- make sure you have
"localhost"in your list ofALLOWED_HOSTS - if you use
SECURE_SSL_REDIRECT = True, make sure to addSECURE_REDIRECT_EXEMPT = [r"^health/$"]
- make sure you have
- Date time formats have changed in Django 5.2, and you have the following options:
- in
settings.pysetLANGUAGE_CODE = "custom"to keep previous behavior using date formats defined in settings.py - set
LANGUAGE_CODE = <your_locale>to use predefined formats for a specific locale - don't add anything in
settings.pywhich will use the default "en-us" formats
- in
Improvements
- Added new
ratingusage/reservation question with customizable symbol, number, color and empty_color - Added tracking of unplanned resource outages
- Allowing users with
view staff absencesto 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