Skip to content

v0.23.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Apr 10:11
· 8 commits to main since this release
v0.23.0
d6d079b

PyPI package: https://pypi.org/project/python-redux/0.23.0

Changes:

  • refactor: remove WithState as it wasn't doing anything beyond functools.wraps
  • refactor: autorun doesn't inform subscribers when the output value is not changed
  • refactor: add autorun_class and side_effect_runner_class to improve extensibility
  • refactor: setting auto_await for async autorun functions will make them return None, setting it to False will make them return the awaitable, the awaitable can be awaited multiple times, as it cashes the result if comparator is not changed, it can't be set for sync functions
  • refactor: housekeeping, remove unused callback of task creators, remove unused _task_callback of autoruns, clean up type hints, etc