Kotlin/kotlinx.coroutines
### [`v1.6.1`](https://togithub.com/Kotlin/kotlinx.coroutines/blob/HEAD/CHANGES.md#Version-161)
[Compare Source](https://togithub.com/Kotlin/kotlinx.coroutines/compare/1.6.0...1.6.1)
- Rollback of time-related functions dispatching on `Dispatchers.Main`.
This behavior was introduced in 1.6.0 and then found inconvenient and erroneous ([#3106](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3106), [#3113](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3113)).
- Reworked the newly-introduced `CopyableThreadContextElement` to solve issues uncovered after the initial release ([#3227](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3227)).
- Fixed a bug with `ThreadLocalElement` not being properly updated in racy scenarios ([#2930](https://togithub.com/Kotlin/kotlinx.coroutines/issues/2930)).
- Reverted eager loading of default `CoroutineExceptionHandler` that triggered ANR on some devices ([#3180](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3180)).
- New API to convert a `CoroutineDispatcher` to a Rx scheduler ([#968](https://togithub.com/Kotlin/kotlinx.coroutines/issues/968), [#548](https://togithub.com/Kotlin/kotlinx.coroutines/issues/548)). Thanks [@recheej](https://togithub.com/recheej)!
- Fixed a memory leak with the very last element emitted from `flow` builder being retained in memory ([#3197](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3197)).
- Fixed a bug with `limitedParallelism` on K/N with new memory model throwing `ClassCastException` ([#3223](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3223)).
- `CoroutineContext` is added to the exception printed to the default `CoroutineExceptionHandler` to improve debuggability ([#3153](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3153)).
- Static memory consumption of `Dispatchers.Default` was significantly reduced ([#3137](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3137)).
- Updated slf4j version in `kotlinx-coroutines-slf4j` from 1.7.25 to 1.7.32.
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
1.6.0
->1.6.1
Release Notes
Kotlin/kotlinx.coroutines
### [`v1.6.1`](https://togithub.com/Kotlin/kotlinx.coroutines/blob/HEAD/CHANGES.md#Version-161) [Compare Source](https://togithub.com/Kotlin/kotlinx.coroutines/compare/1.6.0...1.6.1) - Rollback of time-related functions dispatching on `Dispatchers.Main`. This behavior was introduced in 1.6.0 and then found inconvenient and erroneous ([#3106](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3106), [#3113](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3113)). - Reworked the newly-introduced `CopyableThreadContextElement` to solve issues uncovered after the initial release ([#3227](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3227)). - Fixed a bug with `ThreadLocalElement` not being properly updated in racy scenarios ([#2930](https://togithub.com/Kotlin/kotlinx.coroutines/issues/2930)). - Reverted eager loading of default `CoroutineExceptionHandler` that triggered ANR on some devices ([#3180](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3180)). - New API to convert a `CoroutineDispatcher` to a Rx scheduler ([#968](https://togithub.com/Kotlin/kotlinx.coroutines/issues/968), [#548](https://togithub.com/Kotlin/kotlinx.coroutines/issues/548)). Thanks [@recheej](https://togithub.com/recheej)! - Fixed a memory leak with the very last element emitted from `flow` builder being retained in memory ([#3197](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3197)). - Fixed a bug with `limitedParallelism` on K/N with new memory model throwing `ClassCastException` ([#3223](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3223)). - `CoroutineContext` is added to the exception printed to the default `CoroutineExceptionHandler` to improve debuggability ([#3153](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3153)). - Static memory consumption of `Dispatchers.Default` was significantly reduced ([#3137](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3137)). - Updated slf4j version in `kotlinx-coroutines-slf4j` from 1.7.25 to 1.7.32.Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.