Sourced from com.google.devtools.ksp's releases.
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 google/ksp#1848- Implement Resolver.getModuleName API by
@ZacSweers
in google/ksp#1847- Patch AA service files in renamed uber jar by
@ting-yuan
in google/ksp#1867- fix annotation default value parsing for arrays and class literals. by
@neetopia
in google/ksp#1871- fix package name for library based symbols by
@neetopia
in google/ksp#1873- Do not index classpath in declaration provider by
@ting-yuan
in google/ksp#1870- check functional interface for modifiers by
@neetopia
in google/ksp#1872- Annotation default java by
@neetopia
in google/ksp#1879- fix type parameter bounds by
@neetopia
in google/ksp#1880- Add command line parser and entry points by
@ting-yuan
in google/ksp#1885- KSP2: Fix support of wasm by
@ting-yuan
in google/ksp#1888- Return KSClassDeclarationEnumEntryImpl for enum entry annotation values. by
@neetopia
in google/ksp#1881- Reuse Kotlin indexes in incremental providers by
@ting-yuan
in google/ksp#1891- special handling for java property accessors override checking by
@neetopia
in google/ksp#1894- KSP2: Reuse Java indexes by
@ting-yuan
in google/ksp#1895- Incremental: fix roots from getSealedSubclasses by
@ting-yuan
in google/ksp#1893- use safe cast for annotation type to declaration resolution by
@neetopia
in google/ksp#1902Full Changelog: https://github.com/google/ksp/compare/2.0.0-1.0.21...2.0.0-1.0.22
1ac3fd8
CI: auto-merge: rebase again before push414d37a
CI: enable manual triggereaf9f7a
map java types to kotlin types when parsing annotation class reference
values893a784
Update ksp2entrypoints.md0c63983
Update ksp2entrypoints.mdf08bc85
DeclarationProvider: skip builtins when possible.76bf45d
Make originalAnnotations lazye34a635
fix property accessor modifier logic82871d8
Provide more hints for error types.c77e170
#1232:
Include type hint into KSErrorType.