The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Reflow v3.0.0
44 weeks ago
This release contains breaking changing and is not backwards compatible with previous version.
The store now uses `@Observable` instead of combine to subscribe to store changes. Reflow now requires a minimum of iOS 17.
This release contains breaking changing and is not backwards compatible with previous version.
The Effect mechanism has been completely revamped and is now separated into `Effect<State>` and `AsyncEffect<State>`. It is no longer possible to return `AnyCancellable` when dispatching. This makes the dispatch function more streamlined and makes it easier to dispatch effects from other effects.
In addition, this adds support for Swift 5.7 and includes vastly improved docc documentation.
Reflow v1.3.1
2 years ago
Updated the `Package.swift` platforms to limit support for watchOS to v6
Reflow v1.3.0
3 years ago
## Easier overriding for Store
Changed certain access specifiers for Store to make it easier to override.
The updated state property:
```swift
open var state: State
```
The updated select method:
```swift
open func select<Prop: Equatable>(_ selector: @escaping (State) -> (Prop)) -> AnyPublisher<Prop, Never>
```
Reflow v1.2.0
3 years ago
## Allow effects to dispatch other effects
Effects can now be dispatched from the body of an effect like a regular action.
Reflow v1.1.0
3 years ago
## Allow effect to return optional cancellable
Effect blocks used to return `AnyCancellable`
```swift
public init(block: @escaping (@escaping Dispatch, @escaping () -> State) -> AnyCancellable)
```
but now they return `AnyCancellable?`
```swift
public init(block: @escaping (@escaping Dispatch, @escaping () -> State) -> AnyCancellable?)
```
Reflow Initial Release
3 years ago
Initial release for Swift Package Manager.