Releases: pointfreeco/swift-sharing
Releases · pointfreeco/swift-sharing
2.7.4
What's Changed
- Fixed: cut down on calls to
withMutationto minimize observation contention (#192).
Full Changelog: 2.7.3...2.7.4
2.7.3
What's Changed
- Fixed: Add
CustomReflectableconformances to@Sharedand@SharedReaderto prevent leaking sensitive data and better format things for Custom Dump (#191).
Full Changelog: 2.7.2...2.7.3
2.7.2
2.7.1
What's Changed
- Fixed: Disfavor
appStorage's codable strategies to address a regression introduced in 2.7.0, where raw representable types with codable conformances preferred the codable strategy over the raw representable strategy (#185).
Full Changelog: 2.7.0...2.7.1
2.7.0
What's Changed
- Added:
AppStorageKeysupport forCodable(thanks @abdulilah99, #182). - Added:
AppStorageKeysupport for string arrays (thanks @ph1ps, #107). - Fixed: Close file handle in cancellation handler to avoid race (thanks @KaiOelfke, #174).
- Infrastructure: DocC updates (#183).
New Contributors
- @KaiOelfke made their first contribution in #174
- @abdulilah99 made their first contribution in #182
- @ph1ps made their first contribution in #107
Full Changelog: 2.6.0...2.7.0
2.6.0
2.5.2
What's Changed
- Fixed: Don't publish stale values to new subscribers of an existing shared publisher (thanks @kielgillard, #161).
- Infrastructure: Make test more reliable in constrained environments (thanks @pyrtsa, #159).
New Contributors
- @kielgillard made their first contribution in #161
Full Changelog: 2.5.1...2.5.2
2.5.1
What's Changed
- Fixed: Don't emit extra observation to app storage when app foregrounds (#158).
- Fixed: Avoid unnecessary main thread hop when calling
Shared[Reader].load(_:)(thanks @pyrtsa, #154). - Fixed: Avoid potential deadlock when accessing
@Sharedin a dependency (thanks @pyrtsa, #153). - Infrastructure: Link SharingRemoteConfig in README (thanks @zunda-pixel, #152).
New Contributors
- @zunda-pixel made their first contribution in #152
- @pyrtsa made their first contribution in #154
Full Changelog: 2.5.0...2.5.1
2.5.0
What's Changed
- Added:
Shared.read, for deriving a shared reader from a transform closure (thanks @arnauddorgans, #138; #146). - Fixed: A regression introduced in 2.4.0 that broke cross-process file observation has been fixed (#148).
Full Changelog: 2.4.0...2.5.0
2.4.0
What's Changed
- Added:
UserDefaults.inMemory, for supplying a test-friendly value (thanks @brzzdev, #126). - Added:
SharedSubscriber. yieldLoading, to allow shared keys to toggle their load state when fetching new data (thanks @mhayes853, #125). - Fixed: Make
fileStoragewrites atomic, and don't decode empty files (#129). - Fixed: Don't report load/save errors as issues in testing (#144).
- Infrastructure: Add SharingCloud plugin to README (thanks @KeithBird, #139).
- Infrastructure: Add SharingFirestore plugin to README (thanks @arasan01, #140).
New Contributors
- @mhayes853 made their first contribution in #125
- @KeithBird made their first contribution in #139
- @arasan01 made their first contribution in #140
Full Changelog: 2.3.3...2.4.0