Skip to content

Releases: sassanh/python-redux

v0.15.8

18 Jun 15:22
v0.15.8
Compare
Choose a tag to compare

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

Changes:

  • feat(test-snapshot): the selector function can signal the monitor it should
    ignore a particular snapshot of the state by returning None

v0.15.7

27 May 01:28
v0.15.7
e1eaaef
Compare
Choose a tag to compare

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

Changes:

  • refactor(test-snapshot): make it aligned with pyfakefs by using try/except
    instead of checking Path().exists() as pyfakefs doesn't seem to respect skip_names
    for Path().exists()

v0.15.5

21 May 22:30
v0.15.5
b7e020f
Compare
Choose a tag to compare

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 the snapshot 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

13 May 19:11
v0.15.4
c391fd1
Compare
Choose a tag to compare

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

Changes:

  • build(pypi): add metadata

v0.15.3

13 May 19:04
v0.15.3
1050f21
Compare
Choose a tag to compare

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

Changes:

  • docs: add an introduction of view to README.md

v0.15.2

06 May 21:33
v0.15.2
90d803d
Compare
Choose a tag to compare

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, regardless default_value is provided or not
  • refactor(view): improve type-hints so that its final return value has the correct
    type, regardless default_value is provided or not
  • refactor(combine_reducers): use make_immutable instead of make_dataclass
  • test(view): write tests for store.view

v0.15.1

04 May 21:02
v0.15.1
4499656
Compare
Choose a tag to compare

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

Changes:

  • feat(core): add view method to Store 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

04 May 13:41
v0.15.0
58343ce
Compare
Choose a tag to compare

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

Changes:

  • refactor(autorun)!: setting initial_run option of autorun to False 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 and reactive 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

03 May 01:34
v0.14.5
286dbba
Compare
Choose a tag to compare

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

Changes:

  • test(middleware): add middleware tests

v0.14.4

03 May 00:52
v0.14.4
ff25e91
Compare
Choose a tag to compare

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