Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 24, 2025

Bumps plugin.spring from 2.1.10 to 2.1.20.

Release notes

Sourced from plugin.spring's releases.

Kotlin 2.1.20

Changelog

Analysis API

Fixes

  • KT-68198 Analysis API: Support application service registration in plugin XMLs
  • KT-57733 Analysis API: Use optimized ModuleWithDependenciesScopes in combined symbol providers
  • KT-73156 AA: type retrieval for erroneous typealias crashes
  • KT-71907 K2 debugger evaluator failed when cannot resolve unrelated annotation
  • KT-69128 K2 IDE: "Unresolved reference in KDoc" reports existing Java class in reference to its own nested class
  • KT-71613 KaFirPsiJavaTypeParameterSymbol cannot be cast to KaFirTypeParameterSymbol
  • KT-71741 K2 IDE. Classifier was found in KtFile but was not found in FirFile in libraries/tools/kotlin-gradle-plugin-integration-tests/build.gradle.kts in kotlin.git and broken analysis
  • KT-71942 Need to rethrow Intellij Platform exceptions, like ProcessCanceledException
  • KT-70949 Analysis API: "containingDeclaration" does not work on nested Java classes in K2 implementation
  • KT-69736 K2 IDE: False positive resolution from KDoc for value
  • KT-69047 Analysis API: Unresolved KDoc reference to extensions with the same name
  • KT-70815 Analysis API: Implement stop-the-world session invalidation
  • KT-69630 KAPT User project builds with KAPT4 enabled fail with Metaspace overflow

Analysis API. Code Compilation

  • KT-71263 K2 evaluator: Error in evaluating self property with extension receiver

Analysis API. FIR

Performance Improvements

  • KT-72025 FileStructureElement: reduce redundant resolve
  • KT-74012 Redundant FirAbstractBodyResolveTransformerDispatcher.<init> CPU consumption
  • KT-73900 ContextCollectorVisitor#computeContext may spend significant time on createSnapshot
  • KT-73665 FirElementFinder is inefficient in large files
  • KT-73330 Remove bodies from functions without contracts after the CONTRACTS phase
  • KT-73017 Analysis API: FirReferenceResolveHelper.getSymbolsByResolvedImport searches for classes even when the selected FqName is a known package

Fixes

  • KT-72308 getOrBuildFir returns null for this expression for plusAssign operator
  • KT-72660 ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValue
  • KT-74097 ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValue
  • KT-74098 ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValue
  • KT-72148 K2: KISEWA: Expected FirResolvedArgumentList for FirAnnotationCallImpl of FirValueParameterImpl(DataClassMember) but FirArgumentListImpl found
  • KT-73079 K2: Internal compiler error when conflicting type aliases are present
  • KT-73456 Expected FirResolvedContractDescription but FirRawContractDescriptionImpl found for FirSimpleFunctionImpl
  • KT-73259 Expected FirResolvedContractDescription but FirLegacyRawContractDescriptionImpl found for FirSimpleFunctionImpl
  • KT-72740 FirDanglingModifierList: lazyResolveToPhase(STATUS) cannot be called from a transformer with a phase STATUS
  • KT-66132 K2: FirRegularClass expected, but FirFileImpl found | Containing declaration is not found
  • KT-72196 K2. KMP. IllegalStateException: expect-actual matching is only possible for code with sources
  • KT-72652 FirProvider#getContainingClass should support FirDanglingModifierSymbol

... (truncated)

Changelog

Sourced from plugin.spring's changelog.

2.1.20

Analysis API

Fixes

  • KT-68198 Analysis API: Support application service registration in plugin XMLs
  • KT-57733 Analysis API: Use optimized ModuleWithDependenciesScopes in combined symbol providers
  • KT-73156 AA: type retrieval for erroneous typealias crashes
  • KT-71907 K2 debugger evaluator failed when cannot resolve unrelated annotation
  • KT-69128 K2 IDE: "Unresolved reference in KDoc" reports existing Java class in reference to its own nested class
  • KT-71613 KaFirPsiJavaTypeParameterSymbol cannot be cast to KaFirTypeParameterSymbol
  • KT-71741 K2 IDE. Classifier was found in KtFile but was not found in FirFile in libraries/tools/kotlin-gradle-plugin-integration-tests/build.gradle.kts in kotlin.git and broken analysis
  • KT-71942 Need to rethrow Intellij Platform exceptions, like ProcessCanceledException
  • KT-70949 Analysis API: "containingDeclaration" does not work on nested Java classes in K2 implementation
  • KT-69736 K2 IDE: False positive resolution from KDoc for value
  • KT-69047 Analysis API: Unresolved KDoc reference to extensions with the same name
  • KT-70815 Analysis API: Implement stop-the-world session invalidation
  • KT-69630 KAPT User project builds with KAPT4 enabled fail with Metaspace overflow

