Rollback of time-related functions dispatching on Dispatchers.Main.
This behavior was introduced in 1.6.0 and then found inconvenient and erroneous (#3106, #3113).
Reworked the newly-introduced CopyableThreadContextElement to solve issues uncovered after the initial release (#3227).
Fixed a bug with ThreadLocalElement not being properly updated in racy scenarios (#2930).
Reverted eager loading of default CoroutineExceptionHandler that triggered ANR on some devices (#3180).
New API to convert a CoroutineDispatcher to a Rx scheduler (#968, #548). Thanks @recheej!
Fixed a memory leak with the very last element emitted from flow builder being retained in memory (#3197).
Fixed a bug with limitedParallelism on K/N with new memory model throwing ClassCastException (#3223).
CoroutineContext is added to the exception printed to the default CoroutineExceptionHandler to improve debuggability (#3153).
Static memory consumption of Dispatchers.Default was significantly reduced (#3137).
Updated slf4j version in kotlinx-coroutines-slf4j from 1.7.25 to 1.7.32.
Rollback of time-related functions dispatching on Dispatchers.Main.
This behavior was introduced in 1.6.0 and then found inconvenient and erroneous (#3106, #3113).
Reworked the newly-introduced CopyableThreadContextElement to solve issues uncovered after the initial release (#3227).
Fixed a bug with ThreadLocalElement not being properly updated in racy scenarios (#2930).
Reverted eager loading of default CoroutineExceptionHandler that triggered ANR on some devices (#3180).
New API to convert a CoroutineDispatcher to a Rx scheduler (#968, #548). Thanks @recheej!
Fixed a memory leak with the very last element emitted from flow builder being retained in memory (#3197).
Fixed a bug with limitedParallelism on K/N with new memory model throwing ClassCastException (#3223).
CoroutineContext is added to the exception printed to the default CoroutineExceptionHandler to improve debuggability (#3153).
Static memory consumption of Dispatchers.Default was significantly reduced (#3137).
Updated slf4j version in kotlinx-coroutines-slf4j from 1.7.25 to 1.7.32.
Commits
2c3435c Merge pull request #3232 from Kotlin/version-1.6.1
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps kotlinx-coroutines-core from 1.6.0 to 1.6.1.
Release notes
Sourced from kotlinx-coroutines-core's releases.
Changelog
Sourced from kotlinx-coroutines-core's changelog.
Commits
2c3435c
Merge pull request #3232 from Kotlin/version-1.6.1429b5d1
Version 1.6.1262876b
Merge branch 'master' into developa5dd74b
CopyableThreadContextElement implementation (#3227)8133c97
Fix limitedParallelism implementation on K/N (#3226)6c326e4
Do not mention service loading for CoroutineExceptionHandler as it is not mea...f991742
docs: clarify section on coroutine memory consumption (#3225)0d26d6c
Add references to available implementations in TestDispatcher docs (#3200)584b3c4
Fix typo: onDeliveredElement (#3217)bc120a1
Fix a typo (#3213)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)