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:
7.3.3
->7.5.1
2.0.0
->2.0.1
1.2022.0
->1.2022.12
0.6.6
->0.6.8
6.1.2
->6.11.0
2.8.9
->2.9.1
3.24.0
->3.24.7
2.8
->2.9
1.6.10
->1.7.20
Release Notes
gradle/gradle
v7.5.1
This is a patch release for 7.5. We recommend using 7.5.1 instead of 7.5
Read the Release Notes
We would like to thank the following community members for their contributions to this release of Gradle:
Michael Bailey,
Josh Kasten,
Marcono1234,
mataha,
Lieven Vaneeckhaute,
kiwi-oss,
Stefan Neuhaus,
George Thomas,
Anja Papatola,
Björn Kautler,
David Burström,
Vladimir Sitnikov,
Roland Weisleder,
Konstantin Gribov,
David Op de Beeck,
aSemy,
Rene Groeschke,
Jonathan Leitschuh,
Aurimas Liutikas,
Jamie Tanna,
Xin Wang,
Atsuto Yamashita,
Taeik Lim,
Peter Gafert,
Alex Landau,
Jerry Wiltse,
Tyler Burke,
Matthew Haughton,
Filip Daca,
Simão Gomes Viana,
Vaidotas Valuckas,
Edgars Jasmans,
Tomasz Godzik,
Jeff,
Lajos Veres
Upgrade instructions
Switch your build to use Gradle 7.5.1 by updating your wrapper:
./gradlew wrapper --gradle-version=7.5.1
See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
v7.4.2
This is a patch release for Gradle 7.4.
See the list of fixed issues: https://docs.gradle.org/7.4.2/release-notes.html
We recommend users upgrade to 7.4.2 instead of 7.4 or another patch release.
Upgrade Instructions
Switch your build to use Gradle 7.4.2 by updating your wrapper:
See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.4.2.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
v7.4.1
This is a patch release for Gradle 7.4.
See the list of fixed issues: https://docs.gradle.org/7.4.1/release-notes.html
We recommend users upgrade to 7.4.1 instead of 7.4.
Upgrade Instructions
Switch your build to use Gradle 7.4.1 by updating your wrapper:
See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.4.1.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
google/gson
v2.9.1
Object
andJsonElement
deserialization iterative rather thanrecursive (#1912)
codegen
hierarchy (#2099)TypeToken
creation validation (#2072)float
inJsonWriter
(#2130, #2132)Also many small improvements to javadoc.
v2.9.0
The minimum supported Java version changes from 6 to 7.
module-info.class
into Multi-Release JAR folder (#2013)maintained anymore (#2063)
GsonBuilder.disableJdkUnsafe()
(#1904)UPPER_CASE_WITH_UNDERSCORES
in FieldNamingPolicy (#2024)Gson.newJsonWriter
ignoring lenient and HTML-safe setting (#1989)FieldNamingPolicy.upperCaseFirstLetter
uppercasing non-letter (#2004)javaparser/javaparser
v3.24.7
issues resolved
Highlights
Changed
Deprecated
Fixed
❤️ Contributors
Thank You to all contributors who worked on this release!
v3.24.4
issues resolved
GPG Fingerprint:
253E8E4C6FB28D11748115C1249DEE8E2C07A0A2
API or Behaviour Change
Processor
with pre/post processor methods). (PR #3515 by @matozoid)Changed
Fixed
JAVA_17
(PR #3623 by @mernst)Processor
with pre/post processor methods). (PR #3515 by @matozoid)Developer Changes
Uncategorised
❤️ Contributors
Thank You to all contributors who worked on this release!
v3.24.2
issues resolved
GPG Fingerprint:
253E8E4C6FB28D11748115C1249DEE8E2C07A0A2
Added
Changed
Fixed
Developer Changes
❤️ Contributors
Thank You to all contributors who worked on this release!
TNG/junit-dataprovider
v2.9
junit-vintage-runner
(#135)Maven Central: v2.9
JetBrains/kotlin
v1.7.20
Analysis API
KT-52667
FIR IDE: fun interfaces (SAM interfaces) are not properly resolvedKT-52136
FIR: Implicit type declaration from the other module cannot be used for overloadingAnalysis API. FE1.0
KT-51962
Analysis API: Finish Analysis API for FE1.0Analysis API. FIR
KT-52779
FIR IDE: Import Optimizer cannot handle generic type qualifiersKT-50236
Fix OOB modification trackers for non-Kotlin codeKT-51240
Analysis API: KtAnalysisSession for a specific module cannot create a symbol for PSI that cannot be seen from that module.KT-50868
Analysis API: decompiled type aliases are not resolvedCompiler
KT-53739
Builder inference, extension hides membersKT-53733
Kotlin/Native: update source documentation for the new default memory managerKT-53667
Compiler crashes on attempt to alloc a string on the stack in new MMKT-53480
Internal error in file lowering: java.lang.ClassNotFoundException: com.android.systemui.R$stringKT-52843
Compose: NPE at Parameters.getParameterByDeclarationSlot if inline function with default arguments takes a lambda which captures value class represented by LongKT-53475
Kotlin/Native for iOS: "IllegalArgumentException: Sequence has more than one element"New Features
KT-52495
Support until operator in back-endsKT-52420
Implement resolve of until operatorKT-52419
Implement until operator in the parserKT-33755
Kotlin/Native: Provide a way to customize a bundle Identifier of a generated frameworkKT-51665
FIR: implement label resolve for "typed this" caseKT-52361
Report warning on potentially empty intersection typesPerformance Improvements
KT-47816
Disable script discovery for non-script environmentsKT-48635
JVM IR: Double/Float values are boxed when comparing for equality in equals method of data/value classesKT-23397
Optimize out field for property delegate when it's safe (JVM)Fixes
KT-53272
Backend Internal error: Exception during IR lowering / No such value argument slot: 2KT-53124
Receiver type mismatch when combining extension properties, type projections, Java sources, and F-bounded type-variablesKT-51868
JVM / IR: Inconsistent behaviour between lambda expression and SAM interface conversion for the same interfaceKT-36770
Prohibit unsafe calls with expected@NotNull
T and given Kotlin generic parameter with nullable boundKT-52974
"IllegalStateException: Symbol with IrSimpleFunctionSymbolImpl is unbound" compiling native targets of MPP projectKT-53007
JVM: "Bad invokespecial instruction: current class isn't assignable to reference class" when call superclass of outer class method from inner classKT-53019
K2: cannot cast callable reference to Function1 in runtimeKT-53031
K2 compiler crashes with IllegalStateException: No type in ProtoBuf.ValueParameterKT-29168
Prohibit upper bounds violation with generic typealias using not all type parameters as arguments for underlying type in supertypesKT-52432
Using the IDE compiled with K2 (useFir) throws VerifyError exceptionKT-52327
False negative: TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM isn't reportedKT-49682
Support JVM IR in KAPT stub generationKT-24643
Prohibit using a type parameter declared for an extension property inside delegateKT-51972
FIR, Gradle: "Symbol is invisible" compilation error with enabled Kotlin Lombok compiler pluginKT-52011
[FIR] All-open compiler plugin isn't supportedKT-51950
JVM IR: "IndexOutOfBoundsException: Cannot pop operand off an empty stack" with crossinline lambdas and interface delegationKT-52540
Native: kotlin.NotImplementedError with Arrow libraryKT-48031
"IllegalStateException: Type variable TypeVariable(T) should not be fixed!"KT-47708
RequiresOptIn check does not flag experimental method usage in SAM lambda expressionsKT-52913
JVM / IR: "IllegalArgumentException: Inline class types should have the same representation" when trying to down cast cast a value classKT-50771
IR partial linkage: Removed abstract callable members are not supportedKT-52994
Enable generic inline classes as experimental featureKT-52742
CYCLE_IN_ANNOTATION_PARAMETER_ERROR false positive on annotations with default valuesKT-52743
Non-null generic functions throws NPE when assigned to valKT-52745
Frontend / K2: "IncompatibleClassChangeError: class A$B overrides final method A.length()I" caused by delegation in a sealed classKT-52832
Tree-generator's method FirExpression::isFirType returns true and false for different field names; it should always be trueKT-52403
IncompatibleClassChangeError when inlining suspend funsKT-50107
Missed USAGE_IS_NOT_INLINABLE diagnostic: Leaking inline lambda parameter through extension receiverKT-47965
Missed USAGE_IS_NOT_INLINABLE diagnostic on inline lambda parameter usage as receiver of .let callKT-25787
No error on crossinline usage of receiver parameter of functional type in an inline functionKT-52762
Frontend / K2: Named arguments for Java classes lead to "Cannot find a parameter with this name"KT-52680
K2: overload resolution ambiguity ifthis
is casted in a different methodKT-52676
K2: Unsupported compile-time value IrGetFieldImpl instead of IrConst in AnnotationCodegen for constant from JavaKT-50293
False positive: USELESS_CAST on stub typesKT-52175
WRONG_ANNOTATION_TARGET for annotation that used inside ifKT-52338
"IncompatibleClassChangeError: Expected non-static field" with Kotlin class with same-named companion object property as base Java class fieldKT-49507
JVM: "IllegalAccessError: class X tried to access private field" with same-named Kotlin property and Java base class fieldKT-44512
FIR DFA: incorrect smartcast after null assignment inside a lambdaKT-49200
FIR/FE 1.0: different behavior with multiple matching star importsKT-52718
declaringClass deprecation message mentions the wrong replacement in 1.7KT-52190
FIR2IR: Unexpected IrErrorTypeImpl type for put method inside buildMapKT-52197
Incorrect inference of var type inside lambda that passed to extension function with type parameters that defined inside this lambdaKT-52057
Unsupported compile-time value STRING_CONCATENATION and GET_FIELD in annotation argumentsKT-47823
JVM IR: "IllegalArgumentException: Inline class types should have the same representation" withbreak
usage in the loop rangeKT-51883
Kotlin 1.6.20 generates "-" in type names around lambdas and inline extension function with reified type which breaks Apache BeamKT-52684
Syntax error regression on complicated combination of LT and GTEQKT-52417
Reflection: Can't reflect on type parameters captured by SAM converted lambdaKT-46797
JVM IR: suspendImpl has no generic signature, breaking reified types in anonymous object supertypes when using the type token patternKT-51464
FIR: Unable to infer type in coroutines flow codeKT-52163
JVM IR: Double.compareTo(Int) compiled to integer comparisonKT-41980
FIR: erroneous scope during annotation resolveKT-47159
KtPsiUtils.areParenthesesUseless()
is returning a false positive on expressions for interface delegationKT-51418
Substitute anonymous type's supertypesKT-35544
kotlin.TypeCastException has no message on NativeKT-52386
StackOverflowError during Kotlin/Native gradle buildKT-52592
NPE from KProperty.getExtensionDelegate on property delegated to another propertyKT-52551
Delegating to object property reference does not invoke object's initializerKT-51704
Contracts: "AssertionError: Arguments and parameters size mismatch" with companion objectKT-25527
False positive UNUSED_VALUE for delegated property/variableKT-51002
[FIR] Hidden declaration hides visible oneKT-51008
[FIR] Star import does not work for nested calssifiers of java classKT-52407
FIR: Star import has lower priority than built-in importKT-52431
Reported error instead of warning due to empty intersection type foundKT-49394
Bad message and suggestion: The feature "unit conversion" is disabledKT-51168
FIR: Inference error with Java interop and captured typesKT-49961
"AssertionError: Left expression was not processed: BINARY_EXPRESSION" when analyzing dangling [bracketed] expression inside elvisKT-50108
Difference in fun interface conversion behavior for uninitialized not-null function valuesKT-51889
Calls to super-classes constructors with context receivers fail on runtimeKT-51228
[FIR] Unresolved reference on callable reference on implicitthis
with smartcastKT-52364
False positive for INFERRED_TYPE_VARIABLE_INTO_EMPTY_INTERSECTIONKT-52237
JVM / IR: "IllegalArgumentException: No argument for parameter VALUE_PARAMETER CONTINUATION_CLASS" when implementing Map interface on class with suspending functionsKT-50832
Method references to suspend inline functions are processed incorrectlyKT-52194
False positive "Class 'my.packge.MyClass' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler" but builds fineKT-47203
JVM Debugger: Parameter value doesn't change for tailrec functionKT-52131
False positive variable unused warning when calling inline function in finally blockKT-51738
Debugger: stepping over in inline function with multiple inline lambda invocations is incorrectKT-52198
Losing reference to the value of an outer variable (Ref$ObjectRef) when using suspend inline with suspendCancellableCoroutineKT-50994
FIR: AssertionError during inference of delegated properties with implicit typesKT-51757
FIR does not see various JS/Native specific declarations in common modulesKT-51201
FIR: ARGUMENT_TYPE_MISMATCH diagnostic contains generic parameter instead of the actual typeKT-48444
FIR: type argument rejected for annotationKT-51754
JVM: Local variable table invalid for do-while with continueKT-51936
Breakpoint not hit on last line of suspend function on AndroidKT-27333
Forbid@Synchronized
annotation on suspend functionsKT-51530
"StackOverflowError: CoroutineTransformerMethodVisitor.spillVariables" with data class in FlowKT-51460
FIR: Protected property inaccessible from inner classKT-53947
IllegalStateException: No mapping for symbol: VALUE_PARAMETER INSTANCE_RECEIVERKT-51234
Context receivers can be duplicated in function declarationKT-51576
Context receivers: "AssertionError: Callers must check that current token is IDENTIFIER followed with '@'" withat
characterKT-49479
JVM / IR: "IllegalStateException: IrErrorType" during IR lowering with non-trivial recursion callsKT-52270
NullPointerException caused by braces on if-else returning a method reference inside lambdaKT-47621
False negative INVISIBLE_MEMBER on call to inaccessible protected synthetic property setterKT-37796
NI: "ISE: Error type encountered" when inferring type of a property that delegates to itselfKT-45430
PSI2IR: "org.jetbrains.kotlin.psi2ir.generators.ErrorExpressionException: null: KtCallExpression: toString()" with recursive function call in "also" block in nontrivial contextKT-52691
K2: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImpl with intertwined functional interfacesKT-52822
Fix contract for KtElement.getReference()KT-50223
IndexOutOfBoundsException fromClassicTypeSystemContext$DefaultImpls.getParameter
during call resolutionKT-51963
Change Maven version to 1.7.255KT-47664
Incorrect type checking in the case of generic typesKT-48765
NI: Inferred type does not respect the bound of type variableKT-51243
False positive error "No required context receiver" inside contextual lambdaKT-43541
TYPE_MISMATCH for member function which is not occur for top level function during unsafe castKT-51016
[FIR] False positive OVERLOAD_RESOLUTION_AMBIGUITY between two extensions on different supertypesKT-50155
FIR: support contextual receiversKT-38637
Catch NoSuchFieldException in optimized when expression over enumDocs & Examples
KT-49896
Kotlin/JS: improve-Xir-property-lazy-initialization
description due to making it true by defaultIDE
KTIJ-22286
Kotlin JPS project created via wizard does not contain Kotlin libraries in case of not-released versionKTIJ-22065
IDE notification motivating Kotlin users to use EAPKTIJ-22209
Configure Kotlin on 221 idea adds 1.6.10 Kotlin (despite the fact that IDE plugin is 1.7.10)KTIJ-22171
Fix test BuiltInDecompilerConsistencyTestKTIJ-22016
Empty .kt file and build.gradle.kts can trigger an error while searching for a facade light classKT-52571
MPP Tasks on import are not up-to-date after subsequent launchesKT-47777
ISE thrown from KtLightClassForFacadeImpl.Companion.createForFacadeNoCache has wrong message.IDE. FIR
KT-52360
FIR IDE: Make the fix ofisInheritor
method betterKT-51786
FIR IDE: IllegalStateException exception in Inspections' infrastructureKT-52331
Analysis API: ArrayIndexOutOfBoundsException exception in Diagnostics' infrastructureIDE. Code Style, Formatting
KTIJ-21346
Incorrect formatting for functions with context receivers and visibility modifiersIDE. Completion
KTIJ-21910
FIR IDE: Fix completion tests started failing after visibility checker refinementIDE. Decompiler, Indexing, Stubs
KTIJ-21243
ContextReceivers: "UpToDateStubIndexMismatch: PSI and index do not match" plugin exception on library with context receivers usage attemptIDE. Gradle Integration
KT-47627
IDE import fails with com.intellij.util.lang.PathClassLoader error forrunCommonizer
Gradle task on 212, 213 IDEAsKTIJ-21638
MPP: IntelliJ can not resolve MPP references in common-codeKT-52216
HMPP / KTOR: False positive "TYPE_MISMATCH" with Throwable descendantIDE. Inspections and Intentions
KTIJ-22540
Invalid "remove unnecessary parentheses" when delegating a functional interface to a SAM in bracketsIDE. J2K
KTIJ-21665
J2K generates non compiling code when liftingreturn
and one branch is broken before binary operatorIDE. JS
KTIJ-22337
Wizard: Kotlin/Js for browser: cssSupport DSL should be updatedIDE. K2
KTIJ-21672
FIR IDE: Method reference on generic class breaks resolveKTIJ-21714
FIR IDE: Inherently imported type from another module is not properly resolvedIDE. Script
KT-52525
Update scripts handling in source rootsIDE. Misc
KTIJ-21699
Refactoring: move out parts of the plugin useful for both FE10 and K2JavaScript
New Features
KT-39423
KJS: Optionally generate a method to handle optional parameters for function in typescriptKT-42282
KJS IR: add an ability to run separate testsPerformance Improvements
KT-50270
KJS IR: Unnecessary getter and setter calls when accessing class membersFixes
KT-51133
Kotlin/JS - IR: even simple lambdas generate a lot of useless boilerplateKT-51123
Provide a way to add comments to generated JSKT-48493
KJS / IR: Invalid d.ts for inner classes inside objectsKT-52553
KJS / IR: diamond hierarchy with super.toString produces stack overflow in runtimeKT-23252
JS: Unit materialization on declaration and assignmentKT-51128
Kotlin/JS - IR generate huge count of useless blocksKT-50778
KJS/IR: Inline class has no field when building production distributionKT-50157
KSJ IR: Applying identity equality operator to Chars always returns falseKT-38262
Javascript generation (and Typescript) fails on 'then', 'catch' and 'finally' (and others?) claiming they are reserved namesKT-51066
KJS / IR: suspend lambda parameter of value class is undefinedKT-51102
KJS/IR: Assertion failed at translateCallArguments(jsAstUtils.kt:343)KT-51878
KJS / Legacy: Unit is not materialized in an overridden method, but it should beLanguage Design
KT-47986
Implicit inferring a type variable into an upper bound in the builder inference contextKT-49264
Deprecate infix function calls of functions named "suspend" with dangling function literalKT-25636
Native: Object is frozen by default problemKT-49303
Implement support for basic compile-time evaluationLibraries
KT-52932
Open-ended ranges in the standard libraryKT-52910
Provide visit extension functions for java.nio.file.PathKT-48232
Multiplatform function for computing cubic rootKT-52778
The documentation for theDuration
does not indicate any differences from the ISO-8601KT-52618
ThreadLocalRandom is not a good source of randomness on Android before SDK 34, so don't use it for Kotlin RandomNative
KT-53346
MPP project with kotlinx-serialization-json:1.4.0-RC is not builtNative. C Export
KT-45468
Kotlin/Native: Bitcode verification error when trying to export a cached klib to a static or dynamic libraryNative. C and ObjC Import
KT-53373
Native: @ExportObjCClass doesn't work with the new memory managerKT-49034
Kotlin/Native:cnames.structs.Foo
resolves into wrong declarationKT-26478
Objective-C object's class name is null in ClassCastException's messageNative. ObjC Export
KT-51593
Include more information in Objective-C header documentationKT-33117
Improve customizing Info.plist in produced frameworksKT-52681
Native:@end;
for Objective-C is generated with an unnecessary semicolonNative. Platforms
KT-52226
Kotlin/Native: Add support for cross-compilation of MIPS targets from macOS and Windows hostsNative. Runtime
Configuration
📅 Schedule: Branch creation - "before 3am on Monday" (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.