github reflex-dev/reflex v0.8.10

one day ago

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).

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.

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.

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.

Chores

Full Changelog: v0.8.9...v0.8.10

Don't miss a new reflex release

NewReleases is sending notifications on new releases.