Skip to content

Releases: Him188/kotlin-jvm-blocking-bridge

3.1.0-180.1

19 Mar 14:32
11762aa
Compare
Choose a tag to compare
  • IDE: Supports inlay hints for common source sets in MPP

No compiler updates. Please continue using the 3.0.0-180.1 compiler.

This version of the compiler plugin supports Kotlin versions:

  • 1.8.0
  • 1.8.10

K2 is not yet supported

This version of the IDEA plugin supports IDE versions:

  • 2022.3
  • 2023.1

3.0.0-180.1

18 Mar 18:57
d808bec
Compare
Choose a tag to compare

3.0.0 for Kotlin 1.8.0

  • Removed compatibility unit coercion because it has been impossible to implement in the compiler since 1.8.0.

    This will only affect you if you use the COMPATIBILITY unit coercion mode (i.e. only when you are a library author and started using KJBB before KJBB 1.7.0).
    This is a binary incompatible but source compatible change. Java code that relies on the libraries compiled with KJBB 1.6.x and before will fail at runtime. You can fix it by re-compiling the Java code with your updated libraries which use KJBB.

  • Runtime libraries are not added by default anymore. You would need to manually add implementation("me.him188:kotlin-jvm-blocking-bridge-runtime:3.0.0-180.1") to use the @JvmBlockingBridge annotation and runtime intrinsics required by the compiler.

    This is because adding a library implicitly can cause problems in certain situations, and there is no workaround on it.

This version of the compiler plugin supports Kotlin versions:

  • 1.8.0
  • 1.8.10

K2 is not yet supported

This version of the IDEA plugin supports IDE versions:

  • 2022.3

2.2.0-180.1

29 Jan 09:59
8e3b541
Compare
Choose a tag to compare

2.2.0 for Kotlin 1.8.0

This version of the compiler plugin supports Kotlin versions:

  • 1.8.0-Beta
  • 1.8.0

This version of the IDEA plugin supports IDE versions:

  • 2022.*

2.2.0-172.1

23 Oct 10:37
33038df
Compare
Choose a tag to compare

2.2.0 for Kotlin 1.7.20

  • Do not run lowering passes for non-JVM modules to enhance performance.

This version of the compiler plugin supports Kotlin versions:

  • 1.7.20-Beta
  • 1.7.20-RC
  • 1.7.20

This version of the IDEA plugin supports IDE versions:

  • 2022.*
  • 2021.*
  • 2020.*

2.1.0-170.1

27 May 19:43
Compare
Choose a tag to compare

2.1.0 for Kotlin 1.7.0

This version of the compiler plugin supports Kotlin versions:

  • 1.7.0-Beta JVM/IR
  • 1.7.0-RC JVM/IR
  • 1.7.0 JVM/IR
  • 1.7.10 JVM/IR

This version of the IDEA plugin supports IDE versions:

  • 2022.1 so far
  • 2021.*
  • 2020.*

2.1.0-162.1

18 May 08:54
Compare
Choose a tag to compare
  • Add AnnotationTarget FILE for @JvmBlockingBridge in common
  • Consider IR enabled if there is no enough information about it

This version of the compiler plugin supports Kotlin versions:

  • 1.6.20-M1 JVM/IR
  • 1.6.20-RC JVM/IR
  • 1.6.20 JVM/IR
  • 1.6.21 JVM/IR

This version of the IDEA plugin supports IDE versions:

  • 2022.1 so far
  • 2021.*
  • 2020.*

2.0.0-162.1

08 Feb 18:04
Compare
Choose a tag to compare

2.0.0 for Kotlin 1.6.20

This version of the compiler plugin supports Kotlin versions:

  • 1.6.20-M1 JVM/IR
  • 1.6.20-RC JVM/IR
  • 1.6.20 JVM/IR
  • 1.6.21 JVM/IR

This version of the IDEA plugin supports IDE versions:

  • 2022.1 so far
  • 2021.*
  • 2020.*

2.0.0-160.3

12 Dec 18:59
Compare
Choose a tag to compare

2.0.0 for Kotlin 1.6.0 and IntelliJ IDEA 2021.3

New features

  • Support all Native platforms

Breaking changes

  • Plugin id changed from net.mamoe.kotlin-jvm-blocking-bridge to me.him188.kotlin-jvm-blocking-bridge
  • Package name changed to me.him188.kotlin.jvm.blocking.bridge
  • Old net.mamoe.kjbb.JvmBlockingBridge will be kept as @Deprecated for some time, and will be removed in the future.

There will be no further support for 1.x versions.

Migrating from 1.x to 2.0

Simply use new plugin me.him188.kotlin-jvm-blocking-bridge version 2.0.0-160.3, compile the project then apply suggested replacement.

This version of the compiler plugin supports Kotlin versions:

  • 1.6.0-M1 JVM/IR
  • 1.6.0-RC JVM/IR
  • 1.6.0 JVM/IR
  • 1.6.10-RC JVM/IR
  • 1.6.10 JVM/IR

1.10.6-160.1

18 Nov 03:46
Compare
Choose a tag to compare
1.10.6-160.1 Pre-release
Pre-release

1.10.6 for Kotlin 1.6.0 and IntelliJ IDEA 2021.2

Note that due to some issues raised while migrating to Kotlin 1.6.0, this version might not support Kotlin Native targets.

This version of the compiler plugin supports Kotlin versions:

  • 1.6.0-M1 JVM/IR
  • 1.6.0-RC JVM/IR
  • 1.6.0 JVM/IR

1.10.6-1530.2

13 Aug 07:38
Compare
Choose a tag to compare
1.10.6-1530.2 Pre-release
Pre-release

1.10.6 for Kotlin 1.5.30 and IntelliJ IDEA 2021.2

This version of the compiler plugin supports Kotlin versions:

  • 1.5.30-M1 JVM/IR
  • 1.5.30-RC JVM/IR
  • 1.5.30 JVM/IR
  • 1.5.31 JVM/IR