Skip to content

Release v0.11.0

Compare
Choose a tag to compare
@github-actions github-actions released this 24 Jun 22:10
· 184 commits to main since this release

Changed (Backward-incompatible)

  • Removed all imports from drf_standardized_errors.__init__.py. This avoids facing the AppRegistryNotReady error
    in certain situations (fixes #7). This change only affects where functions/classes are imported from, there are
    no changes to how they work. To upgrade to this version, you need to:
    • Update the "EXCEPTION_HANDLER" setting in REST_FRAMEWORK to "drf_standardized_errors.handler.exception_handler".
    • If you imported the exception handler directly, make sure the import looks like this
      from drf_standardized_errors.handler import exception_handler.
    • If you imported the exception handler class, make sure the import looks like this
      from drf_standardized_errors.handler import ExceptionHandler.
    • If you imported the exception formatter class, make sure the import looks like this
      from drf_standardized_errors.formatter import ExceptionFormatter.