Skip to content

Commit 7761596

Browse files
authored
feat: Kotlin 2.3.0-RC release details (#5178)
1 parent 7b82b0e commit 7761596

File tree

4 files changed

+20
-33
lines changed

4 files changed

+20
-33
lines changed

docs/kr.tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<toc-element hidden="true" topic="kotlin-tour-intermediate-libraries-and-apis.md"/>
2323
</toc-element>
2424
<toc-element toc-title="What's new in Kotlin">
25-
<toc-element toc-title="Kotlin 2.3.0-Beta2" topic="whatsnew-eap.md"/>
25+
<toc-element toc-title="Kotlin 2.3.0-RC" topic="whatsnew-eap.md"/>
2626
<toc-element toc-title="Kotlin 2.2.20" accepts-web-file-names="whatsnew.html" topic="whatsnew2220.md"/>
2727
<toc-element toc-title="Kotlin 2.2.0" topic="whatsnew22.md"/>
2828
<toc-element topic="compatibility-guide-22.md"/>

docs/topics/eap.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ In this channel, you can also get notifications about new EAP builds.
5252
<th>Build highlights</th>
5353
</tr>
5454
<tr>
55-
<td><strong>2.3.0-Beta2</strong>
56-
<p>Released: <strong>October 28, 2025</strong></p>
57-
<p><a href="https://github.com/JetBrains/kotlin/releases/tag/v2.3.0-Beta2" target="_blank">Release on GitHub</a></p>
55+
<td><strong>2.3.0-RC</strong>
56+
<p>Released: <strong>November 18, 2025</strong></p>
57+
<p><a href="https://github.com/JetBrains/kotlin/releases/tag/v2.3.0-RC" target="_blank">Release on GitHub</a></p>
5858
</td>
5959
<td>
6060
<p>A language release with previews of new features and tooling updates.</p>
61-
<p>For more details, please refer to the <a href="https://github.com/JetBrains/kotlin/releases/tag/v2.3.0-Beta2">changelog</a> or <a href="whatsnew-eap.md">What's new in Kotlin 2.3.0-Beta2</a>.</p>
61+
<p>For more details, please refer to the <a href="https://github.com/JetBrains/kotlin/releases/tag/v2.3.0-RC">changelog</a> or <a href="whatsnew-eap.md">What's new in Kotlin 2.3.0-RC</a>.</p>
6262
</td>
6363
</tr>
6464
</table>

docs/topics/whatsnew/whatsnew-eap.md

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The Kotlin %kotlinEapVersion% release is out! Here are some details of this EAP
1515

1616
* **Language**: [more stable and default features, a new checker for unused return values, and changes to context-sensitive resolution](#language).
1717
* **Kotlin/JVM**: [support for Java 25](#kotlin-jvm-support-for-java-25).
18-
* **Kotlin/Native**: [improved interop through Swift export and type checks on generic type boundaries enabled by default](#kotlin-native).
18+
* **Kotlin/Native**: [improved interop through Swift export](#kotlin-native-improved-interop-through-swift-export).
1919
* **Kotlin/Wasm**: [fully qualified names and new exception handling proposal enabled by default](#kotlin-wasm).
2020
* **Kotlin/JS**: [new experimental suspend function export and `LongArray` representation](#kotlin-js).
2121
* **Gradle**: [compatibility with Gradle 9.0 and a new API for registering generated sources](#gradle).
@@ -188,9 +188,7 @@ For details, see the full text of the current proposal in [KEEP](https://github.
188188

189189
Starting with Kotlin %kotlinEapVersion%, the compiler can generate classes containing Java 25 bytecode.
190190

191-
## Kotlin/Native
192-
193-
### Improved interop through Swift export
191+
## Kotlin/Native: improved interop through Swift export
194192
<primary-label ref="experimental-general"/>
195193

196194
Kotlin %kotlinEapVersion% further improves Kotlin interoperability with Swift through Swift export, adding support for
@@ -232,34 +230,13 @@ fun log(vararg messages: String)
232230

233231
```Swift
234232
// Swift
235-
func log(_ messages: String...)
233+
public func log(messages: Swift.String...)
236234
```
237235

238236
> Generic types in variadic function parameters are not supported yet.
239237
>
240238
{style="note"}
241239

242-
### Type checks on generic type boundaries in debug mode
243-
244-
Starting with Kotlin %kotlinEapVersion%, type checks on generic type boundaries are enabled by default in debug mode,
245-
helping you find errors related to unchecked casts earlier. This change improves safety and makes debugging of invalid
246-
generic casts more predictable across platforms.
247-
248-
Previously, unchecked casts that led to heap pollution and violation of memory safety could go unnoticed in Kotlin/Native.
249-
Now, such cases consistently fail with a runtime cast error, similar to Kotlin/JVM or Kotlin/JS. For example:
250-
251-
```kotlin
252-
fun main() {
253-
val list = listOf("hello")
254-
val x = (list as List<Int>)[0]
255-
println(x) // Now throws a ClassCastException error
256-
}
257-
```
258-
259-
This code used to print `6`; now it throws a `ClassCastException` error in debug mode, as expected.
260-
261-
For more information, see [Type checks and casts](typecasts.md).
262-
263240
## Kotlin/Wasm
264241

265242
### Fully qualified names enabled by default
@@ -462,3 +439,13 @@ mappings for some functions, please report them to the [Google IssueTracker](htt
462439
>
463440
{style="note"}
464441

442+
By default, the mapping file Gradle tasks run regardless of whether you enable the traces. If they cause problems in your
443+
build, you can disable the feature entirely. Add the following property in the `composeCompiler {}` block of your Gradle configuration:
444+
445+
```kotlin
446+
composeCompiler {
447+
includeComposeMappingFile.set(false)
448+
}
449+
```
450+
451+
Please report any problems encountered to the [Google IssueTracker](https://issuetracker.google.com/issues/new?component=610764&template=1424126).

docs/v.list

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<var name="apiVersion" value="2.1"/>
1515

1616
<!-- Kotlin EAP -->
17-
<var name="kotlinEapVersion" value="2.3.0-Beta2"/>
18-
<var name="kotlinEapReleaseDate" value="October 28, 2025"/>
17+
<var name="kotlinEapVersion" value="2.3.0-RC"/>
18+
<var name="kotlinEapReleaseDate" value="November 18, 2025"/>
1919

2020
<!-- Libraries and Frameworks -->
2121
<var name="coroutinesVersion" value="1.10.2"/>

0 commit comments

Comments
 (0)