Skip to content

Releases: PostHog/posthog-ios

3.41.2

19 Feb 17:20

Choose a tag to compare

Patch Changes

  • 9b67e4c: test new release process

3.41.1

12 Feb 07:44
1ba3e86

Choose a tag to compare

  • fix: Session Replay now correctly checks the network_timing flag in remote config when capturePerformance is an object (#470)

3.41.0

10 Feb 07:43
5afb749

Choose a tag to compare

  • feat: session replay config sessionReplayConfig.captureLogs and sessionReplayConfig.captureNetworkTelemetry now respect project settings (#452)

    Note: requires PostHogConfig.remoteConfig to be enabled (default)

  • fix: prevent crashes from non JSON-serializable property types (Date, URL, Data, infinity, NaN, etc.) (#466)
  • feat: add $is_testflight and $is_sideloaded event properties (#443)

3.40.0

05 Feb 19:20
1783865

Choose a tag to compare

  • feat: Add getFeatureFlagResult method to client (#455)

⚠️ Warning: This version contains a crash when using setPersonProperties with non-JSON-serializable types like Date in properties. Please upgrade to the next version.

3.39.0

03 Feb 12:24
43e3516

Choose a tag to compare

  • feat: add setPersonProperties method to update person profile properties (#441)
  • fix: do not capture $set events if user props have not changed (#441)

3.38.0

22 Jan 23:07
d16f883

Choose a tag to compare

  • chore: support new surveys color options for ios+flutter (#440)
  • feat: support thumbs up/down surveys for ios (#437)
  • fix: Retain cached flags when quota limited (#438)
  • Renamed evaluationEnvironments to evaluationContexts for clearer semantics (#434). The term "contexts" better reflects that this feature is for specifying evaluation contexts (e.g., "web", "mobile", "checkout") rather than deployment environments (e.g., "staging", "production").
  • The API now sends evaluation_contexts instead of evaluation_environments to the server.

Deprecated

  • PostHogConfig.evaluationEnvironments is now deprecated in favor of PostHogConfig.evaluationContexts. The old property will continue to work and will print a deprecation warning. It will be removed in a future major version.

Migration Guide

// Before
config.evaluationEnvironments = ["production", "web", "checkout"]

// After
config.evaluationContexts = ["production", "web", "checkout"]

No immediate action required - existing code using evaluationEnvironments will continue to work with a deprecation warning.

3.37.2

09 Jan 15:46
6d1186f

Choose a tag to compare

  • fix: remove person processing requirements for flag property overrides (#431)

3.37.1

06 Jan 19:56
3f80c96

Choose a tag to compare

  • fix: parse $app_build as integer when possible (#423)
  • fix: macOS device name now uses hardware model instead of hostname to avoid blocking DNS lookups (#422)

3.37.0

30 Dec 16:07
6146a9f

Choose a tag to compare

  • feat: add ability to override sendFeatureFlagEvent for exact feature flag call (#396)

3.36.2

19 Dec 12:15
cfbae6b

Choose a tag to compare

  • fix: SwiftUI view modifiers .postHogMask() and .postHogNoMask() on iOS 26 (#415)