hfhbd / kotlin-actions

Apache License 2.0
4 stars 0 forks source link

Bump kotlin from 2.0.0-RC1 to 2.0.0-RC2 #31

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps kotlin from 2.0.0-RC1 to 2.0.0-RC2. Updates org.jetbrains.kotlin.multiplatform from 2.0.0-RC1 to 2.0.0-RC2

Release notes

Sourced from org.jetbrains.kotlin.multiplatform's releases.

Kotlin 2.0.0-RC2

Changelog

Backend. Wasm

  • KT-66515 Wasm: "call param types must match" during the build
  • KT-67435 K/Wasm: import.meta.url transforming into absolute local path in webpack
  • KT-66905 K/Wasm: support new version of exception handling proposal

Compiler

New Features

  • KT-59688 K2: consider removing smartcasts only from the only visibile property with specific name, not from all of them

Performance Improvements

  • KT-67388 FP intellij: performance degradation in build 611
  • KT-67507 K2: Slow compilation times when a class has a lot of possibly conflicting declarations

Fixes

  • KT-57678 K2: Inconsistency in how K2 analyzes unresolved code for loops and changing closures
  • KT-66976 Some value class diagnostics are missed
  • KT-54920 K2: when with a single branch stops being exhaustive the second time it's done
  • KT-67307 K2: "Cannot find cached type parameter by FIR symbol" in JpaRepository.saveAll
  • KT-65771 K2: "IndexOutOfBoundsException: Cannot pop operand off an empty stack" when calling method imported using typealias as callable qualifier
  • KT-67502 K2: "property must be initialized or be abstract" with try-finally in secondary constructor
  • KT-67456 K2: "property must be initialized or be abstract" depending on constructor declaration order
  • KT-67628 K2: "IllegalArgumentException: Expected nullable type" — alias of nullable type analyzed as non-nullable in type parameter
  • KT-67625 K2: Array aliases can't be used as vararg values
  • KT-67624 K2: False negative "The feature "break continue in inline lambdas" is experimental and should be enabled explicitly" in elvis operator
  • KT-60271 K2: origins are not set on compare operators
  • KT-44557 Implement main function detection to FIR
  • KT-67593 K2: false negative SUPER_CALL_WITH_DEFAULT_PARAMETERS
  • KT-67484 K2: FIR2IR generates incorrect access to f/o of lateinit internal var
  • KT-67486 K2: Calling method from a Java (implementing a Kotlin class) with named parameters is no longer possible if Java method has different parameter names
  • KT-47382 JVM / IR: "AssertionError: Unbound private symbol IrFieldSymbolImpl" caused by string template in constructor and extension property
  • KT-67581 K2: Compiler fails on actualizing abstract class with sealed Java class via type alias
  • KT-67014 K1/K2 handle when expression as annotation target differently
  • KT-67254 K1/K2 both allow annotations on loops, assignments, array sets
  • KT-67224 K2/Native: Member overrides different '@Throws' filter from separate module
  • KT-66960 K2. KMP. False negative 'when' expression must be exhaustive without sealed class inheritor from common source-set
  • KT-63466 @NonNull on a type-variable usage doesn't take precedence over a wildcard type argument
  • KT-56134 K2: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER diagnostic is reported for the wrong symbol
  • KT-59872 K2: Disappeared TYPE_MISMATCH
  • KT-67192 K2: Disappeared TYPE_MISMATCH [3]
  • KT-67191 K2: Disappeared TYPE_MISMATCH [4]
  • KT-64860 K2: Consider using different ConstraintPosition when fixing variables for PCLA
  • KT-67189 K2: Disappeared TYPE_MISMATCH [5]

... (truncated)

Changelog

Sourced from org.jetbrains.kotlin.multiplatform's changelog.

2.0.0-RC2

