Releases: fabiocaccamo/django-maintenance-mode
Releases · fabiocaccamo/django-maintenance-mode
0.21.1
0.21.0
- Add
MAINTENANCE_MODE_LOGOUT_AUTHENTICATED_USER
setting support. #139 - Add
MAINTENANCE_MODE_RESPONSE_TYPE
(html
orjson
) setting support. #160 - Renamed
settings.MAINTENANCE_MODE_GET_TEMPLATE_CONTEXT
tosettings.MAINTENANCE_MODE_GET_CONTEXT
. - Write state file atomically in
maintenance_mode.backends.LocalFileBackend
. #162 - Set maintenance mode response
Retry-After
only ifMAINTENANCE_MODE_RETRY_AFTER
setting is not0
orNone
. - Replace
black
andisort
withruff-format
. - Bump requirements.
- Bump
pre-commit
hooks.
0.20.0
- Add
Python 3.12
support. - Add
Django 5.0
support. - Speed-up test workflow.
- Bump requirements.
- Bump
pre-commit
hooks.
0.19.0
- Add cache backend (
"maintenance_mode.backends.CacheBackend"
). #153 (by @epicserve in #154) - Bump requirements, Github actions and pre-commit hooks.
0.18.0
- Drop
Python < 3.8
andDjango < 2.2
support. #99 - Add backend for using default static storage (
"maintenance_mode.backends.StaticStorageBackend"
). (by @matmair in #97) - Replace
str.format
withf-strings
. - Replace
setup.py test
in favor ofruntests.py
. - Bump requirements, Github actions and pre-commit hooks.
0.17.1
0.16.3
- Fixed default storage incompatibility with
s3
storage. #85 (thanks to @Natureshadow)