Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump kotlin from 2.0.21 to 2.1.0 #215

Merged
merged 8 commits into from
Jan 18, 2025
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 27, 2024

Bumps kotlin from 2.0.21 to 2.1.0.
Updates org.jetbrains.kotlin.multiplatform from 2.0.21 to 2.1.0

Release notes

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

Kotlin 2.1.0-RC2

Changelog

Compiler

  • KT-72345 K2: Method 'get' without @Override annotation not called
  • KT-73065 CCE with context receivers
  • KT-72996 false-positive unresolved reference error on an overloaded callable reference in a lambda return position on the left-hand size of an elvis operator

Compose compiler

  • CMP-6926 iOS compilation failure: Unresolved reference 'copy'

IR. Inlining

  • KT-72884 Internal error in body lowering: IllegalStateException: Can't inline given reference, it should've been lowered

JavaScript

  • KT-70533 KJS: changed string concatenation behavior in 2.0
  • KT-14013 JS toString produces different result for nullable/non-nullable ref to the same array
  • KT-43567 KJS: toString() method and string interpolation of variable produce different code
  • KT-72732 KJS / ES6: "SyntaxError: 'super' keyword unexpected here" with enabled -Xir-generate-inline-anonymous-functions and disabled arrow functions

Klibs

  • KT-72965 Ignore subclassOptInRequired constructor warning

Tools. Compiler Plugins

  • KT-72804 Regression in Kotlin 2.1.0: compilation fails when building iOS
  • KT-72824 Kotlin power-assert plugin StringIndexOutOfBoundsException

Tools. Gradle

  • KT-47897 Official Kotlin Gradle plugin api
  • KT-58858 Add KDoc documentation for Kotlin Gradle plugin API
  • KT-73076 Kotlin Gradle Plugin API Reference: adjust settings
  • KT-70543 Gradle: create migration guide for those who are using Kotlin compiler classes indirectly available in buildscripts

Kotlin 2.1.0-RC

Changelog

Backend. Wasm

  • KT-72297 [Wasm] Unused associated object class lead to compiler fail

Compiler

  • KT-72281 K/N: "Failed to wait for cache to be built"
  • KT-72238 Argument type mismatch in builder inside extension function after ?:
  • KT-71751 K2: Skipping code in last statement of lambda
  • KT-72552 AutoboxingTransformer fails on during linkage on nested lambdas with cinteroped types

... (truncated)

Commits

Updates org.jetbrains.kotlin.plugin.serialization from 2.0.21 to 2.1.0

Release notes

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

Kotlin 2.1.0-RC2

Changelog

Compiler

  • KT-72345 K2: Method 'get' without @Override annotation not called
  • KT-73065 CCE with context receivers
  • KT-72996 false-positive unresolved reference error on an overloaded callable reference in a lambda return position on the left-hand size of an elvis operator

Compose compiler

  • CMP-6926 iOS compilation failure: Unresolved reference 'copy'

IR. Inlining

  • KT-72884 Internal error in body lowering: IllegalStateException: Can't inline given reference, it should've been lowered

JavaScript

  • KT-70533 KJS: changed string concatenation behavior in 2.0
  • KT-14013 JS toString produces different result for nullable/non-nullable ref to the same array
  • KT-43567 KJS: toString() method and string interpolation of variable produce different code
  • KT-72732 KJS / ES6: "SyntaxError: 'super' keyword unexpected here" with enabled -Xir-generate-inline-anonymous-functions and disabled arrow functions

Klibs

  • KT-72965 Ignore subclassOptInRequired constructor warning

Tools. Compiler Plugins

  • KT-72804 Regression in Kotlin 2.1.0: compilation fails when building iOS
  • KT-72824 Kotlin power-assert plugin StringIndexOutOfBoundsException

Tools. Gradle

  • KT-47897 Official Kotlin Gradle plugin api
  • KT-58858 Add KDoc documentation for Kotlin Gradle plugin API
  • KT-73076 Kotlin Gradle Plugin API Reference: adjust settings
  • KT-70543 Gradle: create migration guide for those who are using Kotlin compiler classes indirectly available in buildscripts

