Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.8.10-1.0.9
->2.0.20-1.0.25
1.8.10-1.0.9
->2.0.20-1.0.25
Release Notes
google/ksp (com.google.devtools.ksp)
v2.0.20-1.0.25
Compare Source
Bugs Fixed
Inlined JVM name is not correct #1493
[KSP2] NullPointerException when getting name of nested annotation #1963
[KSP2] The status was unresolved for FirSimpleFunctionImpl #1938
[KSP2] Class values in type annotations get resolved to error type #1933
[KSP2] Comparing KSType leads to exception #1918
[KSP2] Can't find values in repeatable annotations #1883
incremental: aggregating outputs should always be invalidated #2027
[KSP2] Not yet implemented: KSValueArgumentLiteImpl.getLocation #2048
[KSP2] Not yet implemented: KSValueArgumentImpl.getParent #2049
getSymbolsWithAnnotation returns copy function from data class #1996
[KSP2] Annotations got use-site target when there are none specified #1882
getting null pointer exception #1929
[KSP2] Calling getDeclarationsInSourceOrder throws KotlinIllegalStateExceptionWithAttachments #1930
[KSP2] A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction #1941
KSP2: Resolver.getJvmNames doesn't work for inline and internal classes #1640
kspCaches don't work together with Gradle build cache #2042
Contributors
Thank you so much! @ansman, @kuanyingchou
Full Changelog: google/ksp@2.0.20-1.0.24...2.0.20-1.0.25
v2.0.20-1.0.24
Compare Source
What's Changed
v2.0.10-1.0.24
Compare Source
What's Changed
v2.0.0-1.0.24
Compare Source
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: google/ksp@e880744...c63864c
v2.0.0-1.0.23
Compare Source
Issues fixed
v2.0.0-1.0.22
Compare Source
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
Full Changelog: google/ksp@2.0.0-1.0.21...2.0.0-1.0.22
v2.0.0-1.0.21
Compare Source
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
v1.9.25-1.0.20
Compare Source
KSP 1.0.20 for Kotlin 1.9.25
v1.9.24-1.0.20
Compare Source
KSP 1.0.20 for kotlin compiler version 1.9.24
v1.9.23-1.0.20
Compare Source
KSP1 issues fixed
KSP2 issues fixed
v1.9.23-1.0.19
New APIs
SymbolProcessorEnvironment.kspVersion
CodeGenerator.associateWithFunctions
andCodeGenerator.associateWithProperties
Issues fixed in KSP2
Issues fixed in KSP Gradle Plugin
Known issues
v1.9.22-1.0.17
Compare Source
Issues fixed
Resolver#getJvmCheckedException
results in<ERROR TYPE>
when throwing type variable. #1460$
in name arenull
when used in Kotlin source #1671v1.9.22-1.0.16
Compare Source
This is KSP 1.0.16 for Kotlin compiler 1.9.22
v1.9.21-1.0.16
Compare Source
Issue fixed
#1653 KSP 1.9.21-1.0.15 leaking memory and causing OOMs
v1.9.21-1.0.15
Compare Source
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.
v1.9.20-1.0.14
Compare Source
issues fixed
v1.9.20-1.0.13
Compare Source
Bumping Kotlin to 1.9.20 for KSP 1.0.13.
v1.9.10-1.0.13
Compare Source
KSP 1.0.13 for kotlin compiler version 1.9.10
v1.9.0-1.0.13
Compare Source
Issues fixed
v1.9.0-1.0.12
Compare Source
Issues Fixed
The complete list of issues fixed in this release can be found here.
Other Notable Changes
While there is still no direct model of package elements, the following APIs in
Resolver
are added to better support the operations around packages:fun getPackageAnnotations(packageName: String): Sequence<KSAnnotation>
fun getPackagesWithAnnotation(annotationName: String): Sequence<String>
Contributors
Thank you for the PRs!
@cdsap
@damianw
@danysantiago
@lukellmann
@ribafish
v1.9.0-1.0.11
Compare Source
v1.8.22-1.0.11
: ReleaseCompare Source
v1.8.21-1.0.11
: ReleaseCompare Source
Bump Kotlin Compiler to 1.8.21 for 1.0.11 release
v1.8.20-1.0.11
: ReleaseCompare Source
Issues fixed
Incremental compilation fails with "Number of loaded files in snapshots differs" #1280
v1.8.20-1.0.10
Compare Source
New Features
KSP can now be run with K2 compiler frontend.
Issues fixed
Known issue
There is a known issue with incremental with this release #1280 from compiler update, we are working on a hotfix release to address this, if you are impacted by this issue, please try to disable incremental or hold on for hotfix release.
Contributors
Thanks for your contributions!
@larryxiao625
@ansman
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.