Skip to content

Commit bf9494e

Browse files
qwwdfsadpablobaxter
authored andcommitted
Version 1.6.2
1 parent 7d2ddaa commit bf9494e

File tree

6 files changed

+24
-16
lines changed

6 files changed

+24
-16
lines changed

CHANGES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Change log for kotlinx.coroutines
22

3+
## Version 1.6.2
4+
5+
* Fixed a bug with `ThreadLocalElement` not being correctly updated when the most outer `suspend` function was called directly without `kotlinx.coroutines` (#2930).
6+
* Fixed multiple data races: one that might have been affecting `runBlocking` event loop, and a benign data race in `Mutex` (#3250, #3251).
7+
* Obsolete `TestCoroutineContext` is removed, which fixes the `kotlinx-coroutines-test` JPMS package being split between `kotlinx-coroutines-core` and `kotlinx-coroutines-test` (#3218).
8+
* Updated the ProGuard rules to further shrink the size of the resulting DEX file with coroutines (#3111, #3263). Thanks, @agrieve!
9+
* Atomicfu is updated to `0.17.2`, which includes a more efficient and robust JS IR transformer (#3255).
10+
* Kotlin is updated to `1.6.21`, Gradle version is updated to `7.4.2` (#3281). Thanks, @wojtek-kalicinski!
11+
* Various documentation improvements.
12+
313
## Version 1.6.1
414

515
* Rollback of time-related functions dispatching on `Dispatchers.Main`.

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44

55
# Kotlin
6-
version=1.6.1-SNAPSHOT
6+
version=1.6.2-SNAPSHOT
77
group=org.jetbrains.kotlinx
88
kotlin_version=1.6.21
99

gradle/publish-npm-js.gradle

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,15 @@ task preparePublishNpm(type: Copy) {
4040

4141
task publishNpm(type: NpmTask, dependsOn: [preparePublishNpm]) {
4242
workingDir = npmDeployDir
43-
44-
doFirst {
45-
def npmDeployTag = distTag(version)
46-
def deployArgs = ['publish',
47-
"--//registry.npmjs.org/:_authToken=$authToken",
48-
"--tag=$npmDeployTag"]
49-
if (dryRun == "true") {
50-
println("$npmDeployDir \$ npm arguments: $deployArgs")
51-
args = ['pack']
52-
} else {
53-
args = deployArgs
54-
}
43+
44+
def npmDeployTag = distTag(version)
45+
def deployArgs = ['publish',
46+
"--//registry.npmjs.org/:_authToken=$authToken",
47+
"--tag=$npmDeployTag"]
48+
if (dryRun == "true") {
49+
println("$npmDeployDir \$ npm arguments: $deployArgs")
50+
args = ['pack']
51+
} else {
52+
args = deployArgs
5553
}
5654
}

kotlinx-coroutines-debug/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ stacktraces will be dumped to the console.
6161
### Using as JVM agent
6262

6363
Debug module can also be used as a standalone JVM agent to enable debug probes on the application startup.
64-
You can run your application with an additional argument: `-javaagent:kotlinx-coroutines-debug-1.6.1.jar`.
64+
You can run your application with an additional argument: `-javaagent:kotlinx-coroutines-debug-1.6.2.jar`.
6565
Additionally, on Linux and Mac OS X you can use `kill -5 $pid` command in order to force your application to print all alive coroutines.
6666
When used as Java agent, `"kotlinx.coroutines.debug.enable.creation.stack.trace"` system property can be used to control
6767
[DebugProbes.enableCreationStackTraces] along with agent startup.

kotlinx-coroutines-test/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Provided [TestDispatcher] implementations:
2626
Add `kotlinx-coroutines-test` to your project test dependencies:
2727
```
2828
dependencies {
29-
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.1'
29+
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.2'
3030
}
3131
```
3232

ui/coroutines-guide-ui.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Add dependencies on `kotlinx-coroutines-android` module to the `dependencies { .
110110
`app/build.gradle` file:
111111

112112
```groovy
113-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1"
113+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.2"
114114
```
115115

116116
You can clone [kotlinx.coroutines](https://github.com/Kotlin/kotlinx.coroutines) project from GitHub onto your

0 commit comments

Comments
 (0)