Skip to content

Release 0.1.0

Choose a tag to compare

@skv0zsneg skv0zsneg released this 30 Sep 22:12
· 21 commits to main since this release
cd0addf

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.