Releases: AlexLittlejohn/Ducks
Releases · AlexLittlejohn/Ducks
2.0.0
A major release with a complete overhaul of the Redux pattern.
Idiomatic Redux pattern
New reducer to Effect pattern
- In this context an
Effectis essentially a Combine stream i.e.AnyPublisher<A, Never>.
Changes
- Removed
Middlewarerequirement - Introduced an
Environmentobject to encapsulate dependencies for side effects - New
Reducerfunction signature:typealias Reducer<A, S: Equatable, E> = (A, inout S, E) -> AnyPublisher<A, Never> - Added a
statePublisherproperty which mirrors the@Published stateproperty.
1.0.1
A single bug fix for a implicitly unwrapped value
Initial release
1.0.0 Adding subscription tests

