Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ksp to v1.9.25-1.0.20 #811

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update ksp to v1.9.25-1.0.20 #811

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 29, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.devtools.ksp (source) 1.7.20-1.0.6 -> 1.9.25-1.0.20 age adoption passing confidence
com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin (source) 1.7.20-1.0.6 -> 1.9.25-1.0.20 age adoption passing confidence

Release Notes

google/ksp (com.google.devtools.ksp)

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
  • performance optimization for certain workload consists of heavy Java files, including
    • Replace IdKey's impl with identityHashCode #​1804
    • Cache enclosed descriptors by name #​1808
  • Add excludedSources to the KSP extension object #​1793 thanks to @​bitspittle
KSP2 issues fixed
  • NoClassDefFoundError for LZ4Factory when trying KSP2 #​1713
  • Calling KSType.replace() with original arguments results in #​1807
  • Static fields in base class appear in derived classes #​1744
  • fix backing field checking for top level callables
  • support sealed inheritors lookup.
  • support type alias for getSymbolsWithAnnotation
  • support more types for reference elements

v1.9.23-1.0.19

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.

v1.9.22-1.0.17

Compare Source

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

v1.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
  • #​1474 Unresolvable types in annotation value are incorrectly displayed as null values instead of error types.
  • #​1522 KspTaskNative is not configuration cacheable
  • #​1554 KSP Incremental Processing: Removing a file does not remove transitively generated files
  • #​1555 KSP Incremental Processing: Clean source files should have generated output cache accessible via Resolver.
  • #​1568 KSP resolves dependencies too early

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
  • Fixed an issue in KSP Gradle plugin where KMP source set is not set correctly.
  • Fixed an issue in incremental building where timestamp for generated java sources are incorrect.

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: Release

Compare Source

v1.8.21-1.0.11: Release

Compare Source

Bump Kotlin Compiler to 1.8.21 for 1.0.11 release

v1.8.20-1.0.11: Release

Compare 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.

  • note that KSP itself still runs in old frontend implementation as its own task, there might be some behavior differences with new compiler frontend (e.g. you might get different type resolution results)

Issues fixed

  • KSP up-to-date after changing processor code #​1308
  • Java annotation array type value in java will break getAnnotationsByType #​1329
  • Gradle configuration warning: "Configuration is both resolvable/consumable or consumable/declarable #​1293
  • Defer resolution of processor classpath #​1294

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

v1.8.10-1.0.9

Compare Source

v1.8.0-1.0.9

Compare Source

New Features

  • Supported definitely non null type
    • Added corresponding KSDefNonNullReference for definitely non null types.
    • If you are implementing KSVisitor directly, you need to override visitDefNonNullReference in your visitor as well.
  • excludedProcessors is added to Gradle extensions to allow excluding certain processors.
  • Any? is added to unbounded type parameters

Issues fixed

  • Incremental compilation fails with "Number of loaded files in snapshots differs" #​1280
  • Type T & Any can't be analyzed even in the latest version. #​1127
  • Can't differentiate between @​A(int.class) and @​A(Integer.class) #​870
  • Non-embeddable compiler JAR compilations are broken in 1.0.7 #​1155
  • Need a way to specify and exclude processors #​1234
  • Bug of KSPropertyDeclaration.findOverridee() #​1182
  • KSTypeParameter#bounds returns when the bounds is another type parameter #​1250
  • Resolved KSTypeParameter doesn't equal the source #​971

Contributors

Thanks for your contributions!
@​3flex
@​danysantiago

v1.8.0-1.0.8

Compare Source

KSP 1.0.8 for Kotlin 1.8.0.

v1.7.22-1.0.8

Compare Source

KSP 1.0.8 for Kotlin 1.7.22

v1.7.21-1.0.8

Compare Source

KSP 1.0.8 for Kotlin 1.7.21

v1.7.20-1.0.8

Compare Source

Issues Fixed
  • fixed nested java class resolution for more cases.
  • #​1153 isMutable is always true for fields in Java source
  • K/N: fix duplicated compilation
contributors

@​cdsap
@​3flex

v1.7.20-1.0.7

Compare Source

Behavior Changes

