Known Issues
- #4384 Setting the default
appearance
prop inrx.theme
is no longer working
Breaking Changes
rx.App
is now a dataclass that does not accept additional kwargs. Any unrecognized kwargs passed torx.App
will now raise an exception.- Event handlers that accept annotated
rx.Base
subclasses as arguments will receive an instance of the annotated class instead of a regulardict
New Features
New rx.get_state
interface
Support custom bunfig.toml
New Hosting Service CLI
Improvements
Better Typing Support
- add type validation for state setattr by @adhami3310 in #4265
- handle none case in state setattr by @adhami3310 in #4301
- use better typing for on_load by @adhami3310 in #4274
- [ENG-3943]type check for event handler if spec arg are typed by @Lendemor in #4046
- add noop event by @adhami3310 in #4288
- allow for event handlers to ignore args by @adhami3310 in #4282
- improve typing for non decorated events by @adhami3310 in #4308
- add type hinting for plotly by @adhami3310 in #4279
- unbreak pyi plotly by @adhami3310 in #4320
- improve app_src typing by @benedikt-bartscher in #4324
- change custom attr to accept any by @adhami3310 in #4323
- improve typing for serializer decorator by @benedikt-bartscher in #4317
- [ENG-3793] convert event return types to type hints by @adhami3310 in #4331
Experimental Shiki Code Block Features
- [ENG-3892]Shiki codeblock support decorations by @ElijahAhianyo in #4234
- [ENG-4010]Codeblock cleanup in markdown by @ElijahAhianyo in #4233
Refactor Environment Variable Handling
- More env var cleanup by @benedikt-bartscher in #4248
Other Improvements
- Support
locale
prop inrx.moment
by @masenf in #4229 - delay page until _compile gets called by @adhami3310 in #3812
- fix stateful components on delayed evaluation by @adhami3310 in #4247
- make vardata merge not use classmethod by @adhami3310 in #4245
- port enum env var support from #4248 by @benedikt-bartscher in #4251
- expose staticPageGenerationTimeout by @adhami3310 in #4266
- rx.event(background=True) by @adhami3310 in #4263
- components as literal vars by @adhami3310 in #4223
- generate docs for event handlers by @adhami3310 in #4277
- improve page title default by @adhami3310 in #4278
- Add option to scroll to bottom by @picklelo in #4276
- [ENG-759] [ENG-1104] patch
json.dumps
to handle__wrapped__
objects by @masenf in #4166- Support direct usage of
MutableProxy
wrapped objects in JSON APIs (OpenAI, httpx, etc)
- Support direct usage of
- improve object var symantics by @adhami3310 in #4290
- add metainfo to keyevent by @adhami3310 in #4287
Bug Fixes
- Include value._get_all_var_data when ClientStateVar.set_value is used by @masenf in #4161
- client_state: fix fault VarData.merge call by @masenf in #4244
- Remove Duplicated 'gray' colour from ColorType by @lb803 in #4249
- Handle props annotated as list/dict of EventHandler by @masenf in #4257
- add existing path subclass for env checks by @adhami3310 in #4260
- [ENG-4012]Fix shiki copy button animation firing off after clicking copy button by @ElijahAhianyo in #4252
- [ENG-4013] Catch more exceptions for dill pickle fallback by @masenf in #4270
- fix typo in dataeditor prop by @adhami3310 in #4281
- Bugfix/leave gitignore as is by @grahamannett in #4291
- Fix wrong hook by @abulvenz in #4295
- fix call_function events sent from backend by @adhami3310 in #4316
- fix imports with alias from $ by @adhami3310 in #4332
- Only pass Model.fields when casting event args by @masenf in #4356
- fix upload argspec being missing by @adhami3310 in #4335
Documentation
- [ENG-4026]change gallery link to Templates by @ElijahAhianyo in #4283
- [GTM-345]Define component props in class for doc discoverability by @ElijahAhianyo in #4183
- Update overlay props by @tgberkeley in #4261
- default props comment for GraphinTooltip by @carlosabadia in #4101
- add toast classname prop by @carlosabadia in #4310
- [GTM-648]Add Missing Table props by @ElijahAhianyo in #4322
Version Bumps
- update nodejs to lts 22 for real this time by @adhami3310 in #4267
- rollback to 14.2.16 until v15 is more stable by @Lendemor in #4297
- bump python packages version by @Lendemor in #4302
- pin marked to correct version by @adhami3310 in #4313
- 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
Other Changes
- convert test_table to use playwright by @Lendemor in #4241
- cleanup dead code by @benedikt-bartscher in #4271
- unbreak ci lighthouse by @adhami3310 in #4273
- resync steps with task advance by @adhami3310 in #4275
- [ENG-3961] move "warn_if_too_large" logic into BaseState by @masenf in #4284
- raise error when get package manager is not found by @adhami3310 in #4289
- better missing system package message by @adhami3310 in #4306
- move check of path to only check name by @adhami3310 in #4299
- special case field in _isinstance by @adhami3310 in #4298
- bypass pydantic runtime validation for state init by @benedikt-bartscher in #4256
- add codeowners by @Kastier1 in #4312
- stop ignoring some lint rules by @Lendemor in #4311
- mark var methods as private by @adhami3310 in #4319
- test_exception_handlers: add test case that triggers ErrorBoundary by @masenf in #4327
New Contributors
- @lb803 made their first contribution in #4249
- @grahamannett made their first contribution in #4291
Full Changelog: v0.6.4...v0.6.5