ReSwift v5.0.0 Release Notes
Release Date: 2019-07-02 // almost 5 years ago-
Breaking API Changes:
✂ Remove
StandardAction
andStandardActionConvertible
(#270) - @mjarvis- The existence of
StandardAction
andStandardActionConvertible
is somewhat confusing to new users, and does not have a direct use case within the core ReSwift library. Therefore, it has been moved to ReSwift-Recorder where it belongs.
- If you're using
StandardAction
in your project withoutReSwift-Recorder
, you can copy the old implementation into your project as a middle ground while you migrate away from its usage.👉 Make Store's state setter private (#354) - @mokagio
- Removes the ability to directly set
state
by making itprivate(set)
. This prevents users from bypassing reducers and middleware. All mutation of the state must occur through the normalAction
&Reducer
methods. - This deprecates the usage of
ReSwift-Recorder
. Changes may be made to that library in the future in order to support this change.
Other:
- The existence of