What's Changed
- Added:
SharedReader.init(value:)
as a replacement forSharedReader.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
- @hanneskaeufler made their first contribution in #103
Full Changelog: 2.2.0...2.3.0