github reflex-dev/reflex v0.8.12

6 hours ago

Release Notes

Add on_drop_rejected to handle file type failures

  • ENG-7732: plumb through Upload.on_drop_rejected by @masenf in #5806

Include assets folder in backend.zip by default, and add --exclude-from-backend CLI option

Improved websocket reliability in disconnection cases

  • Reassociate sid and token when connecting websocket by @masenf in #5794
  • Remove token/sid associations when server is exiting by @masenf in #5802
  • Automatic websocket reconnect and reload handling by @masenf in #5805

.db files are now ignored from hot-reload watchfiles by default

Bugfixes

Check against using components as styles accidentally

If you do:

rx.el.div(something=rx.icon(...))

The icon would be interpreted as style value. That used to raise a runtime error, now it happens at compile time.

console.error now correctly point to stderr

Previously things like backend exceptions and frontend exceptions wouldn't go to stderr. This is now fixed.

Doing foreach over a null that is mistakenly typed as a list or an object will not result in a runtime error (would be just an empty list)

Env vars properly update from REFLEX_ENV_FILE with Granian

Misc

Performance Improvements

Chores

New Contributors

Full Changelog: v0.8.11...v0.8.12

Don't miss a new reflex release

NewReleases is sending notifications on new releases.