github pointfreeco/swift-composable-architecture 1.19.0

2 days ago

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 @StateObjects. 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

Full Changelog: 1.18.0...1.19.0

Don't miss a new swift-composable-architecture release

NewReleases is sending notifications on new releases.