Skip to content

Releases: ViewFeature/Flow

1.3.1

31 Oct 16:43
a8b000b

Choose a tag to compare

What's Changed

🎉 New Features

📝 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

Full Changelog: 1.3.0...1.3.1

1.3.0

31 Oct 08:54

Choose a tag to compare

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

30 Oct 17:15

Choose a tag to compare

What's Changed

🎉 New Features

  • refactor: Add type constraints to ActionHandler and ActionProcessor by @takeshishimada in #11

📝 Documentation

⚠️ Breaking Changes

📦 Other Changes

Full Changelog: 1.1.1...1.2.0

1.1.1

30 Oct 13:59
cc03e18

Choose a tag to compare

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

Full Changelog: 1.1.0...1.1.1

1.1.0

27 Oct 13:42
ec27ab7

Choose a tag to compare

What's Changed

🎉 New Features

📝 Documentation

🔧 Maintenance

Full Changelog: 1.0.1...1.1.0

1.0.1

26 Oct 17:24

Choose a tag to compare

What's Changed

📝 Documentation

New Contributors

Full Changelog: 1.0.0...1.0.1

1.0.0

26 Oct 16:42

Choose a tag to compare

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 ActionTask for parent-child communication
  • @observable Support: Uses SwiftUI's standard @Observable instead 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

  1. Select File → Add Package Dependencies
  2. Enter: https://github.com/ViewFeature/Flow.git
  3. Select version: 1.0.0 or later

Recommended: Add -default-isolation MainActor to your target's Build Settings → Other Swift Flags.

Documentation

📖 Full Documentation

Full Changelog: https://github.com/ViewFeature/Flow/commits/1.0.0