Skip to content

v0.6.1

Latest
Compare
Choose a tag to compare
@masenf masenf released this 01 Oct 00:25
b88a17a

Regression Fixes

New Features

Experimental Dynamic Components

In this release, state vars can be of rx.Component type and @rx.var computed vars can return rx.Component, allowing dynamic component structures to be created on the backend at runtime. This enables the full use of python expressions in generated components, as opposed to rx.cond and rx.foreach.

There are performance implications when using dynamic components so prefer static components where possible.

Run Backend with Granian server

install granian package and set REFLEX_USE_GRANIAN=1 to run with the new, experimental granian backend (instead of the default uvicorn).

REFLEX_USE_SYSTEM_NODE and REFLEX_USE_SYSTEM_BUN

If you prefer to run your own versions of node and bun, ensure they are on the PATH and set these environment variables to 1.

  • add env var to enable using system node and bun by @Lendemor in #4006

Improvements

Bump nextjs to 14.2.13

Miscellaneous

Bug Fixes

Documentation

  • fix: Adding in-line comments for the segmented control: value and on_change by @elviskahoro in #3933
  • fix: Adding code comments for segmented control type by @elviskahoro in #3935

Other Changes

New Contributors

Full Changelog: v0.6.0...v0.6.1