diff --git a/CHANGES.md b/CHANGES.md index 0e64d9ec..442a2a2a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,15 @@ # Change log for kotlinx.atomicfu +# Version 0.23.0 + +* Updated Kotlin to 1.9.20 (#361). +* Updated Gradle version to 8.3. +* Supported transformations for Native targets 🎉 (#363) . +* Introduced WebAssembly target (`wasmJs` and `wasmWasi`) 🎉 (#334). +* Improved integration testing for `atomicfu-gradle-plugin` (#345). +* Updated implementation of native atomics (#336). +* Got rid of `previous-compilation-data.bin` file in META-INF (#344). + # Version 0.22.0 * Updated Kotlin to 1.9.0 (#330). diff --git a/README.md b/README.md index a1475f7e..6f0171bb 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Kotlin Beta](https://kotl.in/badges/beta.svg)](https://kotlinlang.org/docs/components-stability.html) [![JetBrains official project](https://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) [![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0) -[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/atomicfu)](https://search.maven.org/artifact/org.jetbrains.kotlinx/atomicfu/0.22.0/pom) +[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/atomicfu)](https://search.maven.org/artifact/org.jetbrains.kotlinx/atomicfu/0.23.0/pom) >Note on Beta status: the plugin is in its active development phase and changes from release to release. >We do provide a compatibility of atomicfu-transformed artifacts between releases, but we do not provide @@ -34,7 +34,7 @@ ## Requirements -Starting from version `0.22.0` of the library your project is required to use: +Starting from version `0.23.0` of the library your project is required to use: * Gradle `7.0` or newer @@ -119,7 +119,7 @@ buildscript { } dependencies { - classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.22.0") + classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.23.0") } } @@ -136,7 +136,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.22.0' + classpath 'org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.23.0' } } @@ -154,7 +154,7 @@ Maven configuration is supported for JVM projects. ```xml - 0.22.0 + 0.23.0 ``` @@ -295,7 +295,7 @@ To set configuration options you should create `atomicfu` section in a `build.gr like this: ```groovy atomicfu { - dependenciesVersion = '0.22.0' + dependenciesVersion = '0.23.0' } ``` @@ -317,7 +317,7 @@ To turn off transformation for Kotlin/JS set option `transformJs` to `false`. Here are all available configuration options (with their defaults): ```groovy atomicfu { - dependenciesVersion = '0.22.0' // set to null to turn-off auto dependencies + dependenciesVersion = '0.23.0' // set to null to turn-off auto dependencies transformJvm = true // set to false to turn off JVM transformation jvmVariant = "FU" // JVM transformation variant: FU,VH, or BOTH transformJs = true // set to false to turn off JVM transformation diff --git a/gradle.properties b/gradle.properties index 6e5928c0..ecbd984d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ # Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. # -version=0.22.0-SNAPSHOT +version=0.23.0-SNAPSHOT group=org.jetbrains.kotlinx kotlin_version=1.9.20 diff --git a/integration-testing/examples/jvm-sample/gradle.properties b/integration-testing/examples/jvm-sample/gradle.properties index a2ec6d3d..7b7a8891 100644 --- a/integration-testing/examples/jvm-sample/gradle.properties +++ b/integration-testing/examples/jvm-sample/gradle.properties @@ -2,4 +2,4 @@ ## Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. ## kotlin_version=1.9.20 -atomicfu_version=0.22.0-SNAPSHOT +atomicfu_version=0.23.0-SNAPSHOT diff --git a/integration-testing/examples/mpp-sample/gradle.properties b/integration-testing/examples/mpp-sample/gradle.properties index a2ec6d3d..7b7a8891 100644 --- a/integration-testing/examples/mpp-sample/gradle.properties +++ b/integration-testing/examples/mpp-sample/gradle.properties @@ -2,4 +2,4 @@ ## Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. ## kotlin_version=1.9.20 -atomicfu_version=0.22.0-SNAPSHOT +atomicfu_version=0.23.0-SNAPSHOT diff --git a/integration-testing/src/functionalTest/kotlin/kotlinx.atomicfu.gradle.plugin.test/cases/smoke/DependencyCheckerTest.kt b/integration-testing/src/functionalTest/kotlin/kotlinx.atomicfu.gradle.plugin.test/cases/smoke/DependencyCheckerTest.kt index 990af9f5..539a6268 100644 --- a/integration-testing/src/functionalTest/kotlin/kotlinx.atomicfu.gradle.plugin.test/cases/smoke/DependencyCheckerTest.kt +++ b/integration-testing/src/functionalTest/kotlin/kotlinx.atomicfu.gradle.plugin.test/cases/smoke/DependencyCheckerTest.kt @@ -17,7 +17,7 @@ class DependencyParserSmokeTest { "Root project 'jvm-sample'\n" + "------------------------------------------------------------\n" + "compileClasspath - Compile classpath for null/main.\n" + - "+--- org.jetbrains.kotlinx:atomicfu-jvm:0.22.0-SNAPSHOT\n" + + "+--- org.jetbrains.kotlinx:atomicfu-jvm:0.23.0-SNAPSHOT\n" + "+--- org.jetbrains.kotlin:kotlin-stdlib:1.9.0\n" + "| +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0\n" + "| \\--- org.jetbrains:annotations:13.0\n" + @@ -28,10 +28,10 @@ class DependencyParserSmokeTest { " \\--- org.hamcrest:hamcrest-core:1.3\n" + "\n" + "compileOnly - Compile only dependencies for null/main. (n)\n" + - "\\--- org.jetbrains.kotlinx:atomicfu-jvm:0.22.0-SNAPSHOT (n)\n" + + "\\--- org.jetbrains.kotlinx:atomicfu-jvm:0.23.0-SNAPSHOT (n)\n" + "\n" + "compileOnlyDependenciesMetadata\n" + - "\\--- org.jetbrains.kotlinx:atomicfu-jvm:0.22.0-SNAPSHOT\n" + + "\\--- org.jetbrains.kotlinx:atomicfu-jvm:0.23.0-SNAPSHOT\n" + "\n" + "default - Configuration for default artifacts. (n)\n" + "No dependencies\n" + @@ -73,7 +73,7 @@ class DependencyParserSmokeTest { ) assertEquals( listOf( - "org.jetbrains.kotlinx:atomicfu-jvm:0.22.0-SNAPSHOT", + "org.jetbrains.kotlinx:atomicfu-jvm:0.23.0-SNAPSHOT", "org.jetbrains.kotlin:kotlin-stdlib:1.9.0", "org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0", "org.jetbrains:annotations:13.0",