Backend. Wasm

  • KT-66515 Wasm: "call param types must match" during the build
  • KT-67435 K/Wasm: import.meta.url transforming into absolute local path in webpack
  • KT-66905 K/Wasm: support new version of exception handling proposal

Compiler

New Features

  • KT-59688 K2: consider removing smartcasts only from the only visibile property with specific name, not from all of them

Performance Improvements

  • KT-67388 FP intellij: performance degradation in build 611
  • KT-67507 K2: Slow compilation times when a class has a lot of possibly conflicting declarations

Fixes

  • KT-57678 K2: Inconsistency in how K2 analyzes unresolved code for loops and changing closures
  • KT-66976 Some value class diagnostics are missed
  • KT-54920 K2: when with a single branch stops being exhaustive the second time it's done
  • KT-67307 K2: "Cannot find cached type parameter by FIR symbol" in JpaRepository.saveAll
  • KT-65771 K2: "IndexOutOfBoundsException: Cannot pop operand off an empty stack" when calling method imported using typealias as callable qualifier
  • KT-67502 K2: "property must be initialized or be abstract" with try-finally in secondary constructor
  • KT-67456 K2: "property must be initialized or be abstract" depending on constructor declaration order
  • KT-67628 K2: "IllegalArgumentException: Expected nullable type" — alias of nullable type analyzed as non-nullable in type parameter
  • KT-67625 K2: Array aliases can't be used as vararg values
  • KT-67624 K2: False negative "The feature "break continue in inline lambdas" is experimental and should be enabled explicitly" in elvis operator
  • KT-60271 K2: origins are not set on compare operators
  • KT-44557 Implement main function detection to FIR
  • KT-67593 K2: false negative SUPER_CALL_WITH_DEFAULT_PARAMETERS
  • KT-67484 K2: FIR2IR generates incorrect access to f/o of lateinit internal var
  • KT-67486 K2: Calling method from a Java (implementing a Kotlin class) with named parameters is no longer possible if Java method has different parameter names
  • KT-47382 JVM / IR: "AssertionError: Unbound private symbol IrFieldSymbolImpl" caused by string template in constructor and extension property
  • KT-67581 K2: Compiler fails on actualizing abstract class with sealed Java class via type alias
  • KT-67014 K1/K2 handle when expression as annotation target differently
  • KT-67254 K1/K2 both allow annotations on loops, assignments, array sets
  • KT-67224 K2/Native: Member overrides different '@Throws' filter from separate module
  • KT-66960 K2. KMP. False negative 'when' expression must be exhaustive without sealed class inheritor from common source-set
  • KT-63466 @NonNull on a type-variable usage doesn't take precedence over a wildcard type argument
  • KT-56134 K2: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER diagnostic is reported for the wrong symbol
  • KT-59872 K2: Disappeared TYPE_MISMATCH
  • KT-67192 K2: Disappeared TYPE_MISMATCH [3]
  • KT-67191 K2: Disappeared TYPE_MISMATCH [4]
  • KT-64860 K2: Consider using different ConstraintPosition when fixing variables for PCLA
  • KT-67189 K2: Disappeared TYPE_MISMATCH [5]
  • KT-67551 K2: No wrong annotation target error for for statement

... (truncated)

Commits
  • 5bed6cb Add changelog for 2.0.0-RC2
  • 6b1f998 [Gradle] Added error when provided kotlin.native.home is wrong.
  • a07119b [Gradle] Fix task created by KotlinJvmApi is not configuration cache compatible
  • 4fc80c1 [KT-67559] Bumped the Xcode version to 15.3 in tested Xcode diagnostic
  • ea9a2e6 [KLIB] prettify format of default parameters
  • 50654fe [IrActualizer] Fix a crash when actualizing certain annotation ctors
  • 5285948 [Wasm] Upgrade Node.js
  • 8943013 [FIR] Merge loop and lambda assignment look-ahead into single class
  • 73cb9f4 [FIR] Add test cases for KT-57678
  • 0795366 KT-66541 [KAPT] Make sure that FirElementSerializer doesn't fail on explicitl...
  • Additional commits viewable in compare view


Updates org.jetbrains.kotlin.plugin.serialization from 2.0.0-RC1 to 2.0.0-RC2

Release notes

Sourced from org.jetbrains.kotlin.plugin.serialization's releases.

Kotlin 2.0.0-RC2

Changelog

Backend. Wasm

  • KT-66515 Wasm: "call param types must match" during the build
  • KT-67435 K/Wasm: import.meta.url transforming into absolute local path in webpack
  • KT-66905 K/Wasm: support new version of exception handling proposal

Compiler

New Features

  • KT-59688 K2: consider removing smartcasts only from the only visibile property with specific name, not from all of them

Performance Improvements

  • KT-67388 FP intellij: performance degradation in build 611
  • KT-67507 K2: Slow compilation times when a class has a lot of possibly conflicting declarations

Fixes

  • KT-57678 K2: Inconsistency in how K2 analyzes unresolved code for loops and changing closures
  • KT-66976 Some value class diagnostics are missed
  • KT-54920 K2: when with a single branch stops being exhaustive the second time it's done
  • KT-67307 K2: "Cannot find cached type parameter by FIR symbol" in JpaRepository.saveAll
  • KT-65771 K2: "IndexOutOfBoundsException: Cannot pop operand off an empty stack" when calling method imported using typealias as callable qualifier
  • KT-67502 K2: "property must be initialized or be abstract" with try-finally in secondary constructor
  • KT-67456 K2: "property must be initialized or be abstract" depending on constructor declaration order
  • KT-67628 K2: "IllegalArgumentException: Expected nullable type" — alias of nullable type analyzed as non-nullable in type parameter
  • KT-67625 K2: Array aliases can't be used as vararg values
  • KT-67624 K2: False negative "The feature "break continue in inline lambdas" is experimental and should be enabled explicitly" in elvis operator
  • KT-60271 K2: origins are not set on compare operators
  • KT-44557 Implement main function detection to FIR
  • KT-67593 K2: false negative SUPER_CALL_WITH_DEFAULT_PARAMETERS
  • KT-67484 K2: FIR2IR generates incorrect access to f/o of lateinit internal var
  • KT-67486 K2: Calling method from a Java (implementing a Kotlin class) with named parameters is no longer possible if Java method has different parameter names
  • KT-47382 JVM / IR: "AssertionError: Unbound private symbol IrFieldSymbolImpl" caused by string template in constructor and extension property
  • KT-67581 K2: Compiler fails on actualizing abstract class with sealed Java class via type alias
  • KT-67014 K1/K2 handle when expression as annotation target differently
  • KT-67254 K1/K2 both allow annotations on loops, assignments, array sets
  • KT-67224 K2/Native: Member overrides different '@Throws' filter from separate module
  • KT-66960 K2. KMP. False negative 'when' expression must be exhaustive without sealed class inheritor from common source-set
  • KT-63466 @NonNull on a type-variable usage doesn't take precedence over a wildcard type argument
  • KT-56134 K2: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER diagnostic is reported for the wrong symbol
  • KT-59872 K2: Disappeared TYPE_MISMATCH
  • KT-67192 K2: Disappeared TYPE_MISMATCH [3]
  • KT-67191 K2: Disappeared TYPE_MISMATCH [4]
  • KT-64860 K2: Consider using different ConstraintPosition when fixing variables for PCLA
  • KT-67189 K2: Disappeared TYPE_MISMATCH [5]

... (truncated)

Changelog

Sourced from org.jetbrains.kotlin.plugin.serialization's changelog.

2.0.0-RC2

Backend. Wasm

  • KT-66515 Wasm: "call param types must match" during the build
  • KT-67435 K/Wasm: import.meta.url transforming into absolute local path in webpack
  • KT-66905 K/Wasm: support new version of exception handling proposal

Compiler

New Features

  • KT-59688 K2: consider removing smartcasts only from the only visibile property with specific name, not from all of them

Performance Improvements

  • KT-67388 FP intellij: performance degradation in build 611
  • KT-67507 K2: Slow compilation times when a class has a lot of possibly conflicting declarations

Fixes

  • KT-57678 K2: Inconsistency in how K2 analyzes unresolved code for loops and changing closures
  • KT-66976 Some value class diagnostics are missed
  • KT-54920 K2: when with a single branch stops being exhaustive the second time it's done
  • KT-67307 K2: "Cannot find cached type parameter by FIR symbol" in JpaRepository.saveAll
  • KT-65771 K2: "IndexOutOfBoundsException: Cannot pop operand off an empty stack" when calling method imported using typealias as callable qualifier
  • KT-67502 K2: "property must be initialized or be abstract" with try-finally in secondary constructor
  • KT-67456 K2: "property must be initialized or be abstract" depending on constructor declaration order
  • KT-67628 K2: "IllegalArgumentException: Expected nullable type" — alias of nullable type analyzed as non-nullable in type parameter
  • KT-67625 K2: Array aliases can't be used as vararg values
  • KT-67624 K2: False negative "The feature "break continue in inline lambdas" is experimental and should be enabled explicitly" in elvis operator
  • KT-60271 K2: origins are not set on compare operators
  • KT-44557 Implement main function detection to FIR
  • KT-67593 K2: false negative SUPER_CALL_WITH_DEFAULT_PARAMETERS
  • KT-67484 K2: FIR2IR generates incorrect access to f/o of lateinit internal var
  • KT-67486 K2: Calling method from a Java (implementing a Kotlin class) with named parameters is no longer possible if Java method has different parameter names
  • KT-47382 JVM / IR: "AssertionError: Unbound private symbol IrFieldSymbolImpl" caused by string template in constructor and extension property
  • KT-67581 K2: Compiler fails on actualizing abstract class with sealed Java class via type alias
  • KT-67014 K1/K2 handle when expression as annotation target differently
  • KT-67254 K1/K2 both allow annotations on loops, assignments, array sets
  • KT-67224 K2/Native: Member overrides different '@Throws' filter from separate module
  • KT-66960 K2. KMP. False negative 'when' expression must be exhaustive without sealed class inheritor from common source-set
  • KT-63466 @NonNull on a type-variable usage doesn't take precedence over a wildcard type argument
  • KT-56134 K2: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER diagnostic is reported for the wrong symbol
  • KT-59872 K2: Disappeared TYPE_MISMATCH
  • KT-67192 K2: Disappeared TYPE_MISMATCH [3]
  • KT-67191 K2: Disappeared TYPE_MISMATCH [4]
  • KT-64860 K2: Consider using different ConstraintPosition when fixing variables for PCLA
  • KT-67189 K2: Disappeared TYPE_MISMATCH [5]
  • KT-67551 K2: No wrong annotation target error for for statement

... (truncated)

Commits
  • 5bed6cb Add changelog for 2.0.0-RC2
  • 6b1f998 [Gradle] Added error when provided kotlin.native.home is wrong.
  • a07119b [Gradle] Fix task created by KotlinJvmApi is not configuration cache compatible
  • 4fc80c1 [KT-67559] Bumped the Xcode version to 15.3 in tested Xcode diagnostic
  • ea9a2e6 [KLIB] prettify format of default parameters
  • 50654fe [IrActualizer] Fix a crash when actualizing certain annotation ctors
  • 5285948 [Wasm] Upgrade Node.js
  • 8943013 [FIR] Merge loop and lambda assignment look-ahead into single class
  • 73cb9f4 [FIR] Add test cases for KT-57678
  • 0795366 KT-66541 [KAPT] Make sure that FirElementSerializer doesn't fail on explicitl...
  • Additional commits viewable in compare view


