Skip to content

Releases: metalogico/django-sonar

v0.5.1

11 Feb 11:19

Choose a tag to compare

v0.5.0

11 Feb 10:49

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.0...v0.5.0

v0.3.0

08 Oct 15:43

Choose a tag to compare

[0.3.0] - 2025-10-08

Added

  • Request filtering - Filter requests by HTTP method, path, and status code (MET-25)
  • Pagination - Requests table now paginated (25 per page) with htmx-powered navigation
  • Separate database support - Database router to store Sonar data in a separate database for better performance
  • JSON serialization - Automatic handling of Decimal, datetime, UUID, and other non-JSON-serializable types (MET-28)

Fixed

  • Long URL support - Changed SonarRequest.path from CharField(255) to TextField to support long URLs with query parameters (MET-27)
  • Filter persistence - Fixed htmx polling to maintain active filters without parameter duplication

Changed

  • Request filtering UI with method dropdown, path search, and status input
  • Improved pagination controls with First/Previous/Next/Last buttons
  • Better handling of complex data types in payloads, headers, and session data

Tests

✅ 97 tests passed - All green!

Links

PyPI: https://pypi.org/project/django-sonar/0.3.0/
GitHub: https://github.com/metalogico/django-sonar

v0.2.0

05 Oct 18:37

Choose a tag to compare

  • Implement SensitiveDataFilter class with 23+ default sensitive fields
  • Automatic filtering of passwords, tokens, API keys, credit cards, etc.
  • Case-insensitive matching with partial key matching support
  • Recursive filtering for nested dicts and lists
  • Configurable custom sensitive fields via DJANGO_SONAR settings
  • Apply filter to POST/GET data, headers, and session data
  • Refactor core module structure (parsers, collectors, filters)
  • Add comprehensive test coverage (13+ tests for filtering)
  • Update README with security documentation

0.1.8

04 Apr 12:04

Choose a tag to compare

  • empty labels for the empty pages
  • query detail page
  • full path with querystring on request list page
  • support for custom user model (thanks to: @FraCata00)
  • many small fixes

0.1.3

03 Apr 13:48

Choose a tag to compare

  • Added a new auth mixin. Only superusers can access sonar dashboard
  • Added labels for empty pages/lists
  • Some small bug fixes