Replies: 4 comments 3 replies
-
First of many! |
Beta Was this translation helpful? Give feedback.
-
|
Tested it out on our chatapp that supports image upload and stores messages in the inbuilt reflex database. All seems to work fine! |
Beta Was this translation helpful? Give feedback.
-
|
I've tested 0.6.0a2 on my website and overall it's working great. The only wrapped component that doesn't work yet is reflex-audio-capture. |
Beta Was this translation helpful? Give feedback.
-
|
It's out! https://github.com/reflex-dev/reflex/releases/tag/v0.6.0 Go use it! |
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.
-
Try out the Prerelease
If you are a third party component developer or have complex wrapped components, please test your code against the 0.6.0 pre-release as semantics of
rx.Varhave changed significantly.Please report any problems you encounter in this discussion thread or as separate issues on reflex-dev/reflex.
pip install 'reflex~=0.6.0a'Schedule
2024-09-11 13:00 PDT: 0.6.0a1 pre-release published for testing
2024-09-17 11:45 PDT: 0.6.0a2 pre-release published for testing
2024-09-20 10:00 PDT: 0.6.0a3 pre-release published
2024-09-24 08:30 PDT: 0.6.0a4 pre-release published
2024-09-24 2:45 PDT: 0.6.0 final release
Changes in 0.6.0a4
Changes in 0.6.0a3
format_event_chain(Add shim forformat_event_chain#3958)Changes in 0.6.0a2
Release Notes
Breaking Changes
Drop support for
python 3.8 andpython3.9Remove Deprecated Features
rx.input.root...⚠️
[REF-3568][REF-3569]Remove deprecations by @ElijahAhianyo in [REF-3568][REF-3569]Remove deprecations #3852
[REF-3570] Remove deprecated REDIS_URL syntax by @masenf in [REF-3570] Remove deprecated REDIS_URL syntax #3892
New Var System
A
Varis a placeholder for a value which is sent to the frontend or rendered as Javascript code in the app. Most users of Reflex do not interact with the var system directly, but it becomes relevant for advanced users that are wrapping components or handling custom types.rx.Var.createnow returns anImmutableVarorLiteralVarsubclass wrapping the provided value_var_is_local- removed, userx.ivars.ImmutableVar.create_var_is_string- removed, passing a string will always create aStringVarbool, when passing a non-bool var to a prop that expects a boolean, add.bool()after the var.The new
Varsystem brings a much more accurate translation of literal python values into javascript, especially of object and array types.rx.chakraremoved from main repoFirst,
pip install reflex-chakra. Thenimport reflex_chakra as rc.rx.chakrawill still work until 0.7.0, but it is recommended to move now to avoid deprecation warning.Var Shadowing Detection
When a dynamic route arg name conflicts with the name of an existing state Var, the framework will raise
DynamicRouteArgShadowsStateVar. This is intended to avoid unexpected behavior wherein the dynamic var takes precedence over the state var, even in a substate. A fix for the underlying cause is forthcoming.In the meantime, define any pages that use dynamic route arguments early, so the dynamic var is available for use in the page functions.
When a computed var name conflicts with the name of an existing state Var, the framework will raise⚠️ [ENG-3758]
ComputedVarShadowsStateVar.rx.progressis now Radix Themes ProgressThe previous Radis Primitives progress is available as⚠️ [ENG-3756]
rx.radix.primitives.progressrx.progressfrom radix themes by @ElijahAhianyo in [REF-3592]Promoterx.progressfrom radix themes #3878Watchfiles dependency removed
If you are upgrading reflex in an existing environment run
pip uninstall watchfilesfirst to ensure the hot reload mechanism is properly ignoring the.webdirectory.New Features
DiskStateManager- preserve state across hot reloads in dev mode/_healthendpoint{"status":true,"db":true,"redis":false}Improvements
Var System
Documentation / Error Messages
Other Changes
Bug Fixes
titlekwarg by @TimChild in Bug fix rx.toast. Allow passingtitlekwarg #3857async with selfblock by @masenf in Retain mutability insideasync with selfblock #3884New Contributors
titlekwarg #3857Full Changelog: v0.5.10...reflex-0.6.0
Beta Was this translation helpful? Give feedback.
All reactions