v0.6.6
New Features
.temporal
event action drops events when backend is not connected
New "performance mode" options
Allow disabling or modifying various guardrails and checks performed by reflex.
- implement performance mode for existing state size check by @benedikt-bartscher in #4392
Builtin support for existing pydantic v1 and v2 models
State vars can now be typed as pydantic models, with support for modification tracking.
rx.asset
promoted to non-experimental
TBD: docs for new API
- rx._x.asset improvements by @benedikt-bartscher in #3624
Improvements
Streamlined reflex init
workflow
- [GTM-836]Rework Init workflow by @ElijahAhianyo in #4377
Other Improvements
- export Color and ImportDict in top-level namespace by @masenf in #4352
- redesign error boundary screen by @adhami3310 in #4329
- add typing to function vars by @adhami3310 in #4372
- Add template name to reflex init success msg by @ElijahAhianyo in #4349
- fix: do not allow instantiation of State mixins by @benedikt-bartscher in #4347
- add typed dict type checking by @adhami3310 in #4340
- Add datetime to moment by @Alek99 in #4381
- remove deprecation for drawer events by @Lendemor in #4415
- allow to disable checking for the latest package version via env by @benedikt-bartscher in #4407
- Allow bound method as event handler by @benedikt-bartscher in #4348
- enable css props via wrapperStyle for recharts components by @Lendemor in #4447
Bug Fixes
- fix upload argspec being missing by @adhami3310 in #4335
- Only pass Model.fields when casting event args by @masenf in #4356
- Path change after Astral 0.5.0 update by @1Codev in #4336
- [ENG-4098] Deconfuse key/value of State.get_value / dict / get_delta by @masenf in #4371
- fix noSSRComponent imports by @Lendemor in #4386
- fix: Failed to CreateArtifact by @benedikt-bartscher in #4339
- make list suggestions work in rx.input by @Lendemor in #4391
- Don't skip serialization when Var is callable by @masenf in #4399
- ignore rxconfig not in cwd by @adhami3310 in #4398
- fix appearance broken by #3812 by @Lendemor in #4403
- [ENG-4130] Disable typer/rich integration appropriately by @masenf in #4412
- [HOS-313] state.js: when a routing error occurs, delete it by @masenf in #4410
- fix for event handlers in py3.9 by @Lendemor in #4416
- Handle Var passed to
rx.toast
by @masenf in #4405 - allow for 'go.Figure | None' annotation in State by @Lendemor in #4426
- fix mutable default in EventNamespace by @Lendemor in #4420
- [ENG-4137] Handle generic alias passing inspect.isclass check by @masenf in #4427
- [HOS-333] Send a "reload" message to the frontend after state expiry by @masenf in #4442
- rx.upload must include _var_data from props by @masenf in #4463
Version Bumps
- Bump reflex-hosting-cli dep to 0.1.15 for v2 by @masenf in #4355
- Temporarily downpin @radix-ui/themes <3.1.5 by @masenf in #4370
- require typing_extensions >= 4.6.0 by @masenf in #4373
- update cli version by @Kastier1 in #4394
- [maintenance] bump some packages versions by @Lendemor in #4385
- [ENG-4080]Downgrade syntax highlighter to fix
wrapLongLines
issue by @ElijahAhianyo in #4368 - Simon/hosting cli upgrades by @Kastier1 in #4417
Other Changes
- Update bug_report.md by @Alek99 in #4382
- add debug statement to evaluate page by @adhami3310 in #4396
- Remove invitation code logic from reflex logoutv2 @ElijahAhianyo in #4433
New Contributors
Full Changelog: v0.6.5...v0.6.6