Features
- Added content-hash cache busting to
rx.assetURLs. (#6550) - Add a
previewrun mode (reflex run --env preview) that hot reloads likedevbut 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 viaVITE_MINIFY,REFLEX_NO_AUTOPREFIXER, andVITE_SOURCEMAP). (#6663) - Support using mutable state proxies as async context managers. (#6689)
- Run plugins' staged
register_routehooks 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 deploynow 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 inreflex cloud apps history).
Bug Fixes
- Fix
reflex component buildcrashing withAttributeErroron Python 3.10 and 3.11 by delegating recursive stub generation to the Python 3.10-compatiblePyiGeneratorscanner. (#6760) - Fixed
reflex renamecorrupting 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
@importused 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)