RepoJournal
Mobile platforms Mobile platforms
137 wires and counting

$ follow Mobile platforms

Keep up with Mobile platforms in about 3 minutes: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good read, this isn't your newsletter.

Folds into your digest — weekly by default, monthly if you prefer. Unsubscribe in one click.

$ status

wire 2026-10-04
stories 27

© 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire · showcase

Kotlin PSI mutations stop throwing outside the IDE, Swift preps @called(exactlyOnce)

By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology

Kotlin's PSI mutation methods now work without KtPsiMutationService, unbreaking standalone tools built on kotlin-compiler-embeddable, while Swift lays groundwork for stricter @called semantics.

[PSI] Support plain delete() without KtPsiMutationService JetBrains/kotlin

by Alexey Belkov

A plain `PsiElement.delete()` on any Kotlin element used to fail with "Cannot mutate Kotlin PSI because KtPsiMutationService is missing" outside the IntelliJ Kotlin plugin and Kotlin LSP, which were the only registers of that service. The overrides now fall back to platform behavior, so standalone consumers like ktlint and Analysis API Standalone can delete Kotlin PSI again.

[PSI] Support plain updateText() without KtPsiMutationService JetBrains/kotlin

by Alexey Belkov

`updateText()` on string templates and KDoc sections failed for the same missing-service reason and now mirrors the IDE implementation when nothing is registered. For text that is not a whole string literal, the IDE path still delegates to the element manipulator, which standalone environments do not have.

KT-89846 [PSI] Support platform mutation methods without KtPsiMutationService JetBrains/kotlin

by abelkov

The broader fix covers `delete()`, `replace()`, `setName()`, and `updateText()` as a group, all of which have delegated to KtPsiMutationService since KT-85052. The compiler environment used by kotlin-compiler-embeddable clients threw IllegalStateException on every one of them.

Represent `@called` execution semantics as an optional enum apple/swift

by tshortli

In preparation for adding a stricter `@called(exactlyOnce)` alongside the existing `@called(atMostOnce)`, the single `CalledOnce` bit in `ASTExtInfo` and `SILExtInfo` is replaced by a two-bit field storing an `std::optional<ExecutionSemantics>`, with a new `hasCalledAtMostOnceSemantics()` for behavior shared by both. NFC for now, but it is the shape the stricter semantics will land on.

[Sema] Fix ternary expression failing to form a C function pointer apple/swift

by powerje

A ternary expression that should form a C function pointer failed to do so because the stripped-form tie-break introduced in f3e6b4ceda5 cancelled the real subtype preference between converting the whole ternary to `@convention(c)` and converting only the function reference. The tie-break now applies only when the subtype relationship is bidirectional; spotted against the Xcode 27 beta.

[PSI] Deprecate the unused StringTemplateExpressionManipulator JetBrains/kotlin

by Alexey Belkov

`StringTemplateExpressionManipulator` is deprecated as unused, since nothing in the Kotlin or IntelliJ repositories registers it and `KtStringTemplateExpressionManipulator` is the actual element manipulator. The class is also worse than its replacement: for a single-quoted string it escapes interpolated expressions along with the literal text, breaking string literals inside them.

Quick answers

What shipped in Mobile platforms on October 4, 2026?
Kotlin's PSI mutation methods now work without KtPsiMutationService, unbreaking standalone tools built on kotlin-compiler-embeddable, while Swift lays groundwork for stricter @called semantics. In total, 18 commits and 9 pull requests landed.
Who contributed to Mobile platforms on October 4, 2026?
7 developers shipped this update, including tshortli, AnthonyLatsis, tbkka, finagolfin, powerje, ligee, and abelkov.
What were the notable Mobile platforms updates?
[PSI] Support plain delete() without KtPsiMutationService, [PSI] Support plain updateText() without KtPsiMutationService, and KT-89846 [PSI] Support platform mutation methods without KtPsiMutationService.