- Internal: Switch Python code formatter/linter to ruff.
- Internal: Drop support for Python 3.9.
- Feature: Added
monkey_patch_drf()
utility.
This version fixes a bug that affects Django 3.x installations and is recommended for those users.
- Bugfix: Add workaround for a Django 3.x bug where a newly-saved instance's
.id
might be returned as a number, not a spicy string. (#6) - Breaking change: Dropped support for Django 2.2.
- Updated target Django versions from
3.1 -> 3.2
and4.1 -> 4.2
. - Updated integration tests to properly test against all Django versions (#7).
- Repackage of previous release. No code changes compared to
v0.6.0
.
- Breaking change: Bug fix: The
randomize
feature will set.id
to a string, not a number, when the instance is created.
- Breaking change: Fixed bug causing
SpicyAutoField
andSpicySmallAutoField
to inherit frommodels.BigAutoField
.
- Feature: Add and document the
get_url_converter()
helper. - Feature: Add and document the
.re_pattern
attribute.
- bugfix: fix an error with prefixes greater than 2 characters (:facepalm:)
- Breaking change: Providing both
default
andrandomize
is not alowed. - Breaking change: Illegal values now throw
django.db.utils.ProgrammingError
- The
randomize
feature now uses thesecrets
module. - Fields now expose
.re
and.validate_string(strval)
to assist with validation. - Symbols are now exported from the top-level
django_spicy_id
module.
- First official release.