Skip to content

Commit acd294a

Browse files
📚 Update CHANGELOG file
1 parent 0cb7f51 commit acd294a

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

CHANGELOG.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,52 @@
1+
## v2.0.0 (2024-10-13)
2+
3+
### ✨ Features
4+
- **feat(LogiBoard)**: Add drag-and-drop support for ZIP file uploads. ([e86dd14](https://github.com/FATEMEH-Z-HASHEMI/django_logging/commit/e86dd14))
5+
- Added drag-and-drop functionality for file uploads in the #drop-zone area.
6+
- Implemented ZIP file validation with interactive UI.
7+
8+
- **feat(formatters)**: Add JSON, XML, and FLAT formatters. ([509e67e](https://github.com/MEHRSHAD-MIRSHEKARY/django_logging/commit/509e67e), [1cb6639](https://github.com/MEHRSHAD-MIRSHEKARY/django_logging/commit/1cb6639), [bf017c1](https://github.com/MEHRSHAD-MIRSHEKARY/django_logging/commit/bf017c1))
9+
- **JSONFormatter**: Converts log records into structured JSON format.
10+
- **XMLFormatter**: Provides XML formatted log records with nested data.
11+
- **FLATFormatter**: Formats log fields as flat key-value pairs.
12+
13+
- **feat(contextvar)**: Add ContextVarManager class for structured context management. ([bae37d0](https://github.com/MEHRSHAD-MIRSHEKARY/django_logging/commit/bae37d0))
14+
- Introduced methods for binding, unbinding, and managing context variables for structured logging.
15+
16+
- **feat(middleware)**: Add MonitorLogSizeMiddleware and RequestLogMiddleware. ([4044a39](https://github.com/MEHRSHAD-MIRSHEKARY/django_logging/commit/4044a39), [2c004df](https://github.com/MEHRSHAD-MIRSHEKARY/django_logging/commit/2c004df))
17+
- **MonitorLogSizeMiddleware**: Periodically checks log directory size and sends alerts if limits are exceeded.
18+
- **RequestLogMiddleware**: Logs details about each HTTP request, including SQL queries executed during the request.
19+
20+
- **feat(commands)**: Add Django management commands for monitoring logs. ([980f28d](https://github.com/MEHRSHAD-MIRSHEKARY/django_logging/commit/980f28d), [d38d3e4](https://github.com/MEHRSHAD-MIRSHEKARY/django_logging/commit/d38d3e4))
21+
- **MonitorLogSizeCommand**: Checks log directory size and sends admin email alerts.
22+
- **Pretty JSON/XML Commands**: Reformat log files into prettier formats for better readability.
23+
24+
- **feat(Static)**: Add JavaScript functionality for handling ZIP uploads in LogiBoard. ([3c1bcf9](https://github.com/FATEMEH-Z-HASHEMI/django_logging/commit/3c1bcf9))
25+
- Enhanced log management through a user-friendly drag-and-drop UI.
26+
27+
### 🐛 Bug Fixes
28+
- **fix(validators)**: Add validation for log file formats and extra log files configuration. ([47ebea4](https://github.com/MEHRSHAD-MIRSHEKARY/django_logging/commit/47ebea4))
29+
- Ensured correct configuration of log file formats and extra log settings.
30+
31+
- **fix(checks)**: Correct import typos in middleware and formatters. ([3732fc7](https://github.com/MEHRSHAD-MIRSHEKARY/django_logging/commit/3732fc7))
32+
33+
### ⚡️ Refactor
34+
- **refactor(middleware)**: Refactor RequestLogMiddleware for asynchronous support and SQL query logging. ([2c004df](https://github.com/MEHRSHAD-MIRSHEKARY/django_logging/commit/2c004df))
35+
36+
### ✅ Tests
37+
- **tests(contextvar)**: Add tests for ContextVariableManager. ([8cb8b43](https://github.com/MEHRSHAD-MIRSHEKARY/django_logging/commit/8cb8b43))
38+
- Verified correct binding, unbinding, and merging of context variables.
39+
40+
- **tests(middleware)**: Add comprehensive tests for middleware and formatters. ([4754cd9](https://github.com/MEHRSHAD-MIRSHEKARY/django_logging/commit/4754cd9))
41+
42+
### 📚 Documentation
43+
- **docs**: Update README and RST documentation to cover new features. ([17880ad](https://github.com/MEHRSHAD-MIRSHEKARY/django_logging/commit/17880ad), [01d3fe2](https://github.com/MEHRSHAD-MIRSHEKARY/django_logging/commit/01d3fe2))
44+
- Included new features such as context management, formatters, and middleware in the docs.
45+
46+
### 🔀 Merged
47+
- **Merge PR #122**: Improve LogiBoard UI and styles. ([0cb7f51](https://github.com/FATEMEH-Z-HASHEMI/django_logging/commit/0cb7f51))
48+
- **Merge PR #101**: Add FLATFormatter for key-value formatted logs. ([aa38f42](https://github.com/MEHRSHAD-MIRSHEKARY/django_logging/commit/aa38f42))
49+
150
## v1.2.1 (2024-09-19)
251

352
### 🐛 Bug Fixes

0 commit comments

Comments
 (0)