What's Changed
- New: Kotlin 1.8.0.
- New: KSP 1.8.0-1.0.9.
- New: Support context receivers on TypeSpecs + extract ContextReceivable API (#1269).
- New: Optimize
OriginatingElements
andTagMap
implementations (#1270). - New: Auto-generate import aliases for types and members (#1355).
- New: Insert underscores into large decimal literals (#1384).
- New: New factory function
FileSpec.builder(ClassName)
(#1397). - Fix: Fix StackOverflowError when calling
KSTypeArgument.toTypeName()
for a wildcard in a recursive type bound (#1272). - Fix: Fix transitive aliases (#1306).
- Fix: Fix Aliases as TypeArgument (#1321).
- Fix: Don't escape special characters inside raw strings (#1331).
- Fix: Fix KSP interop's output of the annotation parameter value of type Char (#1338).
- Fix: Fix KSP interop's output for primitive arrays (#1340).
- Fix: Avoid emitting public if
shouldEmitPublicModifier
returns false (#1342). - Fix: Fix context receivers being rendered in an incorrect position when on a nullable/suspending
LambdaTypeName
(#1454). - Fix: Do not use
bestGuess
forKClass.asClassName
(#1469). - Fix: Handle fake nested types with platform mapped parents (#1472).
- Fix: Fix
TypeName
equals (#1477). - Fix: Make equals consistent with compareTo for
ClassName
(#1506).
New Contributors
- @popematt made their first contribution in #1272
- @bitPogo made their first contribution in #1306
- @mars885 made their first contribution in #1338
- @sjudd made their first contribution in #1344
- @Sironheart made their first contribution in #1384
- @polarene made their first contribution in #1397
- @DeoTimeTheGithubUser made their first contribution in #1454
- @drawers made their first contribution in #1477
Full Changelog: 1.12.0...1.13.0