Skip to content

Releases: pointfreeco/swift-perception

2.0.9

14 Oct 00:20
4f47eba

Choose a tag to compare

What's Changed

  • Fixed: Add missing opening brackets in reportIssue (thanks @KhoraLee, #164).
  • Fixed: Greatly optimize perception checking by replacing symbol resolution with segment address checking (thanks @robmaceachern, #165).

New Contributors

Full Changelog: 2.0.8...2.0.9

2.0.8

17 Sep 18:45
30721ac

Choose a tag to compare

What's Changed

  • Fixed: Support SwiftSyntax 602 (#163).

Full Changelog: 2.0.7...2.0.8

2.0.7

09 Sep 16:23
52bc59a

Choose a tag to compare

What's Changed

  • Optimized: Wrap @Perception.Bindable setter in perception checking task local to improve performance (#162).

Full Changelog: 2.0.6...2.0.7

2.0.6

27 Aug 19:53
59b00df

Choose a tag to compare

What's Changed

  • Fixed: Bring changes in from Swift Observation (#156).
  • Fixed: Remove unneeded MapKit builder in WithPerceptionTracking (#158). This fixes some build system errors, like Android.
  • Infrastructure: Fix CI (#159).

Full Changelog: 2.0.5...2.0.6

2.0.5

12 Aug 17:28
7d3509c

Choose a tag to compare

What's Changed

  • Fixed: Addressed a regression introduced in 2.0 that broke visionOS builds of swift-composable-architecture (#152).

Full Changelog: 2.0.4...2.0.5

2.0.4

04 Aug 21:11
328a0b4

Choose a tag to compare

What's Changed

  • Fixed: Disfavor WithPerceptionTracking.init with charts builder to avoid potential Xcode bug (#151).

Full Changelog: 2.0.3...2.0.4

2.0.3

04 Aug 21:09
d8e2110

Choose a tag to compare

What's Changed

  • Fixed: Avoid os_log decoding console errors by updating perception check formatting (#150).

Full Changelog: 2.0.2...2.0.3

2.0.2

01 Aug 19:29

Choose a tag to compare

What's Changed

  • Fixed: Bring back isPerceptionCheckingEnabled configuration flag (#144). While most projects should not disable perception checking, there are projects out there that access perceptible values outside of perception tracking to the point of affecting debug build performance in negative ways, so we will offer an escape hatch.
  • Fixed: Bump @Perceptible deprecation to *OS 26 (thanks @rcarver, #145). This makes forthcoming @Observable enhancements (like shouldNotifyObservers) available to *OS <26 today.

New Contributors

Full Changelog: 2.0.1...2.0.2

2.0.1

31 Jul 19:01
3edc165

Choose a tag to compare

What's Changed

  • Fixed: A regression that surfaced false positive perception checks in TCA applications targeting iOS 17+ has been addressed (#143).
  • Fixed: Perception checking has been further optimized to cache a check using the call stack addresses (#143).

Full Changelog: 2.0.0...2.0.1

2.0.0

30 Jul 16:57
f4f57ca

Choose a tag to compare

What's Changed

This release incorporates all upstream changes from Swift 6.2's Observation framework (#141), including:

  • Added: Perceptions, a back-port of Swift 6.2's Observations async sequence.
  • Added: @Perceptible now generates code that will de-dupe observation of equatable values that don't change.
  • Fixed: withPerceptionTracking no longer leaks when its associated object deallocates before anything is observed.

This release also includes:

  • Added: WithPerceptionTracking is now MapKit-compatible (thanks @fnazarios, #134).
  • Fixed: Perception's runtime checking performance has been improved and the isPerceptionCheckingEnabled API has been removed.
  • Fixed: WithPerceptionTracking documentation (thanks @tahirmt, #136).

New Contributors

Full Changelog: 1.6.0...2.0.0