Skip to content

Releases: CuriousLearner/django-postgres-anonymizer

v0.1.0b1 - Beta Release

05 Oct 19:05
v0.1.0b1

Choose a tag to compare

Pre-release

🎉 Django PostgreSQL Anonymizer v0.1.0b1 (Beta Release)

⚠️ Beta Release - Feature complete, ready for testing. API may still change before 1.0.

Added

  • Multiple user groups support via MASKED_GROUPS configuration
  • Environment variable configuration following 12-factor principles
  • Comprehensive documentation with examples and deployment guides

Changed

  • Improved documentation structure and clarity
  • Contributing and changelog docs use RST include directives for single source of truth
  • Migrated from flake8/black/isort to Ruff for faster, unified linting and formatting

Fixed

  • ALLOW_CUSTOM_FUNCTIONS setting now properly controls validation
  • ENABLE_LOGGING setting now properly controls operation logging
  • VALIDATE_FUNCTIONS setting now properly controls function validation in management commands
  • API reference now documents only public-facing functions (get_anon_setting, validate_anon_extension)
  • MASKED_GROUPS default value in settings documentation now matches code (['view_masked_data'] not [])
  • Django auth example documentation corrected - username not anonymized by default, password field not in preset

Removed

  • database_role() context manager - unsafe arbitrary role switching
  • @database_role_required() decorator - potential security risk
  • Direct role manipulation utilities - use anonymized_data() instead
  • AUTO_APPLY_RULES setting - feature was never implemented, removed to avoid confusion

Installation

pip install django-postgres-anonymizer==0.1.0b1

Documentation

📚 Full documentation: https://django-postgres-anonymizer.readthedocs.io/

What's Next?

We're looking for beta testers! Please try it out and report any issues at https://github.com/CuriousLearner/django-postgres-anonymizer/issues

Note: This is a beta release. The API may still change before the 1.0 stable release.