github reflex-dev/reflex v0.7.7

5 days ago

Release Notes

el.input with type=range and type=number correctly reports events of type (float) -> Any

Sames goes for el.input with type=checkbox and event type (bool) -> Any.

This can be a subtle breaking change if you had code depending on this small detail.

rx.el.input(
    type="checkbox"
    on_change=rx.console_log # prints false and true now
)
  • allow int and float typing for input elements behind a warning by @adhami3310 in #5098

Bun version behavior fixes

Reflex will use system host if either:

  1. You passed REFLEX_USE_SYSTEM_BUN. It will warn you if your version of bun is outdated, but will ultimately let you run reflex.
  2. You don't have a reflex-installed bun and you do have bun installed on your system and it's up to date.

Otherwise, Reflex uses or downloads/installs or updates its local version of bun that is shared between your reflex applications.

  • be less whiny about bun version and suggest alternatives by @adhami3310 in #5106

Hosting CLI Improvements

Reflex hosting cli will now support uploading a local sqlite db as long as it is less than 25mb. This will give the hosted site an ephemeral database. Meaning that new data added could be lost but data uploaded is always persisted.

To achieve this a user must leverage the cloud config (reflex cloud config) with the following flag include_db: True

Bugfixes

Chores

Full Changelog: v0.7.6...v0.7.7

Don't miss a new reflex release

NewReleases is sending notifications on new releases.