2.0.0-1.0.22
Important Changes
KSErrorType.toString()
now contains the reference name it was tried to be resolved, and thereforeKSErrorType
is 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