Release Notes
Revert ColorVar having .color .alpha .shade
ColorVar being a non primitive string (new String
) has proven more problematic than it is useful.
- call to_string on colors coming into style by @adhami3310 in #5836
- revert color handling by @adhami3310 in #5844
Add --single-port
option to reflex run --env prod
Since the app is compiled, there is no need for using a node server to run the frontend and have two ports. You can simply use reflex run --env prod --single-port
to host the frontend and backend on the same port.
It's still recommended to serve your frontend on a CDN if possible. Although if you're going for really simple deployments, one port will suffice!
- single port prod by @adhami3310 in #5839
Treat on_drop=State.handle_upload,
as on_drop=State.handle_upload(rx.upload_files(upload_id))
the following:
rx.upload(
id="upload",
on_drop =State.on_upload,
)
would be converted to
rx.upload(
id="upload",
on_drop =State.on_upload(rx.upload_files("upload")),
)
- improve upload state handlers ergonomics by @adhami3310 in #5843
Add primitive radix dialog
It's unstyled, but it makes it easier to use with tailwind and such if you aren't interested in radix themes.
def dialog():
return rx.radix.primitives.dialog.root(
rx.radix.primitives.dialog.trigger(...),
rx.radix.primitives.dialog.portal(
rx.radix.primitives.dialog.overlay(...),
rx.radix.primitives.dialog.content(
rx.radix.primitives.dialog.title(...),
rx.radix.primitives.dialog.description(...),
...,
rx.radix.primitives.dialog.close(...)
)
)
)
The interface looks almost identical to rx.dialog
.
- Add primitive radix dialog by @adhami3310 in #5848
Bugfixes
- replace click exit with system exit by @adhami3310 in #5841
- correctly handle backend rx.Field default values by @adhami3310 in #5833
- update slider event spec by @adhami3310 in #5828
- remove toaster outside of radix by @adhami3310 in #5827
- check return code before parsing version by @adhami3310 in #5845
- make indexing more null friendly by @adhami3310 in #5849
- handle upload id being a var in as event spec by @adhami3310 in #5850
Chores
- Remove raciness from test_is_process_on_port_concurrent_access by @masenf in #5826
- 0814dev by @adhami3310 in #5834
- suppress eval warnings by @adhami3310 in #5847
Full Changelog: v0.8.13...v0.8.14