github pointfreeco/swift-sharing 2.3.0

latest releases: 2.7.3, 2.7.2, 2.7.1...
7 months ago

What's Changed

  • Added: SharedReader.init(value:) as a replacement for SharedReader.constant that can be used with @SharedReader property wrapper syntax (#104).
  • Added: @SwiftUI.State.Shared and @SwiftUI.State.SharedReader, for wrapping a shared property in @State ergonomically (#110).
  • Fixed: Retain Shared reference in publisher (#102). Addresses a regression introduced in 2.2.0 could cause publishers to complete when the associated shared property was deinitialized.
  • Infrastructure: Documentation fixes (thanks @hanneskaeufler, #103; thanks @kamcma, #105).

New Contributors

Full Changelog: 2.2.0...2.3.0

Don't miss a new swift-sharing release

NewReleases is sending notifications on new releases.