Skip to content

Releases: ReSwift/Recombine

Recombine 1.0 🎉

11 Feb 10:20
Compare
Choose a tag to compare

After months of using Recombine on a real application, I was able to glean insights that went into the design of this new version, removing pain points and improving interactions with SwiftUI.

Breaking API Changes:

  • Store is now named BaseStore.
  • StoreTransform is now named LensedStore, with now lenses actions as well as state, reflected in a new type parameter.
  • There are now three lensing functions, one for state, one for actions, and one for both.

API Additions:

  • Added an AnyStore type erasing wrapper.

0.7.0

10 Nov 06:38
Compare
Choose a tag to compare

Breaking API Changes:

  • Middleware's code surface has been greatly reduced. It can only be created as an empty passthrough, created with a closure that returns a publisher of its refined type, or be concatenated onto another Middleware.
  • ActionStrata is now a subtype of Store.

0.6.0

09 Nov 01:17
Compare
Choose a tag to compare

Breaking API Changes:

  • Middleware now consumes a Publisher of State and produces publishers.
  • Store and StoreTransform are parameterised by the "raw" action type they support (the type that will be sent through the Middleware) and their "refined" action type (the type that is produced by the Middleware).
  • dispatch(_ actions:) is now dispatch(raw:) and dispatch(refined:).

0.5.2

15 Oct 06:35
Compare
Choose a tag to compare

Breaking API Changes:

  • Reducer is now a protocol with two interoperable default implementations: PureReducer and MutatingReducer.
  • Store now requires a Scheduler for its events.

API Changes:

  • Changed state to @Published.
  • Added the StoreTransform wrapper type.
  • Added the lensing(_:) function to allow Store to be windowed via the new StoreTransform wrapper type.