Skip to content

Commit 49ea4f9

Browse files
committed
Update CHANGELOG and version.
1 parent cccaabf commit 49ea4f9

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.21.0](https://github.com/fabiocaccamo/django-maintenance-mode/releases/tag/0.21.0) - 2023-12-11
8+
- Add `MAINTENANCE_MODE_LOGOUT_AUTHENTICATED_USER` setting support. #139
9+
- Add `MAINTENANCE_MODE_RESPONSE_TYPE` (`html` or `json`) setting support. #160
10+
- Renamed `settings.MAINTENANCE_MODE_GET_TEMPLATE_CONTEXT` to `settings.MAINTENANCE_MODE_GET_CONTEXT`.
11+
- Write state file atomically in `maintenance_mode.backends.LocalFileBackend`. #162
12+
- Set maintenance mode response `Retry-After` only if `MAINTENANCE_MODE_RETRY_AFTER` setting is not `0` or `None`.
13+
- Replace `black` and `isort` with `ruff-format`.
14+
- Bump requirements.
15+
- Bump `pre-commit` hooks.
16+
717
## [0.20.0](https://github.com/fabiocaccamo/django-maintenance-mode/releases/tag/0.20.0) - 2023-12-05
818
- Add `Python 3.12` support.
919
- Add `Django 5.0` support.

maintenance_mode/metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
__email__ = "fabio.caccamo@gmail.com"
55
__license__ = "MIT"
66
__title__ = "django-maintenance-mode"
7-
__version__ = "0.20.0"
7+
__version__ = "0.21.0"

0 commit comments

Comments
 (0)