Releases: sassanh/python-redux
Releases · sassanh/python-redux
v0.15.10
PyPI package: https://pypi.org/project/python-redux/0.15.10
Changes:
- feat(test): add arguments for
wait_for'scheck
v0.15.9
PyPI package: https://pypi.org/project/python-redux/0.15.9
Changes:
- refactor(core): use
str_to_boolofpython-strtoboolinstead ofstrtobool
ofdistutils - feat(test-snapshot): add prefix to snapshot fixture
v0.15.8
PyPI package: https://pypi.org/project/python-redux/0.15.8
Changes:
- feat(test-snapshot): the
selectorfunction can signal themonitorit 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
pyfakefsby usingtry/except
instead of checkingPath().exists()aspyfakefsdoesn'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 thesnapshotmethod
(used to be a property) - feat(test-snapshot): new
monitormethod 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
viewtoREADME.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_valueis provided or not - refactor(view): improve type-hints so that its final return value has the correct
type, regardlessdefault_valueis provided or not - refactor(combine_reducers): use
make_immutableinstead 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
viewmethod toStoreto 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_runoption of autorun toFalseused 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_callandreactiveoptions 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.