Kotlin 2.1.0-RC

Changelog

Backend. Wasm

  • KT-72297 [Wasm] Unused associated object class lead to compiler fail

Compiler

  • KT-72281 K/N: "Failed to wait for cache to be built"
  • KT-72238 Argument type mismatch in builder inside extension function after ?:
  • KT-71751 K2: Skipping code in last statement of lambda
  • KT-72552 AutoboxingTransformer fails on during linkage on nested lambdas with cinteroped types

... (truncated)

Commits

Updates org.jetbrains.kotlin.plugin.allopen from 2.0.21 to 2.1.0

Release notes

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

Kotlin 2.1.0-RC2

Changelog

Compiler

  • KT-72345 K2: Method 'get' without @Override annotation not called
  • KT-73065 CCE with context receivers
  • KT-72996 false-positive unresolved reference error on an overloaded callable reference in a lambda return position on the left-hand size of an elvis operator

Compose compiler

  • CMP-6926 iOS compilation failure: Unresolved reference 'copy'

IR. Inlining

  • KT-72884 Internal error in body lowering: IllegalStateException: Can't inline given reference, it should've been lowered

JavaScript

  • KT-70533 KJS: changed string concatenation behavior in 2.0
  • KT-14013 JS toString produces different result for nullable/non-nullable ref to the same array
  • KT-43567 KJS: toString() method and string interpolation of variable produce different code
  • KT-72732 KJS / ES6: "SyntaxError: 'super' keyword unexpected here" with enabled -Xir-generate-inline-anonymous-functions and disabled arrow functions

Klibs

  • KT-72965 Ignore subclassOptInRequired constructor warning

Tools. Compiler Plugins

  • KT-72804 Regression in Kotlin 2.1.0: compilation fails when building iOS
  • KT-72824 Kotlin power-assert plugin StringIndexOutOfBoundsException

Tools. Gradle

  • KT-47897 Official Kotlin Gradle plugin api
  • KT-58858 Add KDoc documentation for Kotlin Gradle plugin API
  • KT-73076 Kotlin Gradle Plugin API Reference: adjust settings
  • KT-70543 Gradle: create migration guide for those who are using Kotlin compiler classes indirectly available in buildscripts

Kotlin 2.1.0-RC

Changelog

Backend. Wasm

  • KT-72297 [Wasm] Unused associated object class lead to compiler fail

Compiler

  • KT-72281 K/N: "Failed to wait for cache to be built"
  • KT-72238 Argument type mismatch in builder inside extension function after ?:
  • KT-71751 K2: Skipping code in last statement of lambda
  • KT-72552 AutoboxingTransformer fails on during linkage on nested lambdas with cinteroped types

... (truncated)

Commits

You can trigger a rebase of this PR 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 <dependency name> 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Dependencies update to newer versions label Nov 27, 2024
@dependabot dependabot bot force-pushed the dependabot/gradle/kotlin-2.1.0 branch from 00eacb9 to d3aeb09 Compare November 28, 2024 16:32
@OptimumCode
Copy link
Owner

OptimumCode commented Dec 29, 2024

Blocked by kotest/kotest#4521

@OptimumCode OptimumCode force-pushed the dependabot/gradle/kotlin-2.1.0 branch from e18bceb to cbed93f Compare January 3, 2025 15:57
Copy link

codecov bot commented Jan 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.53%. Comparing base (6b56a26) to head (915e577).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #215   +/-   ##
=======================================
  Coverage   90.53%   90.53%           
=======================================
  Files         133      133           
  Lines        3983     3983           
  Branches     1059     1059           
=======================================
  Hits         3606     3606           
  Misses         82       82           
  Partials      295      295           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@OptimumCode
Copy link
Owner

Tests for wasmJsBrowser and jsBrowser are executed but no reports are generated:
https://youtrack.jetbrains.com/issue/KT-74281

