Skip to content

docs(kmp): Update Kotlin Multiplatform docs for 0.28.0 - #19857

Merged
buenaflor merged 4 commits into
masterfrom
docs/kmp-0.28.0
Oct 12, 2026
Merged

buenaflor merged 4 commits into
masterfrom
docs/kmp-0.28.0

Conversation

@buenaflor

@buenaflor buenaflor commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

DESCRIBE YOUR PR

Updates the Kotlin Multiplatform docs for SDK 0.28.0 (changelog: getsentry/sentry-kotlin-multiplatform#586).

0.28.0 moves to Sentry Cocoa 9, which drops CocoaPods support. The install, Gradle plugin, manual setup, and native access pages now use SwiftPM (official Kotlin SwiftPM import or spm4Kmp) instead of CocoaPods. The Gradle plugin page adds a CocoaPods migration section. Other changes:

  • New Apple minimums (iOS/tvOS 15, macOS 12, watchOS 9)
  • watchosArm32 is now a no-op target
  • New options: enablePropagateTraceparent, strictTraceContinuation, orgId

Please merge only after 0.28.0 is released, since the install snippets inject the latest released plugin version.

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.): YYYY-MM-DD
  • Other deadline: YYYY-MM-DD
  • No deadline: Not urgent, can wait up to 1 week+

PRE-MERGE CHECKLIST

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

Document the 0.28.0 changes: Sentry Cocoa is installed through SwiftPM
(official Kotlin SwiftPM import or spm4Kmp) instead of CocoaPods, Apple
deployment minimums are raised, watchosArm32 becomes a no-op target, and
new trace continuation options are available.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Copilot AI balanced review requested due to automatic review settings October 8, 2026 14:35
@vercel

vercel Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-docs Ready Ready Preview Oct 9, 2026 8:42am UTC
1 Skipped Deployment
Project Deployment Actions Updated
develop-docs Ignored Ignored Preview Oct 9, 2026 8:42am UTC

Request Review

@github-actions github-actions Bot added the Priority: Normal Docs review has no urgent deadline label Oct 8, 2026
@codeowner-assignment
codeowner-assignment Bot requested a review from a team October 8, 2026 14:36
@cursor

cursor Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

The plan checks client errors on the changed guide pages, pageload latency, and HTTP status on those URLs. An issue escalates when those pages throw new errors or when pageload latency rises above the measured band.

Monitoring in production

Services: sentry-docs.

Mention @change-monitor in a comment to update the plan.

Plan

What changed

Readers of the Kotlin Multiplatform guides now see SwiftPM as the Apple install path. The pages document SDK 0.28.0 options, Apple OS floors, and CocoaPods migration. The Compose Multiplatform getting-started install include matches that copy.

This change is live after sentry-docs deploys. The Vercel production project sentry-docs ships these MDX pages. The CD workflow maps that project to service sentry-docs.

Risk

A broken MDX include or PlatformLink can fail those pages at runtime. The Gradle plugin page added large code samples and alerts. Those can throw in the code-tab UI.

Removed CocoaPods sections can strand readers who still use CocoaPods. That install failure happens off this site.

Sibling Kotlin Multiplatform pages share the same layout. A render break can hit them too.

Intended effect

Telemetry cannot confirm the new SwiftPM copy or the 0.28.0 options. This is a docs edit. Page loads only show that the routes still resolve. They do not show the new text. Record intended effect as unknown unless someone inspects the live HTML.

Absent would look like the live Gradle and getting-started pages still teaching CocoaPods as the primary Apple install path.

Regression watch

Filter by http.url or url, not transaction. All docs page traces use transaction /:path*?. Client traces use a 0.3 sample rate. Error events are not sampled that way. Do not divide error counts by sampled pageloads.

The prior 7d window had 36 events titled Event: Event \Event` (type=error) captured as promise rejection` on these URLs. That title at low volume may be noise. A new title is a regression.

