Skip to content

Commit b135686

Browse files
committed
Version 1.4.3
1 parent be25544 commit b135686

File tree

6 files changed

+38
-12
lines changed

6 files changed

+38
-12
lines changed

CHANGES.md

+26
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# Change log for kotlinx.coroutines
22

3+
## Version 1.4.3
4+
5+
### General changes
6+
7+
* Thread context is properly preserved and restored for coroutines without `ThreadContextElement` (#985)
8+
* `ThreadContextElement`s are now restored in the opposite order from update (#2195)
9+
* Improved performance of combine with 4 parameters, thanks to @alexvanyo (#2419)
10+
* Debug agent sanitizer leaves at least one frame with source location (#1437)
11+
* Update Reactor version in `kotlinx-coroutines-reactor` to `3.4.1`, thanks to @sokomishalov (#2432)
12+
* `callInPlace` contract added to `ReceiveChannel.consume` (#941)
13+
* `CoroutineStart.UNDISPATCHED` promoted to stable API (#1393)
14+
* Kotlin updated to 1.4.30
15+
* `kotlinx.coroutines` are now released directly to MavenCentral
16+
* Reduced the size of `DispatchedCoroutine` by a field
17+
* Internal class `TimeSource` renamed to `SchedulerTimeSource` to prevent wildcard import issues (#2537)
18+
19+
### Bug fixes
20+
21+
* Fixed the problem that prevented implementation via delegation for `Job` interface (#2423)
22+
* Fixed incorrect ProGuard rules that allowed shrinking volatile felds (#1564)
23+
* Fixed `await/`asDeferred` for `MinimalState` implementations in jdk8 module (#2456)
24+
* Fixed bug when `onUndeliveredElement` wasn't called for unlimited channels (#2435)
25+
* Fixed a bug when `ListenableFuture.isCancelled` returned from `asListenableFuture` could have thrown an exception, thanks to @vadimsemenov (#2421)
26+
* Coroutine in `callbackFlow` and `produce` is properly cancelled when the channel was closed separately (#2506)
27+
28+
329
## Version 1.4.2
430

531
* Fixed `StackOverflowError` in `Job.toString` when `Job` is observed in its intermediate state (#2371).

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![official JetBrains project](https://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
44
[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0)
5-
[![Download](https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=1.4.2) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/1.4.2)
5+
[![Download](https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=1.4.3) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/1.4.3)
66
[![Kotlin](https://img.shields.io/badge/kotlin-1.4.30-blue.svg?logo=kotlin)](http://kotlinlang.org)
77
[![Slack channel](https://img.shields.io/badge/chat-slack-green.svg?logo=slack)](https://kotlinlang.slack.com/messages/coroutines/)
88

@@ -87,7 +87,7 @@ Add dependencies (you can also add other modules that you need):
8787
<dependency>
8888
<groupId>org.jetbrains.kotlinx</groupId>
8989
<artifactId>kotlinx-coroutines-core</artifactId>
90-
<version>1.4.2</version>
90+
<version>1.4.3</version>
9191
</dependency>
9292
```
9393

@@ -105,7 +105,7 @@ Add dependencies (you can also add other modules that you need):
105105

106106
```groovy
107107
dependencies {
108-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2'
108+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3'
109109
}
110110
```
111111

@@ -131,7 +131,7 @@ Add dependencies (you can also add other modules that you need):
131131

132132
```groovy
133133
dependencies {
134-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2")
134+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3")
135135
}
136136
```
137137

@@ -151,7 +151,7 @@ Add [`kotlinx-coroutines-android`](ui/kotlinx-coroutines-android)
151151
module as dependency when using `kotlinx.coroutines` on Android:
152152

153153
```groovy
154-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.2'
154+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.3'
155155
```
156156

157157
This gives you access to Android [Dispatchers.Main]
@@ -184,7 +184,7 @@ In common code that should get compiled for different platforms, you can add dep
184184
```groovy
185185
commonMain {
186186
dependencies {
187-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2")
187+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3")
188188
}
189189
}
190190
```
@@ -196,7 +196,7 @@ Platform-specific dependencies are recommended to be used only for non-multiplat
196196
#### JS
197197

198198
Kotlin/JS version of `kotlinx.coroutines` is published as
199-
[`kotlinx-coroutines-core-js`](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-js/1.4.2/jar)
199+
[`kotlinx-coroutines-core-js`](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-js/1.4.3/jar)
200200
(follow the link to get the dependency declaration snippet) and as [`kotlinx-coroutines-core`](https://www.npmjs.com/package/kotlinx-coroutines-core) NPM package.
201201

202202
#### Native

gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44

55
# Kotlin
6-
version=1.4.2-SNAPSHOT
6+
version=1.4.3-SNAPSHOT
77
group=org.jetbrains.kotlinx
88
kotlin_version=1.4.30
99

@@ -55,7 +55,7 @@ jekyll_version=4.0
5555
org.gradle.jvmargs=-Xmx2g
5656

5757
# Workaround for Bintray treating .sha512 files as artifacts
58-
# https://github.com/gradle/gradle/issues/11412
58+
# https://github.com/gradle/gradle/issues/1.4.3
5959
systemProp.org.gradle.internal.publish.checksums.insecure=true
6060

6161
# todo:KLUDGE: This is commented out, and the property is set conditionally in build.gradle, because IDEA doesn't work with it.

kotlinx-coroutines-debug/README.md

+1-1
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.4.2.jar`.
64+
You can run your application with an additional argument: `-javaagent:kotlinx-coroutines-debug-1.4.3.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

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This package provides testing utilities for effectively testing coroutines.
99
Add `kotlinx-coroutines-test` to your project test dependencies:
1010
```
1111
dependencies {
12-
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.2'
12+
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.3'
1313
}
1414
```
1515

ui/coroutines-guide-ui.md

+1-1
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.4.2"
113+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.3"
114114
```
115115

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

0 commit comments

Comments
 (0)