New Features
Lucide Icons (rx.lucide.icon
)
View all iconds available via rx.lucide.icon
at https://lucide.dev/icons/.
In 0.4.0, these icons will become the default icon set exposed at rx.icon
.
- add lucide icons as a candidate for core icon library by @Lendemor in #2444
- fix kebab case for lucide icon by @Lendemor in #2487
- fix color of icon to match theme by @Lendemor in #2488
- fix icon_button to size children lucide icon correctly. by @Lendemor in #2515
Customize Reflex Directory location
Set REFLEX_DIR
environment variable to control where reflex will download and install supporting
tools like bun
, fnm
, and node
.
- Added Environmental variable REFLEX_DIR by @wassafshahzad in #2457
Improvements
Only expose /_upload
when using Upload component
- auto enable /_upload endpoint only if Upload component is used by @benedikt-bartscher in #2430
- Move
is_used
to Upload component rather than UploadFilesProvider by @masenf in #2514
Better SQLAlchemy Interoperability
- parse return type annotations of sqlalchemy hybrid properties by @benedikt-bartscher in #2422
- improve sqlalchemy type parsing by @benedikt-bartscher in #2474
Faster .pyi Generation (internal)
- use multiprocessing to speed up pyi generation by @benedikt-bartscher in #2453
- pyi generator git diff by @benedikt-bartscher in #2460
- Add git precommit hook that generates pyi files by @martinxu9 in #2447
- Fix pyi_generator relative path determination by @masenf in #2485
- Minor fix on pyi generator to make it work in Windows by @tankztz in #2494
Fast Compilation
Use multiprocessing
to compile CPU-bound pages faster.
- use process pool to compile faster by @jackie-pc in #2497
Bug Fixes
- Vardata for rx.Match by @ElijahAhianyo in #2439
- fix SmartDisplay visible parameter by @benedikt-bartscher in #2451
- fixed issue with hypens by @wassafshahzad in #2450
- Set correct type when indexing into Var[str] by @picklelo in #2469
- Update meta parameter to accept a list of any type by @kumaraguru1735 in #2477
Radix
The team is currently stabilizing the new radix-ui integration in preparation for our forthcoming 0.4.0
release.
- Clean up Radix Form component by @martinxu9 in #2423
- Input high level api by @picklelo in #2410
- radix link renders as next link by default use by @martinxu9 in #2440
- Docstrings for radix components by @masenf in #2407
- Chakra IconButton comes from "@chakra-ui/button@2.1.0" package by @masenf in #2465
- small changes to texfield and separator by @tgberkeley in #2448
- Accordion style merge issue fix by @ElijahAhianyo in #2446
- [REF-1746] Define
value
prop on base rx.el.textarea by @masenf in #2467 - minor update to callout by @tgberkeley in #2466
- add separator default width to fill the container by @tgberkeley in #2459
- Remove modal prop from Dialog by @martinxu9 in #2470
- [REF-1763] Rename
color
tocolor_scheme
in all radix themes components by @masenf in #2468 - Pass down themes for
rx.cond
andrx.match
by @ElijahAhianyo in #2432 - Use form_root as form high level API by @martinxu9 in #2479
- [REF-1632] Apply
rx.App
styles to Radix Themes rootdiv
by @masenf in #2481 - Radix primitive based Drawer component by @martinxu9 in #2445
- [REF-1815] Radix themes: replace
color_scheme
withcolor
in get_fields by @masenf in #2486 - [WIP] rx.color by @Alek99 in #2443
- add center / spacer / hstack / vstack in radix/themes/layout by @Lendemor in #2331
- Fix accordion pyi by @picklelo in #2491
- [REF-1738] Remove radix-specific layout/margin props by @masenf in #2442
- [REF-1742] Radio group prop types fix by @ElijahAhianyo in #2452
- Support component create methods as keys in global styles by @picklelo in #2498
- Add props from Radix tooltip primitives to tooltip component by @martinxu9 in #2499
- radix Theme panel_background prop: transparent -> translucent by @martinxu9 in #2504
- All event handlers inherit from event triggers by @tgberkeley in #2507
- Add comment for theme panel needed for docs by @Alek99 in #2508
- Refactor rx.color by @Alek99 in #2522
- Add dropdown props inherited from their primitive counterparts by @martinxu9 in #2521
Other Changes
- extend state inheritance tests with non-computed vars by @benedikt-bartscher in #2425
- test_telemetry fails for Python Version 3.11.0rc1 by @Yummy-Yums in #2431
- [REF-1692] re-enable partial reflex web windows by @masenf in #2436
- simple pytest benchmark for measuring event <=> state update round trip time by @jackie-pc in #2489
- Rework telemetry to support installation_id by @jackie-pc in #2480
- Update hosting CLI version in the poetry lock: 0.1.3 -> 0.1.7 by @martinxu9 in #2503
- fix appharness regex for functions with return type by @benedikt-bartscher in #2512
New Contributors
- @Yummy-Yums made their first contribution in #2431
- @kumaraguru1735 made their first contribution in #2477
- @tankztz made their first contribution in #2463
Full Changelog: v0.3.9...v0.3.10