Releases: vishalanandl177/DRF-API-Logger
Releases · vishalanandl177/DRF-API-Logger
Version 1.1.16
What's Changed
- Added support for
application/vnd.*+json
media types by @OmarNunezG in #93 - Fix middleware handling to skip logging for static and media file requests by @abe-101 in #97
New Contributors
- @OmarNunezG made their first contribution in #93
- @abe-101 made their first contribution in #97
Full Changelog: 1.1.15...1.1.16
Version 1.1.15
- Function mask_sensitive_data now cover list of dicts.
- Now ignore data based on Maximum request and response body s….
- Licence and version changes..
What's Changed
- Update README.md - change HTTP status codes to integers by @kylepollina in #78
New Contributors
- @kylepollina made their first contribution in #78
Full Changelog: 1.1.14...1.1.15
Version 1.1.14
Added priority for tracing id
- It will look in header first
- If not present in header, it will call function to generate uuid.
Version 1.1.13
What's Changed
- 📝 Update README by @DavidRomanovizc in #72
- Update chartData date value by @Protages in #77
- Added support for application/octet-stream by @roshenmaghhan in #73
New Contributors
- @DavidRomanovizc made their first contribution in #72
- @Protages made their first contribution in #77
- @roshenmaghhan made their first contribution in #73
Full Changelog: 1.1.12...1.1.13
Version 1.1.12
What's Changed
- chore: localize static files by @Etuloser in #63
- Added logic to exclude parameters present in the API URL string by @cantus-firmus in #67
- Added support for logging APIs returning GZIP data by @cantus-firmus in #66
New Contributors
- @Etuloser made their first contribution in #63
- @cantus-firmus made their first contribution in #67
Full Changelog: 1.1.11...1.1.12
Minor fixes.
- Changed request.path to request.path_info in middleware.
- Deprecation warning for thread setName or getName.
- Request twice when the method is not in DRF_API_LOGGER_METHODS.
- Unicode Escape problem in headers, body, and responses.
Added export option in CSV
Merge pull request #42 from vishalanandl177/staging added export option in CSV
Log only selected request methods and Multiple log delete issue fixed
- [DjangoAdmin] KeyError when trying to delete multiple API Logger entry issue fixed.
- New feature added to log only selected methods.
Increase api field length to 1024, Add support for list of dicts, timezone support added
- API field max_length increase from 512 to 1024.
- Add support for a list of dicts to hide sensitive data.
- Timezone support added.
For more info, check README.md
Identify slow APIs and Delete permissions added
You can also identify slow APIs by specifying DRF_API_LOGGER_SLOW_API_ABOVE in settings.py.
A new filter (By API Performance) will be visible, and you can choose slow or fast API.
DRF_API_LOGGER_SLOW_API_ABOVE = 200 # Default to None
Now you can delete the DRF API Logger using the admin panel.