Release Notes
rx.redirect
now takes popup
option.
WARNING: This also made it such that is_external
and replace
are keyword-only arguments.
You can use popup
along with is_external
to make a popup screen. Be wary that some browsers might block those (occasionally).
- add popup option for redirect by @adhami3310 in #5764
Pass along SQL Alchemy Pool configuration
You can use the environment variables: SQLALCHEMY_POOL_SIZE
, SQLALCHEMY_MAX_OVERFLOW
, SQLALCHEMY_POOL_RECYCLE
, and SQLALCHEMY_POOL_TIMEOUT
to configure their corresponding pool configuration.
- add sqlalchemy client pool configuration options via env vars by @benedikt-bartscher in #5751
Determinism Fixes
The Reflex compiler should ideally be deterministic. We fixed a few spots where it wasn't. This included switching from sets to dicts in a few places and fixing the seed for the random ID for components. This should ideally limit the number of unintended HMR errors.
- improve determinism by @adhami3310 in #5755
Styles Fixes
With --env prod
, some CSS styles might appear in the wrong order, causing weird styling. This is now fixed.
- put reflexGlobalStyles before everything and add style to radix theme root by @adhami3310 in #5763
Re-add UploadFile.filename to maintain compatibility with Starlette
We removed that property because it had inconsistent value among browsers. Now it's back, but it should be consistent.
- readd UploadFile.filename for compat with StarletteUploadFile by @adhami3310 in #5772
Specify extra_headers to rx.upload_files
In case you want your upload files post request to have extra headers, you can use the extra_headers
keyword argument.
- add extra headers to upload event spec by @adhami3310 in #5771
Chores
- 0810dev by @adhami3310 in #5754
Full Changelog: v0.8.9...v0.8.10