Skip to content

Commit 3dcb1ee

Browse files
📚 Update CHANGELOG file
1 parent 2cbeb3b commit 3dcb1ee

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
## v1.2.1 (2024-09-19)
2+
3+
### 🐛 Bug Fixes
4+
- **fix(handlers)**: Use `localtime()` to respect `TIME_ZONE` setting. ([80322cf](https://github.com/lazarus-org/django_logging/commit/80322cf))
5+
- Replaced `timezone.now()` with `timezone.localtime()` in `EmailHandler` to ensure the correct local time is used for log emails, matching the configured `TIME_ZONE` setting.
6+
7+
### 📚 Documentation
8+
- **docs(handlers)**: Add detailed docstrings to `EmailHandler` class and methods. ([4dc7db1](https://github.com/lazarus-org/django_logging/commit/4dc7db1))
9+
- Added comprehensive docstrings to the `EmailHandler` class and its methods (`emit` and `render_template`) to improve code documentation and readability.
10+
11+
### ✅ Tests
12+
- **tests(settings)**: Update test settings to include `TIME_ZONE` configuration. ([94bc68a](https://github.com/lazarus-org/django_logging/commit/94bc68a))
13+
- Updated test settings to include `TIME_ZONE` related configurations to ensure the correct behavior when `timezone.localtime()` is used in `EmailHandler`.
14+
15+
### ⚡️ Miscellaneous
16+
- **Update(SECURITY)**: Fix typo in Markdown file. ([23a9260](https://github.com/lazarus-org/django_logging/commit/23a9260))
17+
- Minor typo correction in the security documentation.
18+
19+
### 🔀 Merged
20+
- **Merge PR #89**: Merged pull request `fix/email-timestamp`. ([2cbeb3b](https://github.com/lazarus-org/django_logging/commit/2cbeb3b))
21+
- Fixes an issue with incorrect timestamps in log emails by ensuring the timestamp respects the configured `TIME_ZONE` setting.
22+
123
## v1.2.0 (2024-09-18)
224

325
### ✨ Features

0 commit comments

Comments
 (0)