Repository navigation
1.14.5 — create-path type coercion
Correctness fix release. Highlights:
Fixed
- Create paths return canonical Python types:
create(),get_or_create(),update_or_create(),bulk_create()and their QuerySet variants previously kept loose input (a string for a decimal or UUID column) as a rawstron the returned instance, whileget()yieldedDecimal/UUID.DecimalField,UUIDField,BooleanField(semantic string handling —bool("false")would beTrue),TimeDeltaField,IntEnumFieldandCharEnumFieldnow normalise on assignment, socreate(balance="12.34").balanceis aDecimaland matches a fetched row. update_from_dict(theupdate_or_createupdate path) applies the same coercion.JSONFieldis deliberately unchanged (a string is a valid JSON value); int/float/char fields stay identity to keep the plain construction fast path.
Full details in CHANGELOG.md.