Releases: google/ksp
2.0.10-1.0.24
What's Changed
- UPDATE_KOTLIN_VERSION: 2.0.10 by @ting-yuan in #2022
2.0.20-RC-1.0.24
What's Changed
- UPDATE_KOTLIN_VERSION: 2.0.20-RC by @ting-yuan in #2018
Full Changelog: 2.0.10-RC2-1.0.24...2.0.20-RC-1.0.24
2.0.10-RC2-1.0.24
What's Changed
- UPDATE_KOTLIN_VERSION: 2.0.10-RC2 by @ting-yuan in #2017
Full Changelog: 2.0.0-1.0.24...2.0.10-RC2-1.0.24
2.0.0-1.0.24
What's Changed
#2013 Handle edge cases of KtAnnotated.annotations
#2009 Fix :kotlin-analysis-api:shadowJar failing on Windows
#2006 Use symbol-processing-aa-embeddable in Gradle
Bugs Fixed
#1956 IllegalAccessError in Dagger with KSP2.0.0-1.0.22 and KSP2
#1998 KSP2 version 2.0.0-1.0.23 crashes on Moshi codegen with NoSuchElementException: Collection contains no element matching the predicate.
Full Changelog: e880744...c63864c
1.9.25-1.0.20
KSP 1.0.20 for Kotlin 1.9.25
2.0.20-Beta2-1.0.23
KSP 1.0.23 for Kotlin compiler 2.0.20
2.0.10-RC-1.0.23
KSP 1.0.23 for Kotlin 2.0.10-RC
2.0.0-1.0.23
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
What's Changed
- UPDATE_KOTLIN_VERSION: 2.0.20-Beta1 by @ting-yuan in #1975
Full Changelog: 2.0.0-1.0.22...2.0.20-Beta1-1.0.22
2.0.0-1.0.22
Important Changes
KSErrorType.toString()now contains the reference name it was tried to be resolved, and thereforeKSErrorTypeis no longer a singleton. Processors relying on equality checks of that (in contrast of usingKSType.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
- Include type hint into KSErrorType. by @Jeffset in #1848
- Implement Resolver.getModuleName API by @ZacSweers in #1847
- Patch AA service files in renamed uber jar by @ting-yuan in #1867
- fix annotation default value parsing for arrays and class literals. by @neetopia in #1871
- fix package name for library based symbols by @neetopia in #1873
- Do not index classpath in declaration provider by @ting-yuan in #1870
- check functional interface for modifiers by @neetopia in #1872
- Annotation default java by @neetopia in #1879
- fix type parameter bounds by @neetopia in #1880
- Add command line parser and entry points by @ting-yuan in #1885
- KSP2: Fix support of wasm by @ting-yuan in #1888
- Return KSClassDeclarationEnumEntryImpl for enum entry annotation values. by @neetopia in #1881
- Reuse Kotlin indexes in incremental providers by @ting-yuan in #1891
- special handling for java property accessors override checking by @neetopia in #1894
- KSP2: Reuse Java indexes by @ting-yuan in #1895
- Incremental: fix roots from getSealedSubclasses by @ting-yuan in #1893
- use safe cast for annotation type to declaration resolution by @neetopia in #1902
Full Changelog: 2.0.0-1.0.21...2.0.0-1.0.22