Releases: sassanh/python-redux
Releases · sassanh/python-redux
v0.19.1
PyPI package: https://pypi.org/project/python-redux/0.19.1
Changes:
- refactor: provide correct signature for the autorun instance based on the function it decorates
- refactor: side effect runners always run the side effect in the event loop provided to them regardless of the return value of the side effect being a coroutine or not, this is because even if the side effect is not a coroutine, it might still use async features internally
v0.18.3
PyPI package: https://pypi.org/project/python-redux/0.18.3
Changes:
- refactor(combine_reducers): add custom payload to
CombineReducerInitActionandCombineReducerRegisterActionto allow custom initialization of sub-reducers
v0.18.2
PyPI package: https://pypi.org/project/python-redux/0.18.2
Changes:
- chore(pytest): add
project.entry-points.pytest11section topyproject.tomlso that it can be used as a pytest plugin
v0.18.1
PyPI package: https://pypi.org/project/python-redux/0.18.1
Changes:
- chore: migrate from poetry to uv for the sake of improving performance and dealing with conflicting sub-dependencies
- refactor(core): avoid passing events to
dispatch, to enforce using them as side-effects only
v0.18.0
PyPI package: https://pypi.org/project/python-redux/0.18.0
Changes:
- feat(autorun): add
auto_awaittoAutorunOptionsso that one can define an autorun/view as a decorator of a function without automatically awaiting its result, whenauto_awaitis set toFalse, which activates the new behavior, the decorated function passesasyncio.iscoroutinefunctiontest, useful for certain libraries like quart
v0.17.2
PyPI package: https://pypi.org/project/python-redux/0.17.2
Changes:
- feat(autorun): add
auto_awaittoAutorunOptionsso that one can define an autorun/view as a decorator of a function without automatically awaiting its result, whenauto_awaitis set toFalse, which activates the new behavior, the decorated function passesasyncio.iscoroutinefunctiontest, useful for certain libraries like quart
v0.17.1
PyPI package: https://pypi.org/project/python-redux/0.17.1
Changes:
- refactor(core): allow
Nonetype for state, action and event types inReducerResultandCompleteReducerResult
v0.17.0
PyPI package: https://pypi.org/project/python-redux/0.17.0
Changes:
- refactor(autorun): remove
auto_calloption as it was addressing such a rare use case that it was not worth the complexity
v0.16.1
PyPI package: https://pypi.org/project/python-redux/0.16.1
Changes:
- feat(core): add
_typefield to the serialized immutable instances
v0.16.0
PyPI package: https://pypi.org/project/python-redux/0.16.0
Changes:
- feat(core): add blocking
wait_for_event_handlersmethod toStoreto wait for all event handlers to finish