Releases: pointfreeco/swift-perception
Releases · pointfreeco/swift-perception
2.0.9
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
- @KhoraLee made their first contribution in #164
- @robmaceachern made their first contribution in #165
Full Changelog: 2.0.8...2.0.9
2.0.8
2.0.7
What's Changed
- Optimized: Wrap
@Perception.Bindablesetter in perception checking task local to improve performance (#162).
Full Changelog: 2.0.6...2.0.7
2.0.6
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
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
What's Changed
- Fixed: Disfavor
WithPerceptionTracking.initwith charts builder to avoid potential Xcode bug (#151).
Full Changelog: 2.0.3...2.0.4
2.0.3
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
What's Changed
- Fixed: Bring back
isPerceptionCheckingEnabledconfiguration 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
@Perceptibledeprecation to *OS 26 (thanks @rcarver, #145). This makes forthcoming@Observableenhancements (likeshouldNotifyObservers) available to *OS <26 today.
New Contributors
Full Changelog: 2.0.1...2.0.2
2.0.1
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
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'sObservationsasync sequence. - Added:
@Perceptiblenow generates code that will de-dupe observation of equatable values that don't change. - Fixed:
withPerceptionTrackingno longer leaks when its associated object deallocates before anything is observed.
This release also includes:
- Added:
WithPerceptionTrackingis now MapKit-compatible (thanks @fnazarios, #134). - Fixed: Perception's runtime checking performance has been improved and the
isPerceptionCheckingEnabledAPI has been removed. - Fixed:
WithPerceptionTrackingdocumentation (thanks @tahirmt, #136).
New Contributors
- @fnazarios made their first contribution in #134
- @tahirmt made their first contribution in #136
Full Changelog: 1.6.0...2.0.0