Skip to content

Commit

Permalink
πŸ“š Update CHANGELOG file
Browse files Browse the repository at this point in the history
  • Loading branch information
ARYAN-NIKNEZHAD committed Sep 19, 2024
1 parent 2cbeb3b commit 3dcb1ee
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
## v1.2.1 (2024-09-19)

### πŸ› Bug Fixes
- **fix(handlers)**: Use `localtime()` to respect `TIME_ZONE` setting. ([80322cf](https://github.com/lazarus-org/django_logging/commit/80322cf))
- 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.

### πŸ“š Documentation
- **docs(handlers)**: Add detailed docstrings to `EmailHandler` class and methods. ([4dc7db1](https://github.com/lazarus-org/django_logging/commit/4dc7db1))
- Added comprehensive docstrings to the `EmailHandler` class and its methods (`emit` and `render_template`) to improve code documentation and readability.

### βœ… Tests
- **tests(settings)**: Update test settings to include `TIME_ZONE` configuration. ([94bc68a](https://github.com/lazarus-org/django_logging/commit/94bc68a))
- Updated test settings to include `TIME_ZONE` related configurations to ensure the correct behavior when `timezone.localtime()` is used in `EmailHandler`.

### ⚑️ Miscellaneous
- **Update(SECURITY)**: Fix typo in Markdown file. ([23a9260](https://github.com/lazarus-org/django_logging/commit/23a9260))
- Minor typo correction in the security documentation.

### πŸ”€ Merged
- **Merge PR #89**: Merged pull request `fix/email-timestamp`. ([2cbeb3b](https://github.com/lazarus-org/django_logging/commit/2cbeb3b))
- Fixes an issue with incorrect timestamps in log emails by ensuring the timestamp respects the configured `TIME_ZONE` setting.

## v1.2.0 (2024-09-18)

### ✨ Features
Expand Down

0 comments on commit 3dcb1ee

Please sign in to comment.