v0.4.5
New Features
Support SQLAlchemy Models Directly
- Bare sqlalchemy metadata by @benedikt-bartscher in #2355
Experimental Multi-process Compilation
Pass REFLEX_COMPILE_PROCESSES=0
to opt-in to multiprocess compile, which significantly improves compilation speed of large apps (Mac and Linux only).
Improvements
- improve event handler state references by @benedikt-bartscher in #2818
- Allow access to position from HighLevelSelect by @hjpr in #2829
- [REF-2157] Allow
rx.download
to resolverx.get_upload_url
links by @masenf in #2813 - better default title for seo (also remove default description) by @Lendemor in #2844
- Make @rx.memo work with state vars passed as props by @masenf in #2810
- added name of Var to error message by @emmakodes in #2827
Bug Fixes
- [REF-2172] Add DECORATED_PAGES before compiling in thread by @masenf in #2841
- Fix known regression with py3.8 and py3.9
- Remove width prop from rx.select by @picklelo in #2835
- Get
client_ip
fromasgi.scope
by @masenf in #2808router.session.client_ip
more likely to be correct now
- convert text inside list_item to span and set icon display to inline by @Lendemor in #2860
Other Changes
- [REF-2086] Avoid "Warning: The path to the Node binary could not be found. by @masenf in #2803
- telemetry refactor + unit tests by @Lendemor in #2786
- Custom Component Request Template by @Alek99 in #2853
- Benchmark with app harness by @ElijahAhianyo in #2774
- Fix py3.8 integration test_var_operations.py by @masenf in #2858
- Account for imports of @rx.memo components for frontend package installation by @masenf in #2863
- [REF-2216] Warn if windows is used with py312 by @masenf in #2856
- Separate
get_hooks
andget_hooks_internal
for stable output by @masenf in #2710 - [REF-2219] vars: set
_was_touched
when updating cached vars by @masenf in #2886
New Contributors
- @hjpr made their first contribution in #2829
- @emmakodes made their first contribution in #2827
Full Changelog: v0.4.4...v0.4.5