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:
v3
->v4
8.4
->8.5
2.8.1
->2.9.0
2.6.0
->2.6.1
2.6.0
->2.6.1
2.6.0
->2.6.1
3.24.4
->3.25.1
3.24.4
->3.25.1
31.1.3
->31.2.0
31.1.3
->31.2.0
31.1.3
->31.2.0
1.9.10-1.0.13
->1.9.21-1.0.15
1.9.10-1.0.13
->1.9.21-1.0.15
1.6.0
->1.6.2
0.4.1
->0.5.0
1.9.10
->1.9.21
1.9.10
->1.9.21
1.9.10
->1.9.21
1.9.10
->1.9.21
2.48.1
->2.49
2.48.1
->2.49
2.48.1
->2.49
2.48.1
->2.49
32.4.0
->32.6.0
2.4.0
->2.5.0
2.4.0
->2.5.0
2.4.0
->2.5.0
2.9.0-rc01
->2.9.0
2.9.0-rc01
->2.9.0
1.1.0
->1.2.0
1.1.0
->1.2.0
6.22.0
->6.23.3
2.7.4
->2.7.5
2.7.4
->2.7.5
1.2.0
->1.2.2
1.2.0
->1.2.2
1.0.0
->1.1.0
1.0.0-alpha03
->1.0.0-beta01
1.6.0
->1.7.0
1.8.0
->1.8.1
31.1.3
->31.2.0
8.1.3
->8.2.0
8.1.3
->8.2.0
8.1.3
->8.2.0
8.1.3
->8.2.0
2.0.3
->2.0.4
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
actions/setup-java (actions/setup-java)
v4
Compare Source
gradle/gradle (gradle)
v8.5
Compare Source
protocolbuffers/protobuf (com.google.protobuf:protoc)
v3.25.1
v3.25.0
google/ksp (com.google.devtools.ksp)
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.
Kotlin/kotlinx.serialization (org.jetbrains.kotlinx:kotlinx-serialization-json)
v1.6.2
v1.6.1
==================
This release uses Kotlin 1.9.20 by default, while upcoming 1.9.21 is also supported.
Trailing commas in Json
Trailing commas are one of the most popular non-spec Json variations.
A new configuration flag,
allowTrailingComma
, makes Json parser accept them instead of throwing an exception.Note that it does not affect encoding, so kotlinx.serialization always produces Json without trailing commas.
See details in the corresponding PR
Support of WasmJs target
Kotlin/Wasm has been experimental for some time and gained enough maturity to be added to the kotlinx libraries.
Starting with 1.6.1, kotlinx.serialization provides a wasm-js flavor, so your projects with Kotlin/Wasm can have even more
functionality.
As usual, just add serialization dependencies to your build
and declare wasmJs target.
Please remember that Kotlin/Wasm is still experimental, so changes are expected.
Bugfixes and improvements
Kotlin/kotlinx-datetime (org.jetbrains.kotlinx:kotlinx-datetime)
v0.5.0
JetBrains/kotlin (org.jetbrains.kotlin.plugin.serialization)
v1.9.21
: Kotlin 1.9.21Changelog
Compiler
KT-62885
Introduce a language feature entry for expect actual classes for easier configuration of MPP projectsKT-63081
Optimize new native caches: CachedLibraries.computeVersionedCacheDirectory()Docs & Examples
KT-55619
DocumentString.format
functionIDE. Gradle Integration
KT-62877
Artifact files collecting for project configuration was finished. Resolution for configuration configuration X will be skippedIDE. Gradle. Script
KT-60813
Scripts: NoSuchMethodError: 'void org.slf4j.Logger.error(java.lang.String, java.lang.Object)' when dependency uses Slf4j APIJavaScript
KT-60785
KJS: Destructured value class in suspend function fails with Uncaught TypeError: can't convert to primitive type errorKT-63207
KMP / JS: "TypeError: <mangled_name> is not a function" with 1.9.20KT-62778
package.json "main" field has .js extension when the result files have .mjs extensionKT-61795
KJS: Incremental Cache is not invalidated ifuseEsClasses
compiler argument was changedKT-61957
KJS: "Uncaught ReferenceError: entries is not defined" caused by enum class with@JsExport
and Enum.entries callKT-62444
KJS with commonJS modules should re-export in 1.9.20KT-63184
KJS / Serialization: JsExport on serializable interface creates erroneous TypeScriptKT-62190
KJS: "IllegalStateException: Expect to have either super call or partial linkage stub inside constructor" caused by Compose and useEsModules()KT-58685
KJS: "IllegalStateException: Not locked" cused by "unlock" called twiceKlibs
KT-62515
Interop klib of concurrent version is not accepted when building dependent project: "The library versions don't match"Tools. CLI
KT-63139
Incorrect kotlin implementation version (1.9.255-SNAPSHOT) in metadata infoTools. Gradle
KT-63499
Gradle: Source sets conventions are still registeredTools. Gradle. JS
KT-59523
MPP / KJS: ESM modules uses incorrect file extension on package.json (.mjs)Tools. Gradle. Kapt
KT-63366
Kapt processing fails with custom source setsTools. Gradle. Multiplatform
KT-32608
Create JUnit-XML result file in multiplatform gradle buildKT-63315
Wasm gradle plugin DSL is invalid for parameterless wasmWasi methodKT-63338
[KMP] metadata task fails to find cinterop classes from dependency projectsKT-63044
KGP: Multiplatform - 8.4 configuration cache supportKT-63011
Apple Framework Artifacts is not connected to KotlinNativeTaskKT-62601
AS/IntelliJ exception after updating a KMP project with a macos target to Kotlin 1.9.20-RCTools. Incremental Compile
KT-61590
K2/KMP: Expect actual matching is breaking on the incremental compilationTools. JPS
KT-63594
ClassCastException in JPS statisticsKT-63651
Fix NPE in Kotlin JPS after enabling graph implementation of JPSTools. Kapt
KT-57389
KAPT3 uses a Javac API for JCImport which will break in JDK 21KT-60507
Kapt: "IllegalAccessError: superclass access check failed" using java 21 toolchainTools. Scripts
KT-54819
Scripts: Not able to use slf4j in .main.ktsKT-61727
Scripts: Maven artifacts resolution is slowChecksums
v1.9.20
Analysis. API
New Features
KT-58834
Analysis API: Add source shadowing feature to resolve extensionsPerformance Improvements
KT-57515
LL FIR: Performance bottleneck inCompositeModificationTracker.getModificationCount
KT-59266
K2: optimize FirElementBuilder.getOrBuildFir for elements outside bodyKT-59454
K2: drop resolve from org.jetbrains.kotlin.analysis.api.fir.components.KtFirVisibilityChecker#collectContainingDeclarationsKT-59453
K2: completion regression from org.jetbrains.kotlin.analysis.api.fir.components.KtFirVisibilityChecker#collectContainingDeclarationsKT-59189
Analysis API: KtFirKDocReference.resolveToSymbols is slowKT-58125
K2: LL FIR:KtToFirMapping.getElement
is slow forKtUserType
s due to on-air resolution of typesFixes
KT-59240
K2: FirLazyResolveContractViolationException:lazyResolveToPhase(IMPORTS)
cannot be called from a transformer with a phase IMPORTS from superTypesKT-58499
K2: FirLazyBlock should be calculated before accessingKT-57966
K2: Analysis API: Reference Shortener does not work correctly when called on entire fileKT-60954
K2: Analysis API: Reference shortener does not work correctly with variable assignmentsKT-60940
K2: Analysis API: Reference shortener incorrectly handles types in vararg parameters declarationsKT-60488
Analysis API: forbid providing custom KtLifetimeToken for every analyze callKT-60728
K2: proper support for scripts in LL FIR transformersKT-59159
K2 IDE: declaration is not found exceptionKT-59297
K2: exception from body resolve leads to corrupted state and broken analysisKT-59077
KtFirExpressionTypeProvider behaviour for KtSimpleNameReferences in function callsKT-60586
K2: forbid analyze from write actionKT-57743
K2 IDE: StackOverflowError from LLFirSessionCache for simple JPS project with cyclic dependenciesKT-61026
K2 Scripts: FirLazyExpression should be calculated before accessing from on-air resolveKT-61009
K2 Scripts: KtFirExpressionTypeProvider: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSourceKT-60357
K2 IDE. Reified types parameters are not resolved in a function bodyKT-60317
K2 IDE. IAE "This method will only work on compiled declarations, but this declaration is not compiled" on invoking Find Usages for enum method in libraryKT-60706
K2 IDE: FirJvmTypeMapper is not found for kotlin.kotlin-stdlib-commonKT-60552
K2: merge StateKeeper and lazy body calculator for ANNOTATIONS_ARGUMENTS_MAPPING transformerKT-60641
Analysis API: Scope for class org.jetbrains.kotlin.fir.types.impl.ConeClassLikeTypeImpl not found exception when stdlib is missingKT-60638
K2: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSourceKT-54846
Analysis API: add isExpect/isActual to KtSymbolKT-60448
FirLazyResolveContractViolationException:lazyResolveToPhase(COMPILER_REQUIRED_ANNOTATIONS)
cannot be called from a transformer with a phase COMPILER_REQUIRED_ANNOTATIONS from AllOpen pluginKT-59342
K2 IDE. FirLazyResolveContractViolationException:lazyResolveToPhase(TYPES)
cannot be called from a transformer with a phase TYPESKT-59687
K2: Implement proper body update for in-block modificationsKT-59329
Resolve Extensions reference resolution breaks Find UsagesKT-60295
K2: move checkIsResolved for annotations from LLFirAnnotationArgumentsLazyResolver to LLFirTypeLazyResolverKT-59758
K2: Expected is FirResolvedTypeRef, but was FirImplicitTypeRefImplWithoutSource from ReturnTypeCalculatorWithJumpKT-60377
K2 IDE: This method will only work on compiled declarations, but this declaration is not compiledKT-59685
K2: rewrite on-air resolutionKT-60132
K2: properties and functions without a name should be re-analyzable as wellKT-59199
K2 IDE: PSI changes which do not cause OOB modifications can be unseen from the FIR elementsKT-59667
Analysis API: PsiInvalidElementAccessException from JavaClassifierTypeImpl.substitutorKT-59705
KotlinExceptionWithAttachments: No fir element was found for getterKT-59697
AA standalone: JRT module paths are not properly populated in WindowsKT-59505
K2: implicit type lazy resolution doesn't work for delegated declaration from other moduleKT-56426
K2 IDE: Typealised functional types cannot be renderedKT-59598
AA: stackoverflow while simplifying a type with a recursive type parameterKT-58497
K2: Expected FirResolvedTypeRef for initializer type of FirPropertyImpl(Source) but FirImplicitTypeRefImplWithoutSource foundKT-59511
AA standalone mode creates Application Environment for testsKT-58161
Analysis API: Make methods inKtCallResolverMixIn
more distinctive based on their receiver/return typeKT-59093
Do not throw exception on KtCall resolution,KtCallElement.resolveCall
should returnnull
on unknown casesKT-59243
K2: FirLazyResolveContractViolationException:lazyResolveToPhase(IMPORTS)
cannot be called from a trConfiguration
📅 Schedule: Branch creation - "before 4am" (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.
This PR has been generated by Mend Renovate. View repository job log here.