Releases: ViewFeature/Flow
Releases · ViewFeature/Flow
1.3.1
What's Changed
🎉 New Features
- docs: Add Observation support to library descriptions by @takeshishimada in #17
📝 Documentation
- docs: Fix terminology from 'Approachable Concurrency' to 'Swift 6 Concurrency' by @takeshishimada in #18
- docs: Improve CoreConcepts.md structure with '5 Core Principles' by @takeshishimada in #20
- docs: Align README with '5 Core Principles' from Medium article by @takeshishimada in #21
📦 Other Changes
- Release 1.3.1 by @takeshishimada in #19
Full Changelog: 1.3.0...1.3.1
1.3.0
What's Changed
♻️ Refactoring
- refactor: Remove FlowError and move noTasksToExecute to StoreError by @takeshishimada in #16
Full Changelog: 1.2.0...1.3.0
1.2.0
What's Changed
🎉 New Features
- refactor: Add type constraints to ActionHandler and ActionProcessor by @takeshishimada in #11
📝 Documentation
- docs: Clarify actor execution order guarantees in Store by @takeshishimada in #10
- docs: Improve core documentation by @takeshishimada in #13
- docs: Comprehensive documentation improvements by @takeshishimada in #14
⚠️ Breaking Changes
- breaking: Throw error on empty concatenate, remove force cast by @takeshishimada in #12
📦 Other Changes
- Release 1.2.0 by @takeshishimada in #15
Full Changelog: 1.1.1...1.2.0
1.1.1
What's Changed
🐛 Bug Fixes
- fix: Correct modifier order in LocationService initializer by @takeshishimada in #8
📝 Documentation
- docs: Remove subjective and exaggerated expressions from documentation by @takeshishimada in #7
📦 Other Changes
- Release 1.1.1 by @takeshishimada in #9
Full Changelog: 1.1.0...1.1.1
1.1.0
What's Changed
🎉 New Features
- feat: Add task naming support for improved debugging by @takeshishimada in #5
📝 Documentation
- docs: Improve README based on CoreConcepts documentation by @takeshishimada in #4
🔧 Maintenance
- chore: Prepare for 1.1.0 release by @takeshishimada in #6
Full Changelog: 1.0.1...1.1.0
1.0.1
What's Changed
📝 Documentation
- docs: Update documentation links to GitHub Pages URLs by @takeshishimada in #1
- docs: Reduce redundant expressions in English documentation by @takeshishimada in #2
- docs: Add Japanese README link to main README by @takeshishimada in #3
New Contributors
- @takeshishimada made their first contribution in #1
Full Changelog: 1.0.0...1.0.1
1.0.0
Flow 1.0.0 - First Stable Release 🎉
Flow is a unidirectional data flow library for SwiftUI applications with full support for Swift 6 Approachable Concurrency.
Key Features
- No Global Store: Each view holds its own state with
@State - Result-Returning Actions: Actions can return results through
ActionTaskfor parent-child communication - @observable Support: Uses SwiftUI's standard
@Observableinstead of@ObservableObject - Approachable Concurrency: Full Swift 6 concurrency support with
defaultIsolation(MainActor.self) - Observable Actions: Middleware system for cross-cutting concerns like logging and analytics
Requirements
- iOS 18.0+ / macOS 15.0+ / watchOS 11.0+ / tvOS 18.0+
- Swift 6.2+
- Xcode 16.2+
Installation
Swift Package Manager
Add Flow to your Package.swift:
```swift
dependencies: [
.package(url: "https://github.com/ViewFeature/Flow.git", from: "1.0.0")
]
```
Xcode
- Select File → Add Package Dependencies
- Enter:
https://github.com/ViewFeature/Flow.git - Select version:
1.0.0or later
Recommended: Add -default-isolation MainActor to your target's Build Settings → Other Swift Flags.
Documentation
Full Changelog: https://github.com/ViewFeature/Flow/commits/1.0.0