v0.5.2 — Enum keys in reactive APIs
Summary (#23)
reacts_toanddirtiedacceptstrorEnumkeys — both normalize throughcoerce_reactive_key(.value, thenstr).load()/render(key)use the same coercion, so instance keys are alwaysstrframework-side, matching the mounted manifest and the load cache.coerce_load_keyis now an alias ofcoerce_reactive_key, andinvalidate()coerces dirtied keys before eviction — cache keys and invalidation stay consistent across the framework.- Docs and tests updated for enum/string reactive keys (
tests/47_reactive_keys_and_enum_load_test.py).
Install
pip install pyjinhx==0.5.2Full changelog: v0.5.1...v0.5.2