Replies: 3 comments 1 reply
-
|
So far, my app runs great on this new release. All I had to do was add a couple of missing types which was easy now that they are clearly identified. You may want to consider removing the preamble (basically the full stack that winds its way through reflex core stuff), but at least the the important info that identifies the missing types is in the last few lines if you look carefully. To see what I mean just check out the stack I attached and notice that this: is a little difficut to see and it's not right beside:
Ideally those should be the only things shown and all the other stuff would be suppressed. |
Beta Was this translation helpful? Give feedback.
-
|
I cannot get past the |
Beta Was this translation helpful? Give feedback.
-
|
0.7.0 is released |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Please report any problems you encounter in this discussion thread or as separate issues on reflex-dev/reflex.
pip install 'reflex~=0.7.0a'This release includes breaking changes and removal of deprecated features
Schedule
2025-02-03 13:00 PST: 0.7.0a1 pre-release published for testing
2025-02-05 12:15 PST: 0.7.0a2 published
2025-02-05 16:20 PST: 0.7.0a3 published
2025-02-10 12:27 PST: 0.7.0a5 published
2025-02-06: Planned Public release of 0.7.0
2025-02-11 11:32 PST: Public release of 0.7.0
Release Notes
Changes in 0.7.0a5
Changes in 0.7.0a4
Changes in 0.7.0a3
Changes in 0.7.0a2
Breaking Changes
Python 3.9 support is no longer supported.
Computed Vars are now
cache=Trueby defaultExplicitly set
cache=Falseon Computed Vars that should be updated after everyevent, which was the previous default behavior.
The dependency tracking analysis for Computed Vars has been improved to support
async Computed Vars, so there is a possibility for unanticipated behavior change
around tracking dependencies. Please report any bugs encountered in this area.
Previously "CallableVar" shims need to be explicitly called
rx.upload_file->rx.upload_file()rx.selected_files->rx.selected_files()rx.clear_selected_files->rx.clear_selected_files()rx.set_color_mode->rx.set_color_mode()Deprecation Removals
rx.Appfields for internal use now have a_prefixNew Features
reflex renameA new command to rename an app.
reflex rename- B by @ElijahAhianyo in [ENG-1796]reflex rename- B #4668rx.varnow supportsasyncfunctionsAn
rx.varcomputed var can now wrap an async function, which can accessarbitrary state via
get_stateand var values viaget_var_value.Dependency tracking across states is supported, but there may be edge cases in
the new implementation that prevent depedencies from being automatically
identified. You can pass explicit dependencies to the
depsargument, and canadd dependencies at runtime via
cls.computed_vars[var_name].add_dependency.For best results, pass a globally imported state class to
get_stateand assignthe return value to a local variable in the function.
"Built with Reflex" badge
To raise awareness of Reflex, a sticky "Built with Reflex" badge is added to the
lower right corner of each page.
For subscribers of Reflex Cloud, this badge can be disabled by setting
show_built_with_reflex=Falseinrxconfig.pyorSHOW_BUILT_WITH_REFLEX=0inthe environment.
For more information see: https://reflex.dev/docs/hosting/reflex-branding/
Improvements
Support For Dynamic Icon name
Previously the recommendation was to use
rx.matchto map icons, because theicon name itself could not be a Var.
With
rx.dynamic_icon, the name can now be a Var, but performance may beaffected by dynamic loading.
Support for Specifying Custom App Module
A new config knob is added to
rxconfig.py, to load the app from a module other than the default.The app module should be importable by name with the current
PYTHONPATH/sys.path, and contain anappattribute.Display Warning for Frontend/Backend Version Mismatch
When the frontend and backend versions do not match, a warning is displayed in the console.
Typing
Recharts
Avoid Leaked Websocket connections
Miscellaneous
rangepassed to rx.Var.create by @masenf in Handle pythonrangepassed to rx.Var.create #4716Bug Fixes
Version Bumps
Linting / Code Quality
Other Changes
New Contributors
Full Changelog: v0.6.8...release/reflex-0.7.0
Beta Was this translation helpful? Give feedback.
All reactions