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'sObservations
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
- @fnazarios made their first contribution in #134
- @tahirmt made their first contribution in #136
Full Changelog: 1.6.0...2.0.0