Releases: dennybiasiolli/drf-choices-mixin
Releases · dennybiasiolli/drf-choices-mixin
Release list
v0.1.1
Added
__version__attribute for programmatic version access.- Python 3.14 to CI test matrix and package classifiers.
- Expanded ruff lint rules: bugbear (
B), bandit (S), pyupgrade (UP),
simplify (SIM), and ruff-specific (RUF). SECRET_KEYin test Django settings to prevent future
ImproperlyConfigurederrors.
Changed
- Use
status.HTTP_404_NOT_FOUNDconstant instead of bare404integer. - Docs workflow now uses
uv sync --group docsinstead of unpinned
pip install, matching the CI workflow and respecting the lockfile. - Docs
conf.pyreads version from package metadata instead of hardcoding
it, keepingpyproject.tomlas the single source of truth. - Dependabot ecosystem changed from
piptouv.
Security
- CI workflow restricted to
permissions: contents: read. - Docs workflow pinned to lockfile, eliminating supply-chain risk from
unpinnedpip install.
Full Changelog: v0.1.0...v0.1.1
v0.1.0
Added
- Initial release of
drf-choices-mixin. ChoicesMixinfor DRF viewsets with automatic choices endpoints.- Support for
TextChoices,IntegerChoices, plain tuples, and grouped
choices. - Configurable endpoint names (
choices_endpoint_name). - Field-first URL mode (
choices_field_first). - Field filtering (
choices_fields). - Custom response keys (
choices_value_key,choices_display_key). - Sphinx documentation with furo theme.
- CI with GitHub Actions (lint + test matrix for Python 3.10–3.13).
- Dependabot for dependency updates.