Repository navigation
chore!: raise minimum iOS deployment target to 15 - #89
Conversation
posthog-ios 4.0 requires iOS 15. Raise the SDK's SwiftPM deployment target (and the sample's) so the posthog-ios 4.0 upgrade is a version-pin change only.
|
# Conflicts: # posthog-kmp/build.gradle.kts
dustinbyrne
left a comment
There was a problem hiding this comment.
Review recommendation: approve. Producer configuration and generated linkage manifests consistently declare iOS 15, and Kotlin 2.4.20 serializes this setting into publication metadata. The breaking minor release fits the documented pre-1.0 policy. Coordinate the planned installation-docs update with publication; the future native 4.0 upgrade still needs its own compatibility review. No findings.
Static source review, official version-pinned Kotlin source, and existing CI only; no tests run locally. Human-driven, agent-assisted review.
dustinbyrne
left a comment
There was a problem hiding this comment.
Approved following the completed source review.
Human-driven, agent-assisted review.
💡 Motivation and Context
posthog-ios 4.0 raises its minimum iOS to 15 (PostHog/posthog-ios#876). KMP can't adopt it while its own floor is 13, so this raises the floor first. The 4.0 upgrade later is then just a pin change in
libs.versions.toml.This is breaking for apps that target iOS 13 or 14: their builds will fail until they raise their deployment target. KMP is pre-1.0, so it ships as 0.7.0 (minor) and is marked breaking in the changelog.
Device impact is effectively zero. In a one-day sample of
posthog-kmpiOS events, the lowest iOS version was 17.💚 How did you test it?
./gradlew :posthog-kmp:iosSimulatorArm64Testpasses..iOS("15.0").📝 Checklist
If releasing new changes
pnpm changeto generate a change intent file🤖 Agent context
Autonomy: Human-driven (agent-assisted)
iosMinimumDeploymentTargetis already 15.0, but the explicit setting stays so that a future Kotlin upgrade can't silently raise the SDK's floor.contents/docs/libraries/kmp/index.mdxwhen this ships.🤖 Generated with Claude Code