Skip to content

Releases: keenlycode/dictify

v4.0.0

05 Apr 03:28

Choose a tag to compare

Full Changelog: v3.1.4...v4.0.0

Summary

  • annotation-first model fields are now the preferred API
  • declared fields support both attribute access and mapping access
  • standalone Field(...) validation remains supported
  • undeclared public attributes now follow strict
  • minimum supported Python version is now 3.12

Notes

  • Model now uses a MutableMapping runtime instead of subclassing dict
  • runtime support for annotated Field(...) model declarations is complete
  • static type checker support for name: str = Field(...) is still limited and may require cast(Any, Field(...)) depending on the checker