blockOtherPlugins is on by default. The old behavior (allowing other plugins to be loaded in KSP's Gradle task) is deprecated and will be removed in the future.

New Features

#​1041 A new CodeGenerator.createFile method with more flexibility

Issues Fixed

#​167 nullability for java sources ignores annotations
#​897 Compatibility with Kotlin/Native compiler plugins
#​974 Exceptions are swallowed when using withCompilation flag
#​985 No "kotlin.ExtensionFunctionType" annotation on functional types with receivers
#​989 NoSuchElementException when getting a default argument of the inner annotation type
#​997 Incremental KSP fails in Java/Kotlin mixed module
#​1011 Generic TypeAliases Parameter are not consistent resolved
#​1034 After updating to KSP 1.7.0, Missing information occurs in some cases that are configured in Java.
#​1039 Support class extraction provided by annotation
#​1063 Memory leak: org.sqlite.JDBC holds classloader of KSP

Contributors

Thank you for the pull requests!
@​Jeffset
@​midery
@​jameskleeh
@​Bencodes
@​heli-os


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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/ksp branch 5 times, most recently from 95836e1 to 809618c Compare October 6, 2022 00:24
@renovate renovate bot force-pushed the renovate/ksp branch 2 times, most recently from 7251a96 to de50aca Compare October 13, 2022 22:31
@renovate renovate bot changed the title Update ksp to v1.7.20-1.0.6 Update ksp to v1.7.20-1.0.7 Oct 13, 2022
@renovate renovate bot changed the title Update ksp to v1.7.20-1.0.7 Update ksp to v1.7.20-1.0.8 Nov 4, 2022
@renovate renovate bot changed the title Update ksp to v1.7.20-1.0.8 Update ksp to v1.7.21-1.0.8 Nov 9, 2022
@renovate renovate bot force-pushed the renovate/ksp branch 2 times, most recently from b140701 to f626b53 Compare November 16, 2022 07:54
@renovate renovate bot changed the title Update ksp to v1.7.21-1.0.8 Update ksp to v1.7.22-1.0.8 Nov 28, 2022
@renovate renovate bot changed the title Update ksp to v1.7.22-1.0.8 Update ksp to v1.8.0-1.0.8 Dec 29, 2022
@renovate renovate bot changed the title Update ksp to v1.8.0-1.0.8 Update ksp to v1.8.10-1.0.9 Mar 16, 2023
@renovate renovate bot changed the title Update ksp to v1.8.10-1.0.9 Update ksp to v1.8.20-1.0.10 Apr 3, 2023
@renovate renovate bot changed the title Update ksp to v1.8.20-1.0.10 Update ksp to v1.8.20-1.0.11 Apr 18, 2023
@renovate renovate bot changed the title Update ksp to v1.8.20-1.0.11 Update ksp to v1.8.21-1.0.11 May 28, 2023
@renovate renovate bot changed the title Update ksp to v1.8.21-1.0.11 Update ksp to v1.8.22-1.0.11 Jun 8, 2023
@renovate renovate bot changed the title Update ksp to v1.8.22-1.0.11 Update ksp to v1.9.0-1.0.11 Jul 6, 2023
@renovate renovate bot changed the title Update ksp to v1.9.0-1.0.12 Update ksp to v1.9.0-1.0.13 Aug 2, 2023
@renovate renovate bot changed the title Update ksp to v1.9.0-1.0.13 Update ksp to v1.9.10-1.0.13 Aug 24, 2023
@renovate renovate bot changed the title Update ksp to v1.9.10-1.0.13 Update dependency com.google.devtools.ksp to v1.9.10-1.0.13 Sep 28, 2023
@renovate renovate bot changed the title Update dependency com.google.devtools.ksp to v1.9.10-1.0.13 Update dependency com.google.devtools.ksp to v1.9.20-1.0.13 Nov 1, 2023
@renovate renovate bot changed the title Update dependency com.google.devtools.ksp to v1.9.20-1.0.13 Update dependency com.google.devtools.ksp to v1.9.20-1.0.14 Nov 3, 2023
@renovate renovate bot changed the title Update dependency com.google.devtools.ksp to v1.9.20-1.0.14 Update dependency com.google.devtools.ksp to v1.9.21-1.0.15 Nov 28, 2023
@renovate renovate bot changed the title Update dependency com.google.devtools.ksp to v1.9.21-1.0.15 Update ksp to v1.9.21-1.0.15 Dec 3, 2023
@renovate renovate bot changed the title Update ksp to v1.9.21-1.0.15 Update ksp to v1.9.21-1.0.16 Dec 14, 2023
@renovate renovate bot changed the title Update ksp to v1.9.21-1.0.16 Update ksp to v1.9.22-1.0.16 Dec 25, 2023
@renovate renovate bot changed the title Update ksp to v1.9.22-1.0.16 Update ksp to v1.9.22-1.0.17 Jan 19, 2024
@renovate renovate bot changed the title Update ksp to v1.9.22-1.0.17 Update ksp to v1.9.22-1.0.18 Feb 29, 2024
@renovate renovate bot changed the title Update ksp to v1.9.22-1.0.18 Update ksp to v1.9.23-1.0.19 Mar 8, 2024
@renovate renovate bot changed the title Update ksp to v1.9.23-1.0.19 Update ksp to v1.9.23-1.0.20 Apr 5, 2024
@renovate renovate bot changed the title Update ksp to v1.9.23-1.0.20 Update ksp to v1.9.24-1.0.20 May 7, 2024
@renovate renovate bot changed the title Update ksp to v1.9.24-1.0.20 Update ksp to v1.9.25-1.0.20 Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants