The Dart code generator for your package versions. 🎯

Related tags

Utilities dart flutter
Overview



The Dart code generator for your package versions.
There is no way to get the package version from the code in the Dart ecosystem.



Installation

  1. Add build_runner and VersionGen to your package's pubspec.yaml file:
dev_dependencies:
  build_runner:
  version_gen:
  1. Install VersionGen
$ flutter pub get
  1. Use VersionGen
$ flutter packages pub run build_runner build

Configuration file

VersionGen generates dart files based on the key VersionGen of pubspec.yaml.
Default configuration can be found here.

# pubspec.yaml
# ...

dev_dependencies:
  build_runner:
  version_gen:

# Optional (default: lib/gen/)
version_gen:
  path: lib/gen/

Output file

/// DO NOT MODIFY BY HAND, Generated by version_gen
String packageVersion = '1.0.0+1';

Issues

Please file [FlutterGen] specific issues, bugs, or feature requests in our issue tracker.

Plugin issues that are not specific to [FlutterGen] can be filed in the Flutter issue tracker.

Comments
  • Update kotlin_version to v1.7.10 - autoclosed

    Update kotlin_version to v1.7.10 - autoclosed

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | org.jetbrains.kotlin:kotlin-stdlib-jdk7 (source) | 1.5.31 -> 1.7.10 | age | adoption | passing | confidence | | org.jetbrains.kotlin:kotlin-gradle-plugin (source) | 1.5.31 -> 1.7.10 | age | adoption | passing | confidence |


    Release Notes

    JetBrains/kotlin

    v1.7.10

    Changelog

    Compiler
    • KT-52702 Invalid locals information when compiling kotlinx.collections.immutable with Kotlin 1.7.0-RC2
    • KT-52892 Disappeared specific builder inference resolution ambiguity errors
    • KT-52782 Appeared receiver type mismatch error due to ProperTypeInferenceConstraintsProcessing compiler feature
    • KT-52718 declaringClass deprecation message mentions the wrong replacement in 1.7
    IDE. Configuration
    • KTIJ-21982 Cannot run/build anything with Kotlin plugin since last update
    Tools. Gradle
    • KT-52777 'org.jetbrains.kotlinx:atomicfu:1.7.0' Gradle 7.0+ plugin variant was published with missing classes
    Tools. Gradle. JS
    • KT-52856 Kotlin/JS: Upgrade NPM dependencies
    Tools. Gradle. Multiplatform
    • KT-52955 SourceSetMetadataStorageForIde: Broken 'cleanupStaleEntries' with enabled configuration caching or isolated ClassLoaders
    • KT-52694 Kotlin 1.7.0 breaks Configuration Caching in Android projects
    Tools. Incremental Compile
    • KT-52669 Full rebuild in IC exception recovery leaves corrupt IC data

    Checksums

    | File | Sha256 | | --- | --- | | kotlin-compiler-1.7.10.zip | 7683f5451ef308eb773a686ee7779a76a95ed8b143c69ac247937619d7ca3a09 | | kotlin-native-linux-x86_64-1.7.10.tar.gz | b874373e87381b94c6a385178ea9594a5b4cfeb2fbae2bd89d3cb84c96bc3b96 | | kotlin-native-macos-x86_64-1.7.10.tar.gz | 4e9470c25e0c6b3b79e86a59c7eca4d79c5a28ca515e80db93504535b2332a00 | | kotlin-native-macos-aarch64-1.7.10.tar.gz | c02be577f541a5c73e1af75534006eea6e09cf67b3a886f323dae6f0406bcb3e | | kotlin-native-windows-x86_64-1.7.10.zip | 52c64c754a23da3d554d89beb9cdc322ffcb19b8d6f1e812e849e597d282b99d |

    v1.7.0

    Analysis API. FIR
    • KT-50864 Analysis API: ISE: "KtCallElement should always resolve to a KtCallInfo" is thrown on call resolution inside plusAssign target
    • KT-50252 Analysis API: Implement FirModuleResolveStates for libraries
    • KT-50862 Analsysis API: do not create use site subsitution override symbols
    Analysis API. FIR Low Level API
    • KT-50729 Type bound is not fully resolved
    • KT-50728 Lazy resolve of extension function from 'kotlin' package breaks over unresolved type
    • KT-50271 Analysis API: get rid of using FirRefWithValidityCheck
    Backend. Native. Debug
    • KT-50558 K/N Debugger. Error is not displayed in variables view for catch block
    Compiler
    New Features
    • KT-26245 Add ability to specify generic type parameters as not-null
    • KT-45165 Remove JVM target version 1.6
    • KT-27435 Allow implementation by delegation to inlined value of inline class
    • KT-47939 Support method references to functional interface constructors
    • KT-50775 Support IR partial linkage in Kotlin/Native (disabled by default)
    • KT-51737 Kotlin/Native: Remove unnecessary safepoints on watchosArm32 and iosArm32 targets
    • KT-44249 NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER with type usage in higher order function
    Performance Improvements
    • KT-48233 Switching to JVM IR backend increases compilation time by more than 15%
    • KT-51699 Kotlin/Native: runtime has no LTO in debug binaries
    • KT-34466 Use optimized switch over enum only when all entries are constant enum entry expressions
    • KT-50861 FIR: Combination of array set convention and plusAssign works exponentially
    • KT-47171 For loop doesn't avoid boxing with value class iterators (JVM)
    • KT-29199 'next' calls for iterators of merged primitive progressive values are not specialized
    • KT-50585 JVM IR: Array constructor loop should use IINC
    • KT-22429 Optimize 'for' loop code generation for reversed arrays
    • KT-50074 Performance regression in String-based 'when' with single equality clause
    • KT-22334 Compiler backend could generate smaller code for loops using range such as integer..array.size -1
    • KT-35272 Unnecessary null check on unsafe cast after not-null assertion operator
    • KT-27427 Optimize nullable check introduced with 'as' cast
    Fixes
    • KT-46762 Finalize support for jspecify
    • KT-51499 @​file:OptIn doesn't cover override methods
    • KT-52037 FIR: add error in 1.7.0 branch if run with non-compatible plugins
    • KT-46756 Release the K2/JVM compiler in Alpha
    • KT-49715 IR: "IllegalStateException: Function has no body: FUN name:toString" during IR lowering with shadowed extension inside interface
    • KT-45508 False negative ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED on a fake override with an abstract super class member
    • KT-28078 Report error "Public property exposes its private type" for primary constructor properties instead of warning
    • KT-49017 Forbid usages of super or super if in fact it accesses an abstract member
    • KT-38078 Prohibit calling methods from Any with "super" qualifier once they are overridden as abstract in superclass
    • KT-52363 Evaluate impact of qualified this behavior change warnings
    • KT-52561 JVM: Coroutine state machine loses value after a check-induced smart cast
    • KT-52311 java.lang.VerifyError: Bad type on operand stack
    • KT-41124 Inconsistency of exceptions at init block for an enum entry with and without a qualifier name
    • KT-46860 Make safe calls always nullable
    • KT-52503 New green code appeared at the callable reference resolution
    • KT-51925 Native: "IllegalStateException: Symbol for kotlinx.cinterop/CStructVar|null[0] is unbound" caused by inline function
    • KT-49317 "IllegalStateException: Parent of this declaration is not a class: FUN LOCAL_FUNCTION_FOR_LAMBDA" with parameter of suspend type with the default parameter
    • KT-51844 New errors in overload resolution involving vararg extension methods
    • KT-52006 "java.lang.Throwable: Unbalanced tree Exception" on indexing kotlin project
    • KT-51223 Report warning about conflicting inherited members from deserialized dependencies
    • KT-51439 FE 1.0: implement type variance conflict deprecation on qualifier type arguments
    • KT-51433 FE 1.0: implement warnings about label resolve changes
    • KT-51317 Regression in resolution of lambdas where expected type has an extension receiver parameter
    • KT-45935 JVM IR: Add not-null assertion for explicit definitely not-null parameters
    • KT-51818 "ClassCastException: class CoroutineSingletons cannot be cast to class" with suspendCoroutineUninterceptedOrReturn and coroutines
    • KT-51718 JVM / IR: "VerifyError: Bad type on operand stack" caused by nullable variable inside suspend function
    • KT-51927 Native: The symbol of unexpected type encountered during IR deserialization error when multiple libraries have non-conflicting declarations with the same name
    • KT-52394 JVM: Missing annotation on method with value class return type when a subclass is present in the same file in Kotlin 1.7.0-Beta
    • KT-51640 FIR: remove warning about "far from being production ready"
    • KT-45553 FIR: support hiding declaration from star import by as import
    • KT-52404 Prolong deprecation cycle for errors at contravariant usages of star projected argument from Java
    • KT-50734 TYPE_MISMATCH: NonNull parameter with a type of Nullable type argument causes compiler warning
    • KT-51235 JVM / IR: "AbstractMethodError: Receiver class does not define or inherit an implementation of the resolved method" when property with inline class type is overridden to return Nothing?
    • KT-48935 NI: Multiple generic parameter type constraints are not applied as expected when the parameter is of function type
    • KT-49661 NI: No TYPE_INFERENCE_UPPER_BOUND_VIOLATED when argument is inferred by return type
    • KT-50877 Inconsistent flexible type
    • KT-51988 "NPE: getContainingDeclaration…lDeclarationType.REGULAR) must not be null" when using @​BuilderInference with multiple type arguments
    • KT-48890 Revert Opt-In restriction "Overriding methods can only have opt-in annotations that are present on their basic declarations."
    • KT-52035 FIR: add error in 1.7.0 branch if run on JS / Native configuration
    • KT-45461 NI: False negative TYPE_INFERENCE_UPPER_BOUND_VIOLATED when passing an argument to a function with generic constraints
    • KT-52146 JVM IR: "AssertionError: Primitive array expected" on vararg of SAM types with self-type and star projection
    • KT-50730 Implement error for a super class constructor call on a function interface in supertypes list
    • KT-52040 JVM: ClassFormatError Illegal method name "expectFailure$__proxy-0"
    • KT-50845 Postpone rxjava errors reporting in the strict mode till 1.8 due to found broken cases
    • KT-51979 "AssertionError: No modifier list, but modifier has been found by the analyzer" exception on incorrect Java interface override
    • KT-51759 FIR DFA: false positive "Variable must be initialized"
    • KT-50378 Unresolved reference for method in Jsoup library in a kts script file
    • KT-34919 "Visibility is unknown yet" when named parameter in a function type used in a typealias implemented by an abstract class
    • KT-51893 Duplicated [OVERRIDE_DEPRECATION] on overridden properties
    • KT-41034 K2: Change evaluation semantics for combination of safe calls and convention operators
    • KT-51843 Functional interface constructor references are incorrectly allowed in 1.6.20 without any compiler flags
    • KT-51914 False positive RETURN_TYPE_MISMATCH in intellij ultimate
    • KT-51711 Compiler warning is displayed in case there is 'if' else branch used with elvis
    • KT-33517 Kotlin ScriptEngine does not respect async code when using bindings
    • KT-51850 FIR cannot resolve ambiguity with different SinceKotlin/DeprecatedSinceKotlin
    • KT-44705 Deprecate using non-exhaustive if's and when's in rhs of elvis
    • KT-44510 FIR DFA: smartcast after elvis with escaping lambda
    • KT-44879 FIR DFA: Track inc and dec operator calls in preliminary loop visitor
    • KT-51758 FIR: explicit API mode errors should not be reported for effectively internal / private entities
    • KT-51203 FIR: Inconsistent RETURN_TYPE_MISMATCH and TYPE_MISMATCH reporting on functions and properties
    • KT-51624 FIR: false-positive INAPPLICABLE_LATEINIT_MODIFIER for lateinit properties with unresolved types
    • KT-51204 FIR IC: Incremental compilation fails on nested crossinline
    • KT-51798 Fix ISE from IR backend when data class inherits equals/hashCode/toString with incompatible signature
    • KT-46187 FIR: OVERLOAD_RESOLUTION_AMBIGUITY on SAM-converted callable reference to List::plus
    • KT-51761 Incorrect NONE_APPLICABLE in expect class
    • KT-51756 FIR: false positive NO_VALUE_FOR_PARAMETER in expect class delegated constructor call
    • KT-49778 Support cast to DefinitelyNotNull type in Native
    • KT-51441 -Xpartial-linkage option specified in Gradle build script is not passed to Native linker
    • KT-34515 NI: "AssertionError: Base expression was not processed: POSTFIX_EXPRESSION" with double not-null assertion to brackets
    • KT-48546 PSI2IR: "org.jetbrains.kotlin.psi2ir.generators.ErrorExpressionException: null: KtCallExpression" with recursive property access in lazy block
    • KT-28109 "AssertionError: No setter call" for incrementing parenthesized result of indexed access convention operator
    • KT-46136 Unsubstituted return type inferred for a function returning anonymous object upcast to supertype
    • KT-51364 FIR: ambiguity due to String constructors clash
    • KT-51621 FIR: visible VS invisible qualifier conflict
    • KT-50468 FIR compilers fails with CCE when meets top-level destruction
    • KT-51557 Inline stack frame is not shown for default inline lambda
    • KT-51358 OptIn: show default warning/error message in case of empty message argument
    • KT-44152 FIR2IR fails on declarations from java stdlib if java classes are loaded from PSI instead of binaries
    • KT-50949 PSI2IR: NSEE from ArgumentsGenerationUtilsKt.createFunctionForSuspendConversion with providing lambda as argument with suspend type
    • KT-39256 ArrayStoreException with list of anonymous objects with inferred types created in reified extension function
    • KT-39883 Deprecate computing constant values of complex boolean expressions in when condition branches and conditions of loops
    • KT-36952 Exception during codegen: cannot pop operand off an empty stack (reference equality, implicit boxing, type check)
    • KT-51233 AssertionError in JavaLikeCounterLoopBuilder with Compose
    • KT-51254 Verify Error on passing null to type parameter extending inline class
    • KT-50996 [FIR] Support Int -> Long conversion for property initializers
    • KT-51000 [FIR] Support Int -> Long? conversion
    • KT-51003 [FIR] Consider Int -> Long conversion if expected type is type variable
    • KT-51018 [FIR] Wrong type inference if one of constraints is integer literal
    • KT-51446 Metadata serialization crashes with IOOBE when deserializing underlying inline class value with type table enabled
    • KT-50973 Redundant line number mapping for finally block with JVM IR
    • KT-51272 Incompatible types: KClass and callable reference Collection::class
    • KT-51274 "Expected some types" exception on when branch for when expression of erroneous type
    • KT-51229 FIR: private constructor of internal data class treated as internal and not private
    • KT-50750 [FIR] Report UNSUPPORTED on array literals not from annotation classes
    • KT-51200 False EXPOSED_PARAMETER_TYPE for internal type parameter of internal type
    • KT-49804 False positive of UPPER_BOUND_VIOLATED and RETURN_TYPE_MISMATCH
    • KT-51121 Inconsistent SAM behavior in multiple cases causing AbstractMethodError (Kotlin 1.6.10)
    • KT-50136 FIR: syntax error on (T & Any)
    • KT-49465 FIR2IR: support definitely not-null types
    • KT-51357 FIR: error in inference while using integer literal in expected Long position
    • KT-49925 [FIR] Incorrect builder inference (different cases)
    • KT-50542 "IllegalStateException: Type parameter descriptor is not initialized: T declared in sort" with definitely non-null type Any & T in generic constraint
    • KT-51171 FIR: class Error resolution problem
    • KT-51156 Multiplatform linkDebugFramework task throws NoSuchElementException when expect class constructors utilize nested enum constant
    • KT-51017 [FIR] Ambiguity on callable reference between two functions on generic receiver with different bounds
    • KT-51007 [FIR] False positive ILLEGAL_SUSPEND_FUNCTION_CALL if fun interface with suspend function declared in another module
    • KT-50998 [FIR] Int.inv() cal does not considered as compile time call
    • KT-51009 [FIR] Incorrect inference of lambda in position of return
    • KT-50997 [FIR] Incorrect type of typealias for suspend functional type
    • KT-49714 Compiler reports "'operator modifier is inapplicable" if expect class with increment operator is provided via type alias
    • KT-48623 Type nullability enhancement improvements
    • KT-44623 "IllegalStateException: IdSignature is allowed only for PublicApi symbols" when suspending receiver is annotated with something
    • KT-46000 JVM / IR: AssertionError on isSubtypeOfClass check in copyValueParametersToStatic with Compose
    • KT-50211 Annotation Instantiation with default arguments in Native
    • KT-49412 Controversial "type argument is not within its bounds" reported by FIR
    • KT-48044 [FIR] Investigate behavior of UPPER_BOUND_VIOLATED on complex cases
    • KT-37975 Don't show deprecation of enum class itself for its own member
    • KT-50737 Inheritance from SuspendFunction leads to compiler crash
    • KT-50723 Implement a fix of reporting of uninitialized parameter in default values of parameters
    • KT-50749 Implement UNSUPPORTED reporting on array literals inside objects in annotation classes
    • KT-50753 Implement reporting errors on cycles in annotation parameter types
    • KT-50758 Fix inconsistency of exceptions at init block for an enum entry with and without a qualifier name
    • KT-50182 CONST_VAL_NOT_TOP_LEVEL_OR_OBJECT: clarify error message for const in object expression
    • KT-50183 Fix missing apostrophe escapes in compiler error messages
    • KT-50788 FIR: false unsafe call on not-null generic
    • KT-50785 FIR: inconsistent smart cast after comparison with true
    • KT-50858 [FIR LL] FIR in low level mode creates multiple symbols for same declaration
    • KT-50822 Analysis API: make declaration transformers machinery to be a thread safe
    • KT-50972 FIR doesn't report VAL_REASSIGNMENT on synthetic properties
    • KT-50969 FIR: diamond inheritance with different parameter types depends on a supertype order
    • KT-50875 FIR: no smart cast after reassignment with elvis
    • KT-50835 Inline functions with suspend lambdas break the tail-call optimization
    • KT-49485 JVM / IR: StackOverflowError with long when-expression conditions
    • KT-35684 NI: "IllegalStateException: Expected some types" from builder-inference about intersecting empty types on trivial code
    • KT-50776 FIR: ambiguity between Sequence.forEach and Iterable.forEach
    • KT-48908 Error for annotation on parameter type could have distinct ID and message referring 1.6
    • KT-48907 SUPERTYPE_IS_SUSPEND_FUNCTION_TYPE error could have message referring version 1.6
    • KT-50774 FIR2IR: NSEE in case of lambda in enum entry constructor call
    • KT-49016 Drop QUALIFIED_SUPERTYPE_EXTENDED_BY_OTHER_SUPERTYPE diagnostic
    • KT-34338 Parameterless main causes duplicate JVM signature error
    • KT-50577 JVM_IR: No NPE when casting uninitialized value of non-null type to non-null type
    • KT-50476 JVM_IR: NSME when calling 'super.removeAt(Int)' implemented in Java interface as a default method
    • KT-50257 JVM_IR: Incorrect bridge delegate signature for renamed remove(I) causes SOE with Kotlin class inherited from fastutils IntArrayList
    • KT-50470 FIR: inapplicable candidate in delegate inference due to nullability
    • KT-32744 Inefficient compilation of null-safe call (extra null checks, unreachable code)
    Docs & Examples
    • KT-52032 Document performance optimizations of the Kotlin/JVM compiler in 1.7.0
    • KT-49424 Update KEEP for OptIn
    IDE
    Fixes
    • KTIJ-21735 Exception when opening a project
    • KTIJ-17414 UAST: Synthetic enum methods have null return values
    • KTIJ-17444 UAST: Synthetic enum methods are missing nullness annotations
    • KTIJ-19043 UElement#comments is empty for a Kotlin property with a getter
    • KTIJ-10031 IDE fails to suggest a project declaration import if the name clashes with internal declaration with implicit import from stdlib (ex. @​Serializable)
    • KTIJ-21515 Load JVM target 1.6 as 1.8 in Maven projects
    • KTIJ-21151 Exception about wrong read access from "Java overriding methods searcher" with Kotlin overrides
    • KTIJ-20736 NoClassDefFoundError: Could not initialize class org.jetbrains.kotlin.idea.roots.KotlinNonJvmOrderEnumerationHandler. Kotlin plugin 1.7 fails to start
    • KT-50111 Resolving into KtUltraLightMethod
    • KTIJ-21063 IDE highlighting: False positive error "Context receivers should be enabled explicitly"
    • KTIJ-20810 NoClassDefFoundError: org/jetbrains/kotlin/idea/util/SafeAnalyzeKt errors in 1.7.0-master-212 kotlin plugin on project open
    • KTIJ-19088 KotlinUFunctionCallExpression.resolve() returns null for calls to @​JvmSynthetic functions
    • KTIJ-17869 KotlinUFunctionCallExpression.resolve() returns null for instantiations of local classes with default constructors
    • KTIJ-21061 UObjectLiteralExpression.getExpressionType() returns the base class type for Kotlin object literals instead of the anonymous class type
    • KTIJ-20200 UAST: @​Deprecated(level=HIDDEN) constructors are not returning UMethod.isConstructor=true
    • KTIJ-19624 NoDescriptorForDeclarationException on iosTest.kt.vm
    IDE. Code Style, Formatting
    • KTIJ-20554 Introduce some code style for definitely non-null types
    IDE. Completion
    • KTIJ-14740 Multiplatform declaration actualised in an intermediate source set is shown twice in a completion popup called in the source set
    IDE. Debugger
    • KTIJ-20815 MPP Debugger: Evaluation of expect function for the project with intermediate source set may fail with java.lang.NoSuchMethodError
    IDE. Decompiler, Indexing, Stubs
    • KTIJ-21472 "java.lang.IllegalStateException: Could not read file" exception on indexing invalid class file
    • KTIJ-20802 Definitely Not-Null types: "UpToDateStubIndexMismatch: PSI and index do not match" plugin error when trying to use library function with T&Any
    • KT-51248 Function and parameter names with special symbols have to backticked
    IDE. FIR
    • KTIJ-20443 FIR IDE: Work in Dumb mode
    • KTIJ-21374 FIR IDE: Incorrect highlighting for operators
    • KTIJ-21013 FIR IDE: Inconsistent smartcasts highlighting
    • KTIJ-21343 FIR IDE: Navigation from explicit invoke call does not work
    • KTIJ-20852 FIR IDE: Exception when checking isInheritor on two classes in different modules
    • KTIJ-21021 FIR IDE: Completion of extension function does not work on nullable receiver
    • KTIJ-20637 FIR IDE: Strange exception while commenting-uncommenting FirReferenceResolveHelper.kt
    • KTIJ-20971 FIR IDE: "Parameter Info" shows parameters of uncallable methods
    IDE. Gradle Integration
    • KTIJ-21807 Gradle to IDEA import: language and API version settings are not imported for Native facet
    • KTIJ-21692 Kotlin Import Test maintenance: 1.7.0-Beta
    • KTIJ-20567 Kotlin/JS: Gradle import into IDEA creates no proper sub-modules, source sets, facets
    IDE. Hints. Inlay
    • KTIJ-20552 Support definitely non-null types in inlay hints
    IDE. Inspections and Intentions
    New Features
    • KTIJ-18979 Quickfix for INTEGER_OPERATOR_RESOLVE_WILL_CHANGE to add explicit conversion call
    • KTIJ-19950 Provide quickfixes for INVALID_IF_AS_EXPRESSION_WARNING and NO_ELSE_IN_WHEN_WARNING
    • KTIJ-19866 Create quick-fix for effective visibility error on private-in-file interface exposing private class
    • KTIJ-19939 Provide quickfix for deprecated confusing expressions in when branches
    Fixes
    • KTIJ-20705 Register quickfix for NO_CONSTRUCTOR_WARNING diagnostic
    • KTIJ-21226 "Remove else branch" quick fix is not suggested
    • KTIJ-20981 Definitely non-null types: quick-fixes suggested incorrectly for LV=1.6 when Xenhance-type-parameter-types-to-def-not-null flag is set
    • KTIJ-20953 Add quickfix for OVERRIDE_DEPRECATION warning to 1.7 - 1.9 migration
    • KTIJ-20734 Replace with [@​JvmInline] value quick fix should be appliable on a whole project
    • KTIJ-21420 Add 'else' branch quick fix suggestion is displayed twice in case 'if' isn't completed
    • KTIJ-21192 "Make protected" intention is redundant for interface properties
    • KTIJ-18120 "Make public" intention does not add explicit "public" modifier when using ExplicitApi Strict mode
    • KTIJ-20493 "Create expect" quick fix doesn't warn about platform-specific annotations
    IDE. Misc
    IDE. Multiplatform
    • KT-49523 Improve environment setup experience for KMM projects
    • KT-50952 MPP: Commonized cinterops doesn't attach/detach to source set on configuration changes
    IDE. Native
    • KT-44329 Improve UX of using Native libraries in Kotlin
    • KTIJ-21602 With Native Debugging Support plugin Gradle run configurations can't be executed from IDEA: LLDB_NATVIS_RENDERERS_ENABLED
    IDE. Wizards
    • KTIJ-20919 Update ktor-html-builder dependency in kotlin wizards
    • KTIJ-20962 Wizard: Invalid Ktor imports
    JavaScript
    New Features
    • KT-51735 KJS / IR: Minimize member names in production mode
    Performance Improvements
    • KT-51127 Kotlin/JS - IR generates plenty of useless Unit_getInstance()
    • KT-50212 KJS IR: Upcast should be a no-op
    • KT-16974 JS: Kotlin.charArrayOf is suboptimal due to Rhino bugs
    Fixes
    • KT-44319 JS IR BE: Add an ability to generate separate JS files for each module
    • KT-52518 Kotlin/JS IR: project with 1.6.21 fails to consume library built with 1.7.0-RC: ISE "Unexpected IrType kind: KIND_NOT_SET" at IrDeclarationDeserializer.deserializeIrTypeData()
    • KT-52010 K/JS IR: both flows execute when using elvis operator
    • KT-41096 KJS IR: @​JsExport should use original js name for external declarations
    • KT-52144 KJS / IR: Missing property definitions for interfaced defined properties
    • KT-52252 KJS / IR: overridden properties are undefined/null
    • KT-51973 KJS / IR overridden properties of inherited interface missing
    • KT-51125 Provide a way to use import keyword in js expressions
    • KT-40888 KJS / IR: Missing methods are no longer generated (polyfills)
    • KT-50504 KJS / IR: Transpiled JS incorrectly uses the unscrambled names of internal fields
    • KT-51853 JS compilation fails with "Uninitialized fast cache info" error
    • KT-51205 K/JS IR: external class is mapped to any
    • KT-50806 Typescript definitions contain invalid nested block comments with generic parent and type argument without @JsExport
    • KT-51841 KJS / IR: No flat hash for FUN FAKE_OVERRIDE with kotlin.incremental.js.ir=true
    • KT-51081 KJS / IR + IC: Passing an inline function with default params as a param to a higher-order function crashes the compiler
    • KT-51084 KJS / IR + IC: Cache invalidation doesn't check generic inline functions reified qualifier
    • KT-51211 K/JS IR: JsExport: Can't export nested enum
    • KT-51438 KJS / IR: Duplicated import names for the same external names
    • KT-51238 Kotlin/JS: IR + IC: build fails after clean on compileTestDevelopmentExecutableKotlinJs task: "Failed to create MD5 hash for file '.../build/classes/kotlin/main' as it does not exist"
    • KT-50674 KJS / IR: JS code cannot modify local variable
    • KT-50953 KJS IR: Incorrect nested commenting in d.ts
    • KT-15223 JS: function that overrides external function with vararg parameter is translated incorrectly
    • KT-50657 KJS / IR 1.6.20-M1-39 - Date in Kotlin JS cannot be created from long.
    Language Design
    New Features
    • KT-45618 Stabilize builder inference
    • KT-30485 Underscore operator for type arguments
    • KT-49006 Support at least three previous versions of language/API
    • KT-16768 Context-sensitive resolution prototype (Resolve unqualified enum constants based on expected type)
    • KT-14663 Support having a "public" and a "private" type for the same property
    • KT-50477 Functional conversion does not work on suspending functions
    • KT-32162 Allow generics for inline classes
    Fixes
    • KT-12380 Support sealed (exhaustive) whens
    • KT-27750 Reverse reservation of 'yield' as keyword
    • KT-22956 Release OptIn annotations
    • KT-44866 Change behavior of private constructors of sealed classes
    • KT-49110 Prohibit access to members of companion of enum class from initializers of entries of this enum
    • KT-29405 Switch default JVM target version to 1.8
    Libraries
    New Features
    • KT-50484 Extensions for java.util.Optional in stdlib
    • KT-50146 Reintroduce min/max(By/With) operations on collections with non-nullable return type
    • KT-46132 Specialized default time source with non-allocating time marks
    • KT-41890 Support named capture groups in Regex on Native
    • KT-48179 Introduce API to retrieve the number of CPUs the runtime has
    Performance Improvements
    • KT-42178 Range and Progression should override last()
    Fixes
    • KT-42436 Support java.nio.Path extension in the standard library
    • KT-51470 Stabilize experimental API for 1.7
    • KT-51775 JS: Support named capture groups in Regex
    • KT-51776 Native: Support back references to groups with multi-digit index
    • KT-51082 Introduce Enum.declaringJavaClass property
    • KT-51848 Promote deepRecursiveFunction to stable API
    • KT-48924 KJS: toString in base 36 produces different results in JS compare to JVM
    • KT-50742 Regular expression is fine on jvm but throws PatternSyntaxException for native macosX64 target
    • KT-50059 Stop publishing kotlin-stdlib and kotlin-test artifacts under modular classifier
    • KT-26678 Rename buildSequence/buildIterator to sequence/iterator
    Native
    • KT-49406 Kotlin/Native: generate standalone executable for androidNative targets by default
    • KT-48595 Enable Native embeddable compiler jar in Gradle plugin by default
    • KT-51377 Native: synthetic forward declarations are preferred over commonized definitions
    • KT-49145 Kotlin/Native static library compilation fails for androidNative*
    • KT-49496 Gradle (or the KMM plugin) is caching the Xcode Command Line Tools location
    • KT-49247 gradle --offline should translate into airplaneMode for kotin-native compiler
    Native. Build Infrastructure
    • KT-52259 kotlin-native releases from GitHub don't contain platform libs
    Native. C and ObjC Import
    • KT-49455 Methods from Swift extensions are not resolved in Kotlin shared module
    • KT-50648 Incorrect KMM cinterop conversion
    Native. ObjC Export
    • KT-50982 RuntimeAssertFailedPanic in iOS when Kotlin framework is initialized before loading
    • KT-49937 Kotlin/Native 1.5.31: 'runtime assert: Unexpected selector clash' when 'override fun toString(): String' is used
    Native. Platforms
    • KT-52232 Kotlin/Native: simplify toolchain dependency override for MinGW
    Native. Runtime
    • KT-52365 Kotlin/Native fails to compile projects for 32-bit targets when new memory manager is enabled
    Native. Runtime. Memory
    • KT-48537 Kotlin/Native: improve GC triggers in the new MM.
    • KT-50713 Kotlin/Native: Enable Concurrent Sweep GC by default
    Native. Stdlib
    • KT-50312 enhancement: kotlin native -- add alloc<TVarOf>(T)
    Native. Testing
    • KT-50316 Kotlin/Native: Produce a list of available tests alongside the final artifact
    • KT-50139 Create tests for Enter/Leave frame optimization
    Reflection
    • KT-27598 "KotlinReflectionInternalError" when using callBy on constructor that has inline class parameters
    • KT-31141 IllegalArgumentException when reflectively accessing nullable property of inline class type
    Tools. CLI
    • KT-52409 Report error when use-k2 with Multiplatform
    • KT-51717 IllegalArgumentException: Unexpected versionNeededToExtract (0) in 1.6.20-RC2 with useFir enabled
    • KT-52217 Rename 'useFir' to 'useK2'
    • KT-29974 Add a compiler option '-Xjdk-release' similar to javac's '--release' to control the target JDK version
    • KT-51673 Make language version description not in capital letters
    • KT-48833 -Xsuppress-version-warnings allows to suppress errors about unsupported versions
    • KT-51627 kotlinc fails with java.lang.RuntimeException if /tmp/build.txt file exists on the disk
    • KT-51306 Support reading language settings from an environment variable and overriding the current settings by them
    • KT-51093 "-Xopt-in=..." command line argument no longer works
    Tools. Commonizer
    • KT-43309 Overwrite return type and parameter types of callable member to succeed commonization
    • KT-52050 [Commonizer] 'platform.posix.DIR' not implementing 'CPointed' when commonized for 'nativeMain' on linux or windows hosts
    • KT-51224 MPP: For optimistically commonized numbers missed kotlinx.cinterop.UnsafeNumber
    • KT-51215 MPP: Update Kdoc description for kotlinx.cinterop.UnsafeNumber
    • KT-51686 Cinterop: Overload resolution ambiguity in 1.6.20-RC2
    • KT-46636 HMPP: missed classes from platform.posix.*
    • KT-51332 Optimistic number commonization is disabled by default in KGP with enabled HMPP
    Tools. Compiler Plugins
    • KT-50992 jvm-abi-gen breaks inline functions in inline classes with private constructors in Kotlin 1.6.20
    Tools. Daemon
    • KT-32885 KT. Kotlin daemon compilation process is broken: java.lang.IllegalStateException Service is dying at entities generation by Kotlin.kts script
    Tools. Gradle
    New Features
    • KT-49227 Support Gradle plugins variants
    • KT-50869 Provide API that allow AGP to set up Kotlin compilation
    • KT-48008 Consider offering a KotlinBasePlugin
    • KT-52030 Provide experimental possibility to view internal information about Kotlin Compiler performance
    Performance Improvements
    • KT-52141 Optimize Java class snapshotting for the kotlin.incremental.useClasspathSnapshot feature
    • KT-51978 Optimize classpath snapshot cache for the kotlin.incremental.useClasspathSnapshot feature
    • KT-51326 Kotlin-gradle-plugin performance issue with mass java SourceRoots
    Fixes
    • KT-52448 Compilation tasks are missing input/output/internal annotations on includes/excludes properties
    • KT-52239 Type based task configuration-blocks for JVM stopped working in Gradle
    • KT-52313 No recompilation in Gradle after adding or removing function parameters, removing functions (and maybe more) in dependent modules
    • KT-51854 Add Ktor to gradle performance benchmark
    • KT-52086 Rename flag 'use-fir' to 'use-k2'
    • KT-52509 Main variant published to Gradle plugin portal uses unshadowed artifact
    • KT-52392 Gradle: 1.7.0 does not support custom gradle build configuration on Windows OS
    • KT-32805 KotlinCompile inherits properties sourceCompatibility and targetCompatibility which breaks Gradle's incremental compilation
    • KT-52189 Provide Gradle Kotlin/DSL friendly deprecated classpath property in KotlinCompiler task
    • KT-51415 Confusing build failure reason is displayed in case kapt is used and different JDKs are used for compileKotlin and compileJava tasks
    • KT-52187 New IC can not be enabled in an Android project using kapt
    • KT-51898 Upgrading Kotlin/Kotlin Gradle plugin to 1.5.3 and above breaks 'com.android.asset-pack' plugin
    • KT-51913 Gradle plugin should not add attributes to the legacy configurations
    • KT-34862 Restoring from build cache breaks Kotlin incremental compilation
    • KT-45777 New IC in Gradle
    • KT-51360 Show performance difference in percent between releases
    • KT-51380 Add open-source project using Kotlin/JS plugin to build regression benchmarks
    • KT-51937 Toolchain usage with configuration cache prevents KotlinCompile task to be UP-TO-DATE
    • KT-48276 Remove kotlin2js and kotlin-dce-plugin
    • KT-52138 KSP could not access internal methods/properties in Kotlin Gradle Plugin
    • KT-51342 Set minimal supported Android Gradle plugin version to 3.6.4
    • KT-50494 Remove kotlin.experimental.coroutines Gradle DSL option
    • KT-49733 Bump minimal supported Gradle version to 6.7.1
    • KT-48831 Remove 'KotlinGradleSubplugin'
    • KT-47924 Remove annoying cast in toolchain extension method for Kotlin DSL
    • KT-46541 Fail Gradle builds when deprecated kotlinOptions.jdkHome is set
    • KT-51830 Gradle: deprecate kotlin.compiler.execution.strategy system property
    • KT-47763 Gradle DSL: Remove deprecated useExperimentalAnnotation and experimentalAnnotationInUse
    • KT-51374 NoSuchFileException in getOrCreateSessionFlagFile()
    • KT-51837 kotlin-gradle-plugin:1.6.20 fails xray scan on shadowed Gson 2.8.6.
    • KT-51454 KotlinJvmTest is not a cacheable task
    • KT-45745 Migrate only Kotlin Gradle Plugin tests to new JUnit5 DSL and run them separately on CI
    • KT-47318 Remove deprecated 'kotlinPluginVersion' property in `KotlinBasePluginWrapper'
    • KT-51378 Gradle 'buildSrc' compilation fails when newer version of Kotlin plugin is added to the build script classpath
    • KT-46038 Gradle: kotlin_module files are corrupted in the KotlinCompile output, and gets cached
    • KT-51064 Kotlin gradle build hangs on MetricsContainer.flush
    • KT-48779 Gradle: Could not connect to kotlin daemon
    Tools. Gradle. Cocoapods
    • KT-50622 Cocoapods Plugin: cocoapods-generate does not work correctly with ruby 3.0.0 and higher
    • KT-51861 Custom binary name in CocoaPods plugin isn't respected by fatFramework task
    Tools. Gradle. JS
    • KT-52221 Kotlin/JS: failed Node tests are not reported in a standard way
    • KT-51895 K/JS: Redundant technical messages during JS tests
    • KT-51414 Allow set up environment variables for JS tests
    • KT-51623 Kotlin/JS: Mocha could not failed when external module not found
    • KT-51503 Update NPM dependency versions
    Tools. Gradle. Multiplatform
    New Features
    • KT-51386 [KPM] IdeaKotlinProjectModelBuilder: Implement dependencies
    Fixes
    • KT-49524 Improve DSL for managing Kotlin/Native binary output
    • KT-51765 com.android.lint in multiplatform project without android target should not trigger warning
    • KT-38456 MPP with Android source set: allTests task does not execute Android unit tests
    • KT-44227 Common tests are not launched on local JVM for Android via allTests task in a multiplatform project
    • KT-51946 Temporarily mark HMPP tasks as notCompatibleWithConfigurationCache for Gradle 7.4
    • KT-52140 Support extensibility Kotlin Artifacts DSL by external gradle plugins

    Configuration

    📅 Schedule: Branch creation - "before 10am on monday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about these updates again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by Mend Renovate. View repository job log here.

    dependencies 
    opened by renovate[bot] 0
  • Update dependency gradle to v7.3.1

    Update dependency gradle to v7.3.1

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Update | Change | |---|---|---| | gradle (source) | minor | 7.2 -> 7.3.1 |


    Release Notes

    gradle/gradle

    v7.3.1

    This is a patch release for Gradle 7.3.

    It fixes the following issues:

    • #​19058 Consider reverting breaking change about test configuration
    • #​19067 Fix multiple annotation processing issues discovered by Micronaut

    We recommend users upgrade to 7.3.1 instead of 7.3.

    Upgrade Instructions

    Switch your build to use Gradle 7.3.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=7.3.1
    

    See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.3.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.


    Configuration

    📅 Schedule: "before 10am on monday" in timezone Asia/Tokyo.

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    dependencies 
    opened by renovate[bot] 0
  • chore(deps): update dependency gradle to v7

    chore(deps): update dependency gradle to v7

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Update | Change | |---|---|---| | gradle (source) | major | 6.9.1 -> 7.2 |


    Release Notes

    gradle/gradle

    v7.1.1

    This is a patch release for Gradle 7.1.

    It fixes the following issues:

    • #​17488 Many Micronaut builds failing with NPE with Gradle 7.1 & JDK 8
    • #​17548 [Configuration cache] Task not up-to-date for SantaTracker
    • #​17542 [Configuration cache] Filtered FC with mapped elements stored incorrectly

    We recommend users upgrade to 7.1.1 instead of 7.1.

    Upgrade Instructions

    Switch your build to use Gradle 7.1.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=7.1.1
    

    See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.1.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.

    v7.0.2

    This is a patch release for Gradle 7.0.

    This fixes an issue with files system watching on certain Linux distributions.

    We recommend users upgrade to 7.0.2 instead of 7.0.

    Upgrade Instructions

    Switch your build to use Gradle 7.0.2 by updating your wrapper:

    ./gradlew wrapper --gradle-version=7.0.2
    

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.0.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.

    v7.0.1

    This is a patch release for Gradle 7.0.

    This fixes several issues reported against 7.0.

    We recommend users upgrade to 7.0.1 instead of 7.0.

    Upgrade Instructions

    Switch your build to use Gradle 7.0.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=7.0.1
    

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.0.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.

    v7.0


    Configuration

    📅 Schedule: At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    dependencies 
    opened by renovate[bot] 0
  • chore(deps): update dependency com.android.tools.build:gradle to v7

    chore(deps): update dependency com.android.tools.build:gradle to v7

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | com.android.tools.build:gradle (source) | 4.2.2 -> 7.0.3 | age | adoption | passing | confidence |


    Configuration

    📅 Schedule: At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update kotlin_version to v1.5.31

    chore(deps): update kotlin_version to v1.5.31

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | org.jetbrains.kotlin:kotlin-stdlib-jdk7 (source) | 1.3.50 -> 1.5.31 | age | adoption | passing | confidence | | org.jetbrains.kotlin:kotlin-gradle-plugin (source) | 1.3.50 -> 1.5.31 | age | adoption | passing | confidence |


    Release Notes

    JetBrains/kotlin

    v1.5.31

    Changelog

    Compiler
    Fixes
    • KT-48659 JVM / IR: Referential equality returns true for different instances
    • KT-48613 Kotlin/Native fails to compile debug binaries for watchosArm64 target
    • KT-48316 "No value passed for parameter" regression with Java annotation default values with JSR-305
    • KT-48343 Mistake in an error message for uninferred type variable without unrestricted builder inference
    • KT-48543 Native compiler crashes because of bridges for $default stubs
    • KT-48349 OptIn markers are forbidden on local variable / value parameter / property getter only in presence of explicit Target annotation
    • KT-48295 JVM / IR: VerifyError: Bad access to protected data in getfield
    • KT-48551 JVM / IR: "IllegalStateException: Inline class has no primary constructor" caused by inline class from one module and fun interface from another
    • KT-47917 JVM: "UTF8 string too large" caused by a big string
    • KT-48440 JVM IR: Missing checkcast in generated bytecode causes VerifyError in Kotlin 1.5.30
    • KT-48361 INTEGER_OPERATOR_RESOLVE_WILL_CHANGE is not reported in some positions
    • KT-48267 JVM IR: CCE on callable reference to Array constructor passed to inline function
    IDE
    • KTIJ-15744 Reopening build.gradle.kts-based project reports MISSING_SCRIPT_BASE_CLASS KotlinBuildScript until re-import
    • KTIJ-19005 JDK 17: "PermittedSubclasses requires ASM9" exception multiple times per second during analysis
    • KTIJ-19504 IDE highlighting: Kotlin plugin 1.5.30 started showing some valid classes from multiplatform libraries as not existing
    Native
    • KT-48591 Kotlin/Native: Char.isHighSurrogate and Char.isLowSurrogate return wrong result for macosArm64 and iosArm64 with compiler cache enabled
    • KT-48491 CInterop broke in Kotlin 1.5.30

    Checksums

    | File | Sha256 | | --- | --- | | kotlin-compiler-1.5.31.zip | 661111286f3e5ac06aaf3a9403d869d9a96a176b62b141814be626a47249fe9e | | kotlin-native-linux-x86_64-1.5.31.tar.gz | 636b7e9e54eefa3fa1d284677a8ec2271d0f98b024a8a60127ef20a3badaae03 | | kotlin-native-macos-x86_64-1.5.31.tar.gz | fde7224a8e04a6cd934ecbf55d4d51966f8a0668104f4316a76b3f38062d1ade | | kotlin-native-macos-aarch64-1.5.31.tar.gz | fbd005e360253e7d7ff1cd78b7cbbe34df0592812676deada6620a53d469d803 | | kotlin-native-windows-x86_64-1.5.31.zip | 11c2e3378ea2e0121e9c3378e58f9813fc5f7850110c0e341739ab514f1379ca |

    v1.5.30

    Backend. Native. Debug
    • KT-47405 Incorrect path from inlined method in stacktrace on iOS-simulator ARM64
    • KT-47408 Incorrect line number of inlined method on iOS-simulator ARM64
    Compiler
    New Features
    • KT-44261 Support RxJava 3 nullability annotations
    • KT-32443 Experimental declarations should be contagious even when they are not explicitly used
    • KT-45844 Forbid using experimental markers on override declarations
    • KT-45845 Forbid using experimental markers on getter
    • KT-46644 Resolve overrides for IrProperty on deserialization
    • KT-46967 Support class type parameters annotations in FIR
    • KT-47402 Native: optimize access to object declarations that have only const vals and no init blocks
    • KT-47709 Make when statements with enum, sealed, and Boolean subjects exhaustive by default
    • KT-47699 Support programmatic creation of class annotations and corresponding feature flag on JVM
    Performance Improvements
    • KT-45103 Direct invoke optimization
    • KT-47785 Compilation time increased when trying to compile AssertJ DB expression in 1.5.21
    Fixes
    • KT-48361 INTEGER_OPERATOR_RESOLVE_WILL_CHANGE is not reported in some positions
    • KT-48180 JVM / IR: AssertionError: "Lambda with offset already exists" caused by calling inline function with default lambda parameter
    • KT-47328 JVM / IR: NoSuchFieldError with missing CHECKCAST
    • KT-48172 "IllegalStateException: Cannot serialize error type: [ERROR : ]" in 1.5.21 with java kotlin interop
    • KT-48230 JVM IR: CCE for multiple receivers case
    • KT-48262 "Inconsistent type" with JSpecify @​NullMarked
    • KT-48167 JVM / IR: If Map#entrySet is implemented in an interface, Kotlin compiler generates incorrect code for its implementation
    • KT-47988 JVM / IR: "VerifyError: Bad type on operand stack" when invoking apply with a local method reference
    • KT-48163 JVM / IR: "VerifyError: Bad type on operand stack" when throwing result of smartcast
    • KT-47833 False positive "Type argument is not within its bounds " with upcasting in 1.5.30-M1
    • KT-47830 Some code doesn't compile with unrestricted builder inference
    • KT-39883 Deprecate computing constant values if complex boolean expressions in when condition branches and conditions of loops
    • KT-47037 Eliminate builder inference restrictions
    • KT-46726 IR + BuilderInference: AssertionError: Unbound private symbol on usage of this in a BuilderInference lambda
    • KT-43855 Support gradual introduction of new nullability annotations
    • KT-43142 FIR: Check UPPER_BOUND_VIOLATED for type alias constructors properly
    • KT-45228 Leaking builder inference type variables though callable references
    • KT-42270 NI: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER for BuilderInference with extension functions
    • KT-46029 JVM / IR: "Unbound private symbol: " when trying to save SequenceScope in property
    • KT-45258 Wrong CST between types which contain stub type
    • KT-45224 Type safety problem through leaking of the builder inference scope
    • KT-22852 Report diagnostics on implicit usages of experimental API
    • KT-22941 Experimental marker annotation with SOURCE retention is compiled without error
    • KT-24993 Inference for buildSequence/yield doesn't work for labeled lambdas
    • KT-31728 Incorrect EXPERIMENTAL_OVERRIDE_ERROR for override of experimental function in anonymous object
    • KT-33364 Kotlin/Native debugger: execution stops only at next line for breakpoint at when expression without parameter
    • KT-42139 NI: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER for emptyList / listOf (with no arguments) / emptyMap / mapOf (with no arguments) inside if block inside sequence block
    • KT-44241 NI: BuilderInference regression
    • KT-44372 FIR: KClass::java cannot be resolved as callable reference
    • KT-44547 Native: wrong RTTI when overriding functions with equal signatures but different type arguments
    • KT-44571 Segfault on unnecessary int unboxing
    • KT-45083 Problem with property reference in builder inference
    • KT-45315 Deprecate (V)::a reference resolution to companion in FE 1.0
    • KT-46393 AE: "1 trailing arguments were found in Any type" for private function with implicit anonymous return type inside generic class
    • KT-46661 FIR: Investigate inference issue with self-types and star projection
    • KT-46775 [Native] [IR] Support multiple suspend lambdas as class supertypes
    • KT-46836 Error: Invalid LLVM module on inlineClasses external tests
    • KT-46838 NullPointerException: Parameter specified as non-null is null in CollectionsKt.joinToString()
    • KT-46896 Native IR: NPE when using irBuiltIns.suspendFunction
    • KT-46996 FIR: INFERENCE_NO_INFORMATION_FOR_PARAMETER on type aliases with non-trivial expansions
    • KT-47034 KtValueArgument.getArgumentExpression could lead to StubBasedPsiElementBase.notBoundInExistingAst
    • KT-47052 BuilderInference case with flatMapTo doesn't work properly
    • KT-47082 Stub type variable is leaked (reproduces with K/N during deserialization)
    • KT-47143 ClassicTypeSystemContext couldn't handle: Captured(*) in Kotlin 1.5.0
    • KT-47148 Type mismatch: inferred type is Any? but T? was expected
    • KT-47180 Forbid using OptIn markers on local variable, value parameter or field
    • KT-47181 Forbid using OptIn markers on types or type parameters
    • KT-47183 Segfault on int unboxing
    • KT-47208 Backend Internal error: Exception during IR lowering: assert at IrOverridingUtilKt.buildFakeOverrideMember
    • KT-47276 Nullability annotations without target are ignored if type enhancement improvements are enabled
    • KT-47450 StackOverflowException in psi2ir with many chained binary expressions
    • KT-47462 K/N: AssertionError: Unbound private symbol org.jetbrains.kotlin.ir.symbols.impl.IrClassSymbolImpl@6cb748d (NON-PUBLIC API): deserialized class Companion
    • KT-47941 "IllegalStateException: Expected some types" on a call with several excepted type constraints
    • KT-47854 "IllegalArgumentException: Type is inconsistent" with Android's @​Nullable annotation starting in Kotlin 1.5.20
    • KT-47899 "AssertionError: Intersection type should not be marked nullable" with 1.5.21
    • KT-47846 Stack overflow when handling enhanced recursive type parameter
    • KT-47747 Introduce specific error for calls which could be resolved only with unrestricted builder inference
    • KT-47739 JVM / IR: NoSuchFieldError with generic sealed classes
    • KT-47422 -Xjspecify-annotations: If a class has a @​Nullable type-parameter bound, Kotlin should still treat some users' type arguments as platform types
    • KT-47437 Type inference failure with raw types under -Xjspecify-annotations=strict
    • KT-47396 <?> in @​NullMarked code should permit nullable types
    • KT-47729 False positive INTEGER_OPERATOR_RESOLVE_WILL_CHANGE warning: "expression will be resolved to Int in future releases"
    • KT-47333 Xcode 13: Compilation for iOS simulator fails
    • KT-47772 False negative WRONG_ANNOTATION_TARGET on type argument to function call
    • KT-47467 JVM / IR: "AssertionError: Annotation class expected: deserialized class Array" caused by java annotation as a parameter of another annotation
    • KT-47744 UninitializedPropertyAccessException compiler exception on nested builder inference calls
    • KT-47724 Type inference: False positive "Returning type parameter has been inferred to Nothing implicitly"
    • KT-47660 JVM / IR: Mockito verification fails when named parameters are ordered differently
    • KT-47589 Using RequiresOptIn annotation on constructor property results in error even if the annotation has no VALUE_PARAMETER target
    Docs & Examples
    • KT-47649 Important note about KJS IR compiler and stdlib compatibility in 1.5.30
    IDE
    • KT-44643 ISE: Could not generate LightClass for some declared in on initialisation by lazy in a JVM module of a multiplatform project
    • KT-47947 Add language version 1.6 to the compiler configuration preferences
    IDE. Gradle Integration
    • KT-47163 KJS / Gradle: Could not resolve <artifact> despite being resolvable & project buildable
    IDE. JS
    • KT-46548 KJS: Create an IDE plugin to help with migration to and keeping compatibility with JS IR BE
    • KT-47557 KJS: With NPM dependency IDEA import fails when performed before Gradle build
    JavaScript
    • KT-46204 KJS / IR: Support SuspendFunctionN as super type
    • KT-38363 JS IR BE: support IC for lowerings
    • KT-41651 JS IR BE: DCE removes render method from react components passed to the kotlinx.react
    • KT-46520 KJS / IR: ISE "Can't find name for declaration FUN name:CharArray_init_$Create$" on callable reference to Array constructor
    • KT-45738 KJS / IR: Wrong generated code for when statement
    • KT-46551 KJS / IR: Add a basic sourcemap generation
    Libraries
    • KT-47477 Could not resolve kotlin-test during project import in case of multiplatform with only JVM target platform
    • KT-47675 Converting Double to Duration may expose inexactness
    • KT-47419 Remove method of the MapBuilder iterator throws IOOBE instead of IllegalStateException
    • KT-47211 Kotlin Native - AbstractMutableList.addAll (with index) does not throw IndexOutOfBoundsException if elements is empty
    • KT-23351 Regex.splitToSequence, CharSequence.splitToSequence(Regex)
    • KT-42851 kotlin.time.Duration toString() shows wrong result for seconds
    • KT-45325 Parsing Duration from String
    • KT-34021 Regex.matchAt / matchesAt
    Native
    • KT-35001 warning: linking module flags 'SDK Version': IDs have conflicting values ('[2 x i32] [i32 13, i32 2]'
    • KT-43475 Kotlin/Native compiler: Including a static C library increased cross-compilation time from 3.5minutes to 1 hour 40 minutes
    • KT-44148 Escape analysis failure: Heap space out of memory
    Native. C and ObjC Import
    • KT-46711 platform.windows._LARGE_INTEGER cannot be passed by value
    Native. ObjC Export
    • KT-43780 Improve Swift/Obj-C ergonomics for object and companion object
    • KT-46431 KMP accessing a property of an anonymous inner class that inherits from an abstract class causes a 'NSGenericException', reason: '[Shared_kobjcc0 ] is abstract' exception.
    • KT-47042 Kotlin/Native: Concurrency Interoperability with Objective-C (Swift 5.5)
    Native. Stdlib
    • KT-47915 Kotlin/Native: Provide access to test cases generated by the compiler
    Native. Platforms
    • KT-44321 Support Apple Silicon without Rosetta 2
    Reflection
    • KT-18277 InvalidProtocolBufferException: Stream closed on multithreaded access to built-ins data in reflection
    • KT-44977 Reflection: ClassCastException caused by annotations with "AnnotationTarget.TYPE" usage on array attributes access
    • KT-47650 KClass::nestedClasses throws ClassCastException for script classes with type aliases
    Tools. CLI
    • KT-47623 Deprecate -Xuse-experimental
    • KT-30778 kotlin-compiler.jar contains shaded but not relocated kotlinx.coroutines
    • KT-40979 CLI: Executing "kotlinc.bat" at a root path, errors are not reported with a correct filepath
    • KT-40994 CLI: Add documentation for -J argument in kotlinc -help
    • KT-46764 CLI: Java record defined in a single file root is not resolved
    Tools. Commonizer
    • KT-47433 [Commonizer] Commonize functions/properties with TA/Class types in signature
    • KT-47691 [Commonizer] Commonize var and val properties
    • KT-47434 [Commonizer] Commonize parameterized (type-alias + class) types
    • KT-47432 [Commonizer] Commonize (type-alias + class) types used in functions
    • KT-45992 [Commonizer] Allow commonization of TypeAlias and Class with same name
    • KT-46716 [Commonizer] Analyze leaf source sets with original platform libraries
    • KT-46957 [Commonizer] Unresolved classifier: platform/posix/ptrdiff_t for linuxMips32
    • KT-47133 Forbid cinterop commonization with hierarchical commonization turned off
    • KT-47301 [Commonizer] Associative commonization
    Tools. Compiler Plugins
    Tools. Daemon
    • KT-47152 Incremental Compilation with Kotlin compile daemon and JDK 17 fails with IllegalAccessException
    Tools. Gradle
    New Features
    • KT-45757 Add an easier way to explicitly set Kotlin daemon jvm arguments
    Fixes

    v1.5.21

    Compiler
    • KT-47320 "StringConcatException: Mismatched number of concat arguments" String concatenation fails when template contains special character
    • KT-47445 "definitely not null type parameters is only available since language version 1.6" error in cast expression
    • KT-47446 Improve warning message INTEGER_OPERATOR_RESOLVE_WILL_CHANGE
    • KT-47447 False positive INTEGER_OPERATOR_RESOLVE_WILL_CHANGE warning: "expression will be resolved to Int in future releases"
    • KT-47449 JVM / IR: ClassCastException IrStarProjectionImpl cannot be cast to IrTypeProjection
    • KT-47459 "IndexOutOfBoundsException: Index 0 out of bounds for length 0" caused by MarkertManager dependency
    • KT-47480 StackOverflowError: Recursion on erasion of raw type with interdependent type parameters
    Tools. Compiler Plugins
    • KT-47161 Serializable class can't be inherited from serializable class in other module with: e: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Couldn't transform method node: write$Self
    • KT-47455 Kotlin lombok plugin NullPointerException
    • KT-47513 Lombok compiler plugin failed with 'Recursion detected in a lazy value under LockBasedStorageManager@1c21db6 (TopDownAnalyzer for JVM)'
    Tools. Gradle
    • KT-47444 Gradle Plugin: Publishing project with "maven-publish" fails when dependency versions are omitted (NPE in MppDependencyRewritingUtilsKt.associateDependenciesWithActualModuleDependencies)
    Tools. kapt
    • KT-47416 Kapt Gradle DSL ignores javaCompilerOptions in 1.5.20

    v1.5.20

    Compiler
    New Features
    • KT-43262 No error for Java generic class @​NotNull type parameter used in Kotlin with nullable type argument
    • KT-44373 FIR: support error / warning suppression
    • KT-45189 Support nullability annotations at module level
    • KT-45284 Emit warnings based on jspecify annotations
    • KT-45525 Allow to omit JvmInline annotation for expect value classes
    • KT-46545 Emit annotations on function type parameters into bytecode for -jvm-target 1.8 and above
    Performance Improvements
    • KT-36646 Don't box primitive values in equality comparison with objects in JVM_IR
    Fixes
    • KT-8325 Unresolved annotation should be an error
    • KT-19455 Type annotation unresolved on a type parameter of a supertype in anonymous object expression
    • KT-24643 Prohibit using a type parameter declared for an extension property inside delegate
    • KT-25876 Annotations on return types and supertypes are not analyzed
    • KT-28449 Annotation target is not analyzed in several cases for type annotations
    • KT-36770 Prohibit unsafe calls with expected @​NotNull T and given Kotlin generic parameter with nullable bound
    • KT-36880 K/N IR: Reference to expect property in actual declaration is not remapped
    • KT-38325 IllegalStateException: No parameter with index 0-0 when iterating Scala 2.12.11 List
    • KT-38342 FIR: Consider renaming diagnostic from AMBIGUITY to OVERLOAD_RESOLUTION_AMBIGUITY
    • KT-38476 [FIR] Forgotten type approximation
    • KT-38540 Kotlin/Native Set.contains fails with specific enum setup
    • KT-40425 IrGenerationExtension. Support simple reporting to compiler output (for development/debug)
    • KT-41620 ClassCastException: Class cannot be cast to java.lang.Void
    • KT-41679 NI: TYPE_MISMATCH wrong type inference of collection with type Any and integer literal
    • KT-41818 NI: False positive IMPLICIT_NOTHING_TYPE_ARGUMENT_IN_RETURN_POSITION leads to NothingValueException on delegated properties
    • KT-42239 IR: Report compilation error instead of throwing an exception (effectively crash compiler) when some declaration wasn't found while deserialization
    • KT-42631 ArrayIndexOutOfBoundsException was thrown during IR lowering
    • KT-43258 NI: False positive "Suspend function 'invoke' should be called only from a coroutine or another suspend function" when calling suspend operator fun on object property from last expression of a crossinlined suspend lambda
    • KT-44036 Enum initialization order
    • KT-44511 FIR DFA: smartcast after if (nullable ?: boolean)
    • KT-44554 RAW FIR: NPE in RawFirBuilder
    • KT-44682 raw FIR: incorrect source for qualified access
    • KT-44695 *_TYPE_MISMATCH_ON_OVERRIDE checkers do not work for anonymous objects
    • KT-44699 FIR: incorrect lambda return type (led to a false alarm: PROPERTY_TYPE_MISMATCH_ON_OVERRIDE)
    • KT-44802 FIR bootstrap: trying to access package private class
    • KT-44813 FIR bootstrap: various errors in collection-like classes
    • KT-44814 FIR bootstrap: incorrect cast in when branch
    • KT-44942 [FIR] ClassCastException in boostrap tests
    • KT-44995 FIR: false positive for ANNOTATION_ARGUMENT_MUST_BE_CONST
    • KT-45010 FIR: lambda arguments of inapplicable call is not resolved
    • KT-45048 FIR bootstrap: VerifyError on KtUltraLightClass
    • KT-45052 FIR bootstrap: inapplicable candidate in GenerateSpecTests.kt
    • KT-45121 FIR IDE: redundant vararg parameter type transformation
    • KT-45136 Native: dividing Int.MIN_VALUE by -1 crashes or hangs
    • KT-45236 JVM / IR: "IllegalStateException: Symbol with IrTypeParameterSymbolImpl is unbound" caused by contracts and sealed class
    • KT-45308 Psi2ir: "AssertionError: TypeAliasDescriptor expected" caused by using typealias from one module as a type in another module without a transitive dependency
    • KT-45316 [FIR] Ambiguity between two implicit invokes with receiver
    • KT-45344 FIR: Wrong inferred type for nullable type parameter
    • KT-45385 FIR: false positive MUST_BE_INITIALIZED_OR_BE_ABSTRACT after rethrow
    • KT-45475 [FIR] No smartcast after throw in if inside try block
    • KT-45508 False negative ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED on a fake override with an abstract super class member
    • KT-45578 REPL: Unresolved imports are cached for the subsequent compilations
    • KT-45685 JVM IR: capturing a variable into crossinline suspend lambda makes the function inside inline function no longer unbox Result
    • KT-45584 [FIR] Fix overriding property and java function in java class
    • KT-45697 JVM IR: ISE "Function has no body" on getter of private field in a class present both in sources and dependencies
    • KT-45842 Compiler doesn't allow a shared class to inherit a platform-specific sealed class
    • KT-45848 False negative [SEALED_INHERITOR_IN_DIFFERENT_MODULE] error in compiler for a platform-specific inheritor of a shared sealed class
    • KT-45931 There is no warning based on nullability java annotation
    • KT-45998 JVM IR: AE when an accessor to a protected companion object member is being generated in child class
    • KT-46048 Enum entries init order in companion object
    • KT-46074 FIR: private-in-file fun interface is considered invisible in this file
    • KT-46173 No error reporting on annotations on target type of as expression in return
    • KT-46235 JVM IR: Stack overflow error on large expressions
    • KT-46270 [FIR] Support @PublishedAPI in inline checker
    • KT-46539 Generate annotations on type parameters bounds in bytecode
    • KT-46578 JVM IR: IllegalAccessError accessing property delegated to java super class protected field reference
    • KT-46597 JVM IR: AssertionError: SyntheticAccessorLowering should not attempt to modify other files - crossinline accessor
    • KT-46601 JVM / IR: IllegalStateException: "Can't find method 'invokeinvoke`" when default lambda takes inline class parameters
    • KT-46670 StackOverflowError on inheritance from raw type where class has protobuf-like recursive generics
    • KT-46715 JVM / IR: "AssertionError: Unbound symbols not allowed IrConstructorSymbolImpl" with enum classes with the same name in test and src folders
    • KT-46759 JVM IR: CCE in LateinitUsageLowering on @​JvmStatic lateinit property in object
    • KT-46777 [Native] [IR] Support suspend function as super type
    • KT-46802 JVM / IR: "UnsupportedOperationException: Unknown structure of ADAPTER_FOR_CALLABLE_REFERENCE" caused by function reference on @​JvmStatic function with unused default parameters
    • KT-46813 JVM / IR: "ClassCastException: Integer cannot be cast to class Result" with Flow and fold method
    • KT-46822 JVM IR: StackOverflowError on compiling a large data class
    • KT-46837 Backend Internal error: Exception during IR lowering: assert at IrOverridingUtilKt.buildFakeOverrideMember
    • KT-46921 JVM / IR: "IndexOutOfBoundsException: Cannot pop operand off an empty stack" caused by crossinline parameter and label return
    • KT-46984 Type parameter bounds aren't used to report corresponding mismatch warnings
    • KT-46985 There aren't warnings by java nullability annotations
    • KT-46986 There aren't warnings by java nullability annotations
    • KT-46989 There aren't warnings by java nullability annotations
    • KT-46990 There aren't warnings by java nullability annotations on method's violated type arguments
    • KT-47019 K/N: IrProperty.overriddenSymbols can't be used in common IR backend modules yet because it doesn't fully work in Native
    Docs & Examples
    • KT-33783 Document when a range created with rangeTo is empty
    IDE
    • KT-44638 clone() call is unresolved in JVM module of a multiplatform project
    • KT-45629 [ULC] KtUltraLightFieldForSourceDeclaration.nameIdentifier returns null
    • KT-44825 Can't open Kotlin compiler settings in newly created project
    • KT-45908 Reproduciable 'org.jetbrains.kotlin.idea.caches.resolve.KotlinIdeaResolutionException: Kotlin resolution encountered a problem while analyzing KtNameReferenceExpression'
    IDE. FIR
    • KT-45175 FIR IDE: Exception with local property in init block
    • KT-45199 FIR IDE: Error while collecting diagnostic on stale element after replacing element in quickfix
    • KT-45312 FIR IDE: FIR plugin throws exception on synthetic function
    IDE. Gradle Integration
    • KT-34401 KotlinGradleModelBuilder builds models for non-kotlin modules and always trigger full task configuration.
    • KT-45277 Wrong jvm target in gradle module in IDEA
    • KT-46488 Import of a multiplatform project with MPP module depending on Kotlin/JVM one fails
    IDE. Inspections and Intentions
    • KT-45075 Inspection: Redundant creation of Json format
    • KT-45347 Sealed interfaces: quickfix to move to package/module of sealed class/interface should not be shown in case of read-only declaration
    • KT-45348 Sealed interfaces: show error for usage of sealed class/interface from a library in Java source code
    • KT-46063 In multiplatform code, suggest to generate remaining when branches at least for shared sealed classes
    IDE. Refactorings
    • KT-44431 Quickfix to move class/interface to proper location: it is allowed to choose test source in JPS project while compiler does not allow it
    IDE. Native
    • KT-39320 [Commonizer] Reduce memory consumption
    JavaScript
    • KT-40235 KJS: IR. Broken support for external interface companion
    • KT-40689 KJS / IR: strange and slow code for kotlin.math.max and kotlin.math.min for Double
    • KT-44138 KJS / IR: Constant folding works incorrectly with unsigned arithmetic
    • KT-44394 KJS / IR: null companion object for existed stdlib interfaces NodeFilter and SVGUnitTypes
    • KT-44950 KJS / IR: "IllegalStateException: Can't find name for declaration" in case of extending export declared class without @​JsExport annotation
    • KT-45057 KJS / IR: "ClassCastException" when using js function in init block
    • KT-45361 KJS / IR: IrConstructorCall representing annotation always returns Unit
    • KT-46608 KJS: "Could not load content..." for source maps
    • KT-45655 KJS: "REINTERPRET_CAST" is not copyable
    • KT-45866 Default parameter with generic in expect-actual declarations
    • KT-46859 Exception during IR lowering: NullPointerException was thrown at: optimizations.FoldConstantLowering.tryFoldingUnaryOps
    KMM Plugin
    • KT-43899 KMM: Fix "stale framework" usage by XCode & AppCode in default build script
    Libraries
    • KT-43701 Stdlib: Expand KDoc of inc() and dec() for operators
    • KT-46002 Support all Unicode digit chars in digitToInt (JS and Native)
    • KT-46183 Add default value for ignoreCase in K/N String.replace/replaceFirst
    • KT-46184 Equivalize isLowerCase and isUpperCase behavior in all platforms
    Native
    • KT-33175 IR: String constants with incorrect surrogate pairs aren't preserved during serialization/deserialization
    • KT-44799 Different behavior with functional interfaces in Kotlin/Native on iOS
    Native. C Export
    • KT-42796 [Reverse C Interop] Package with no public methods generate empty struct in the header, leading to an error
    Native. ObjC Export
    • KT-38600 Kotlin MP iOS Target doesn't contain kdoc comments
    • KT-45127 KMM: hard to pass an error to Kotlin code from implementation of Kotlin method in Swift code
    Native. Runtime. Memory
    • KT-45063 Profiling indicates that a lot of time is spent on updateHeapRef on Apple platforms when running KMP code
    Reflection
    • KT-10838 Provide sensible toString() for property accessors in reflection
    • KT-13490 Equality doesn't work for KProperty.Accessor implementations
    Tools. CLI
    • KT-14772 ISE (FNFE "Not a directory") on compilation with destination argument clashing with an existing file which is not a directory
    • KT-18184 CompileEnvironmentException: Invalid jar path on "-d" with .jar in non-existing directory
    • KT-40977 Report a readable diagnostic on empty -J argument in CLI
    Tools. Commonizer
    • KT-45497 [Commonizer] c-interop commonization: Dependency commonization
    • KT-46077 [Commonizer] Add commonizer_target to commonized klib's manifest
    • KT-46107 [Commonizer] CInteropCommonizerTask receives faulty dependencies in multi module projects containing multiple c-interops
    • KT-46248 MPP: Compile KotlinMetadata fails with Unresolved reference if only one native platform from shared source set is available
    • KT-46856 [Commonizer] Many targets can fail with 'filename too long'
    Tools. Compiler Plugins
    • KT-7112 Support calling Lombok-generated methods within same module
    • KT-45538 Serialization, JVM IR: "AssertionError: No such type argument slot in IrConstructorCallImpl" with inner classes
    • KT-45541 JVM / IR / Serialization: NullPointerException caused by "Serializable" annotation and local data class
    • KT-46469 Kotlin Lombok: accessors with AccessLevel.MODULE fail to resolve
    • KT-46529 Kotlin Lombok: with @Accessors without explicit prefix the prefix from lombok.config is not taken into account
    • KT-46531 Kotlin Lombok: lombok.getter.noIsPrefix is processed depending on character case
    • KT-46920 NullPointerException in CodeGeneratorVisitor when packing for xcode
    Tools. Gradle
    • KT-24533 Kapt should not run when annotation processors are not configured
    • KT-43988 Enable plugin validation during build
    • KT-45301 Gradle: Empty build/kotlin dir with custom build directory
    • KT-45519 loadAndroidPluginVersion() impacts performance negatively and noticeably in multimodule Android build
    • KT-45744 Create Kotlin Gradle Plugin JUnit5 basic test setup
    • KT-45834 Gradle Plugin read system property related to kotlinCompilerClasspath breaks use of configuration cache
    • KT-46401 Deprecate 'kotlin.parallel.tasks.in.project' build property
    • KT-46820 Gradle: kotlinc (1.5.0) race condition causes a NullPointerException
    • KT-47317 Restore 'kotlinPluginVersion' property in 'KotlinBasePluginWrapper'
    Tools. Gradle. JS
    • KT-42911 Support Gradle configuration cache for K/JS tasks
    • KT-45294 KJS / Gradle: Number of modules in project affects JS tasks configuration cache state size
    • KT-45754 KJS / IR: Remove adding option of source maps in Gradle plugin
    • KT-46178 KJS / Dukat: Added as a dependency always without condition
    • KT-46976 KJS: Broken support for dynamically created webpack.config.d
    • KT-47045 [Gradle, JS] Task requirements are added to all compilations with same name
    Tools. Gradle. Multiplatform
    • KT-36679 MPP Gradle plugin: Improve messaging for the commonizer
    • KT-45832 CInteropCommonization: Filter out illegal dependencies
    • KT-46394 Multiplatform: Gradle 7 support
    • KT-46517 Add kotlin-project-model as api dependency to kotlin-gradle-plugin-api
    Tools. Gradle. Native
    • KT-27240 MPP Gradle plugin: Provide a framework packing task for Kotlin/Native
    • KT-39016 Missing stdlib when the downloading process was aborted
    • KT-40907 Xcode error after switching between device and simulator: Building for iOS, but the linked and embedded framework was built for iOS Simulator.
    • KT-44059 iosSimTest tasks are never up-to-date
    • KT-45801 compileIosMainKotlinMetadata compilation property of gradle task is not initialized and fails with Execution failed for task ':shared:generateProjectStructureMetadata'
    • KT-46680 Register concrete "embedAndSign" tasks instead umbrella
    • KT-46892 Kotlin Multiplatform Gradle Plugin: EmbedAndSign task always contains a default framework name
    Tools. Incremental Compile
    • KT-44741 Incremental compilation: inspectClassesForKotlinIC doesn't determine changes with imported constant
    Tools. JPS
    • KT-34351 KotlinTargetsIndex creation takes too long even if project doesn't have any kotlin
    • KT-45191 [JPS] Marking method as "default" in Java SAM interface doesn't affect dependencies
    • KT-46242 Support Lombok kotlin plugin in JPS and maven
    Tools. kapt
    Performance Improvements
    • KT-28901 Consider caching annotation processors classloaders
    Fixes
    • KT-27123 kapt: missing space in error log makes location non-clickable
    • KT-29929 [Kapt] Stub generator uses constant value in method annotation instead of constant name 2.
    • KT-31146 kapt: executableElement.getAnnotation(JvmOverloads::class.java) returns null
    • KT-32202 Gradle task kaptKotlin fails: "module not found" in Java 11 modular application
    • KT-34838 Kapt: 'cannot find symbol' for a top-level property with anonymous delegate
    • KT-35104 Support @​JvmStatic in KAPT stubs
    • KT-35167 Kapt Gradle plugin doesn't handle --module-path javac argument
    • KT-37586 KAPT: When delegated property use an unknown type (to-be-generated class), correctTypeError will mess up the $delegate field type
    • KT-39060 Kapt: correctErrorTypes don't retain return type of getter in Java stub
    • KT-39715 KaptGenerateStubsTask resolves annotation processor options too early (before execution time)
    • KT-41581 Kapt doesn't have line breaks between warnings
    • KT-43804 Kapt fails to preserve parameter names in open suspend functions
    • KT-43686 KaptWithoutKotlincTask should use @CompileClasspath for kotlinStdlibClasspath for cache relocateability.
    • KT-45032 Kapt: NullPointerException: insnList.first must not be null
    • KT-46176 Kapt: "java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 3" with delegation and property reference

    v1.5.10

    Compiler
    Fixes
    • KT-41078 Incorrect type substitution in contracts with type parameters
    • KT-44770 JVM / IR: "IllegalArgumentException: Unrecognized Type: [null]" Jackson doesn't recognize type
    • KT-45084 JVM IR: "NoSuchElementException: Sequence contains no element matching the predicate" when inline class is passed to lambda with >22 parameters
    • KT-45779 JVM / IR: java.lang.NoSuchMethodError: 'int java.lang.Integer.plus(int)' caused by function reference
    • KT-45941 JVM IR: local functions use generic type parameters of the outer class in the bytecode, which breaks Bytebuddy and MockK
    • KT-46149 Generate synthetic classes for SAM adapters with erased instead of generic supertype
    • KT-46189 JVM IR: tailrec function with capturing lambda in default parameter value leads to NoSuchMethodError at runtime
    • KT-46214 JVM / IR: "IllegalStateException: No mapping for symbol: VALUE_PARAMETER INSTANCE_RECEIVER" on a suspend function in an inner class
    • KT-46238 JVM IR: BootstrapMethodError in JDK 11+ on intersection type passed in arguments of SAM adapter where SAM interface's type parameter has a non-trivial upper bound
    • KT-46259 JVM IR: local function for adapted function reference is not declared as ACC_SYNTHETIC
    • KT-46284 JVM IR: "Unbound private symbol IrClassSymbol" on class reference to script class
    • KT-46402 IllegalAccessError: "CapturedLambdaInterpreter (in unnamed module @​0x71b06418) cannot access class jdk.internal.org.objectweb.asm.Type" caused by inline function with a suspend parameter in Maven project
    • KT-46408 JVM IR: BootstrapMethodError due to missing bridge for subclass of generic Java interface
    • KT-46426 JVM IR: Corrupted .class file when passing Array constructor reference as (inline) lambda
    • KT-46455 OOM on parsing invalid code with string interpolation
    • KT-46503 JVM IR: "AssertionError: Unexpected variance in super type argument: out @​1"
    • KT-46505 JVM IR: NullPointerException caused by a callable reference with nullable inline value class parameter
    • KT-46512 JVM / IR: NoSuchMethodError on SAM conversion of a function reference
    • KT-46515 IndexOutOfBoundsException: "Empty list doesn't contain element at index 0." on bad variable name in 1.5.0
    • KT-46516 JVM IR: "AnalyzerException: Expected I, but found R" on subclassing AbstractMutableList
    • KT-46524 Cannot use unsigned literals with api-version < 1.5 even with opt-in
    • KT-46537 JVM / IR: "IllegalStateException: No noarg super constructor for CLASS" caused by "No-arg" plugin with annotation on child class
    • KT-46540 JVM / IR: AnalyzerException: Expected an object reference, but found J caused by java.function.Supplier
    • KT-46554 JVM IR: "IllegalStateException: No mapping for symbol: VAR IR_TEMPORARY_VARIABLE" with value class constructor delegation call
    • KT-46555 JVM IR: IllegalAccessError when using Java method reference
    • KT-46562 Kotlin 1.5.0 generates non-serializable lambdas when they should be serializable
    • KT-46568 JVM IR: "AssertionError: IrCall expected inside JvmStatic wrapper" on compiling protected static function with return type Nothing inside companion object of abstract class
    • KT-46574 JVM / IR: ClassCastException caused by runBlocking awaiting call while returning Kotlin.Result type.
    • KT-46579 JVM IR: "IllegalArgumentException: Sequence contains more than one matching element" for Java enum with overloaded values() static m

    Configuration

    📅 Schedule: At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about these updates again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update dependency gradle to v6.9.1

    chore(deps): update dependency gradle to v6.9.1

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Update | Change | |---|---|---| | gradle (source) | minor | 6.7 -> 6.9.1 |


    Release Notes

    gradle/gradle

    v6.9.1

    This is a patch release for Gradle 6.9, containing backported bugfixes in Gradle 7.2 to Gradle 6.x.

    It fixes the following issues:

    • #​18089 Deprecate jcenter() repository
    • #​17950 Renaming and recreating the project directory causes Gradle to lose track of changes on Windows
    • #​17949 Gradle's up-to-date checks do not work on Windows FAT drives

    We recommend users upgrade to 6.9.1 instead of 6.9.

    Upgrade Instructions

    Switch your build to use Gradle 6.9.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=6.9.1
    

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.9.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.

    v6.9

    v6.8.3

    This is a patch release for Gradle 6.8.

    This fixes a critical bug present in Gradle 6.8, 6.8.1 and 6.8.2.

    All issues fixed in this patch release

    Please don’t use the original 6.8 release or previous patch releases, and instead upgrade to 6.8.3.

    Upgrade Instructions

    Switch your build to use Gradle 6.8.3 by updating your wrapper:

    ./gradlew wrapper --gradle-version=6.8.3 --gradle-distribution-sha256-sum 7faa7198769f872826c8ef4f1450f839ec27f0b4d5d1e51bade63667cbccd205
    

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.8.3.

    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.

    v6.8.2

    This is a patch release for Gradle 6.8.

    This fixes several bugs in Gradle 6.8.1.

    All issues fixed in this patch release

    Please don’t use the original 6.8 release or the 6.8.1, and instead upgrade to 6.8.2.

    Upgrade Instructions

    Switch your build to use Gradle 6.8.2 by updating your wrapper:

    ./gradlew wrapper --gradle-version=6.8.2

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.8.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.

    v6.8.1

    This is a patch release for Gradle 6.8.

    This fixes several critical bugs in Gradle 6.8.

    All issues fixed in this patch release

    We recommend that you use Gradle 6.8.1 over the initial release of Gradle 6.8.

    Upgrade Instructions

    Switch your build to use Gradle 6.8.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=6.8.1

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.8.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.

    v6.8

    v6.7.1

    This is a patch release for Gradle 6.7.

    This fixes several critical bugs in Gradle 6.7.

    All issues fixed in this patch release

    We recommend that you use Gradle 6.7.1 over the initial release of Gradle 6.7.

    Upgrade Instructions

    Switch your build to use Gradle 6.7.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=6.7.1

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.7.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.


    Configuration

    📅 Schedule: At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): update dependency com.android.tools.build:gradle to v4.2.2

    chore(deps): update dependency com.android.tools.build:gradle to v4.2.2

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | com.android.tools.build:gradle (source) | 4.1.0 -> 4.2.2 | age | adoption | passing | confidence |


    Configuration

    📅 Schedule: At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 0
  • chore(deps): pin dependency husky to 7.0.4

    chore(deps): pin dependency husky to 7.0.4

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | husky (source) | devDependencies | pin | ^7.0.4 -> 7.0.4 |

    📌 Important: Renovate will wait until you have merged this Pin PR before creating any upgrade PRs for the affected packages. Add the preset :preserveSemverRanges to your config if you instead don't wish to pin dependencies.


    Configuration

    📅 Schedule: At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Configure Renovate

    Configure Renovate

    WhiteSource Renovate

    Welcome to Renovate! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

    🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.


    Detected Package Files

    • .github/workflows/dart-ci.yaml (github-actions)
    • example/android/gradle.properties (gradle)
    • example/android/build.gradle (gradle)
    • example/android/settings.gradle (gradle)
    • example/android/app/build.gradle (gradle)
    • example/android/gradle/wrapper/gradle-wrapper.properties (gradle-wrapper)
    • package.json (npm)
    • example/pubspec.yaml (pub)
    • pubspec.yaml (pub)

    Configuration Summary

    Based on the default config's presets, Renovate will:

    • Start dependency updates only once this onboarding PR is merged
    • Enable Renovate Dependency Dashboard creation
    • If semantic commits detected, use semantic commit type fix for dependencies and chore for all others
    • Ignore node_modules, bower_components, vendor and various test/tests directories
    • Autodetect whether to pin dependencies or maintain ranges
    • Rate limit PR creation to a maximum of two per hour
    • Limit to maximum 20 open PRs at any time
    • Group known monorepo packages together
    • Use curated list of recommended non-monorepo package groupings
    • Fix some problems with very old Maven commons versions
    • Ignore spring cloud 1.x releases
    • Ignore http4s digest-based 1.x milestones
    • Use node versioning for @types/node
    • Limit concurrent requests to reduce load on Repology servers until we can fix this properly, see issue 10133

    🔡 Would you like to change the way Renovate is upgrading your dependencies? Simply edit the renovate.json in this branch with your custom config and the list of Pull Requests in the "What to Expect" section below will be updated the next time Renovate runs.


    What to Expect

    With your current configuration, Renovate will create 6 Pull Requests:

    chore(deps): pin dependency husky to 7.0.4
    • Schedule: ["at any time"]
    • Branch name: renovate/pin-dependencies
    • Merge into: main
    • Pin husky to 7.0.4
    chore(deps): update dependency com.android.tools.build:gradle to v4.2.2
    chore(deps): update dependency gradle to v6.9.1
    • Schedule: ["at any time"]
    • Branch name: renovate/gradle-6.x
    • Merge into: main
    • Upgrade gradle to 6.9.1
    chore(deps): update kotlin_version to v1.5.31
    chore(deps): update dependency com.android.tools.build:gradle to v7
    chore(deps): update dependency gradle to v7
    • Schedule: ["at any time"]
    • Branch name: renovate/gradle-7.x
    • Merge into: main
    • Upgrade gradle to 7.2

    🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or spam the project. See docs for prhourlylimit for details.


    ❓ Got questions? Check out Renovate's Docs, particularly the Getting Started section. If you need any further assistance then you can also request help here.


    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Lock file maintenance

    Lock file maintenance

    Mend Renovate

    This PR contains the following updates:

    | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed |

    🔧 This Pull Request updates lock files to use the latest dependency versions.


    Configuration

    📅 Schedule: Branch creation - "before 5am on monday" in timezone Asia/Tokyo, 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 has been generated by Mend Renovate. View repository job log here.

    dependencies 
    opened by renovate[bot] 0
  • Update kotlin monorepo to v1.7.22

    Update kotlin monorepo to v1.7.22

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | org.jetbrains.kotlin:kotlin-stdlib-jdk7 (source) | 1.5.31 -> 1.7.22 | age | adoption | passing | confidence | | org.jetbrains.kotlin:kotlin-gradle-plugin (source) | 1.5.31 -> 1.7.22 | age | adoption | passing | confidence |


    Release Notes

    JetBrains/kotlin

    v1.7.22: Kotlin 1.7.22

    This is a technical release. It doesn't contain any fixes that aren't included in Kotlin 1.7.21. Version 1.7.22 of the Kotlin plugin will not be available for downloading or installing in any IDEs.

    Checksums

    | File | Sha256 | | --- | --- | | kotlin-compiler-1.7.22.zip | 9db4b467743c1aea8a21c08e1c286bc2aeb93f14c7ba2037dbd8f48adc357d83 | | kotlin-native-linux-x86_64-1.7.22.tar.gz | dd004d520056aba67f2955a3bec5af75f8f2d78b179d4b5f733a77e3eef57aff | | kotlin-native-macos-x86_64-1.7.22.tar.gz | 153fa411fa8c993ce2635e2504e9b102cb05362cc794b66ef9def26a78b427b5 | | kotlin-native-macos-aarch64-1.7.22.tar.gz | 4ffcd76c77cc824eff8addd5e2a73da4f3bbd3584fa9ef282b3f669c45426b1e | | kotlin-native-windows-x86_64-1.7.22.zip | 3bccd23479848ec61c56ed5760010456d17acbe88a00a1f10fb38eae256f2e92 |

    v1.7.21

    Compiler
    • KT-54463 Delegating to a field with a platform type causes java.lang.NoSuchFieldError: value$delegate
    • KT-54509 Ir Interpreter: unable to evaluate string concatenation with "this" as argument
    • KT-54004 Builder type inference does not work correctly with variable assignment and breaks run-time
    • KT-54393 Change in behavior from 1.7.10 to 1.7.20 for java field override.
    • KT-54615 JVM: Internal error in file lowering: java.lang.AssertionError: Error occurred while optimizing an expression
    • KT-54581 JVM: "VerifyError: Bad type on operand stack" with generic inline function and when inside try-catch block
    • KT-53146 JVM IR: unnecessary checkcast of null leads to NoClassDefFoundError if the type isn't available at runtime
    • KT-54600 NPE on passing nullable Kotlin lambda as Java's generic SAM interface with super type bound
    • KT-54707 "VerifyError: Bad type on operand stack" in inline call chain on a nullable array value
    • KT-54650 Binary incompatible ABI change in Kotlin 1.7.20
    • KT-54802 "VerifyError: Bad type on operand stack" for inline functions on arrays
    Native. Runtime. Memory
    • KT-54498 Deprecation message of 'FreezingIsDeprecated' is not really helpful
    Tools. Gradle. Multiplatform
    • KT-54387 Remove MPP alpha stability warning
    • KT-48436 False positive "The Kotlin source set androidAndroidTestRelease was configured but not added to any Kotlin compilation"
    Tools. JPS
    • KT-45474 False positive NO_ELSE_IN_WHEN on sealed class with incremental compilation

    v1.7.20

    Analysis API
    • KT-52667 FIR IDE: fun interfaces (SAM interfaces) are not properly resolved
    • KT-52136 FIR: Implicit type declaration from the other module cannot be used for overloading
    Analysis API. FE1.0
    • KT-51962 Analysis API: Finish Analysis API for FE1.0
    Analysis API. FIR
    • KT-52779 FIR IDE: Import Optimizer cannot handle generic type qualifiers
    • KT-50236 Fix OOB modification trackers for non-Kotlin code
    • KT-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 resolved
    Compiler
    • KT-53739 Builder inference, extension hides members
    • KT-53733 Kotlin/Native: update source documentation for the new default memory manager
    • KT-53667 Compiler crashes on attempt to alloc a string on the stack in new MM
    • KT-53480 Internal error in file lowering: java.lang.ClassNotFoundException: com.android.systemui.R$string
    • KT-52843 Compose: NPE at Parameters.getParameterByDeclarationSlot if inline function with default arguments takes a lambda which captures value class represented by Long
    • KT-53475 Kotlin/Native for iOS: "IllegalArgumentException: Sequence has more than one element"
    New Features
    • KT-52495 Support until operator in back-ends
    • KT-52420 Implement resolve of until operator
    • KT-52419 Implement until operator in the parser
    • KT-33755 Kotlin/Native: Provide a way to customize a bundle Identifier of a generated framework
    • KT-51665 FIR: implement label resolve for "typed this" case
    • KT-52361 Report warning on potentially empty intersection types
    Performance Improvements
    • KT-47816 Disable script discovery for non-script environments
    • KT-48635 JVM IR: Double/Float values are boxed when comparing for equality in equals method of data/value classes
    • KT-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: 2
    • KT-53124 Receiver type mismatch when combining extension properties, type projections, Java sources, and F-bounded type-variables
    • KT-51868 JVM / IR: Inconsistent behaviour between lambda expression and SAM interface conversion for the same interface
    • KT-36770 Prohibit unsafe calls with expected @NotNull T and given Kotlin generic parameter with nullable bound
    • KT-52974 "IllegalStateException: Symbol with IrSimpleFunctionSymbolImpl is unbound" compiling native targets of MPP project
    • KT-53007 JVM: "Bad invokespecial instruction: current class isn't assignable to reference class" when call superclass of outer class method from inner class
    • KT-53019 K2: cannot cast callable reference to Function1 in runtime
    • KT-53031 K2 compiler crashes with IllegalStateException: No type in ProtoBuf.ValueParameter
    • KT-29168 Prohibit upper bounds violation with generic typealias using not all type parameters as arguments for underlying type in supertypes
    • KT-52432 Using the IDE compiled with K2 (useFir) throws VerifyError exception
    • KT-52327 False negative: TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM isn't reported
    • KT-49682 Support JVM IR in KAPT stub generation
    • KT-24643 Prohibit using a type parameter declared for an extension property inside delegate
    • KT-51972 FIR, Gradle: "Symbol is invisible" compilation error with enabled Kotlin Lombok compiler plugin
    • KT-52011 [FIR] All-open compiler plugin isn't supported
    • KT-51950 JVM IR: "IndexOutOfBoundsException: Cannot pop operand off an empty stack" with crossinline lambdas and interface delegation
    • KT-52540 Native: kotlin.NotImplementedError with Arrow library
    • KT-48031 "IllegalStateException: Type variable TypeVariable(T) should not be fixed!"
    • KT-47708 RequiresOptIn check does not flag experimental method usage in SAM lambda expressions
    • KT-52913 JVM / IR: "IllegalArgumentException: Inline class types should have the same representation" when trying to down cast cast a value class
    • KT-50771 IR partial linkage: Removed abstract callable members are not supported
    • KT-52994 Enable generic inline classes as experimental feature
    • KT-52742 CYCLE_IN_ANNOTATION_PARAMETER_ERROR false positive on annotations with default values
    • KT-52743 Non-null generic functions throws NPE when assigned to val
    • KT-52745 Frontend / K2: "IncompatibleClassChangeError: class A$B overrides final method A.length()I" caused by delegation in a sealed class
    • KT-52832 Tree-generator's method FirExpression::isFirType returns true and false for different field names; it should always be true
    • KT-52403 IncompatibleClassChangeError when inlining suspend funs
    • KT-50107 Missed USAGE_IS_NOT_INLINABLE diagnostic: Leaking inline lambda parameter through extension receiver
    • KT-47965 Missed USAGE_IS_NOT_INLINABLE diagnostic on inline lambda parameter usage as receiver of .let call
    • KT-25787 No error on crossinline usage of receiver parameter of functional type in an inline function
    • KT-52762 Frontend / K2: Named arguments for Java classes lead to "Cannot find a parameter with this name"
    • KT-52680 K2: overload resolution ambiguity if this is casted in a different method
    • KT-52676 K2: Unsupported compile-time value IrGetFieldImpl instead of IrConst in AnnotationCodegen for constant from Java
    • KT-50293 False positive: USELESS_CAST on stub types
    • KT-52175 WRONG_ANNOTATION_TARGET for annotation that used inside if
    • KT-52338 "IncompatibleClassChangeError: Expected non-static field" with Kotlin class with same-named companion object property as base Java class field
    • KT-49507 JVM: "IllegalAccessError: class X tried to access private field" with same-named Kotlin property and Java base class field
    • KT-44512 FIR DFA: incorrect smartcast after null assignment inside a lambda
    • KT-49200 FIR/FE 1.0: different behavior with multiple matching star imports
    • KT-52718 declaringClass deprecation message mentions the wrong replacement in 1.7
    • KT-52190 FIR2IR: Unexpected IrErrorTypeImpl type for put method inside buildMap
    • KT-52197 Incorrect inference of var type inside lambda that passed to extension function with type parameters that defined inside this lambda
    • KT-52057 Unsupported compile-time value STRING_CONCATENATION and GET_FIELD in annotation arguments
    • KT-47823 JVM IR: "IllegalArgumentException: Inline class types should have the same representation" with break usage in the loop range
    • KT-51883 Kotlin 1.6.20 generates "-" in type names around lambdas and inline extension function with reified type which breaks Apache Beam
    • KT-52684 Syntax error regression on complicated combination of LT and GTEQ
    • KT-52417 Reflection: Can't reflect on type parameters captured by SAM converted lambda
    • KT-46797 JVM IR: suspendImpl has no generic signature, breaking reified types in anonymous object supertypes when using the type token pattern
    • KT-51464 FIR: Unable to infer type in coroutines flow code
    • KT-52163 JVM IR: Double.compareTo(Int) compiled to integer comparison
    • KT-41980 FIR: erroneous scope during annotation resolve
    • KT-47159 KtPsiUtils.areParenthesesUseless() is returning a false positive on expressions for interface delegation
    • KT-51418 Substitute anonymous type's supertypes
    • KT-35544 kotlin.TypeCastException has no message on Native
    • KT-52386 StackOverflowError during Kotlin/Native gradle build
    • KT-52592 NPE from KProperty.getExtensionDelegate on property delegated to another property
    • KT-52551 Delegating to object property reference does not invoke object's initializer
    • KT-51704 Contracts: "AssertionError: Arguments and parameters size mismatch" with companion object
    • KT-25527 False positive UNUSED_VALUE for delegated property/variable
    • KT-51002 [FIR] Hidden declaration hides visible one
    • KT-51008 [FIR] Star import does not work for nested calssifiers of java class
    • KT-52407 FIR: Star import has lower priority than built-in import
    • KT-52431 Reported error instead of warning due to empty intersection type found
    • KT-49394 Bad message and suggestion: The feature "unit conversion" is disabled
    • KT-51168 FIR: Inference error with Java interop and captured types
    • KT-49961 "AssertionError: Left expression was not processed: BINARY_EXPRESSION" when analyzing dangling [bracketed] expression inside elvis
    • KT-50108 Difference in fun interface conversion behavior for uninitialized not-null function values
    • KT-51889 Calls to super-classes constructors with context receivers fail on runtime
    • KT-51228 [FIR] Unresolved reference on callable reference on implicit this with smartcast
    • KT-52364 False positive for INFERRED_TYPE_VARIABLE_INTO_EMPTY_INTERSECTION
    • KT-52237 JVM / IR: "IllegalArgumentException: No argument for parameter VALUE_PARAMETER CONTINUATION_CLASS" when implementing Map interface on class with suspending functions
    • KT-50832 Method references to suspend inline functions are processed incorrectly
    • KT-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 fine
    • KT-47203 JVM Debugger: Parameter value doesn't change for tailrec function
    • KT-52131 False positive variable unused warning when calling inline function in finally block
    • KT-51738 Debugger: stepping over in inline function with multiple inline lambda invocations is incorrect
    • KT-52198 Losing reference to the value of an outer variable (Ref$ObjectRef) when using suspend inline with suspendCancellableCoroutine
    • KT-50994 FIR: AssertionError during inference of delegated properties with implicit types
    • KT-51757 FIR does not see various JS/Native specific declarations in common modules
    • KT-51201 FIR: ARGUMENT_TYPE_MISMATCH diagnostic contains generic parameter instead of the actual type
    • KT-48444 FIR: type argument rejected for annotation
    • KT-51754 JVM: Local variable table invalid for do-while with continue
    • KT-51936 Breakpoint not hit on last line of suspend function on Android
    • KT-27333 Forbid @Synchronized annotation on suspend functions
    • KT-51530 "StackOverflowError: CoroutineTransformerMethodVisitor.spillVariables" with data class in Flow
    • KT-51460 FIR: Protected property inaccessible from inner class
    • KT-53947 IllegalStateException: No mapping for symbol: VALUE_PARAMETER INSTANCE_RECEIVER
    • KT-51234 Context receivers can be duplicated in function declaration
    • KT-51576 Context receivers: "AssertionError: Callers must check that current token is IDENTIFIER followed with '@​'" with at character
    • KT-49479 JVM / IR: "IllegalStateException: IrErrorType" during IR lowering with non-trivial recursion calls
    • KT-52270 NullPointerException caused by braces on if-else returning a method reference inside lambda
    • KT-47621 False negative INVISIBLE_MEMBER on call to inaccessible protected synthetic property setter
    • KT-37796 NI: "ISE: Error type encountered" when inferring type of a property that delegates to itself
    • KT-45430 PSI2IR: "org.jetbrains.kotlin.psi2ir.generators.ErrorExpressionException: null: KtCallExpression: toString()" with recursive function call in "also" block in nontrivial context
    • KT-52691 K2: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImpl with intertwined functional interfaces
    • KT-52822 Fix contract for KtElement.getReference()
    • KT-50223 IndexOutOfBoundsException from ClassicTypeSystemContext$DefaultImpls.getParameter during call resolution
    • KT-51963 Change Maven version to 1.7.255
    • KT-47664 Incorrect type checking in the case of generic types
    • KT-48765 NI: Inferred type does not respect the bound of type variable
    • KT-51243 False positive error "No required context receiver" inside contextual lambda
    • KT-43541 TYPE_MISMATCH for member function which is not occur for top level function during unsafe cast
    • KT-51016 [FIR] False positive OVERLOAD_RESOLUTION_AMBIGUITY between two extensions on different supertypes
    • KT-50155 FIR: support contextual receivers
    • KT-38637 Catch NoSuchFieldException in optimized when expression over enum
    Docs & Examples
    • KT-49896 Kotlin/JS: improve -Xir-property-lazy-initialization description due to making it true by default
    IDE
    • KTIJ-22286 Kotlin JPS project created via wizard does not contain Kotlin libraries in case of not-released version
    • KTIJ-22065 IDE notification motivating Kotlin users to use EAP
    • KTIJ-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 BuiltInDecompilerConsistencyTest
    • KTIJ-22016 Empty .kt file and build.gradle.kts can trigger an error while searching for a facade light class
    • KT-52571 MPP Tasks on import are not up-to-date after subsequent launches
    • KT-47777 ISE thrown from KtLightClassForFacadeImpl.Companion.createForFacadeNoCache has wrong message.
    IDE. FIR
    • KT-52360 FIR IDE: Make the fix of isInheritor method better
    • KT-51786 FIR IDE: IllegalStateException exception in Inspections' infrastructure
    • KT-52331 Analysis API: ArrayIndexOutOfBoundsException exception in Diagnostics' infrastructure
    IDE. Code Style, Formatting
    • KTIJ-21346 Incorrect formatting for functions with context receivers and visibility modifiers
    IDE. Completion
    • KTIJ-21910 FIR IDE: Fix completion tests started failing after visibility checker refinement
    IDE. Decompiler, Indexing, Stubs
    • KTIJ-21243 ContextReceivers: "UpToDateStubIndexMismatch: PSI and index do not match" plugin exception on library with context receivers usage attempt
    IDE. Gradle Integration
    • KT-47627 IDE import fails with com.intellij.util.lang.PathClassLoader error for runCommonizer Gradle task on 212, 213 IDEAs
    • KTIJ-21638 MPP: IntelliJ can not resolve MPP references in common-code
    • KT-52216 HMPP / KTOR: False positive "TYPE_MISMATCH" with Throwable descendant
    IDE. Inspections and Intentions
    • KTIJ-22540 Invalid "remove unnecessary parentheses" when delegating a functional interface to a SAM in brackets
    IDE. J2K
    • KTIJ-21665 J2K generates non compiling code when lifting return and one branch is broken before binary operator
    IDE. JS
    • KTIJ-22337 Wizard: Kotlin/Js for browser: cssSupport DSL should be updated
    IDE. K2
    • KTIJ-21672 FIR IDE: Method reference on generic class breaks resolve
    • KTIJ-21714 FIR IDE: Inherently imported type from another module is not properly resolved
    IDE. Script
    • KT-52525 Update scripts handling in source roots
    IDE. Misc
    • KTIJ-21699 Refactoring: move out parts of the plugin useful for both FE10 and K2
    JavaScript
    New Features
    • KT-39423 KJS: Optionally generate a method to handle optional parameters for function in typescript
    • KT-42282 KJS IR: add an ability to run separate tests
    Performance Improvements
    • KT-50270 KJS IR: Unnecessary getter and setter calls when accessing class members
    Fixes
    • KT-51133 Kotlin/JS - IR: even simple lambdas generate a lot of useless boilerplate
    • KT-51123 Provide a way to add comments to generated JS
    • KT-48493 KJS / IR: Invalid d.ts for inner classes inside objects
    • KT-52553 KJS / IR: diamond hierarchy with super.toString produces stack overflow in runtime
    • KT-23252 JS: Unit materialization on declaration and assignment
    • KT-51128 Kotlin/JS - IR generate huge count of useless blocks
    • KT-50778 KJS/IR: Inline class has no field when building production distribution
    • KT-50157 KSJ IR: Applying identity equality operator to Chars always returns false
    • KT-38262 Javascript generation (and Typescript) fails on 'then', 'catch' and 'finally' (and others?) claiming they are reserved names
    • KT-51066 KJS / IR: suspend lambda parameter of value class is undefined
    • KT-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 be
    Language Design
    • KT-47986 Implicit inferring a type variable into an upper bound in the builder inference context
    • KT-49264 Deprecate infix function calls of functions named "suspend" with dangling function literal
    • KT-25636 Native: Object is frozen by default problem
    • KT-49303 Implement support for basic compile-time evaluation
    Libraries
    • KT-52932 Open-ended ranges in the standard library
    • KT-52910 Provide visit extension functions for java.nio.file.Path
    • KT-48232 Multiplatform function for computing cubic root
    • KT-52778 The documentation for the Duration does not indicate any differences from the ISO-8601
    • KT-52618 ThreadLocalRandom is not a good source of randomness on Android before SDK 34, so don't use it for Kotlin Random
    Native
    • KT-53346 MPP project with kotlinx-serialization-json:1.4.0-RC is not built
    Native. C Export
    • KT-45468 Kotlin/Native: Bitcode verification error when trying to export a cached klib to a static or dynamic library
    Native. C and ObjC Import
    • KT-53373 Native: @​ExportObjCClass doesn't work with the new memory manager
    • KT-49034 Kotlin/Native: cnames.structs.Foo resolves into wrong declaration
    • KT-26478 Objective-C object's class name is null in ClassCastException's message
    Native. ObjC Export
    • KT-51593 Include more information in Objective-C header documentation
    • KT-33117 Improve customizing Info.plist in produced frameworks
    • KT-52681 Native: @end; for Objective-C is generated with an unnecessary semicolon
    Native. Platforms
    • KT-52226 Kotlin/Native: Add support for cross-compilation of MIPS targets from macOS and Windows hosts
    Native. Runtime
    • KT-52430 KMM 1.6.21 framework built with Xcode13, new MM GC Can't support iOS 9.x
    • KT-53534 Kotlin/Native: -Xruntime-logs=gc=info flag doesn't work with compiler caches in 1.7.20-beta
    Native. Runtime. Memory
    • KT-52692 Kotlin/Native: fix tests with aggressive GC
    • KT-52130 Kotlin/Native: use Xallocator for Kotlin objects only
    • KT-51436 Kotlin/Native: optimize mark queue
    Reflection
    • KT-51804 An error occurs when callBy a KFunction that contains a value class as an argument, has a default argument set, and has more than 32 arguments.
    Tools. CLI
    • KT-52465 CLI: IllegalStateException IrSimpleFunctionPublicSymbolImpl when source root is duplicated
    • KT-52380 Invalid path to compiler plugins should be reported as a compiler error
    • KT-51025 JVM CLI compiler takes class file from classpath instead of input java source file
    • KT-51846 Setting random value to the compiler argument where number is expected should produce an error. "-Xbackend-threads=abcd"
    Tools. Compiler Plugins
    • KT-52486 [K2] Looking for function/constructor whose parameters are annotated or meta annotated
    • KT-52872 Mark supportsK2 in ComponentRegistrar.kt as JvmDefault to avoid compatibility problems
    • KT-52804 A function obtained by Fir IrBuiltins has an incorrect package
    • KT-52468 Rename module and jar for lombok compiler plugin
    Tools. Gradle
    • KT-53670 Gradle: Cyclic dependency between kotlin-gradle-plugin-idea-1.7.20-Beta and kotlin-gradle-plugin-idea-proto-1.7.20-Beta
    • KT-53615 Gradle: Fix deprecation warnings in CleanableStoreImpl
    • KT-53118 Fully up-to-date builds are slower with Kotlin 1.7.0
    • KT-51923 Improve usability of errors and warnings by being able to click on them
    • KT-53244 Report from gradle about compiler plugins
    • KT-52839 Warn in Gradle log why incremental compilation failed
    • KT-46019 Compatibility with Gradle 7.1 release
    • KT-47047 Migrate Kotlin Gradle Plugin from using Gradle conventions
    • KT-52698 Don't add InspectClassesForMultiModuleIC task when new incremental compilation is enabled
    • KT-52867 Provide simplified JVM toolchain configuration method
    • KT-45747 Add basic JUnit 5 Kotlin Gradle Plugin Android tests setup
    • KT-46034 Shadow Kotlin Gradle plugin dependencies
    • KT-28664 Support ExtensionContainer on kotlin targets and source sets.
    • KT-19472 Useful extensions of Gradle Kotlin DSL provided by Gradle Kotlin plugin
    • KT-34393 Kotlin Gradle DSL: Inconsistent srcDir configuration between Java and Kotlin
    • KT-51629 There isn't enough info about incremental compilation state in logs while running build with --info key
    Tools. Gradle. Cocoapods
    • KT-53174 CocoaPods: Synthetic Podfile does not specify platform
    • KT-53127 "MaterialComponents normal armv7" in Cocoapods plugin between Kotlin 1.6.21 and 1.7.0
    • KT-44155 Cocoapods doesn't support pods without module map file inside
    • KT-49032 Cocoapods cinterop: some header files are not found
    • KT-53337 Add warning about future changing default linking type of framework provided via cocoapods plugin
    Tools. Gradle. JS
    • KT-52637 KJS / Gradle: Add SCSS webpack config
    • KT-51527 Kotlin/JS: BrowserXRun causes full-screen Webpack error "Compiled with problems: asset size limit/entrypoint size limit" for fresh Kotlin-React project from wizard
    • KT-51532 Kotlin/JS: passing environment variable via Gradle script causes "Execution optimizations have been disabled" warnings
    • KT-52221 Kotlin/JS: failed Node tests are not reported in a standard way
    Tools. Gradle. Multiplatform
    • KT-52243 CInteropProcess is not cacheable despite the annotation
    • KT-52741 MPP: klib outputs are not reproducible
    • KT-52208 MPP: Gradle plugin 1.7 doesn't support latest api versions (1.8, 1.9)
    • KT-54071 MPP/AGP compatibility: Bump maxSupportedVersion to 7.3.0
    Tools. Gradle. Native
    • KT-52632 Gradle / Native: commonizeNativeDistributionTask can never be up-to-date
    • KT-52328 "ld: framework not found SQLCipher" linkDebugTestIosSimulatorArm64 error
    Tools. Incremental Compile
    • KT-53168 Incremental compilation doesn't perform correctly after a few iterations
    • KT-52925 [IR BE] Non incremental build occurs after build failure for compileKotlinJs task
    • KT-52946 CompileKotlinJs task is executed non-incrementally if there were changes made to the dependant module
    • KT-52329 Reduce memory usage of classpath snapshot cache
    • KT-53266 Increment Compilation: "IllegalStateException: The following LookupSymbols are not yet converted to ProgramSymbols" when changing companion object constant field
    • KT-53231 New IC reports build failures for missing classpath snapshots
    Tools. JPS
    • KT-47824 'when expression must be exhaustive' isn't thrown during incremental compilation
    • KT-51873 JPS build is incorrect after gdw build
    • KTIJ-17072 JPS does not rebuild Kotlin usages of declared in Java when enum entry is added
    • KT-51537 Rebuild module on plugin classpaths change
    Tools. REPL
    • KT-45065 REPL: Incorrect output for unsigned value
    • KT-53043 Scripting: Changes in REPL protocol: mark end of errors
    Tools. Scripts
    • KT-52598 Scripts and REPL snippets are not checked against using 'kotlin' package
    • KT-47187 Kotlin ScriptEngine Failes to Compile a Trivial Statement After Failing to Compile a Broken One
    • KT-47191 [Kotlin Script Engine] Compiling Without Evaluating Leaves Engine in a Bad State
    Tools. Kapt
    • KT-52761 Kotlin 1.7.0 breaks kapt processing for protobuf generated java sources

    v1.7.10

    Compiler
    • KT-52702 Invalid locals information when compiling kotlinx.collections.immutable with Kotlin 1.7.0-RC2
    • KT-52892 Disappeared specific builder inference resolution ambiguity errors
    • KT-52782 Appeared receiver type mismatch error due to ProperTypeInferenceConstraintsProcessing compiler feature
    • KT-52718 declaringClass deprecation message mentions the wrong replacement in 1.7
    IDE
    Fixes
    • KTIJ-19088 KotlinUFunctionCallExpression.resolve() returns null for calls to @​JvmSynthetic functions
    • KTIJ-19624 NoDescriptorForDeclarationException on iosTest.kt.vm
    • KTIJ-21515 Load JVM target 1.6 as 1.8 in Maven projects
    • KTIJ-21735 Exception when opening a project
    • KTIJ-17414 UAST: Synthetic enum methods have null return values
    • KTIJ-17444 UAST: Synthetic enum methods are missing nullness annotations
    • KTIJ-19043 UElement#comments is empty for a Kotlin property with a getter
    • KTIJ-10031 IDE fails to suggest a project declaration import if the name clashes with internal declaration with implicit import from stdlib (ex. @​Serializable)
    • KTIJ-21151 Exception about wrong read access from "Java overriding methods searcher" with Kotlin overrides
    • KTIJ-20736 NoClassDefFoundError: Could not initialize class org.jetbrains.kotlin.idea.roots.KotlinNonJvmOrderEnumerationHandler. Kotlin plugin 1.7 fails to start
    • KTIJ-21063 IDE highlighting: False positive error "Context receivers should be enabled explicitly"
    • KTIJ-20810 NoClassDefFoundError: org/jetbrains/kotlin/idea/util/SafeAnalyzeKt errors in 1.7.0-master-212 kotlin plugin on project open
    • KTIJ-17869 KotlinUFunctionCallExpression.resolve() returns null for instantiations of local classes with default constructors
    • KTIJ-21061 UObjectLiteralExpression.getExpressionType() returns the base class type for Kotlin object literals instead of the anonymous class type
    • KTIJ-20200 UAST: @​Deprecated(level=HIDDEN) constructors are not returning UMethod.isConstructor=true
    IDE. Code Style, Formatting
    • KTIJ-20554 Introduce some code style for definitely non-null types
    IDE. Completion
    • KTIJ-14740 Multiplatform declaration actualised in an intermediate source set is shown twice in a completion popup called in the source set
    IDE. Debugger
    • KTIJ-20815 MPP Debugger: Evaluation of expect function for the project with intermediate source set may fail with java.lang.NoSuchMethodError
    IDE. Decompiler, Indexing, Stubs
    • KTIJ-21472 "java.lang.IllegalStateException: Could not read file" exception on indexing invalid class file
    • KTIJ-20802 Definitely Not-Null types: "UpToDateStubIndexMismatch: PSI and index do not match" plugin error when trying to use library function with T&Any
    IDE. FIR
    • KTIJ-20971 FIR IDE: "Parameter Info" shows parameters of uncallable methods
    • KTIJ-21021 FIR IDE: Completion of extension function does not work on nullable receiver
    • KTIJ-21343 FIR IDE: Navigation from explicit invoke call does not work
    • KTIJ-21013 FIR IDE: Inconsistent smartcasts highlighting
    • KTIJ-21374 FIR IDE: Incorrect highlighting for operators
    • KTIJ-20443 FIR IDE: Work in Dumb mode
    • KTIJ-20852 FIR IDE: Exception when checking isInheritor on two classes in different modules
    • KTIJ-20637 FIR IDE: Strange exception while commenting-uncommenting FirReferenceResolveHelper.kt
    IDE. Gradle Integration
    • KTIJ-21807 Gradle to IDEA import: language and API version settings are not imported for Native facet
    • KTIJ-21692 Kotlin Import Test maintenance: 1.7.0-Beta
    • KTIJ-20567 Kotlin/JS: Gradle import into IDEA creates no proper sub-modules, source sets, facets
    IDE. Hints. Inlay
    • KTIJ-20552 Support definitely non-null types in inlay hints
    IDE. Inspections and Intentions
    New Features
    • KTIJ-18979 Quickfix for INTEGER_OPERATOR_RESOLVE_WILL_CHANGE to add explicit conversion call
    • KTIJ-19950 Provide quickfixes for INVALID_IF_AS_EXPRESSION_WARNING and NO_ELSE_IN_WHEN_WARNING
    • KTIJ-19866 Create quick-fix for effective visibility error on private-in-file interface exposing private class
    • KTIJ-19939 Provide quickfix for deprecated confusing expressions in when branches
    Fixes
    • KTIJ-20705 Register quickfix for NO_CONSTRUCTOR_WARNING diagnostic
    • KTIJ-21226 "Remove else branch" quick fix is not suggested
    • KTIJ-20981 Definitely non-null types: quick-fixes suggested incorrectly for LV=1.6 when Xenhance-type-parameter-types-to-def-not-null flag is set
    • KTIJ-20953 Add quickfix for OVERRIDE_DEPRECATION warning to 1.7 - 1.9 migration
    • KTIJ-20734 Replace with [@​JvmInline] value quick fix should be appliable on a whole project
    • KTIJ-21420 Add 'else' branch quick fix suggestion is displayed twice in case 'if' isn't completed
    • KTIJ-21192 "Make protected" intention is redundant for interface properties
    • KTIJ-18120 "Make public" intention does not add explicit "public" modifier when using ExplicitApi Strict mode
    • KTIJ-20493 "Create expect" quick fix doesn't warn about platform-specific annotations
    IDE. Misc
    IDE. Native
    • KTIJ-21602 With Native Debugging Support plugin Gradle run configurations can't be executed from IDEA: LLDB_NATVIS_RENDERERS_ENABLED
    IDE. Wizards
    • KTIJ-20919 Update ktor-html-builder dependency in kotlin wizards
    • KTIJ-20962 Wizard: Invalid Ktor imports
    Tools. Gradle
    • KT-52777 'org.jetbrains.kotlinx:atomicfu:1.7.0' Gradle 7.0+ plugin variant was published with missing classes
    Tools. Gradle. JS
    • KT-52856 Kotlin/JS: Upgrade NPM dependencies
    Tools. Gradle. Multiplatform
    • KT-52955 SourceSetMetadataStorageForIde: Broken 'cleanupStaleEntries' with enabled configuration caching or isolated ClassLoaders
    • KT-52694 Kotlin 1.7.0 breaks Configuration Caching in Android projects
    Tools. Incremental Compile
    • KT-52669 Full rebuild in IC exception recovery leaves corrupt IC data
    Tools. JPS
    • KTIJ-17280 JPS: don't use java.io.File.createTempFile as it is not working sometimes
    • KTIJ-20954 NPE at at org.jetbrains.kotlin.metadata.jvm.deserialization.JvmProtoBufUtil.readNameResolver on compiling by JPS with LV > 1.7

    v1.7.0

    Analysis API. FIR
    • KT-50864 Analysis API: ISE: "KtCallElement should always resolve to a KtCallInfo" is thrown on call resolution inside plusAssign target
    • KT-50252 Analysis API: Implement FirModuleResolveStates for libraries
    • KT-50862 Analsysis API: do not create use site subsitution override symbols
    Analysis API. FIR Low Level API
    • KT-50729 Type bound is not fully resolved
    • KT-50728 Lazy resolve of extension function from 'kotlin' package breaks over unresolved type
    • KT-50271 Analysis API: get rid of using FirRefWithValidityCheck
    Backend. Native. Debug
    • KT-50558 K/N Debugger. Error is not displayed in variables view for catch block
    Compiler
    New Features
    • KT-26245 Add ability to specify generic type parameters as not-null
    • KT-45165 Remove JVM target version 1.6
    • KT-27435 Allow implementation by delegation to inlined value of inline class
    • KT-47939 Support method references to functional interface constructors
    • KT-50775 Support IR partial linkage in Kotlin/Native (disabled by default)
    • KT-51737 Kotlin/Native: Remove unnecessary safepoints on watchosArm32 and iosArm32 targets
    • KT-44249 NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER with type usage in higher order function
    Performance Improvements
    • KT-48233 Switching to JVM IR backend increases compilation time by more than 15%
    • KT-51699 Kotlin/Native: runtime has no LTO in debug binaries
    • KT-34466 Use optimized switch over enum only when all entries are constant enum entry expressions
    • KT-50861 FIR: Combination of array set convention and plusAssign works exponentially
    • KT-47171 For loop doesn't avoid boxing with value class iterators (JVM)
    • KT-29199 'next' calls for iterators of merged primitive progressive values are not specialized
    • KT-50585 JVM IR: Array constructor loop should use IINC
    • KT-22429 Optimize 'for' loop code generation for reversed arrays
    • KT-50074 Performance regression in String-based 'when' with single equality clause
    • KT-22334 Compiler backend could generate smaller code for loops using range such as integer..array.size -1
    • KT-35272 Unnecessary null check on unsafe cast after not-null assertion operator
    • KT-27427 Optimize nullable check introduced with 'as' cast
    Fixes
    • KT-46762 Finalize support for jspecify
    • KT-51499 @​file:OptIn doesn't cover override methods
    • KT-52037 FIR: add error in 1.7.0 branch if run with non-compatible plugins
    • KT-46756 Release the K2/JVM compiler in Alpha
    • KT-49715 IR: "IllegalStateException: Function has no body: FUN name:toString" during IR lowering with shadowed extension inside interface
    • KT-45508 False negative ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED on a fake override with an abstract super class member
    • KT-28078 Report error "Public property exposes its private type" for primary constructor properties instead of warning
    • KT-49017 Forbid usages of super or super if in fact it accesses an abstract member
    • KT-38078 Prohibit calling methods from Any with "super" qualifier once they are overridden as abstract in superclass
    • KT-52363 Evaluate impact of qualified this behavior change warnings
    • KT-52561 JVM: Coroutine state machine loses value after a check-induced smart cast
    • KT-52311 java.lang.VerifyError: Bad type on operand stack
    • KT-41124 Inconsistency of exceptions at init block for an enum entry with and without a qualifier name
    • KT-46860 Make safe calls always nullable
    • KT-52503 New green code appeared at the callable reference resolution
    • KT-51925 Native: "IllegalStateException: Symbol for kotlinx.cinterop/CStructVar|null[0] is unbound" caused by inline function
    • KT-49317 "IllegalStateException: Parent of this declaration is not a class: FUN LOCAL_FUNCTION_FOR_LAMBDA" with parameter of suspend type with the default parameter
    • KT-51844 New errors in overload resolution involving vararg extension methods
    • KT-52006 "java.lang.Throwable: Unbalanced tree Exception" on indexing kotlin project
    • KT-51223 Report warning about conflicting inherited members from deserialized dependencies
    • KT-51439 FE 1.0: implement type variance conflict deprecation on qualifier type arguments
    • KT-51433 FE 1.0: implement warnings about label resolve changes
    • KT-51317 Regression in resolution of lambdas where expected type has an extension receiver parameter
    • KT-45935 JVM IR: Add not-null assertion for explicit definitely not-null parameters
    • KT-51818 "ClassCastException: class CoroutineSingletons cannot be cast to class" with suspendCoroutineUninterceptedOrReturn and coroutines
    • KT-51718 JVM / IR: "VerifyError: Bad type on operand stack" caused by nullable variable inside suspend function
    • KT-51927 Native: The symbol of unexpected type encountered during IR deserialization error when multiple libraries have non-conflicting declarations with the same name
    • KT-52394 JVM: Missing annotation on method with value class return type when a subcla

    Configuration

    📅 Schedule: Branch creation - "before 10am on monday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about these updates again.


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

    This PR has been generated by Mend Renovate. View repository job log here.

    dependencies 
    opened by renovate[bot] 0
  • Update dependency husky to v8

    Update dependency husky to v8

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | husky (source) | 7.0.4 -> 8.0.2 | age | adoption | passing | confidence |


    Release Notes

    typicode/husky

    v8.0.2

    Compare Source

    • docs: remove deprecated npm set-script

    v8.0.1

    Compare Source

    • fix: use POSIX equality operator

    v8.0.0

    Compare Source

    What's Changed

    Feats
    Fixes
    Docs
    Chore

    Configuration

    📅 Schedule: Branch creation - "before 10am on monday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

    This PR has been generated by Mend Renovate. View repository job log here.

    dependencies 
    opened by renovate[bot] 0
  • Update dependency flutter_lints to v2

    Update dependency flutter_lints to v2

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | flutter_lints | dev_dependencies | major | >=1.0.4 <2.0.0 -> <3.0.0 |


    Release Notes

    flutter/packages

    v2.0.1

    Compare Source

    v2.0.0

    Compare Source


    Configuration

    📅 Schedule: Branch creation - "before 10am on monday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

    This PR has been generated by Mend Renovate. View repository job log here.

    dependencies 
    opened by renovate[bot] 0
  • Update actions/checkout action to v3

    Update actions/checkout action to v3

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | actions/checkout | action | major | v2 -> v3 |


    Release Notes

    actions/checkout

    v3

    Compare Source


    Configuration

    📅 Schedule: Branch creation - "before 10am on monday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

    This PR has been generated by Mend Renovate. View repository job log here.

    dependencies 
    opened by renovate[bot] 0
