Skip to content

Latest commit

 

History

History
69 lines (42 loc) · 2.1 KB

CHANGELOG.md

File metadata and controls

69 lines (42 loc) · 2.1 KB

Changelog

All notable changes to this project will be documented in this file.

[0.0.27] - 2025-01-19

Added

  • Added validate_lookup_expression method to validators module to validate lookup expressions.
  • Added DJANGO_NAMESPACES_USER_LOOKUP_EXPRESSION setting to conf module to allow for custom lookup expressions.
  • Updated get_namespaces method to use lookup expression if provided (useful for custom namespace models).

0.0.26 - 2025-01-16

Added

  • Added get_namespaces method to services module to return a QuerySet or list of namespaces.

0.0.25 - 2025-01-15

Added

  • Added has_namespace and id properties to AnonymousNamespace class to handle non-activated/anonymous orgs.
  • Ensure view tests run first with tests/conftest.py.
  • Added pytest-order option to tests to run individual tests in a specific order.

0.0.24 - 2025-01-15

Added

  • Renamed default setting names to start with DJANGO_NAMESPACES_ to avoid conflicts with other apps.

0.0.23 - 2025-01-15

Added

  • If using a swappable Namespace model, unregister the default Namespace model from admin.

0.0.22 - 2025-01-14

Added

  • Minor bug fixes

0.0.21 - 2025-01-14

Added

  • swappable model for Namespace. Defaults to DJANGO_NAMESPACES_NAMESPACE_MODEL="django_namespaces.Namespace".
  • Abstract model for Namespace.
  • Checks for Namespace model.
  • New test cases

0.0.20 - 2025-01-13

  • An updated changelog is coming soon.

[0.0.01] - [0.0.19] - 2025-01-13

  • Old versions removed.