Signal Baseline Window Rule Source
Client errors on Kotlin Multiplatform and Compose Multiplatform URLs 0 events 2026-10-07T14:37:00Z to 2026-10-08T14:37:00Z Hold at 0. A new title or a rise above 0 is a regression. Sentry errors, org sentry, project docs. Query: environment:production AND (url:*kotlin-multiplatform* OR url:*compose-multiplatform*)
Kotlin Multiplatform pageload p95 3.2-5.8 s daily 2026-10-02T00:00:00Z to 2026-10-07T23:59:00Z Hold in the band. A rise above 5.8 s is a regression. Sentry spans, org sentry, project docs. Query: span.op:pageload environment:production http.url:*kotlin-multiplatform*
HTTP status on Kotlin Multiplatform URLs 352 responses at 200. 0 at 4xx or 5xx. 467 spans with no status. 2026-10-07T14:37:00Z to 2026-10-08T14:37:00Z Hold. Any 4xx or 5xx is a regression. Ignore missing status. Sentry spans, org sentry, project docs. Query: environment:production http.url:*kotlin-multiplatform* grouped by http.status_code
Kotlin Multiplatform pageload and navigation volume 17 pageloads and 13 navigations 2026-10-07T14:37:00Z to 2026-10-08T14:37:00Z Hold near this band. A fall to 0 while other docs pages still load suggests these routes failed. Sentry spans, org sentry, project docs. Query: (span.op:pageload OR span.op:navigation) environment:production http.url:*kotlin-multiplatform*

If the error rate rises, inspect code tabs and PlatformLink markup on the Gradle plugin page first.

Not observable

The live HTML that would prove SwiftPM replaced CocoaPods. Reader install success after they follow the new steps. Pageload volume on the Gradle plugin and manual-setup pages is too low to baseline. LCP is not sliced by these URLs. Compose Multiplatform traffic was 3 navigations and 0 pageloads in the 24h window, so latency there is not usable.

Get Slack DMs about this change: cursor.com/automations/rollouts

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Installation and trace-continuation guidance still misstates required configuration and native SDK behavior.

2 open findings
What changed in this PR

Updates Kotlin and Compose Multiplatform documentation for SDK 0.28.0 and its transition to Sentry Cocoa 9.

Changes:

  • Replaces CocoaPods installation guidance with SwiftPM workflows and migration instructions.
  • Updates Apple platform requirements and supported targets.
  • Documents new tracing options and Apple user-feedback behavior.
File Description
platform-includes/​getting-started-install/​kotlin.kotlin-multiplatform.mdx Updates KMP installation guidance.
platform-includes/​getting-started-install/​kotlin.compose-multiplatform.mdx Updates Compose installation guidance.
docs/​platforms/​kotlin/​guides/​kotlin-multiplatform/​user-feedback/​index.mdx Explains separate Apple feedback events.
docs/​platforms/​kotlin/​guides/​kotlin-multiplatform/​native-access-sdk.mdx Removes the CocoaPods export example.
docs/​platforms/​kotlin/​guides/​kotlin-multiplatform/​manual-setup/​index.mdx Introduces manual SwiftPM setup.
docs/​platforms/​kotlin/​guides/​kotlin-multiplatform/​features/​index.mdx Updates Apple requirements and watchOS support.
docs/​platforms/​kotlin/​guides/​kotlin-multiplatform/​configuration/​options.mdx Adds tracing configuration options.
docs/​platforms/​kotlin/​guides/​kotlin-multiplatform/​configuration/​gradle.mdx Documents Apple providers, linker settings, and migration.

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

@itaybre itaybre left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a small question

Clarify that strictTraceContinuation still continues a trace when both
organization IDs are missing, and that the option has no effect on Apple.
Tell readers who added Sentry Cocoa in Xcode to set the Apple provider to
NONE so the plugin doesn't install it twice.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@buenaflor
buenaflor merged commit baed6f9 into master Oct 12, 2026
26 checks passed
@buenaflor
buenaflor deleted the docs/kmp-0.28.0 branch October 12, 2026 09:33
@cursor

cursor Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Verified in production

  • The live Kotlin Multiplatform guides show SwiftPM.
  • The live Kotlin Multiplatform guides still show SwiftPM.

This branch was successfully deployed

1 active deployment
Preview – sentry-docs — de3316e8 Deployed Oct 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Normal Docs review has no urgent deadline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants