Skip to content

Releases: pointfreeco/swift-sharing

2.2.0

30 Jan 22:12
e4e2399
Compare
Choose a tag to compare

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

Full Changelog: 2.1.2...2.2.0

2.1.2

28 Jan 00:17
d590ed6
Compare
Choose a tag to compare

What's Changed

  • Fixed: Ambiguous initializer in SharedReader with optionals. #86

Full Changelog: 2.1.1...2.1.2

2.1.1

27 Jan 21:15
37b180e
Compare
Choose a tag to compare

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

Full Changelog: 2.1.0...2.1.1

2.1.0

08 Jan 17:44
641edfa
Compare
Choose a tag to compare

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

07 Jan 17:15
c5ea46f
Compare
Choose a tag to compare

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

07 Jan 00:02
7e4ac14
Compare
Choose a tag to compare

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

07 Jan 17:15
55d2fef
Compare
Choose a tag to compare

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

06 Jan 18:54
57ecfb8
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.1.2...2.0.0

1.1.2

06 Jan 18:53
dbcd9d4
Compare
Choose a tag to compare

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

  • @mtfum made their first contribution in #57

Full Changelog: 1.1.1...1.1.2

1.1.1

20 Dec 20:20
974e51b
Compare
Choose a tag to compare

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