Skip to content

Releases: google/ksp

2.0.0-Beta4-1.0.19

07 Mar 23:19
Compare
Choose a tag to compare
2.0.0-Beta4-1.0.19 Pre-release
Pre-release

KSP 1.0.19 for Kotlin 2.0.0-Beta4

1.9.23-1.0.19

07 Mar 23:08
Compare
Choose a tag to compare

New APIs

  • #1708 SymbolProcessorEnvironment.kspVersion
  • #1707 CodeGenerator.associateWithFunctions and CodeGenerator.associateWithProperties

Issues fixed in KSP2

  • #1691 IllegalStateException: Value type not found for value
  • #1719 The order of symbols returned from Resolver.getSymbolsWithAnnotation() is different
  • #1718 Getting packageName of Kotlin types returns empty String
  • #1721 KSAnnotation packageName is an empty String for a type from a different module
  • #1722 Resolver.getDeclarationsFromPackage() returns declarations from the default package when passing in an unknown package
  • #1717 Resolver.getJvmName() returns different results for annotation args
  • #1725 asMemberOf() throws exception with a generic type without arguments
  • #1728 ClassCastException when calling KSType.replace() with empty list
  • #1713 NoClassDefFoundError for LZ4Factory when trying KSP2
  • #1665 NoClassDefFound in ksp.useKSP2=true mode
  • #1733 ABI incompatibility with kotlin-compiler-embeddable in 2.0.0-Beta4
  • #1714 Generated resources are not added to KotlinCompilation inputs
  • #1747 isCompanionObject is false for companion objects from KOTLIN_LIB
  • #1743 Incorrect type parameter variances
  • #1759 IllegalStateException when getting the modifiers from properties in a Java annotation declaration

Issues fixed in KSP Gradle Plugin

  • #1712 Analysis API artifacts have the wrong common-deps dependency
  • #1775 1.0.18 creates circular dependencies with kapt tasks
  • #1772 Update plugin com.google.devtools.ksp to v1.9.22-1.0.18 BUILD FAILED

Known issues

  • #1776 KSP2 has higher memory usage when the compile classpath is very large.

2.0.0-Beta4-1.0.17

13 Feb 21:44
Compare
Choose a tag to compare
2.0.0-Beta4-1.0.17 Pre-release
Pre-release
   2.0.0-Beta4-1.0.17

2.0.0-Beta3-1.0.17

19 Jan 22:26
Compare
Choose a tag to compare
2.0.0-Beta3-1.0.17 Pre-release
Pre-release

This release update compiler version to 2.0.0-Beta3

1.9.22-1.0.17

18 Jan 23:33
Compare
Choose a tag to compare

Issues fixed

  • Annotations missing on KSTypeArgument of typealias #1679
  • unhandled visibility: private to this #1515
  • Resolver#getJvmCheckedException results in <ERROR TYPE> when throwing type variable. #1460
  • Class annotation values with $ in name are null when used in Kotlin source #1671
  • KSP 1.9.21-1.0.15 leaking memory and causing OOMs #1653
  • KSP processing fails with Java enum #1482
  • [KSP2] Support Package annotations #1641

1.9.22-1.0.16

25 Dec 08:37
Compare
Choose a tag to compare

This is KSP 1.0.16 for Kotlin compiler 1.9.22

2.0.0-Beta2-1.0.16

19 Dec 23:30
Compare
Choose a tag to compare
2.0.0-Beta2-1.0.16 Pre-release
Pre-release
   2.0.0-Beta2-1.0.16

1.9.21-1.0.16

14 Dec 06:34
Compare
Choose a tag to compare

Issue fixed

#1653 KSP 1.9.21-1.0.15 leaking memory and causing OOMs

2.0.0-Beta1-1.0.15

28 Nov 02:54
Compare
Choose a tag to compare
2.0.0-Beta1-1.0.15 Pre-release
Pre-release

KSP 1.0.15 for Kotlin 2.0.0-Beta1

1.9.21-1.0.15

27 Nov 20:10
Compare
Choose a tag to compare

This is a hot fix to #1591 where multiple KMP projects were affected.

Issues Fixed / PRs Merged

#1591 Error: Rewrite at slice LEXICAL_SCOPE key: ANNOTATION_ENTRY old value
#1612 Filter out the -progressive compiler flag in KSP tasks
#1614 Revert back to the non-thread-local KSP compiler plugin implementation.