Updates org.jetbrains.kotlin.plugin.js-plain-objects from 2.0.0-RC1 to 2.0.0-RC2

Release notes

Sourced from org.jetbrains.kotlin.plugin.js-plain-objects's releases.

Kotlin 2.0.0-RC2

Changelog

Backend. Wasm

  • KT-66515 Wasm: "call param types must match" during the build
  • KT-67435 K/Wasm: import.meta.url transforming into absolute local path in webpack
  • KT-66905 K/Wasm: support new version of exception handling proposal

Compiler

New Features

  • KT-59688 K2: consider removing smartcasts only from the only visibile property with specific name, not from all of them

Performance Improvements

  • KT-67388 FP intellij: performance degradation in build 611
  • KT-67507 K2: Slow compilation times when a class has a lot of possibly conflicting declarations

Fixes

  • KT-57678 K2: Inconsistency in how K2 analyzes unresolved code for loops and changing closures
  • KT-66976 Some value class diagnostics are missed
  • KT-54920 K2: when with a single branch stops being exhaustive the second time it's done
  • KT-67307 K2: "Cannot find cached type parameter by FIR symbol" in JpaRepository.saveAll
  • KT-65771 K2: "IndexOutOfBoundsException: Cannot pop operand off an empty stack" when calling method imported using typealias as callable qualifier
  • KT-67502 K2: "property must be initialized or be abstract" with try-finally in secondary constructor
  • KT-67456 K2: "property must be initialized or be abstract" depending on constructor declaration order
  • KT-67628 K2: "IllegalArgumentException: Expected nullable type" — alias of nullable type analyzed as non-nullable in type parameter
  • KT-67625 K2: Array aliases can't be used as vararg values
  • KT-67624 K2: False negative "The feature "break continue in inline lambdas" is experimental and should be enabled explicitly" in elvis operator
  • KT-60271 K2: origins are not set on compare operators
  • KT-44557 Implement main function detection to FIR
  • KT-67593 K2: false negative SUPER_CALL_WITH_DEFAULT_PARAMETERS
  • KT-67484 K2: FIR2IR generates incorrect access to f/o of lateinit internal var
  • KT-67486 K2: Calling method from a Java (implementing a Kotlin class) with named parameters is no longer possible if Java method has different parameter names
  • KT-47382 JVM / IR: "AssertionError: Unbound private symbol IrFieldSymbolImpl" caused by string template in constructor and extension property
  • KT-67581 K2: Compiler fails on actualizing abstract class with sealed Java class via type alias
  • KT-67014 K1/K2 handle when expression as annotation target differently
  • KT-67254 K1/K2 both allow annotations on loops, assignments, array sets
  • KT-67224 K2/Native: Member overrides different '@Throws' filter from separate module
  • KT-66960 K2. KMP. False negative 'when' expression must be exhaustive without sealed class inheritor from common source-set
  • KT-63466 @NonNull on a type-variable usage doesn't take precedence over a wildcard type argument
  • KT-56134 K2: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER diagnostic is reported for the wrong symbol
  • KT-59872 K2: Disappeared TYPE_MISMATCH
  • KT-67192 K2: Disappeared TYPE_MISMATCH [3]
  • KT-67191 K2: Disappeared TYPE_MISMATCH [4]
  • KT-64860 K2: Consider using different ConstraintPosition when fixing variables for PCLA
  • KT-67189 K2: Disappeared TYPE_MISMATCH [5]

... (truncated)

Changelog

Sourced from org.jetbrains.kotlin.plugin.js-plain-objects's changelog.

2.0.0-RC2

Backend. Wasm

  • KT-66515 Wasm: "call param types must match" during the build
  • KT-67435 K/Wasm: import.meta.url transforming into absolute local path in webpack
  • KT-66905 K/Wasm: support new version of exception handling proposal

Compiler

