Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Dec 21, 2023

This PR contains the following updates:

Package Change Age Confidence
gradle.plugin.com.github.johnrengelman:shadow 7.1.2 -> 8.0.0 age confidence
ru.vyarus:gradle-animalsniffer-plugin 1.7.1 -> 2.0.1 age confidence
org.jetbrains.dokka:dokka-gradle-plugin 1.9.10 -> 2.1.0 age confidence
org.jetbrains.kotlin:atomicfu (source) 1.9.21 -> 2.2.21 age confidence
org.jetbrains.kotlin:kotlin-gradle-plugin (source) 1.9.21 -> 2.2.21 age confidence

Release Notes

xvik/gradle-animalsniffer-plugin (ru.vyarus:gradle-animalsniffer-plugin)

v2.0.1

Compare Source

  • Detect java support by java plugin presence instead of java-base.
    Required to avoid duplicate tasks registration when kotlin-multiplatform plugin registered after animalsniffer (#​116)

v2.0.0

Compare Source

  • (breaking) Drop gradle 5 and 6 support
  • (breaking) Fail check when no signatures declared (required to catch early configuration errors)
    • Now additional configuration required when only build signature tasks used (to disable check)
    • Add failWithoutSignatures option (true by default). Set to false for legacy behavior
  • Add android projects support (activates for android library and application plugins
    and use variant components (debug, release and test) instead of source sets).
  • Add kotlin multiplatform projects support (tasks created for each platform compilation, except metadata (common))
  • Improve debug:
    • Add printAnimalsnifferSourceInfo task for debug purposes (shows registered source sets, tasks, plugins)
    • Add printAnimalsnifferTasks task to print info about all registered tasks
  • Put all animalsniffer tasks under 'animalsniffer' group
  • Rename signature cache tasks to differentiate with check tasks (cache tasks starts with 'cache' keyword)
    • change cache tasks output path: /animalsniffer/cache/[checkTargetName]/[checkTaskName]Cache.sig
  • Change default tasks selection (tasks applied as dependency to the check task):
    • Add checkTestSources = false option to avoid tests sources checks by default
    • Add defaultTargets = [] (strings) option to limit default animalsniffer tasks.
    • Legacy sourceSets option still supported, but checkTestSources and defaultTargets override it
  • Add CSV report: used internally for building console and text reports, but could be
    used by an external tool to collect errors
  • Change field references in reports (when animalsniffer identifies field):
    before was "fieldName field", now only "#fieldName"
  • Add new properties to AnimalSniffer task to simplify detailed configuration:
    • targetType: type of task (SourceSet, MultiplatformTarget, AndroidVariant)
    • targetName: name of target (used in animalsniffer task name)
  • Call animalsniffer directly instead of ant tasks
  • Configuration cache compatibility

v1.7.2

Compare Source

  • Update animalsniffer 1.23 -> 1.24
  • Fix gradle 8.11 support (#​100)
  • Fix file report disabling
  • Add AnimalSniffer task shortcut for simpler reports configuration
Kotlin/dokka (org.jetbrains.dokka:dokka-gradle-plugin)

v2.1.0: 2.1.0

Dokka 2.1.0 focuses on stabilizing experimental features, supporting new Kotlin language features, and improving the user experience. Key highlights include:

  • Dokka Gradle Plugin v2 is enabled by default!
  • K2 Analysis is enabled by default!
  • Support for Context parameters and Nested typealiases
  • HTML format refinement: better accessibility and consistency across all components
  • Multiple performance and compatibility improvements

More details about each of the changes below. See Dokka 2.1.0 milestone for the list of all changes.

Dokka's Gradle plugin v2 is enabled by default!

Please check the migration guide for the update procedure

Dokka 2.0.0 introduced a significantly improved Gradle plugin v2, and with Dokka 2.1.0 it is now enabled by default!
As a result, all types and Gradle tasks related to Dokka Gradle plugin v1 are deprecated and will be removed in future releases.
Running Gradle tasks related to Dokka Gradle plugin v1 will result in an error during execution.

Starting from this release, the minimum supported Gradle version is 7.6.3.

Other fixes and improvements
  • Update Gradle Properties types to be non-nullable (#​4136)
  • Update displayName convention for DokkaSourceSets (#​4142)
  • Update olderVersionsDir to be an optional input. (#​4155)
  • Add lifecycle tasks for generating formats (#​4141)
  • Use project name as default modulePath for root project to avoid clashing outputs during aggregation (#​4158)
  • Remove Dokka debug config file from task outputs (#​3961)
  • Remove V2EnabledWithHelpers warning & info message (#​4206)
Dokka's K2 analysis is enabled by default!

Dokka 2.1.0fixes the most problematic issues with K2 analysis and makes it enabled by default!
In addition to this, Dokka 2.1.0with K2 analysis introduces support for context parameters and nested typealiases!

Dokka's K2 analysis leverages Kotlin's K2 compiler frontend for analysing code and uses the same shared Analysis API, which is used in IntelliJ IDEA’s K2 mode.
The output with K2 analysis should mostly match that of K1 analysis, but there may be minor differences.

If you previously opted in to Dokka's K2 analysis, remove org.jetbrains.dokka.experimental.tryK2 from your project's gradle.properties file.
Dokka's K1 analysis is still available, but it is deprecated and will be removed in future releases.
We would greatly appreciate your feedback, if there is something that is blocking you from migrating to K2 analysis!

Other fixes and improvements
  • Fix merging of implicit expect/actual with a single declaration (#​4016)
  • Support Wasm platform fully (#​4123)
  • Fix override modifier for generic functions (#​4126)
  • Add a receiver to accessor DRI (#​4122)
  • Fix param tag for type parameter on implicit primary constructor (#​4154)
  • Fix the primary constructor parameter incorrectly marked as a property (#​4125)
  • Fix Javadoc links with generic parameters (#​4159)
  • Show the correct return type when narrowed by inheritance (#​4183)
HTML format refinement

Dokka 2.1.0 introduces a number of design improvements to the HTML output.
Many UI elements (listed below) now feature more consistent spacing, better contrast, and improved overall accessibility.

Highlights:

  • Improved accessibility of the Search popup and Table of Contents and Tabs
  • Resizable Table of Contents
  • Customizable spacing in the Table of Contents via a new set of CSS variables (See #​4184 for details)

In addition, the structure of the templates has been slightly modified. If you're using custom templates, the easiest way to migrate is to update your templates based on the latest default templates.
For example, to enable the resizable Table of Contents, you need to add a <div id="resizer"> element and add [data-item-type] attributes to container elements. For implementation details, see the template reference.

Updated UI Elements:

  • Main layout
  • Table of Contents
  • Footer
  • Search popup
  • Code areas and code blocks
  • Links
  • Tooltips
  • Tables
  • Markdown tables
Notable improvements
  • Performance:
    • Cache packages field, which is used by DefaultExternalLocationProvider.resolve (#​4009)
    • Cache DisplaySourceSet as it's stored a lot inside of ContentPages (#​4008)
    • Significantly improves the performance when working with PackageList (#​4198)
  • Support a newline inside link text (#​3661)
  • Resolve references to quoted names (#​3356)
  • Update jackson to 2.15.3, which doesn't have known vulnerabilities (#​4189)
  • Make Dokka safe for Jackson updates in user projects (#​4193)
Other changes and bugfixes
Changes from 2.1.0-Beta
  • Follow symbolic links when building KaModule for AA standalone session (#​4264)
  • Handle InvocationTargetException exception explicitly in DokkaBootstrap (#​4257)
  • Support for nested typealiases (#​4261)
  • Fix spacing in HTML (#​4239, #​4207)
Feedback

We would appreciate your feedback!

v2.0.0: 2.0.0

Dokka 2.0.0 focuses on simplifying configuration and preparing for support of future Kotlin language features. Key highlights include:

  • Dokka Gradle Plugin v2: revamped Gradle plugin based on Dokkatoo.
  • Experimental K2 Analysis: support for K2 compiler frontend.
  • HTML Improvements: better accessibility and easier customization.

More details about each of the changes below. See Dokka 2.0.0 milestone for the list of all changes.

Dokka's Gradle plugin v2 based on Dokkatoo

Please check the migration guide for the update procedure and give feedback!

Dokka 2.0.0 introduces significant improvements to Dokka Gradle plugin, aligning more closely with Gradle best practices:

  • Adopts Gradle types, which leads to better performance.
  • Uses an intuitive top-level DSL configuration instead of a low-level task-based setup, which simplifies the build scripts and their readability.
  • Takes a more declarative approach to documentation aggregation, which makes multi-project documentation easier to manage.
  • Uses a type-safe plugin configuration, which improves the reliability and maintainability of your build scripts.
  • Fully supports Gradle configuration cache and build cache, which improves performance and simplifies build work.
Changes from Dokka 2.0.0-Beta
  • Forward Dokka Generator messages to Gradle logger (#​3833)
  • Add deprecated property to help migrate from JSON Dokka plugin configuration (#​3877)
  • Rename dokkaPublicationDirectory to basePublicationsDirectory (#​3876)
  • Rename dokkaModuleDirectory, and mark as internal (#​3880)
  • Update and add KDoc for DGPv2 (#​3842)
  • Remove DokkaPluginParametersBuilder (#​3872)
  • Increase default max heap of Worker to 2G (#​3913)
  • Remove the dependency of dokkaGenerate on dokkaGenerateModule* (#​3920)
  • KT-71784 Fix classpath for KMP shared source sets (#​3942)
  • Fix DGP/KMP integration, so Dokka can 'see' code from shared source sets in target source sets (#​3814)
Dokka's K2 analysis

Dokka 2.0.0 introduces K2 analysis, which is currently in an experimental stage. Dokka's K2 analysis leverages Kotlin's K2 compiler frontend for analysing code and uses the same shared Analysis API, which is used in IntelliJ IDEA’s K2 mode. The output with K2 analysis should mostly match that of K1 analysis, but there may be minor differences. We are actively working towards stabilizing K2 analysis and are planning to enable K2 analysis by default in future.

To opt in to Dokka's K2 analysis, add the following flag to your project's gradle.properties file:

org.jetbrains.dokka.experimental.tryK2=true
Known limitations:

We would greatly value your feedback if you encounter any of these limitations.

Potential differences between the outputs of K1 and K2:

While the output of K2 analysis aims to align with K1, there are some differences to be aware of:

  • Java synthetic properties: rendering may vary (details).
  • KDoc links: resolution and rendering differences (details).
  • Inconsistent documentable rendering order (#​3590).
  • Enum entries: anonymous and overridden methods are no longer rendered (#​3129).
  • Other differences may arise due to variations in type inference between K1 and K2.
HTML format

Dokka 2.0.0 introduces some changes to HTML output. We updated the structure of some elements and classes, particularly in the navigation and sidebar, to improve accessibility and simplify maintenance. These changes only affect you if you previously customized Dokka styles.

  • We removed redundant wrappers like navigation--inner and navigation-title.
  • We reworked blocks such as versions-dropdown to make them more accessible.
  • We renamed classes like navigation-controls--homepage to improve consistency. For example, it’s now called navigation-controls--btn_homepage.

For more information, see the pull request.

The easiest way to update your current templates is to adjust the new templates to your needs.

Bugfixes
  • Fix merging expect-actual declarations (#​3875)
Other changes
  • Update the external link URL for stdlib (#​3938)
Feedback

We would appreciate your feedback!

Full Changelog: Kotlin/dokka@v1.9.20...v2.0.0

v1.9.20: 1.9.20

General bugfixes

  • Fixed sealed interfaces not having the sealed keyword in signatures (#​2994)
  • Fixed incorrect links in multi-module projects with non-unique package names (#​2272). Huge thanks to @​EddieRingle!
  • Fixed member extensions not being shown on index pages in certain scenarios (#​3187)
  • Fixed Java's inner classes not having the inner keyword in Kotlin signatures (#​2793)
  • Fixed Java's @param tag not working with type parameters (#​3199)
  • Fixed Dokka failing in KMP projects when the JVM source set is suppressed (#​3209)

HTML format

  • Provide an ability to add a custom homepage link to the header, more details in #​2948 (comment)
  • Fixed tab selection resetting after navigating to a different page (#​2899)
  • Fixed inline code not always being aligned with the surrounding text (#​3228)
  • Fixed the "No options found" text in search being barely visible (#​3281)
  • Fixed empty HTML tags being rendered for no reason (#​3343, #​3095)

Runners

Gradle Plugin
  • Mark tasks as not compatible with Gradle configuration cache, second try (#​3438). Thanks to @​3flex for noticing and fixing the problem!
Maven Plugin
CLI runner
  • Allow using relative paths in the sourceRoots configuration option (#​2571)

Plugin API

  • Provide an extension point to customize the rendering of code blocks in HTML format (#​3244)

Other:

  • Make sure wasm-js and wasm-wasi targets introduced in Kotlin 1.9.20 are supported (#​3310)
  • Avoid concurrent invocations of Kotlin compiler's API due to the compiler API itself not always being thread safe (#​3151). No noticeable performance loss is expected.
  • Bump dependencies to the latest versions (#​3231, #​3206, #​3204)
  • Fix a documentation link (#​3213). Thanks to @​SubhrajyotiSen for noticing and fixing it!
  • Various build and project structure improvements (#​3174, #​3132). Enormous thanks to @​aSemy for the help!

See Dokka 1.9.20 milestone for the list of all changes.

JetBrains/kotlin (org.jetbrains.kotlin:atomicfu)

v2.2.21

Backend. Wasm
  • KT-81372 K/Wasm: JsException: Exception was thrown while running JavaScript code on Safari 18.2/18.3
  • KT-80018 K/Wasm: exceptions don't work properly in JavaScriptCore (vm inside Safari, WebKit)
Compiler
  • KT-81191 K2: "null cannot be cast to non-null type ConeTypeParameterLookupTag" with invalid code
  • KT-80936 NON_PUBLIC_CALL_FROM_PUBLIC_INLINE : @PublishedApi doesn't work for fun interfaces
JavaScript
  • KT-79926 Wrong export of interfaces with companions with ES Modules
  • KT-81424 Kotlin/JS: Cannot Get / in a simple running application
  • KT-80873 KJS: Stdlib requires ES2020-compatible JS engine due to BigInt type literal
Native
  • KT-79384 K/N: Application Not Responding: Thread Deadlock
Tools. Gradle
  • KT-79047 Gradle compileKotlin fails with configuration cache
  • KT-81148 Publishing helpers in KGP are incompatible with Isolated Projects
  • KT-80950 KGP breaks configuration cache when signing plugin with GnuPG is applied
Tools. Gradle. Multiplatform
  • KT-61127 Remove scoped resolvable and intransitive DependenciesMetadata configurations used in the pre-IdeMultiplatformImport IDE import
  • KT-81249 Kotlin 2.2.20 broke KMP implementation of Parcelize
Tools. Gradle. Native
  • KT-81510 commonizeCInterop exception with 'kotlinNativeBundleConfiguration' not found
  • KT-81134 Native: Gradle configuration failure likely related to Klibs cross-compilation
  • KT-77732 commonizeCInterop failed with "Unresolved classifier: platform/posix/size_t"
  • KT-80675 Commonized cinterops between "test" compilations produce an import failure
Tools. Maven
  • KT-81218 Kotlin Maven Plugin 2.2.20: Java classes not resolved with enabled incremental compilation without daemon
Tools. Wasm
  • KT-80582 Multiple reloads when using webpack dev server after 2.2.20-Beta2

v2.2.20

Analysis API
  • KT-78187 Synthetic properties not to be shown as callables
  • KT-72525 K2. red code and KIWA on new-lines in guarded when conditions (with parentheses)
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site
Analysis API. Code Compilation
  • KT-78382 K2 IR lowering error when interface extends interface
  • KT-73201 K2 IDE: Error while evaluating expressions with local classes
  • KT-78164 Evaluator: '@JvmName' annotations are not recognized in other modules
  • KT-76457 K2 IDE / KMP Debugger: KISEWA “Cannot compile a common source without a JVM counterpart” on evaluating inline fun from common module inside jvm
  • KT-73084 K2 evaluator cannot resolve local variables standing at the closing brace
Analysis API. FIR
Performance Improvements
  • KT-76490 Do not load ast during the contracts phase if no contracts present
  • KT-78132 Do not check FirElementBuilder#tryGetFirWithoutBodyResolve optimization for already resolved declarations
Fixes
  • KT-72227 SOE from recursive value class
  • KT-68977 K2 IDE: Reference to companion object through typealias in a function call does not work
  • KT-72357 Implement partial body resolution
  • KT-76932 Support context parameters on dangling modifier list
  • KT-72407 FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessing
  • KT-77602 K2 / Analysis API: KAEWA “No fir element was found for KtParameter” on incorrect context()-call
  • KT-77629 K2: NPE: "org.jetbrains.kotlin.fir.java.declarations.FirJavaTypeParameter.performFirstRoundOfBoundsResolution"
  • KT-76855 Analysis API: KaType.asPsiType returns null for a local inner class in dependent analysis tests
  • KT-72718 ImplicitReceiverValue.createSnapshot creates invalid FIR if receiver is smart-casted
  • KT-76811 Analysis API: resolveToFirSymbol finds a FirPropertySymbol for a KtScript in dependent analysis
  • KT-73586 [Analysis API] Add lazyResolveToPhase(STATUS) before accessing modifiers of members
  • KT-71135 AA: exception from sealed inheritors checker when analyzeCopy
  • KT-75534 K2 AA: "Containing declaration should present for nested declaration class KtNamedFunction" with dangling annotation on top-level anonymous function
  • KT-75687 K2: local variable doesn't get to the do-while scope
  • KT-56543 LL FIR: rework lazy transformers so transformers modify only declarations they suppose to
Analysis API. Infrastructure
  • KT-76809 Analysis API: Dependent analysis tests frequently work with the original element instead of the copied element
Analysis API. Light Classes
  • KT-78835 Find usages of a light constructor from a class with an empty body finds usages of class as well
  • KT-78878 K2. Method shown as unavailable in Java when @JvmExposeBoxed is applied (redundantly) at both class and method level in Kotlin
  • KT-78065 Support "Expose boxed inline value classes" in Light Classes
  • KT-78076 DLC: KotlinDeclarationInCompiledFileSearcher missed accessors if types are boxed
  • KT-77569 SLC: annotation missing from generated no-args constructor
  • KT-75182 K2 AA. False positive red code "Unresolved reference" to a Kotlin method in Java when Kotlin uses a value class with @JvmOverloads
  • KT-77564 Constructor with JvmOverloads and value class shouldn't mark regular constructors private
  • KT-77505 K2: find usages on java accessor methods do not detect kotlin property accessor usages
  • KT-76789 Annotation resolve shouldn't search through non-class members
  • KT-76907 Wrong equality between repeatable annotation and container
Analysis API. Providers and Caches
  • KT-77578 Analysis API: Performance degradation of KaBaseResolutionScope.contains after introduction of library restriction scopes
  • KT-78640 Analysis API: Remove "friend builtins provider" from FirDeclarationForCompiledElementSearcher
  • KT-74907 Analysis API: Apply platform-based library module content restrictions consistently
  • KT-77605 AA: Leaking KaDanglingFileModule through IdeKotlinPackageProvider
  • KT-62474 Analysis API: Improve mergeability and performance of custom search scopes
  • KT-77022 Get rid of ExpectBuiltinPostProcessor workaround
  • KT-77248 Delegation of JavaModuleResolver is restricted to CliJavaModuleResolver
  • KT-76850 LLFirLibrarySession cannot be cast to LLFirResolvableModuleSession
  • KT-76952 Analysis API: when exhaustiveness analysis fails for sealed classes in dangling files
  • KT-72390 Kotlin project full of red code
Analysis API. Standalone
  • KT-78638 Analysis API Standalone: Stdlib builtins are not indexed in STUBS deserialized declaration origin mode
Analysis API. Stubs and Decompilation
  • KT-77496 Support HAS_MUST_USE_RETURN_VALUE metadata flags in FirStubBasedMemberDeserializer
  • KT-77778 Function receivers doesn't have annotations
  • KT-77777 Receiver annotations shouldn't be present on types
  • KT-77538 Support default property accessors with annotations
  • KT-77763 Decompiled stubs miss inline modifier for property accessors
  • KT-77309 Decompiled property from annotation constructor with default value should have a constant initializer
  • KT-77168 Prefer DataInputOutputUtil for serialization/deserialization
  • KT-77117 Flaky WRONG_ANNOTATION_TARGET diagnostic
  • KT-76791 Function signature types are deserialized inconsistently
  • KT-76947 Support functional types with context parameters
Analysis API. Surface
New Features
  • KT-73473 Provide KaExpressionInformationProvider.isUsedAsResultOfLambda
  • KT-77278 Implement psi-based KaFirKotlinPropertyKtPropertyBasedSymbol#hasBackingField
  • KT-70770 KaLocalVariableSymbol: support isLateInit
Performance Improvements
  • KT-78526 Get rid of redundant checkValidity from withPsiValidityAssertion
Fixes
  • KT-77674 Analysis API: Redundant smart cast to the original type
  • KT-76577 Guard KaFirStopWorldCacheCleaner from deadlocks via threads waiting
  • KT-78820 K2: ISE "FIR element class FirErrorExpressionImpl is not supported in constant evaluation" through RedundantValueArgumentInspection
  • KT-75057 Analysis API: Reference to object through typealias in invoke operator call leads to original type
  • KT-79042 Do not restore KaTypePointer if target kind has changed
  • KT-72421 AA: "KtReference.resolveToSymbols" returns empty list when ASSIGN_OPERATOR_AMBGUITY error is present
  • KT-63464 AA: KtPsiTypeProvider#asPsiType doesn't substitute kotlin.Unit
  • KT-75913 K2: SymbolLightLazyAnnotation evaluates arguments and replaces them with constants
  • KT-78628 K2. Setting Receiver=true in Change Signature produces parameter of regular function type receiver instead of extension function type
  • KT-78278 ISE: FIR element "class org.jetbrains.kotlin.fir.expressions.impl.FirErrorResolvedQualifierImpl" is not supported in constant evaluation at org.jetbrains.uast.kotlin.internal.FirKotlinUastConstantEvaluator.evaluate
  • KT-73184 Analysis API: KaFunctionCall.argumentMapping is unexpectedly deparenthesised
  • KT-73327 Cover all psi inputs with scope validity assertions
  • KT-78613 PSI: add binary compatibility checks
  • KT-74013 Analysis API: Cover the API surface with @SubclassOptInRequired annotations
  • KT-76614 Move the parser and lexer to a separate module
  • KT-78552 KaFunctionValueParameter is not marked as KaLifetimeOwner
  • KT-71152 Add back SubclassOptInRequired to classes in KaModule.kt
  • KT-71876 Support storing parameter names in KaFunctionType
  • KT-77738 AA: inconsistent KaType.allSupertypes regarding multiple iterations
  • KT-75358 K2 AA, KaFirVisibilityChecker: private member of anonymous object is not visible inside it
  • KT-73723 K2 AA, KaFirVisibilityChecker: protected member of superclass is not visible from anonymous object
  • KT-78057 [Analysis API, K2] Context parameters are not resolved in KDoc
  • KT-73758 K2 Mode: "KaEvaluator.evaluate" does not work for simple arithmetic expressions
  • KT-72301 K2 AA. PSI should present for declaration built by Kotlin code on property access syntax of generic Java getter through Kotlin subclass
  • KT-77730 K2: Unable to get a light PSI for a nested annotation used with fully-qualified name
  • KT-73216 K2: unresolvable references in type parameters
  • KT-71794 Analysis API: Types with errors have unresolved qualifiers in lambda parameters position
  • KT-65846 Support parameter names in functional type rendering
  • KT-76738 K2 AA: rendering constructor of sealed class inserts protected modifier
  • KT-77515 KaTypeProvider#receiverType should be more tolerant to an error code
  • KT-77333 K2 AA: KaFirTypeProvider.getType: InvalidFirElementTypeException: For TYPE_REFERENCE with text I, unexpected element of type: FirSuperReceiverExpressionImpl found
  • KT-76044 K2 AA: isFun is true for restored symbol of Java interface with several methods
  • KT-77264 KaTypeProvider#type should be more tolerant to an error code
  • KT-77282 KaPropertySymbol: support isDelegatedProperty for libraries
  • KT-77254 K2 AA: expectedType doesn't provide anything for parameter default value
  • KT-74777 KaVariableSymbol.hasBackingField returns incorrect result for libraries
  • KT-77280 Rename KaPropertyAccessorSymbol#isCustom to isNotDefault
  • KT-77210 Analysis API: scopeContext shows implicit receiver with a class instance in the class constructor
  • KT-77196 Clarify differences between KaPropertyAccessorSymbol#{isDefault, hasBody}
  • KT-76580 K2: No expected type for the second+ vararg argument
  • KT-76750 K2. internal exception 'Unable to provide inlay hint' on typo in nested lambdas
  • KT-73290 Analysis API: Improve the architecture of content scopes and resolution scopes
  • KT-73055 Get rid of the deprecated Analysis API API
  • KT-70199 K2: ConcurrentModificationException at FirCallCompleter$LambdaAnalyzerImpl.analyzeAndGetLambdaReturnArguments
Backend. Wasm
New Features
  • KT-65721 K/Wasm: stop unconditionally exporting any main function from the root package
Performance Improvements
  • KT-70097 Optimize shared primitive variables in Native and Wasm
Fixes
  • KT-80106 devServer in Kotlin/Wasm overwrites defaults, causing missing static paths
  • KT-80018 K/Wasm: exceptions don't work properly in JavaScriptCore (vm inside Safari, WebKit)
  • KT-66072 K/Wasm: improve how exceptions work in JS interop
  • KT-77897 WasmJs: ClassCastException when using star-projection with nullable transformation in generic extension function
  • KT-71533 K/Wasm + K2: no error on KClass::qualifiedName usages
  • KT-73931 WASM: "RuntimeError: illegal cast" with nullable generic
  • KT-65403 [WASM] RuntimeError is thrown instead of ClassCastException
  • KT-79317 [Wasm] Do not throw CCE for ExcludedFromCodegen declarations
  • KT-66085 K/WASM: Runtime error is uncaught with catch (e: Throwable)
  • KT-78036 K/Wasm: generate a message with "expected" and "actual" types in case of CCE
  • KT-78384 K/Wasm: Incorrect debug info of local declarations in inline function from another file
  • KT-72220 Wasm: Unclear exception in case of missed dependency
  • KT-71691 No trace on Wasm/JS if an error occurred in initializing global variables in a file with the main function
  • KT-67554 [Wasm] Consider to have reference equals or/and equals for function references
  • KT-71521 K/Wasm: incorrect results on equality checks for capturing property references
  • KT-71522 K/Wasm: incorrect results on equality checks for function references
  • KT-69570 K/Wasm: JsExport with default parameter value compiles to invalid Wasm
  • KT-71517 K/Wasm: KClass::qualifiedName for local classes and objects returns non-null value
  • KT-68309 WASM: Anonymous class simpleName returns "" instead of null
  • KT-77272 K/Wasm: Remove kotlin.wasm.internal.ClosureBox* classes from the standard library
  • KT-66106 Wasm: lambda was not invoked in test lambda2.kt
  • KT-77855 [Wasm] Improve virtual function calls speed for lambdas
  • KT-77501 Wasm: unsigned vararg compiles to invalid Wasm
  • KT-76775 [Wasm] Inconsistent FP mod operation
  • KT-77464 Wasm: KType.toString() has simple names even with -Xwasm-kclass-fqn
  • KT-77465 Wasm: KTypeParamter printed without variance information
Compiler
New Features
  • KT-71768 Enable -Xjvm-default=all-compatibility by default to generate JVM default interface methods
  • KT-78374 Make indy lambda function name generation more consistent
  • KT-45683 Allow generics in contract type assertions
  • KT-27090 Support contracts in getter and setter for top-level extension properties
  • KT-76766 Warning is missing for wrong subclass checking
  • KT-71244 Incorporate existing @CheckReturnValue annotation(s) into Kotlin's unused return value checker
  • KT-73256 Implement all meta-target for annotations
  • KT-78792 Report warning for redundant return in expression body
  • KT-32313 Support contracts for operator functions
  • KT-70722 Implement better Kotlin warnings for value classes and JEP 390 (Warnings for Value-Based Classes)
  • KT-65688 Generate when-expressions over final classes via invokedynamic typeSwitch + tableswitch on JDK 21+
  • KT-54344 Trigger the unused expression warning for interpolated strings, even when the expression may have side effects
  • KT-74807 Implement 'full' unused return value checker mode
  • KT-77653 K/N: an optimization pass to remove redundant type checks
  • KT-64477 Enhance KotlinLightParser to make it able to parse scripts
  • KT-74809 Support unnamed local variables
  • KT-72941 ANNOTATIONS_ON_BLOCK_LEVEL_EXPRESSION_ON_THE_SAME_LINE missing in K2
  • KT-75061 Support context-sensitive resolution in type position
Performance Improvements
  • KT-77993 Optimize old PSI/LightTree Kotlin parser
  • KT-78672 Consider having FirCallableSymbol.callableId null for local properties / parameters
  • KT-77839 K2: consider not creating CallableId for value parameters / variables / fields
  • KT-74981 Kotlin/Native: large binary size for iOS target in 2.1.0(LLVM16)
  • KT-77838 K2: consider replacing LinkedHashMap with HashMap inside scopes and scope session
  • KT-76698 Android Studio compose preview holds read lock 700ms for KaCompilerFacility API
  • KT-68677 Kotlin compilation issue when using EnumMap and Pair
Fixes
  • KT-79979 K2: ClassCastException when overriding extension property with delegation
  • KT-67146 UPPER_BOUND_VIOLATED missing on implicit type arguments
  • KT-76477 Kotlin/Native: fix compiler performance reporting in sources->klib and klibs->binary
  • KT-79866 kotlinc 2.2.0 silently emits 'NonExistentClass' instead of reporting an error
  • KT-78666 "Platform declaration clash" caused by indy lambda name generation which generates conflicting names
  • KT-80285 IJ monorepo: broken compilation after 2.2.20-RC update
  • KT-79442 "Multiple annotations of type kotlin.coroutines.jvm.internal.DebugMetadata": 2.2.0-Beta1 generates broken code with JVM default suspend methods in interfaces
  • KT-78589 "Class does not have member field" caused by delegation from a Java to Kotlin class
  • KT-79816 Java Interfaces implemented by delegation have non-null return checks
  • KT-78097 False positive NO_ELSE_IN_WHEN on sealed interface with negative is check
  • KT-77182 A function in a file annotated with @file:MustUseReturnValue doesn't produce a warning when it is used from compiled code
  • KT-79085 Adding -Xreturn-value-checker=full to kotlinc causes "error: conflicting overloads"
  • KT-75268 K2: Implement the new compilation scheme for MPP (compiler part)
  • KT-78843 FIR tree: comments within String concatenation aren't visited in 2.2.0
  • KT-77401 [FIR] ParameterNameTypeAttribute.name doesn't support @ParameterName with compile-time constant property argument
  • KT-73611 Remove -Xextended-compiler-checks in favor of a deprecation cycle
  • KT-79276 Dexing fails with "Cannot read field X because is null" with 2.2.0
  • KT-79781 Missing MISSING_DEPENDENCY_CLASS when using type alias with inaccessible RHS
  • KT-78621 false-positive type mismatch error on value of nullable type as value of platform type
  • KT-79547 "UnsupportedOperationException: Not supported" with inlining and value classes
  • KT-52706 Bad signature for generic value classes with substituted type parameter
  • KT-79519 Nested type alias is unreachable from another module
  • KT-76839 False-negative MISSING_DEPENDENCY_CLASS on parameter of data class constructor
  • KT-78352 False-positive IDENTITY_SENSITIVE_OPERATIONS_WITH_VALUE_TYPE when comparing with equality operator (==)
  • KT-78815 Symbol not found: __ZNSt3__117bad_function_callD1Ev error on iOS 15.5 simulator in Xcode 16.3 after update to 2.2.0-Beta2
  • KT-25341 NOT_YET_SUPPORTED_IN_INLINE reported over anonymous object border
  • KT-77099 'all' annotation target is not a soft keyword
  • KT-76478 FIR: Implement IDE-only checker for types exposed in inline function
  • KT-79355 Failed to fix the problem of desugared inc with new reverse implies returns contract
  • KT-79277 Implies returns contract doesn't affect the return type of the function if it is in the argument position
  • KT-79271 Implies returns contract doesn't impact exhaustiveness
  • KT-79218 SMARTCAST_IMPOSSIBLE for top‑level extension‑property getter despite returnsNotNull contract
  • KT-79220 returnsNotNull contract ignored on extension function with nullable receiver
  • KT-79354 IllegalStateException: Debug metadata version mismatch. Expected: 1, got 2 with compiler 2.2.20-Beta1 and stdlib 2.2.0
  • KT-78479 IR lowering failed / Unexpected null argument for composable call
  • KT-77986 K2: False negative: "Local classes are not yet supported in inline functions"
  • KT-79076 'IllegalStateException: Cannot serialize error type: ERROR CLASS: Uninferred type' with Exposed column using recursive generic type
  • KT-78726 Split runPsiToIr phase into runPsiToIr and runIrLinker
  • KT-77672 K/N: come up with a fallback strategy for the casts optimization pass
  • KT-76365 K2: Missing ABSTRACT_SUPER_CALL
  • KT-76585 K2: RETURN_IN_FUNCTION_WITH_EXPRESSION_BODY is not reported inside initializers of local variables
  • KT-79099 K2: Do not inherit inline modifier
  • KT-76902 Omit type-use annotations from diagnostics
  • KT-64499 Report error on overloading by order of contex

Configuration

📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 changed the title fix(deps): update kotlin dependencies (major) fix(deps): update kotlin dependencies (major) - autoclosed Dec 21, 2023
@renovate renovate bot closed this Dec 21, 2023
@renovate renovate bot deleted the renovate/major-kotlin-dependencies branch December 21, 2023 19:55
@renovate renovate bot changed the title fix(deps): update kotlin dependencies (major) - autoclosed fix(deps): update kotlin dependencies (major) Dec 21, 2023
@renovate renovate bot reopened this Dec 21, 2023
@renovate renovate bot restored the renovate/major-kotlin-dependencies branch December 21, 2023 20:18
@renovate renovate bot changed the title fix(deps): update kotlin dependencies (major) Update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 Dec 21, 2023
@renovate renovate bot force-pushed the renovate/major-kotlin-dependencies branch from 24d5904 to f127dc0 Compare December 21, 2023 20:20
@renovate renovate bot changed the base branch from master to develop December 21, 2023 20:20
@renovate renovate bot changed the title Update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 fix(deps): update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 Dec 21, 2023
@renovate renovate bot changed the title fix(deps): update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 Update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 Jan 6, 2024
@renovate renovate bot changed the title Update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 fix(deps): update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 Jan 25, 2024
@renovate renovate bot changed the title fix(deps): update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 Update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 Jan 30, 2024
@renovate renovate bot changed the title Update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 fix(deps): update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 Feb 18, 2024
@renovate renovate bot changed the title fix(deps): update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 Update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 Mar 1, 2024
@renovate renovate bot changed the title Update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 fix(deps): update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 Mar 7, 2024
@renovate renovate bot changed the title fix(deps): update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 Update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 Mar 12, 2024
@renovate renovate bot changed the title Update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 fix(deps): update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 Apr 20, 2024
@renovate renovate bot changed the title fix(deps): update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 Update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 Apr 21, 2024
@renovate renovate bot force-pushed the renovate/major-kotlin-dependencies branch from f127dc0 to 49c6080 Compare May 23, 2024 05:55
@renovate renovate bot changed the title Update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 Update Kotlin dependencies (major) May 23, 2024
@renovate renovate bot changed the title Update Kotlin dependencies (major) fix(deps): update kotlin dependencies (major) Jun 12, 2024
@renovate renovate bot changed the title fix(deps): update kotlin dependencies (major) Update Kotlin dependencies (major) Jun 19, 2024
@renovate renovate bot changed the title Update Kotlin dependencies (major) fix(deps): update kotlin dependencies (major) Jul 21, 2024
@renovate renovate bot changed the title fix(deps): update kotlin dependencies (major) Update Kotlin dependencies (major) Jul 28, 2024
@renovate renovate bot changed the title Update Kotlin dependencies (major) fix(deps): update kotlin dependencies (major) Aug 3, 2024
@renovate renovate bot force-pushed the renovate/major-kotlin-dependencies branch from 49c6080 to 712ec9f Compare August 10, 2024 23:53
@renovate renovate bot changed the title fix(deps): update kotlin dependencies (major) Update Kotlin dependencies (major) Aug 10, 2024
@renovate renovate bot force-pushed the renovate/major-kotlin-dependencies branch from 712ec9f to 83bf18e Compare August 23, 2024 20:48
@renovate renovate bot force-pushed the renovate/major-kotlin-dependencies branch from 2e9c5cc to e031e92 Compare November 28, 2024 02:29
@renovate renovate bot changed the title fix(deps): update kotlin dependencies (major) Update Kotlin dependencies (major) Dec 5, 2024
@renovate renovate bot changed the title Update Kotlin dependencies (major) fix(deps): update kotlin dependencies (major) Dec 15, 2024
@renovate renovate bot force-pushed the renovate/major-kotlin-dependencies branch from e031e92 to 8c9bb25 Compare December 21, 2024 02:53
@renovate renovate bot changed the title fix(deps): update kotlin dependencies (major) Update Kotlin dependencies (major) Dec 21, 2024
@renovate renovate bot force-pushed the renovate/major-kotlin-dependencies branch from 8c9bb25 to bbd9273 Compare January 26, 2025 06:13
@renovate renovate bot changed the title Update Kotlin dependencies (major) fix(deps): update kotlin dependencies (major) Jan 27, 2025
@renovate renovate bot force-pushed the renovate/major-kotlin-dependencies branch from bbd9273 to af642ad Compare January 29, 2025 03:19
@renovate renovate bot changed the title fix(deps): update kotlin dependencies (major) Update Kotlin dependencies (major) Jan 31, 2025
@renovate renovate bot force-pushed the renovate/major-kotlin-dependencies branch from af642ad to 15fb481 Compare March 22, 2025 04:07
@renovate renovate bot changed the title Update Kotlin dependencies (major) fix(deps): update kotlin dependencies (major) Mar 23, 2025
@renovate renovate bot changed the title fix(deps): update kotlin dependencies (major) Update Kotlin dependencies (major) Apr 27, 2025
@renovate renovate bot force-pushed the renovate/major-kotlin-dependencies branch from 15fb481 to 5008656 Compare May 2, 2025 00:16
@renovate renovate bot changed the title Update Kotlin dependencies (major) fix(deps): update kotlin dependencies (major) May 3, 2025
@renovate renovate bot changed the title fix(deps): update kotlin dependencies (major) Update Kotlin dependencies (major) May 10, 2025
@renovate renovate bot force-pushed the renovate/major-kotlin-dependencies branch from 5008656 to a6cf604 Compare May 17, 2025 11:47
@renovate renovate bot force-pushed the renovate/major-kotlin-dependencies branch from a6cf604 to b56a7e9 Compare June 29, 2025 04:14
@renovate renovate bot changed the title Update Kotlin dependencies (major) fix(deps): update kotlin dependencies (major) Jul 6, 2025
@renovate renovate bot changed the title fix(deps): update kotlin dependencies (major) Update Kotlin dependencies (major) Jul 14, 2025
@renovate renovate bot force-pushed the renovate/major-kotlin-dependencies branch from b56a7e9 to 76cfea6 Compare August 15, 2025 15:40
@renovate renovate bot force-pushed the renovate/major-kotlin-dependencies branch from 76cfea6 to 842216b Compare September 10, 2025 23:39
@renovate renovate bot changed the title Update Kotlin dependencies (major) fix(deps): update kotlin dependencies (major) Sep 14, 2025
@renovate renovate bot changed the title fix(deps): update kotlin dependencies (major) Update Kotlin dependencies (major) Sep 26, 2025
@renovate renovate bot force-pushed the renovate/major-kotlin-dependencies branch from 842216b to 7594dd1 Compare October 16, 2025 04:04
@renovate renovate bot changed the title Update Kotlin dependencies (major) fix(deps): update kotlin dependencies (major) Oct 17, 2025
@renovate renovate bot changed the title fix(deps): update kotlin dependencies (major) Update Kotlin dependencies (major) Oct 23, 2025
@renovate renovate bot force-pushed the renovate/major-kotlin-dependencies branch from 7594dd1 to 884a74b Compare October 26, 2025 00:13
@renovate renovate bot changed the title Update Kotlin dependencies (major) fix(deps): update kotlin dependencies (major) Oct 26, 2025
@renovate renovate bot changed the title fix(deps): update kotlin dependencies (major) Update Kotlin dependencies (major) Nov 16, 2025
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.

1 participant