Skip to content

Releases: ghazi-git/drf-standardized-errors

Release v0.11.0

24 Jun 22:10
Compare
Choose a tag to compare

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.

Release v0.10.2

08 May 15:39
Compare
Choose a tag to compare

Fixed

  • disable tag creation by the "create GitHub release" action since it is already created by tbump

Release v0.10.1

08 May 15:45
Compare
Choose a tag to compare

Fixed

  • add write permission to create release action, so it can push release notes to GitHub
  • fix license badge link so it works on PyPI

Release v0.10.0

08 May 15:48
Compare
Choose a tag to compare

Added

  • Build the documentation automatically on every commit to the main branch. The docs are
    hosted on readthedocs.
  • Add package metadata
  • add a GitHub workflow to create a GitHub release when a new tag is pushed
  • add a GitHub workflow to run tests on every push and pull request
  • add test coverage

Release v0.9.0

08 May 15:48
Compare
Choose a tag to compare

Added

  • Common error response format for DRF-based APIs
  • Easily customize the error response format.
  • Handle error responses for list serializers and nested serializers.
  • Add documentation
  • Add tests
  • Automate release steps