Replies: 1 comment
-
Release is published |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Try out the Prerelease
Please report any problems you encounter in this discussion thread or as separate issues on reflex-dev/reflex.
pip install 'reflex~=0.5.2a'
Schedule
2024-05-26 14:35 PDT: 0.5.2a1 pre-release published for testing
2024-05-30 17:00 PDT: Public Release of 0.5.2
Release Notes
New Features
Lifespan Tasks
A lifespan task is either a coroutine which runs while the backend server is running and is cancelled when the server stops, or is can be an
asynccontextmanager
in which case it will run at server startup untilyield
is called, then it will resume as the server is shutting down. In either case, the task is started and stopped during hot reload.Any keyword arguments passed to
app.register_lifespan_task
will be passed to the coroutine/contextmanager. If the coroutine takes a parameter calledapp
, this will be an instance of the underlying FastAPI object.Improvements
Bug Fixes
Readme Updates
Other Changes
New Contributors
Full Changelog: https://github.com/reflex-dev/reflex/compare/v0.5.1..reflex-0.5.2
Beta Was this translation helpful? Give feedback.
All reactions