v0.4.2
New Features
Syncronize LocalStorage between tabs
Pass the new sync=True argument to rx.LocalStorage to enable changes on one tab to automatically update in other tabs.
Improvements
Tuple type annotations are now respected index-wise
- fixed bug in var type for iterable types by @wassafshahzad in #2617
Substates are serialized individually
This allows apps with large state to only serialize and deserialize the parts of the state needed to handle a given event.
Better Image Serialization
Improves mime type detection for more types of PIL Image objects.
- fix image serializing - REF-1889 by @mentally-gamez-soft in #2550
Other Improvements
- Progress component to support
color_schemeon component level by @ElijahAhianyo in #2684 - ThemePanel is toggleable with bool in Theme by @Lendemor in #2675
Bug Fixes
- Fix SQLAlchemy list types by @benedikt-bartscher in #2668
- [REF-2045] Implement reduce_ex for MutableProxy by @masenf in #2688
- Fix for setting
rx.theme(appearance="dark")(Note: dark mode does not work withrx.theme_panel) rx.Uploadcan now contain children components that use State.- Make
rx.Uploada memoization leaf by @ElijahAhianyo in #2695
- Make
Accordion Issues
- Fix Browser Warnings
- Accordion Root Exclude
color_schemeandvariantprops in tag by @ElijahAhianyo in #2664
- Accordion Root Exclude
- Fix accordion not working with
rx.foreach- Accordion Items unique Value by @ElijahAhianyo in #2663
Other Changes
- Use classes for allowed components by @ElijahAhianyo in #2662
- Use sync redis client to determine prod mode worker number and add sanity check by @martinxu9 in #2679
- bump github action versions by @martinxu9 in #2680
- test_input: replace sleep with
_poll_forby @masenf in #2677 - Debounce
input_refTruthiness check for vars by @ElijahAhianyo in #2692 - use direction props from radix.Flex by @Lendemor in #2696
- Bump axios version to 1.6.0 by @timmypidashev in #2699
New Contributors
- @mentally-gamez-soft made their first contribution in #2550