Repository navigation
Release 1.0.0
First major release!
Added
- Contributor Covenant 2.1
CODE_OF_CONDUCT.mdwith a private reporting contact and a link from the contribution guide. - A README comparison of Django's
JSONFieldandDTOFieldusing the same nested dataclasses, showing automatic conversion, schema validation, and JSON lookups. - A README table of contents and a monthly PyPI downloads badge.
- Regression tests for the renamed field's migration import path and the removal of the character-field module.
Changed
- Breaking: rename the JSON-backed
DTOJSONFieldtoDTOField, imported fromdjango_dto_field.fields.json. Native JSON storage and field behavior are unchanged. The old name is removed; application imports and historical migration references must be updated. - Reorganize the README around practical examples, supported DTO types, and the two remaining model fields, replacing the feature checklist and clarifying when plain
JSONFieldmay be preferable. - Update unit, property-based, and Django E2E tests for JSON and binary fields after removing character-field support.
- Clarify contribution and repository guidance for dependency installation, linting, coverage exclusions, supported Python/Django combinations, CI triggers, and database test setup.
Fixed
- Correct missing imports and undefined variables in README examples, and clarify dictionary validation, assignment validation, and optional form input.
- Fix README badge links, labels, and HTML nesting; load the logo from GitHub so it also displays on PyPI, and update repository links to
crashed-pixels/django-dto-field. - Synchronize the editable package version in
uv.lockwith the declared0.2.0version.
Removed
- Breaking: remove
DTOCharFieldand itsTextStorageimplementation. Supported DTO model fields are nowDTOFieldandDTOBinaryField; imports of the removed field in application code or historical migrations must be updated.
Full Changelog: v0.2.0...v1.0.0