v0.6.2
Known Issues
There is an error persisting states that are created inside a function #4128
def dynamic_state():
class _DynamicState(rx.State):
dynamic: str = ""
return _DynamicState
DynamicState = dynamic_state()
AttributeError: Can't pickle local object 'dynamic_state.<locals>._DynamicState'
Improvements
- All SVG elements are now supported
- feat: Add support for missing SVGs by @ChinoUkaegbu in #3962
- Event triggers can now use
rx.cond
- support eventspec/eventchain in var operations by @adhami3310 in #4038
- Faster state serialization by replacing
dill
with normalpickle
Bug Fixes
- Handle
primary_key
defined insa_column
- [ENG-3870] rx.call_script with f-string var produces incorrect code by @masenf in #4039
- Get default for backend var defined in mixin (#4060)
- catch CancelledError in lifespan hack for windows (#4083)
- convert literal type to its variants (#4062)
Dynamic Components
- Use an equality check instead of startswith by @masenf in #4024
- add of_type to _evaluate by @adhami3310 in #4051
- bundle chakra in window for CSR by @adhami3310 in #4042
- Include emotion inside of dynamic components by @adhami3310 in #4052
Error Messages
- improve granian error message when not installed by @Lendemor in #4037
- [ENG-3476]Setting State Vars that are not defined should raise an error by @ElijahAhianyo in #4007
- set loglevel to info with hosting cli by @adhami3310 in #4043
- default should be warning for subprocesses not info by @adhami3310 in #4049
- remove var operation error by @adhami3310 in #4053
Other Changes
- use pathlib as much as possible by @Lendemor in #3967
- Track the last reflex run time by @ElijahAhianyo in #4045
- move router dataclasses in their own file by @Lendemor in #4044
New Contributors
- @ChinoUkaegbu made their first contribution in #3962
- @Kastier1 made their first contribution in #4021
Full Changelog: v0.6.1...v0.6.2