You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
DTOCharField, DTOBinaryField, and DTOJSONField with a shared Django lifecycle mixin.
Explicit schema conversion, nested dataclass/member validation, and JSON ModelForm support.
An explicit DTOAdapter protocol and per-field adapter= selection for future third-party integrations. Schema classes and DTO result types are independent; migrations preserve the adapter class. No third-party integrations or dependencies are added.
A common DTOError hierarchy with Django-compatible DTOFieldError boundary translation.
Replacement unit and Django E2E tests covering CRUD, bulk operations, expressions, JSON lookups, forms, migrations, fixtures, and malformed input.
Changed
Breaking: store native JSON text, bytes, or mappings instead of framed binary data. The current API does not support prerelease storage formats or imports.
Organize conversion, storage, model fields, form fields, and exceptions into separate packages.
Require strict mypy and 100% statement/branch coverage. Ruff now checks and formats source and tests.
Removed
The old DTOField, global DTO registry, HandlerDTO, and BinaryDTOParser.
The stale benchmark target referencing a missing management command.