New Features

  • KT-59688 K2: consider removing smartcasts only from the only visibile property with specific name, not from all of them

Performance Improvements

  • KT-67388 FP intellij: performance degradation in build 611
  • KT-67507 K2: Slow compilation times when a class has a lot of possibly conflicting declarations

Fixes

  • KT-57678 K2: Inconsistency in how K2 analyzes unresolved code for loops and changing closures
  • KT-66976 Some value class diagnostics are missed
  • KT-54920 K2: when with a single branch stops being exhaustive the second time it's done
  • KT-67307 K2: "Cannot find cached type parameter by FIR symbol" in JpaRepository.saveAll
  • KT-65771 K2: "IndexOutOfBoundsException: Cannot pop operand off an empty stack" when calling method imported using typealias as callable qualifier
  • KT-67502 K2: "property must be initialized or be abstract" with try-finally in secondary constructor
  • KT-67456 K2: "property must be initialized or be abstract" depending on constructor declaration order
  • KT-67628 K2: "IllegalArgumentException: Expected nullable type" — alias of nullable type analyzed as non-nullable in type parameter
  • KT-67625 K2: Array aliases can't be used as vararg values
  • KT-67624 K2: False negative "The feature "break continue in inline lambdas" is experimental and should be enabled explicitly" in elvis operator
  • KT-60271 K2: origins are not set on compare operators
  • KT-44557 Implement main function detection to FIR
  • KT-67593 K2: false negative SUPER_CALL_WITH_DEFAULT_PARAMETERS
  • KT-67484 K2: FIR2IR generates incorrect access to f/o of lateinit internal var
  • KT-67486 K2: Calling method from a Java (implementing a Kotlin class) with named parameters is no longer possible if Java method has different parameter names
  • KT-47382 JVM / IR: "AssertionError: Unbound private symbol IrFieldSymbolImpl" caused by string template in constructor and extension property
  • KT-67581 K2: Compiler fails on actualizing abstract class with sealed Java class via type alias
  • KT-67014 K1/K2 handle when expression as annotation target differently
  • KT-67254 K1/K2 both allow annotations on loops, assignments, array sets
  • KT-67224 K2/Native: Member overrides different '@Throws' filter from separate module
  • KT-66960 K2. KMP. False negative 'when' expression must be exhaustive without sealed class inheritor from common source-set
  • KT-63466 @NonNull on a type-variable usage doesn't take precedence over a wildcard type argument
  • KT-56134 K2: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER diagnostic is reported for the wrong symbol
  • KT-59872 K2: Disappeared TYPE_MISMATCH
  • KT-67192 K2: Disappeared TYPE_MISMATCH [3]
  • KT-67191 K2: Disappeared TYPE_MISMATCH [4]
  • KT-64860 K2: Consider using different ConstraintPosition when fixing variables for PCLA
  • KT-67189 K2: Disappeared TYPE_MISMATCH [5]
  • KT-67551 K2: No wrong annotation target error for for statement

... (truncated)

Commits
  • 5bed6cb Add changelog for 2.0.0-RC2
  • 6b1f998 [Gradle] Added error when provided kotlin.native.home is wrong.
  • a07119b [Gradle] Fix task created by KotlinJvmApi is not configuration cache compatible
  • 4fc80c1 [KT-67559] Bumped the Xcode version to 15.3 in tested Xcode diagnostic
  • ea9a2e6 [KLIB] prettify format of default parameters
  • 50654fe [IrActualizer] Fix a crash when actualizing certain annotation ctors
  • 5285948 [Wasm] Upgrade Node.js
  • 8943013 [FIR] Merge loop and lambda assignment look-ahead into single class
  • 73cb9f4 [FIR] Add test cases for KT-57678
  • 0795366 KT-66541 [KAPT] Make sure that FirElementSerializer doesn't fail on explicitl...
  • Additional commits viewable in compare view


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


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