Skip to content

Releases: pointfreeco/swift-sharing

2.7.4

15 Sep 17:20
3bfc408

Choose a tag to compare

What's Changed

  • Fixed: cut down on calls to withMutation to minimize observation contention (#192).

Full Changelog: 2.7.3...2.7.4

2.7.3

01 Sep 18:48
aaf6057

Choose a tag to compare

What's Changed

  • Fixed: Add CustomReflectable conformances to @Shared and @SharedReader to prevent leaking sensitive data and better format things for Custom Dump (#191).

Full Changelog: 2.7.2...2.7.3

2.7.2

18 Aug 19:19
530c98a

Choose a tag to compare

What's Changed

Full Changelog: 2.7.1...2.7.2

2.7.1

12 Aug 16:10
bddb522

Choose a tag to compare

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

11 Aug 18:37
83ff583

Choose a tag to compare

What's Changed

  • Added: AppStorageKey support for Codable (thanks @abdulilah99, #182).
  • Added: AppStorageKey support 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

Full Changelog: 2.6.0...2.7.0

2.6.0

30 Jul 17:49
5d87dda

Choose a tag to compare

What's Changed

  • Added: Support Perception 2.0 (#176).
  • Fixed: File storage: migrate stub data to empty files (#164).
  • Infrastructure: Document parameterized test isolation (thanks @HugoSay, #173).
  • Infrastructure: Remove dead code (thanks @pyrtsa, #168).

New Contributors

Full Changelog: 2.5.2...2.6.0

2.5.2

09 May 18:56
75e846e

Choose a tag to compare

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

Full Changelog: 2.5.1...2.5.2

2.5.1

08 May 16:07
8f8fef0

Choose a tag to compare

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 @Shared in a dependency (thanks @pyrtsa, #153).
  • Infrastructure: Link SharingRemoteConfig in README (thanks @zunda-pixel, #152).

New Contributors

Full Changelog: 2.5.0...2.5.1

2.5.0

05 May 20:08
2c41085

Choose a tag to compare

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

01 Apr 00:22
732871f

Choose a tag to compare

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 fileStorage writes 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

Full Changelog: 2.3.3...2.4.0