Releases: pointfreeco/swift-composable-architecture
Releases · pointfreeco/swift-composable-architecture
1.22.3
1.22.2
What's Changed
- Fixed: Better cancellation detection in
Effect.run
(#3755). - Fixed: Perception checking improvements, especially in UIKit (#3762).
- Fixed: Allow store publisher to be used as async sequence (#3763).
Full Changelog: 1.22.1...1.22.2
1.22.1
What's Changed
- Fixed: Address parent store retain cycle regression introduced in 1.21 (#3756).
Full Changelog: 1.22.0...1.22.1
1.22.0
What's Changed
- Added:
@ObservableState
now generates the sameshouldNotifyObservers
functions generated by@Observable
in Swift 6.2, reducing redundant observations (thanks @rcarver, #3751). - Fixed: Skip
UIBindable
perception checks in hosted view controllers (#3744).
Full Changelog: 1.21.1...1.22.0
1.21.1
1.21.0
What's Changed
- Added: Support for Perception 2.0 (#3736).
- Fixed: Propagate cancellation ID navigation identity across effects that feed into other stores (#3728).
- Fixed: Remove child store from parent when invalidated (#3729).
- Infrastructure: Fix typo (thanks @hmhv, #3697).
- Infrastructure: Remove the outdated unused dependency in case study (thanks @mehmetbaykar, #3692).
- Infrastructure: Apply Equatable in tutorial step (#3700).
- Infrastructure: Remove outdated thread-safety docs (#3701).
New Contributors
- @mehmetbaykar made their first contribution in #3692
Full Changelog: 1.20.2...1.21.0
1.20.2
1.20.1
What's Changed
- Fixed: Ignore new property wrappers with @ObservableState. #3666
- Fixed: Isolate cancellation in root stores. #3660
- Fixed: Prevent reduce function from being optimized by @AndrewBardallis in #3683
- Infrastructure: Fix build error occurs in navigation tutorial and Remove unnecessary button actions by @Ryota-Kurokawa in #3668
- Infrastructure: Change Counter to CounterFeature in StackBasedNavigation docs by @BruceMcRooster in #3670
- Infrastructure: Adjust documentation for binding action by @johankool in #3661
- Infrastructure: Fix typo by @shoujiaxin in #3684
New Contributors
- @BruceMcRooster made their first contribution in #3670
- @Ryota-Kurokawa made their first contribution in #3668
- @shoujiaxin made their first contribution in #3684
- @AndrewBardallis made their first contribution in #3683
Full Changelog: 1.19.1...1.20.0
1.19.1
What's Changed
- Fixed: Updated outdated runtime warning text (#3643).
- Fixed: Invalidate child store subscriptions when child store is invalidated (#3646). This should improve the performance of applications that scope many child stores.
- Fixed: Support SwiftSyntax 601.0.0 (thanks @jszumski, #3649).
- Fixed: Remove hashable requirement from
UIPushAction
(#3652). - Infrastructure: Expose navigation stack helper behind SPI (thanks @Alex293, #3657).
New Contributors
Full Changelog: 1.19.0...1.19.1
1.19.0
What's Changed
Important
This release includes a significant rewrite of the store's scoping internals for better performance and memory management. Please test your application thoroughly when upgrading to this release.
- Added: Store now conforms to the
ObservableObject
(#3625). This conformance does not provide any observation via@ObservedObject
, and is provided as a convenience to allow stores to be held in@StateObject
s. Store observation should continue to be done via the Observation framework (or Perception package) and the@ObservableState
macro. - Fixed: Store internals have been rewritten for performance and better memory management (#3460; thanks @arnauddorgans , #3638).
- Fixed: swift-syntax 6.1 support (thanks @shimastripe, #3639).
- Fixed: Don't allow actions to be sent to invalidated scoped stores in release (thanks @lukeredpath, #3640).
- Infrastructure: Update demo apps to declare store as static to avoid interference with Xcode previews (thanks @meltsplit, #3618).
- Infrastructure: Fix broken article link (thanks @bradhowes, #3626).
- Infrastructure: Improve Performance article (thanks @arnauddorgans, #3631).
- Infrastructure: Utilize
swift-navigation
internally for presenting alerts and action sheets (thanks @juliensagot, #3623) - Infrastructure: CI Improvements to minimize flakiness of GitHub actions (#3641).
New Contributors
- @bradhowes made their first contribution in #3626
- @arnauddorgans made their first contribution in #3631
- @shimastripe made their first contribution in #3639
Full Changelog: 1.18.0...1.19.0