Skip to content

Releases: fabiocaccamo/django-maintenance-mode

0.21.1

24 Jan 11:11
Compare
Choose a tag to compare
  • Fix manage.py maintenance_mode on/off changes permissions of state file. #172
  • Bump requirements and pre-commit hooks.

0.21.0

11 Dec 22:36
Compare
Choose a tag to compare
  • Add MAINTENANCE_MODE_LOGOUT_AUTHENTICATED_USER setting support. #139
  • Add MAINTENANCE_MODE_RESPONSE_TYPE (html or json) setting support. #160
  • Renamed settings.MAINTENANCE_MODE_GET_TEMPLATE_CONTEXT to settings.MAINTENANCE_MODE_GET_CONTEXT.
  • Write state file atomically in maintenance_mode.backends.LocalFileBackend. #162
  • Set maintenance mode response Retry-After only if MAINTENANCE_MODE_RETRY_AFTER setting is not 0 or None.
  • Replace black and isort with ruff-format.
  • Bump requirements.
  • Bump pre-commit hooks.

0.20.0

05 Dec 22:53
Compare
Choose a tag to compare
  • Add Python 3.12 support.
  • Add Django 5.0 support.
  • Speed-up test workflow.
  • Bump requirements.
  • Bump pre-commit hooks.

0.19.0

03 Oct 18:48
Compare
Choose a tag to compare
  • Add cache backend ("maintenance_mode.backends.CacheBackend"). #153 (by @epicserve in #154)
  • Bump requirements, Github actions and pre-commit hooks.

0.18.0

11 Dec 23:38
Compare
Choose a tag to compare
  • Drop Python < 3.8 and Django < 2.2 support. #99
  • Add backend for using default static storage ("maintenance_mode.backends.StaticStorageBackend"). (by @matmair in #97)
  • Replace str.format with f-strings.
  • Replace setup.py test in favor of runtests.py.
  • Bump requirements, Github actions and pre-commit hooks.

0.17.1

22 Nov 12:44
Compare
Choose a tag to compare
  • Add Python 3.11 support.
  • Add Django 4.1 support.
  • Add pre-commit.
  • Bump GitHub actions.
  • Improve maintenance_mode.backends extendibility.
  • Fix settings.MAINTENANCE_MODE_STATE_FILE_PATH not working with pathlib.Path value. #96

0.16.3

19 Apr 08:40
Compare
Choose a tag to compare
  • Fixed default storage incompatibility with s3 storage. #85 (thanks to @Natureshadow)

0.16.2

08 Dec 15:27
Compare
Choose a tag to compare

0.16.1

24 Sep 07:19
Compare
Choose a tag to compare

0.16.0

23 Mar 10:45
Compare
Choose a tag to compare