Skip to content

Releases: pointfreeco/swift-composable-architecture

1.10.4

11 May 22:02
433a231
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.10.3...1.10.4

1.10.3

08 May 18:22
Compare
Choose a tag to compare

What's Changed

  • Fixed: Automatically cancel in-flight TestStore effects when its root feature is dismissed (#3044).

  • Fixed: Propagate current dependencies to Store.init (#3049).

  • Fixed: Runtime warn when stack integration is detected to be missing from store's reducer (#3048).

  • Fixed: TestStore.finish() should assert against unreceived actions (#3054).

  • Fixed: Precondition when conflicting persistence keys must match value by @stephencelis in #3051.

    Important:
    If you have defined a custom persistence key, you may need to explicitly conform it to Hashable after upgrading to this version.

  • Fixed: @Shared no longer eagerly evaluates its initial value (thanks @seanmrich, #3057).

  • Infrastructure: Added a brand new tutorial: Building SyncUps (#3039).

  • Infrastructure: Add store invalidation test (#3038).

  • Infrastructure: Document @CasePathable @dynamicMemberLookup in 1.4 migration guide (#3043).

  • Infrastructure: Document nested enum reducers (#3050).

New Contributors

Full Changelog: 1.10.2...1.10.3

1.10.2

30 Apr 18:45
e6c0959
Compare
Choose a tag to compare

What's Changed

  • Fixed: @Shared(.appStorage) initializer with explicit = nil should not crash (#3035).
  • Fixed: Don't warn when dismissing two layers of tree-based navigation (#3037).
  • Fixed: Don't emit perception warnings when deploying to 17.0.0 (#3036).
  • Infrastructure: Fix typo in Reducers article (thanks @larryonoff, #3034)

New Contributors

Full Changelog: 1.10.1...1.10.2

1.10.1

29 Apr 20:14
aec373a
Compare
Choose a tag to compare

What's Changed

  • Fixed: Support nested enum reducers (thanks @sk409, #2814).
  • Fixed: Add missing NSPrivacyCollectedDataTypes to PrivacyInfo.xcprivacy (thanks @DandyLyons, #3027).
  • Fixed: Emit test failure when warning in release (#3024).
  • Fixed: Bump Perception availability to support 1.1.6 (#3025).
  • Infrastructure: Update README for TCA 1.10.0 (thanks @kalupas226, #3019).
  • Infrastructure: Fix DocC organization of shared state tools (#3022).
  • Infrastructure: Remove Reducer._Body workaround (#3023).

New Contributors

Full Changelog: 1.10.0...1.10.1

1.10.0

29 Apr 00:58
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.9.3...1.10.0

1.9.3

18 Apr 00:06
899a68c
Compare
Choose a tag to compare

What's Changed

  • Added: Added missing StackActionOf<R> type alias (thanks @d-date, #2906).
  • Fixed: Cache scoped presentation stores where possible (thanks @lukeredpath, #2908).
  • Fixed: Allow "inert" enum state to be observed by having an ever-changing ID (#2910).
  • Fixed: Silence SwiftSyntax 510 / Xcode 15.3 warnings (#2909).
  • Fixed: Restore TestStore autocompletion (#2923).
  • Fixed: It is now possible to scope bindings of enum stores to non-reducer cases for sheets and other navigation (#2943).
  • Fixed: package access modifier support in enum @Reducer macro (thanks @samrayner, #2939).
  • Fixed: Effect.publisher is no longer escaping (#2968).
  • Fixed: Add runtime warning diagnostic to catch nested calls to observe (#2996).
  • Infrastructure: Fix documentation typos (thanks @takehilo, #2898; #2944); tutorial fixes (thanks @LRSnowX, #2808); test store tutorial/documentation fixes (#2912); fix favorites case study mocks (thanks @beribas, #2962); improve docs for stack-based navigation (#2967); fix dismissal in UIKit demos (#2986) fix shared state case study (thanks @eltociear, #2994).

New Contributors

Full Changelog: 1.9.2...1.9.3

1.9.2

05 Mar 06:20
115fe5a
Compare
Choose a tag to compare

What's Changed

  • Fixed: The BindableAction dynamic case lookup added in 1.9 led to a regression in compile time performance that could break downstream builds. This has been reverted (#2886).
  • Fixed: Support swift-syntax 510 (#2884).
  • Infrastructure: Add Links to Migration Guides in README (thanks @jshier, #2877).
  • Infrastructure: Fixed the article of tree-based navigation (thanks @takehilo, #2882).
  • Infrastructure: Leverage dynamic case writability in example code (#2885).

Full Changelog: 1.9.1...1.9.2

1.9.1

01 Mar 17:43
687e277
Compare
Choose a tag to compare

What's Changed

  • Fixed: Addressed a regression introduced in 1.9.0 in which a case key path could become ambiguous if an action case name and a bindable action key path name overlap (#2875).
  • Infrastructure: Add step for making enum reducer state equatable in tutorial (#2873).
  • Infrastructure: Fixed a small typo on 1.9 migration guide (thank @takehilo, #2876).

Full Changelog: 1.9.0...1.9.1

1.9.0

29 Feb 04:30
Compare
Choose a tag to compare

What's Changed

See Migrating to 1.9 for more details.

  • Added: New versions of TestStore.send that accept case key paths (thanks @scogeo, #2681; #2868).
  • Added Reducer.dependency(value), for overriding a reducer's dependency using a singleton value of a type (#2863).
  • Fixed: Improve Store diagnostics for deriving bindings (#2793).
  • Fixed: Avoid erroneous perception checks when ViewStores are initialized in a view that doesn't use WithPerceptionTracking (#2849).
  • Fixed: Support #if branching in @ObservableState and enum @Reducers (#2800).
  • Infrastructure: Tree navigation documentation fixes (thanks @imjn, #2837); presentation reducer documentation fixes (thanks @ozumin, #2853).
  • Infrastructure: Improve tutorial diffing (thanks @oka-yuji, #2844).
  • Infrastructure: Expand release build test coverage (#2856).
  • Infrastructure: Document gotcha with macros and previews (#2855).

New Contributors

Full Changelog: 1.8.2...1.9.0

1.8.2

19 Feb 18:30
856f9b8
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.8.1...1.8.2