Python-redux

Latest version: v0.15.9

Safety actively analyzes 642283 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 13

0.15.2

- 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`

0.15.1

- 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

0.15.0

- 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.

0.14.5

- test(middleware): add middleware tests

0.14.4

- refactor(test): add the counter id of the failed snapshot to the error message

0.14.3

- fix: add `unsubscribe` method to `AutorunReturnType` protocol

Page 2 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.