Releases: PostHog/posthog-ios
Releases · PostHog/posthog-ios
3.48.2
3.48.1
Patch Changes
- 3545320: fix: guard swizzled layoutSublayers to handle background thread calls
- 061cb44: Replace ReadWriteLock with NSLock for consistent thread-safety across the codebase. The ReadWriteLock property wrapper provided false thread-safety for collection types since the lock was released between separate operations. Using explicit NSLock with
.withLockclosures ensures atomic operations and clearer intent. - ac76d70: fix: clear in-memory feature flags cache on reset()
3.48.0
3.47.0
3.46.0
Minor Changes
- 1f987f4: Add ObjC convenience overloads for captureException methods without requiring properties parameter
- 20ba9dc: Flush event queue when the app enters background to ensure pending events are sent before the app is suspended
- 6f65947: Capture
$feature_flag_calledevent when session replay is gated behind a linked feature flag
3.45.2
3.45.1
3.45.0
3.44.0
3.43.0
Breaking Changes
Surveys on iOS now support a schedule of Always, meaning surveys may appear every time the display conditions are met.
If your survey has no other display conditions, this could result in surveys displaying repeatedly for your users.
Minor Changes
- d85e393: feat: support 'always' survey schedule
Patch Changes
- 4a8496c: fix: queue pending feature flags reload instead of dropping concurrent requests