Releases: pointfreeco/swift-sharing
Releases · pointfreeco/swift-sharing
2.2.0
What's Changed
- Added:
SharedKey.Default.initialValue
, for retrieving a key's initial value (#89). - Fixed: Fix app storage test value on iOS <17 (#97).
- Fixed: Work around existential crash in iOS <16 (#98).
- Fixed: Avoid optional promotion bug in
inMemoryKey
(thanks @OguzYuuksel, #90). - Fixed: Properly snapshot optional references for TCA testing (#100).
- Infrastructure: Get unit tests passing on iOS 13 (thanks @OguzYuuksel, #91).
- Infrastructure: Change documentation to use
withDependencies
where needed (thanks @brzzdev, #96).
New Contributors
- @OguzYuuksel made their first contribution in #91
- @brzzdev made their first contribution in #96
Full Changelog: 2.1.2...2.2.0
2.1.2
2.1.1
What's Changed
- Fixed:
$shared.load()
errors are now correctly rethrown (#70). - Fixed: Do not prematurely
nil
out load/save errors when reloading/resaving (#72). - Fixed: Depend directly (not transitively) on ConcurrencyExtras (#78; thanks @jflan-dd, #85).
- Fixed: Git-ignore .swiftpm directory and remove schemes (thanks @kamcma, #79).
- Fixed: Expose public initializers on shared key continuation types (thanks @arnauddorgans, #81).
- Fixed: Keep publishers alive when swapping out shared keys (#82).
- Infrastructure: Clean up shared initializers and overloads (#69).
- Infrastructure: Improve GRDB demo (#73).
- Infrastructure: Update live file storage examples in documentation (thanks @heiberg, #74).
New Contributors
- @heiberg made their first contribution in #74
- @kamcma made their first contribution in #79
- @arnauddorgans made their first contribution in #81
- @jflan-dd made their first contribution in #85
Full Changelog: 2.1.0...2.1.1
2.1.0
What's Changed
- Added:
$shared.load(key)
(#68), for replacing a shared reference's key and tie async/errors to the original shared value.
Full Changelog: 2.0.2...2.1.0
2.0.2
What's Changed
- Added
Sharing2
version marker module to allow downstream modules to know what version of Sharing they're building against (#67).
Full Changelog: 2.0.1...2.0.2
2.0.1
What's Changed
- Fixed: Swift 5.9 support has been restored (with continuous integration) (#65).
Full Changelog: 2.0.0...2.0.1
1.1.3
What's Changed
- Added
Sharing1
version marker module to allow downstream modules to know what version of Sharing they're building against (#66).
Full Changelog: 1.1.2...1.1.3
2.0.0
What's Changed
- Async throwing support (#40). See the migration guide for more details.
Full Changelog: 1.1.2...2.0.0
1.1.2
What's Changed
- Fixed: Don't include unavailable setter in Swift <6 (#64).
- Fixed: Warn when multiple store objects detected for single suite name (#62).
- Infrastructure: Remove outdated gotcha from documentation (#55).
- Infrastructure: Documentation fixes (thanks @mtfum, #57).
- Infrastructure: Fix internal optionality in AppStorageKey (#60).
- Infrastructure: Use
prepareDependencies
for previews (#61).
New Contributors
Full Changelog: 1.1.1...1.1.2
1.1.1
What's Changed
- Fixed: Explicitly depend on combine-schedulers package (#49).
- Fixed: Ensure first
.inMemory
default is persisted (#50). - Infrastructure: Clean up some APIs from
_SharedKeyDefault<some SharedKey>
to(some SharedKey).Default
(#39). - Infrastructure: Documentation fixes (#41; thanks @steve-h, #45; thanks @stealmh, #46)
New Contributors
Full Changelog: 1.1.0...1.1.1