Changelog
All notable changes to corm are documented here. The format follows Keep a Changelog.
0.0.4
Added
- Pair a
NestedorKeyNestedfield with a reverseRelationshipusingback_populates. Editing either side updates both fields. (#33) - Infer the related entity type and whether it is a list from annotations. (#32)
- Ship a
py.typedmarker and expose aCormErrorhierarchy for library errors. (#34) - Automate PyPI publishing and GitHub Releases from version tags. (#29)
Changed
- Require Python 3.11 or newer and test on Python 3.11 through 3.15. Use uv, Ruff, and pre-commit for development. (#28)
- Expose
AccessModeas a combinableIntFlag. (#34)
Deprecated
- Use
back_populatesfor new reverse links. Theback_relationargument remains available and emits a deprecation warning. (#33)
Removed
- Remove the unused
corm.hooksmodule. (#27)
Fixed
- Preserve nested entity data when exporting dictionaries. Fix field inference and relationship reassignment, and reject duplicate keys before loading relationships for the duplicate entity. (#27)
- Resolve relationships to instances of subclasses of the declared type. (#30)
- Keep primary-key lookup in sync with key changes and keep relation reads from changing the index. Index relation membership while preserving order. (#31)