Releases(v1.0.1)
Owner
Daichi Furiya
Google Developers Expert for Android
Daichi Furiya
Flutter Version Management: A simple CLI to manage Flutter SDK versions.

fvm Flutter Version Management: A simple cli to manage Flutter SDK versions. FVM helps with the need for a consistent app builds by allowing to refere

Leo Farias 3.2k Jan 8, 2023
🚀The Flutter dart code generator from zeplin. ex) Container, Text, Color, TextStyle, ... - Save your time.

Flutter Gen Zeplin Extension ?? The Flutter dart code generator from zeplin. ex) Container, Text, Color, TextStyle, ... - Save your time. ⬇ 1.1k Getti

NAVER 49 Oct 12, 2022
VS Code `.code-workspace` file generator

VS Code .code-workspace file generator (for monorepositories with Dart and Flutter projects) TL;DR; Create yaml file config.yaml (check #Format sectio

Mike T 1 Feb 18, 2022
The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.

The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs. Inspired by SwiftGen. Motivation Using asset path str

FlutterGen 1.1k Jan 6, 2023
Dart Code Generator for generating mapper classes

Smartstruct - Dart bean mappings - the easy nullsafe way! Code generator for generating type-safe mappers in dart, inspired by https://mapstruct.org/

Nils 28 Nov 29, 2022
Starter project and code generator for Flutter/Redux

Flutter Redux Starter/Code Generator Videos Short video ~ 1 minute Long video ~ 10 minutes We're using this approach to develop the Flutter app for In

Hillel Coren 278 Dec 12, 2022
Swagger/OpenAPI code generator based on Chopper and JsonAnnotation for Flutter

Code partially generated with chopper ?? Build dart types from Swagger/OpenAPI schemas SwaggerDartCodeGenerator is a code generator that looks for *.s

null 187 Jan 5, 2023
null 2 Apr 17, 2022
Environment specific config generator for Dart and Flutter applications during CI/CD builds

Environment Config Generator Environment specific config generator. Allows to specify env configuration during CI/CD build. Primarily created to simpl

Denis Beketsky 86 Dec 2, 2022
OpenAPI generator for Dart & Flutter

Fantom Fantom is a cli tool for generating API layer based on OpenAPI Spec. Usage Install fantom $ dart pub global activate fantom Generate API client

6thSolution 13 Oct 18, 2022
OpenAPI generator for Dart & Flutter

Fantom Fantom is a cli tool for generating API layer based on OpenAPI Spec. Usage Install fantom $ dart pub global activate fantom Generate API client

REKAB 13 Oct 18, 2022
Dart R-file generator for build_runner

r_resources This package is made for R-file code generation using build_runner.

Ivanov Nikita 0 Dec 17, 2021
Arissounddart - a Command-line SoundSprite generator for Dart

SoundDart SoundDart is a Command-line SoundSprite generator for Dart. It require

Behruz Hurramov 1 Jan 9, 2022
Destiny is a new, mock-data generator for Dart/Flutter

Destiny is a new, mock-data generator for Dart/Flutter. It uses static methods couched in a destiny namespace as the API.

Aditya Kishore 11 Sep 16, 2022
GPT-3 recipe generator for the GPT-3 Makeathon by TUM.AI. Developed by team Taste the data.

GPT-3 Makeathon by TUM.AI - Team: Taste the Data Team - Taste the Data: Carmen Heger <@stedomedo> David Stiftl <@stiftlD> Christopher Schütz <@cdschtz

Oliver Klukas 11 Dec 4, 2022
A generator to create config class from json files that support many environments

A generator to create config class from json files that support many environments. Motivation If you use a json file to config your applications, perp

Diego Cardenas 0 Oct 9, 2021
A Flutter curl-command generator for Dio

curl_logger_dio_interceptor A Flutter curl-command generator for Dio. Easily test your Flutter-made requests in your favorite terminal or even in Post

null 7 Nov 17, 2022
Flutter Word generator

wordpair_generator A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you start

Aristide Sabi 0 Dec 3, 2021