Breaking Changes
rx.var
decorated functions cannot take arguments (it didn't work before, but now it raises exception)
New Features
rx.auto_scroll
A new container that automatically scrolls to the bottom when new content is added.
- Add auto scroll by @adhami3310 in #4790
New Var Operations for StringVar: .title()
, .capitalize()
- add capitalize and title var operations by @adhami3310 in #4840
Improvements
Compile with Main Thread by Default
The new default is to compile pages on the main thread, not using an executor. For most normal-sized apps, this is faster because it avoids spinning up threads and associated overhead.
- give option to only use main thread by @adhami3310 in #4809
Component Props
Components as props was previously working, however in some situations, the necessary hooks/imports/custom_code associated with the component would not propagate up to the parent component and be lost. This change correctly propagates data from the component as prop for correct code generation.
- components deserve to be first class props by @adhami3310 in #4827
Performance
- import var perf improvements by @adhami3310 in #4813
- only write if file changed by @adhami3310 in #4822
- [ENG-4713] Cache pages which add states when evaluating by @masenf in #4788
Typing
- adjust setter to include type annotation by @adhami3310 in #4726
- fix types for html elements by @adhami3310 in #4768
- actually get rid of callable var fr fr by @adhami3310 in #4821
Miscellaneous
- improve icon error message by @adhami3310 in #4796
- improve hot reload handling by @adhami3310 in #4795
- move overlays to _app.js by @adhami3310 in #4794
- set global loglevel for subprocesses by @Lendemor in #4791
- raise error when passing a str(var) by @adhami3310 in #4769
- Add toast.loading from the sonner package by @drbrady8800 in #4792
- improve into component conversion by @adhami3310 in #4754
- standarize filename from upload by @adhami3310 in #4734
- Wrapping extra components inside of the Context Menu Component by @slackroo in #4831
- treat hyphen as underscore in keys of styles by @adhami3310 in #4810
Bug Fixes
- fix toast provider needed by @adhami3310 in #4801
- invert logic of default hot reload exclusion by @adhami3310 in #4807
- [ENG-4647] Fix env_file handling by @masenf in #4805
- fix port handling by @Lendemor in #4773
- Update rx.get_upload_url signature to accept Var[str] by @masenf in #4826
- simplify toast banner logic by @adhami3310 in #4853
- simplify and fix set_color_mode by @adhami3310 in #4852
- fix autoscroll on stateful children by @adhami3310 in #4858
Version Bumps
- update deps by @adhami3310 in #4804
- upgrade deps as per python 3.10 by @adhami3310 in #4842
- react 19 time by @adhami3310 in #4848
- Override
react-is@19.0.0
for recharts compatibility by @masenf in #4857
Other Changes
- fix readme typo and update gallery to templates by @PeterYusuke in #4745
- move benchmarks and add some more by @Lendemor in #4758
- Create codeql.yml by @Kastier1 in #4799
- test actions in codeql by @Kastier1 in #4802
- add stateful benchmarks by @Lendemor in #4764
- benchmark experimentation by @adhami3310 in #4811
- bump ruff to 0.9.6 by @Lendemor in #4817
- cache get_type_hints for environment by @adhami3310 in #4820
- remove some benchmarks from CI by @adhami3310 in #4812
- auto hide badge for pro+ users for cloud deployments by @Lendemor in #4819
- Allow any user to set
show_built_with_reflex=False
in any mode by @masenf in #4847 - change error connecting to backend when backend is cold started by @adhami3310 in #4814
New Contributors
- @drbrady8800 made their first contribution in #4792
- @slackroo made their first contribution in #4831
Full Changelog: v0.7.0...v0.7.1