New
5.0.0
Breaking API Changes:
-
Remove
StandardActionandStandardActionConvertible(#270) - @mjarvis- The existence of
StandardActionandStandardActionConvertibleis 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
StandardActionin your project withoutReSwift-Recorder, you can copy the old implementation into your project as a middle ground while you migrate away from its usage.
- The existence of
-
Make Store's state setter private (#354) - @mokagio
- Removes the ability to directly set
stateby making itprivate(set). This prevents users from bypassing reducers and middleware. All mutation of the state must occur through the normalAction&Reducermethods. - This deprecates the usage of
ReSwift-Recorder. Changes may be made to that library in the future in order to support this change.
- Removes the ability to directly set
Other:
- Resolve Xcode 10.2 warnings with Swift 4.2.2 and 5.0 (#397) - @mjarvis
- Update Swift Package Manager support (#403, #411) - @Dschee, @hoemoon