Releases: sassanh/python-redux
Releases · sassanh/python-redux
v0.15.8
PyPI package: https://pypi.org/project/python-redux/0.15.8
Changes:
- feat(test-snapshot): the
selector
function can signal themonitor
it should
ignore a particular snapshot of the state by returningNone
v0.15.7
PyPI package: https://pypi.org/project/python-redux/0.15.7
Changes:
- refactor(test-snapshot): make it aligned with
pyfakefs
by usingtry
/except
instead of checkingPath().exists()
aspyfakefs
doesn't seem to respectskip_names
forPath().exists()
v0.15.5
PyPI package: https://pypi.org/project/python-redux/0.15.5
Changes:
- feat(test-snapshot): while still taking snapshots of the whole state of the
store, one can narrow this down by providing a selector to thesnapshot
method
(used to be a property) - feat(test-snapshot): new
monitor
method to let a test automatically take snapshots
of the store whenever it is changed. Takes an optional selector to narrow down
the snapshot.
v0.15.4
v0.15.3
PyPI package: https://pypi.org/project/python-redux/0.15.3
Changes:
- docs: add an introduction of
view
toREADME.md
v0.15.2
PyPI package: https://pypi.org/project/python-redux/0.15.2
Changes:
- refactor(autorun): improve type-hints so that its final return value has the correct
type, regardlessdefault_value
is provided or not - refactor(view): improve type-hints so that its final return value has the correct
type, regardlessdefault_value
is provided or not - refactor(combine_reducers): use
make_immutable
instead ofmake_dataclass
- test(view): write tests for
store.view
v0.15.1
PyPI package: https://pypi.org/project/python-redux/0.15.1
Changes:
- feat(core): add
view
method toStore
to allow computing a derived value from
the state only when it is accessed and caching the result until the relevant parts
of the state change - feat(test): add performance tests to check it doesn't timeout in edge cases
v0.15.0
PyPI package: https://pypi.org/project/python-redux/0.15.0
Changes:
- refactor(autorun)!: setting
initial_run
option of autorun toFalse
used to
make the autorun simply not call the function on initialization, now it makes
sure the function is not called until the selector's value actually changes - feat(autorun): add
auto_call
andreactive
options to autorun to control whether
the autorun should call the function automatically when the comparator's value
changes and whether it shouldn't automatically call it but yet register a change
so that when it is manually called the next time, it will call the function.
v0.14.5
PyPI package: https://pypi.org/project/python-redux/0.14.5
Changes:
- test(middleware): add middleware tests
v0.14.4
PyPI package: https://pypi.org/project/python-redux/0.14.4
Changes:
- refactor(test): add the counter id of the failed snapshot to the error message