Analysis API. Code Compilation

  • KT-71263 K2 evaluator: Error in evaluating self property with extension receiver

Analysis API. FIR

Performance Improvements

  • KT-72025 FileStructureElement: reduce redundant resolve
  • KT-74012 Redundant FirAbstractBodyResolveTransformerDispatcher.<init> CPU consumption
  • KT-73900 ContextCollectorVisitor#computeContext may spend significant time on createSnapshot
  • KT-73665 FirElementFinder is inefficient in large files
  • KT-73330 Remove bodies from functions without contracts after the CONTRACTS phase
  • KT-73017 Analysis API: FirReferenceResolveHelper.getSymbolsByResolvedImport searches for classes even when the selected FqName is a known package

Fixes

  • KT-72308 getOrBuildFir returns null for this expression for plusAssign operator
  • KT-72660 ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValue
  • KT-74097 ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValue
  • KT-74098 ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValue
  • KT-72148 K2: KISEWA: Expected FirResolvedArgumentList for FirAnnotationCallImpl of FirValueParameterImpl(DataClassMember) but FirArgumentListImpl found
  • KT-73079 K2: Internal compiler error when conflicting type aliases are present
  • KT-73456 Expected FirResolvedContractDescription but FirRawContractDescriptionImpl found for FirSimpleFunctionImpl
  • KT-73259 Expected FirResolvedContractDescription but FirLegacyRawContractDescriptionImpl found for FirSimpleFunctionImpl
  • KT-72740 FirDanglingModifierList: lazyResolveToPhase(STATUS) cannot be called from a transformer with a phase STATUS
  • KT-66132 K2: FirRegularClass expected, but FirFileImpl found | Containing declaration is not found
  • KT-72196 K2. KMP. IllegalStateException: expect-actual matching is only possible for code with sources
  • KT-72652 FirProvider#getContainingClass should support FirDanglingModifierSymbol
  • KT-73105 Lazy resolve contract violation (BODY_RESOLVE from BODY_RESOLVE)

... (truncated)

Commits
  • 658a201 Add ChangeLog for 2.1.20-RC3
  • b2dfd94 [FIR] Fix a false negative SUPER_CALL_WITH_DEFAULT_PARAMETERS
  • 982a4ef [FIR] Reproduce ^KT-75578
  • 173e94a Fix CMP-7747
  • dbed512 CMP-7571: keep the calls to public $stable fields (in K1 klibs) as is
  • e7e183f CMP-7571: merge two findDeclaration calls into one
  • 0c8b50d CMP-7571: improve signature generation for an artificial stability getter
  • cb387d5 CMP-7571: add signatures to artifical stability getters
  • f17e609 Avoid multiple finalizations of generalConfigurationMetrics
  • 45e81bb Edit ChangeLog for 2.1.20-RC2
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Mar 24, 2025
@qodo-code-review
Copy link

Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here.

CI Feedback 🧐

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: build

Failed stage: Build with Gradle [❌]

Failed test name: SubscriptionTest.testMessages()

Failure summary:

The build failed because of a failing test in the test suite. Specifically:

  • The test testMessages() in SubscriptionTest failed with an assertion error at line 59 in
    SubscriptionTest.kt
  • The test failure caused the Gradle test task to fail, which in turn caused the entire build to fail
  • There were 2 tests completed in total, with 1 failing

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    138:  Creating settings.xml with server-id: github
    139:  Writing to /home/runner/.m2/settings.xml
    140:  ##[group]Run cd  dgs-subscription-ws
    141:  �[36;1mcd  dgs-subscription-ws�[0m
    142:  �[36;1mchmod +x gradlew�[0m
    143:  �[36;1m./gradlew build       �[0m
    144:  shell: /usr/bin/bash -e {0}
    145:  env:
    146:  JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.6-7/x64
    147:  JAVA_HOME_21_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.6-7/x64
    148:  ##[endgroup]
    149:  Downloading https://services.gradle.org/distributions/gradle-8.12-bin.zip
    150:  .............10%.............20%.............30%.............40%.............50%.............60%.............70%.............80%.............90%.............100%
    151:  Welcome to Gradle 8.12!
    152:  Here are the highlights of this release:
    153:  - Enhanced error and warning reporting with the Problems API
    154:  - File-system watching support on Alpine Linux
    155:  - Build and test Swift 6 libraries and apps
    156:  For more details see https://docs.gradle.org/8.12/release-notes.html
    157:  Starting a Gradle Daemon (subsequent builds will be faster)
    158:  > Task :checkKotlinGradlePluginConfigurationErrors SKIPPED
    159:  > Task :generateJava
    ...
    
    166:  > Task :classes
    167:  > Task :resolveMainClassName
    168:  > Task :bootJar
    169:  > Task :jar
    170:  > Task :assemble
    171:  > Task :compileTestKotlin
    172:  w: Opt-in requirement marker kotlinx.coroutines.ExperimentalCoroutinesApi is unresolved. Please make sure it's present in the module dependencies
    173:  w: file:///home/runner/work/spring-graphql-sample/spring-graphql-sample/dgs-subscription-ws/src/test/kotlin/com/example/demo/IntegrationTests.kt:66:85 Unchecked cast of 'Any' to 'Map<String, Any>'.
    174:  > Task :compileTestJava NO-SOURCE
    175:  > Task :testClasses UP-TO-DATE
    176:  OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
    177:  INFO 2252 --- [ionShutdownHook] o.s.b.w.e.tomcat.GracefulShutdown        : Commencing graceful shutdown. Waiting for active requests to complete
    178:  INFO 2252 --- [tomcat-shutdown] o.s.b.w.e.tomcat.GracefulShutdown        : Graceful shutdown complete
    179:  DEBUG 2252 --- [ionShutdownHook] o.s.w.c.s.GenericWebApplicationContext   : Closing org.springframework.web.context.support.GenericWebApplicationContext@468dbd07, started on Mon Mar 24 12:13:20 UTC 2025
    180:  > Task :test
    181:  SubscriptionTest > testMessages() FAILED
    182:  java.lang.AssertionError at SubscriptionTest.kt:59
    183:  2 tests completed, 1 failed
    184:  > Task :test FAILED
    185:  [Incubating] Problems report is available at: file:///home/runner/work/spring-graphql-sample/spring-graphql-sample/dgs-subscription-ws/build/reports/problems/problems-report.html
    186:  FAILURE: Build failed with an exception.
    187:  Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
    188:  * What went wrong:
    189:  Execution failed for task ':test'.
    190:  You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
    191:  > There were failing tests. See the report at: file:///home/runner/work/spring-graphql-sample/spring-graphql-sample/dgs-subscription-ws/build/reports/tests/test/index.html
    192:  For more on this, please refer to https://docs.gradle.org/8.12/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
    193:  * Try:
    194:  9 actionable tasks: 9 executed
    195:  > Run with --scan to get full insights.
    196:  BUILD FAILED in 1m 23s
    197:  ##[error]Process completed with exit code 1.
    198:  Post job cleanup.
    

    @hantsy
    Copy link
    Owner

    hantsy commented Apr 21, 2025

    @dependabot recreate

    1 similar comment
    @hantsy
    Copy link
    Owner

    hantsy commented Apr 21, 2025

    @dependabot recreate

    Bumps [plugin.spring](https://github.com/JetBrains/kotlin) from 2.1.10 to 2.1.20.
    - [Release notes](https://github.com/JetBrains/kotlin/releases)
    - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
    - [Commits](JetBrains/kotlin@v2.1.10...v2.1.20)
    
    ---
    updated-dependencies:
    - dependency-name: plugin.spring
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    @dependabot dependabot bot force-pushed the dependabot/gradle/dgs-subscription-ws/plugin.spring-2.1.20 branch from bc68843 to 0eceef8 Compare April 21, 2025 14:27
    @hantsy hantsy merged commit 35924bd into master Apr 21, 2025
    1 of 2 checks passed
    @dependabot dependabot bot deleted the dependabot/gradle/dgs-subscription-ws/plugin.spring-2.1.20 branch April 21, 2025 14:28
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    dependencies Pull requests that update a dependency file java Pull requests that update Java code

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    2 participants