Repository navigation
Dars Framework v1.5.0
Release Notes v1.5.0
Animation System Stability & Runtime Improvements
Installation
pip install --upgrade dars-frameworkWhat's New
Animation System Stability
Significant improvements to the animation system's reliability and ease of use:
- Fixed Infinite Pulse:
pulse(iterations="infinite")now works correctly (fixedTypeError). - Chaining Support: State updates like
increment()can now be chained with animations using.then()orsequence(). - Documentation: Added comprehensive Animation Guide to the documentation.
Dynamic Event Updates
The client-side runtime has been upgraded to fully support dynamic event handler updates:
# This now works perfectly in real-time
button.on_click = state.update(
text="Clicked!",
on_click=alert("New handler attached!")
)Bug Fixes
- Fixed:
pulseanimation now correctly handlesiterations="infinite"(mapped toInfinity). - Fixed:
SyntaxErrorwhen chaining state updates (wrapped in async IIFE).