v0.2.9
Breaking Changes
rx.constants
module refactored
- Many names have changed for better organization and namespacing of the growing number of constant values.
rx.constants
is not really a public API, but some existing code may have been accessing values in this module.
- code cleanup (split constants into a folder) by @Lendemor in #1866
New Features
Core Graphing Library is now Recharts
The API for rendering charts and graphs has changed.
- See the docs for examples and more information.
- Victory charts are deprecated and will be removed in a subsequent release.
rx.data
is no longer used.
- #1878
Run Arbitrary Javascript from Event Handler
Redirect into New Window
return rx.redirect("https://google.com", external=True)
to open page in new tab/window- allow external link for redirect by @Lendemor in #1902
HTML Editor Component
Improvements
- Allow arbitrary Reflex components to map to markdown tags for more customizable styling.
- Include scripts in
<head>
for every page by settinghead_components
prop inrx.App
- Adding Missing Props to
button
,button_group
, andcircular_progress
- Add button spinner_placement prop by @ElijahAhianyo in #1871
- Button Group variant and size props by @ElijahAhianyo in #1873
- circular_progress cleanup: size, thickness, label by @masenf in #1879
- Add
Readme.md
for turkish language by @09u2h4n in #1922 - Pin frontend package versions by @picklelo in #1920
- More reliable deploys without bringing in unexpected upstream changes
Bug Fixes
- component:
imports
override_get_dependencies_imports
by @masenf in #1859 - Fix regression where
rx.table
stopped working with state Var- rx.table
__bool__
regression fix by @ElijahAhianyo in #1828
- rx.table
MutableProxy
fixes when accessinglist
,dict
, orset
vars on a State- fix rx.image src not working with state by @Lendemor in #1915
- fix menu items= API by @Lendemor in #1905
Other Changes
- Bump to v0.2.8 by @picklelo in #1855
- Format event handlers not in importable modules by @picklelo in #1875
- Add a placeholder timeout to GitHub Actions unit tests by @jackwcodes in #1897
- test_state: assert popped value is the actual value by @masenf in #1906
- Deprecate set_cookie and set_local_storage by @ElijahAhianyo in #1917
- Add forward slash to local JS import by @picklelo in #1924
- Update Deprecations by @ElijahAhianyo in #1927
New Contributors
- @jackwcodes made their first contribution in #1897
- @09u2h4n made their first contribution in #1922
Full Changelog: v0.2.8...v0.3.0