This is a pre-release. djust 0.3.0 has shipped since: read the djust 0.3.0 release notes.
Before you upgrade, read Removed below.
Added
- Automatic change tracking — Phoenix-style render optimization. The framework automatically detects which context values changed between renders and only sends those to Rust's
update_state(). Replaces the manualstatic_assignsAPI. Two-layer detection: snapshot comparison for instance attributes,id()reference comparison for computed values (e.g.,@lru_cacheresults). Immutable types (str,int,float,bool,None,bytes,tuple,frozenset) skipdeepcopyin snapshots.
Removed
static_assignsclass attribute — Replaced by automatic change tracking. The framework now detects unchanged values automatically — no manual annotation needed.