diff --git a/CHANGELOG.md b/CHANGELOG.md index c32c3a5..422f119 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,3 +13,9 @@ - Add docstrings to handlers - Improve Makefile - Improve README + +## [1.0.3] - 2025-mm-dd + +- Update README +- Improve tests +- Fix DRF API settings initialization diff --git a/drf_simple_api_errors/__init__.py b/drf_simple_api_errors/__init__.py index 060532a..951b713 100644 --- a/drf_simple_api_errors/__init__.py +++ b/drf_simple_api_errors/__init__.py @@ -1,4 +1,4 @@ from .exception_handler import exception_handler __all__ = ("exception_handler",) -__version__ = "1.0.2" +__version__ = "1.0.3" diff --git a/drf_simple_api_errors/settings.py b/drf_simple_api_errors/settings.py index ce6693f..134d171 100644 --- a/drf_simple_api_errors/settings.py +++ b/drf_simple_api_errors/settings.py @@ -10,6 +10,7 @@ } # List of settings that may be in string import notation -IMPORT_STRINGS = ("EXTRA_HANDLERS", "CAMELIZE") +# e.g. when defined in settings.py as "app.module.class_name" +IMPORT_STRINGS = [] api_settings = APISettings(USER_SETTINGS, DEFAULTS, IMPORT_STRINGS) diff --git a/pyproject.toml b/pyproject.toml index f56632b..7af4b1d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "drf-simple-api-errors" -version = "1.0.2" +version = "1.0.3" description = "A library for Django Rest Framework returning consistent and easy-to-parse API error messages." authors = ["Gian <30044863+gripep@users.noreply.github.com>"] license = "MIT"