@OptimumCode OptimumCode force-pushed the dependabot/gradle/kotlin-2.1.0 branch from c9437ae to cd473ed Compare January 8, 2025 14:41
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'KMP JSON schema validator'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.50.

Benchmark suite Current: ce4609d Previous: 9481407 Ratio
macosArm64.CommonAvgTimeBench.validateBasic ( {"objectPath":"openapi.json","schemaPath":"openapi_schema.json"} ) 1704.0094202593195 us/op 1019.8887628571429 us/op 1.67
macosArm64.CommonAvgTimeBench.validateBasic ( {"objectPath":"openapi-invalid.json","schemaPath":"openapi_schema.json"} ) 1779.6770509565217 us/op 1084.9332618435153 us/op 1.64
macosArm64.CommonAvgTimeBench.validateDetailed ( {"objectPath":"openapi.json","schemaPath":"openapi_schema.json"} ) 3919.3487053030303 us/op 2446.4505560679613 us/op 1.60
macosArm64.CommonAvgTimeBench.validateDetailed ( {"objectPath":"openapi-invalid.json","schemaPath":"openapi_schema.json"} ) 4237.6276810077525 us/op 2644.7861658792654 us/op 1.60
macosArm64.CommonAvgTimeBench.validateVerbose ( {"objectPath":"openapi.json","schemaPath":"openapi_schema.json"} ) 7903.107015789474 us/op 4618.344343438914 us/op 1.71
macosArm64.CommonAvgTimeBench.validateVerbose ( {"objectPath":"openapi-invalid.json","schemaPath":"openapi_schema.json"} ) 8536.199411023623 us/op 4525.2208515695065 us/op 1.89
macosArm64.CommonAvgTimeBench.validate ( {"objectPath":"openapi.json","schemaPath":"openapi_schema.json"} ) 1621.404768478261 us/op 999.3711923686818 us/op 1.62
macosArm64.CommonAvgTimeBench.validate ( {"objectPath":"openapi-invalid.json","schemaPath":"openapi_schema.json"} ) 1696.5177789644015 us/op 1003.9019922037423 us/op 1.69
macosX64.CommonAvgTimeBench.validateDetailed ( {"objectPath":"openapi.json","schemaPath":"openapi_schema.json"} ) 9533.901213636364 us/op 6137.382462195123 us/op 1.55
macosX64.CommonAvgTimeBench.validateDetailed ( {"objectPath":"openapi-invalid.json","schemaPath":"openapi_schema.json"} ) 10529.161437078652 us/op 6564.317594701986 us/op 1.60

This comment was automatically generated by workflow using github-action-benchmark.

CC: @OptimumCode

@OptimumCode
Copy link
Owner

Tests for wasmJsBrowser and jsBrowser are executed but no reports are generated: https://youtrack.jetbrains.com/issue/KT-74281

Keep track of that in a separate issue: #240

This PR will be merged as it blocks updates for other dependencies

dependabot bot and others added 7 commits January 18, 2025 12:44
Bumps `kotlin` from 2.0.21 to 2.1.0.

Updates `org.jetbrains.kotlin.multiplatform` from 2.0.21 to 2.1.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `org.jetbrains.kotlin.plugin.serialization` from 2.0.21 to 2.1.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `org.jetbrains.kotlin.plugin.allopen` from 2.0.21 to 2.1.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.multiplatform
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlin.plugin.serialization
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlin.plugin.allopen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
It is commented because it does not help but for the history I would like to keep it for now
@OptimumCode OptimumCode force-pushed the dependabot/gradle/kotlin-2.1.0 branch from ce4609d to cb2aabd Compare January 18, 2025 11:44
@OptimumCode OptimumCode enabled auto-merge (squash) January 18, 2025 12:40
@OptimumCode OptimumCode merged commit 1dbd5c4 into main Jan 18, 2025
21 of 22 checks passed
@OptimumCode OptimumCode deleted the dependabot/gradle/kotlin-2.1.0 branch January 18, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Dependencies update to newer versions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant