Skip to content

Releases: google/ksp

2.0.20-Beta2-1.0.23

11 Jul 22:59
Compare
Choose a tag to compare
2.0.20-Beta2-1.0.23 Pre-release
Pre-release

KSP 1.0.23 for Kotlin compiler 2.0.20

2.0.10-RC-1.0.23

11 Jul 21:59
Compare
Choose a tag to compare
2.0.10-RC-1.0.23 Pre-release
Pre-release

KSP 1.0.23 for Kotlin 2.0.10-RC

2.0.0-1.0.23

11 Jul 19:28
Compare
Choose a tag to compare

Issues fixed

  • [KSP2] Nullable type arg type becomes non-null after replace() call #1856
  • Annotations on enum entires on K2 are missing #1962
  • Got IllegalStateException when calling replace() on error types #1960
  • [KSP2] Resolver.getJvmCheckedException doesn't work on property accessors #1900
  • [KSP2] Property getter JVM names in data classes become componentN instead of getXXX #1958
  • [KSP2] Resolver.mapToJvmSignature doesn't unwrap inline classes #1859
  • [KSP2] KSFunctionDeclaration.asMemberOf does not return correct types #1919
  • implement getOwnerJvmClassName #1979
  • [KSP2] KSPropertyDeclaration.hasBackingField returns inconsistent results #1939
  • [KSP2] Annotations on extension receivers are missing #1899

2.0.20-Beta1-1.0.22

20 Jun 18:29
Compare
Choose a tag to compare
2.0.20-Beta1-1.0.22 Pre-release
Pre-release

What's Changed

Full Changelog: 2.0.0-1.0.22...2.0.20-Beta1-1.0.22

2.0.0-1.0.22

05 Jun 22:26
Compare
Choose a tag to compare

Important Changes

  • KSErrorType.toString() now contains the reference name it was tried to be resolved, and therefore KSErrorType is no longer a singleton. Processors relying on equality checks of that (in contrast of using KSType.isError) will need to be updated accordingly.

Issues Fixed

#1908 KSP2: Calling KSP2 in programs does not appear to work on macOS or Windows
#1917 KSP2's symbol-processing-aa-embeddable artifact exposes an unresolvable pre-release kotlin 2.0.20 dependency
#1911 NoSuchMethodError when running KSP2 with Dagger (KSP 2.0.0-1.0.21)
#1909 KSP2: default annotation arguments no longer work in 1.0.21
#1232 Expose simple names on a missing types's synthetic declaration
#1857 [KSP2] Modifiers are missing for property accessors
#1924 [KSP2] Type arg becomes '*' after calling KSType.replace() with an error type
#1948 KSP2 default annotation KClass values for built-in types use java.lang.* versions

What's Changed

Full Changelog: 2.0.0-1.0.21...2.0.0-1.0.22

2.0.0-1.0.21

21 May 20:19
Compare
Choose a tag to compare

This release brings mostly bug fixes into KSP2 beta
Users are encouraged to try out KSP2 beta.

new feature

expose an API in Resolver to retrieve the module name for handling mangling of internal members #1621

issues fixed

  • Class values are missing class type in annotation values #1646
  • Kotlin Function* types reports inconsistent package and qualified names #1845
  • KSP2 cannot load Android lint checks jar due to FileTooBigException #1839
  • [KSP2] KSAnnotations with annotation properties with a default value always resolve to null #1843
  • [KSP2] Modifier.FUN is missing in functional interfaces #1853
  • [KSP2] ClassCastException when calling KSType.starProjection() on a Java field type #1735
  • [KSP2] Annotation arguments with default values are missing #1837
  • [KSP2] Intersection types are not modeled #1846
  • KSP2: Model enum entries in annotation values #1861
  • KSP2: Unknown JS backend: Wasm #1889
  • [KSP2] NullPointerException when getting arguments of annotation value #1798

2.0.0-RC3-1.0.20

13 May 18:20
Compare
Choose a tag to compare
2.0.0-RC3-1.0.20 Pre-release
Pre-release

KSP 1.0.20 for Kotlin 2.0.0-RC3

1.9.24-1.0.20

07 May 19:22
Compare
Choose a tag to compare

KSP 1.0.20 for kotlin compiler version 1.9.24

2.0.0-RC2-1.0.20

30 Apr 02:52
Compare
Choose a tag to compare
2.0.0-RC2-1.0.20 Pre-release
Pre-release

KSP 1.0.20 for Kotlin 2.0.0-RC2

2.0.0-RC1-1.0.20

10 Apr 19:14
Compare
Choose a tag to compare
2.0.0-RC1-1.0.20 Pre-release
Pre-release

KSP 1.0.20 for Kotlin 2.0.0-RC1