github reflex-dev/reflex v0.9.8a1
reflex@0.9.8a1

pre-releaseone hour ago

Features

  • Added content-hash cache busting to rx.asset URLs. (#6550)
  • Add a preview run mode (reflex run --env preview) that hot reloads like dev but serves a freshly built, un-minified frontend bundle mounted into the backend instead of running the Vite dev server. Minification, CSS minification, autoprefixer, and sourcemaps are disabled by default for faster rebuilds and readable output (each overridable via VITE_MINIFY, REFLEX_NO_AUTOPREFIXER, and VITE_SOURCEMAP). (#6663)
  • Support using mutable state proxies as async context managers. (#6689)
  • Run plugins' staged register_route hooks once per app before page evaluation so plugins can contribute pages atomically, and invalidate the cached route resolver when a page is added after it was first built. (#6728)
  • reflex deploy now accepts --provider (deploy to Reflex Cloud or a GCP account connected to your organization) and --description (record an optional changelog note on the deployment, shown in reflex cloud apps history).

Bug Fixes

  • Fix reflex component build crashing with AttributeError on Python 3.10 and 3.11 by delegating recursive stub generation to the Python 3.10-compatible PyiGenerator scanner. (#6760)
  • Fixed reflex rename corrupting or failing on source files on non-UTF-8 platform locales while preserving declared Python source encodings and line endings. (#6761)
  • Fixed nested/subfolder stylesheets failing to load on Windows because the generated CSS @import used backslash path separators (which CSS treats as escape sequences); the import URL is now always POSIX-normalized. (#6762)
  • Process persisted package.json files before mirroring them into the web directory. (#6765)
  • Fix production frontend hydration on Windows when the system MIME registry maps JavaScript files to text/plain. (#6831)

Don't miss a new reflex release

NewReleases is sending notifications on new releases.