github pointfreeco/swift-composable-architecture 1.11.0

latest releases: 1.11.2, 1.11.1
19 days ago

What's Changed

  • Added: Shared.withLock, for mutating shared state from asynchronous contexts (#3136). Direct mutations from asynchronous contexts is marked unavailable and will be an error in Swift 6.
  • Added: SharedReader.constant (#3127).
  • Added: $store.scope will now emit a warning when a dismiss action doesn't nil out a child feature, suggesting a Reducer.ifLet (or parent integration) is missing (#3089).
  • Deprecated: Shared's optional dynamic member lookup overload has been deprecated in favor of a Binding.init that unwraps optional values (#3145).
  • Fixed: Avoid crash when using .appStorage with a URL value (thanks @pwszebor, #3098).
  • Fixed: Worked around a build failure when integrating with Tuist (#3140).
  • Infrastructure: Tutorial fixes (#3076; thanks @MartinMoizard, #3078; #3072; thanks @hmhv, #3091; thanks @gibachan, #3099; thanks @btr-better, #3107; thanks @woxtu, #3119, #3123; #3135; #3141; #3148); DocC fixes (#3085; #3087; thanks @JOyo246, #3092; thanks @leeari95, #3110; #3138); README fixes (thanks @Matt54, #3129); expose some navigation APIs with @_spi(Internal) (thanks @Alex293, #3097).

New Contributors

Full Changelog: 1.10.4...1.11.0

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

NewReleases is sending notifications on new releases.