solrbot opened a new pull request, #4437: URL: https://github.com/apache/solr/pull/4437
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [org.jetbrains.kotlinx:kotlinx-coroutines-test](https://redirect.github.com/Kotlin/kotlinx.coroutines) | dependencies | minor | `1.10.2` → `1.11.0` | | [org.jetbrains.kotlinx:kotlinx-coroutines-swing](https://redirect.github.com/Kotlin/kotlinx.coroutines) | dependencies | minor | `1.10.2` → `1.11.0` | | [org.jetbrains.kotlinx:kotlinx-coroutines-core](https://redirect.github.com/Kotlin/kotlinx.coroutines) | dependencies | minor | `1.10.2` → `1.11.0` | --- ### Release Notes <details> <summary>Kotlin/kotlinx.coroutines (org.jetbrains.kotlinx:kotlinx-coroutines-test)</summary> ### [`v1.11.0`](https://redirect.github.com/Kotlin/kotlinx.coroutines/blob/HEAD/CHANGES.md#Version-1110) [Compare Source](https://redirect.github.com/Kotlin/kotlinx.coroutines/compare/1.10.2...1.11.0) ##### Various - Kotlin was updated to 2.2.20 ([#​4545](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4545)). - Improved the published jar files ([#​3842](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3842), [#​4599](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4599)). - Various documentation improvements, including complete rewrites of structured concurrency and error handling-related KDoc ([#​4433](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4433), [#​4596](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4596)). ##### Breaking changes and deprecations - Moved `Promise`-related functions from JS and Wasm/JS to the new `web` target. On Wasm/JS, this is a breaking change. Before the change, `Promise` on Wasm/JS could work with arbitrary Kotlin types, but now, only `JsAny` subtypes are accepted ([#​4563](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4563)). - Changed handling of coroutine exceptions that can't be propagated on JS and Wasm/JS. Before, exceptions were logged, but now, they are reported to the JS runtime ([#​4451](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4451), [#​4631](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4631)). - Deprecated using `CoroutineDispatcher` as the coroutine context key; now, `ContinuationInterceptor` has to be used instead ([#​4333](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4333)). - Advanced the deprecation levels on `kotlinx-coroutines-test` APIs ([#​4604](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4604)). - Added lint functions that mark passing a `Job` to coroutine builders as deprecated ([#​4435](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4435)). ##### Bug fixes and improvements - Added a `callsInPlace(EXACTLY_ONCE)` contract to `runBlocking` in code shared between JVM and Native ([#​4368](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4368)). - Added a `callsInPlace(EXACTLY_ONCE)` contract to `suspendCancellableCoroutine` ([#​4574](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4574)). - Fixed `flowOn` incorrectly handling `ThreadContextElement` updates ([#​4403](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4403)). - Fixed exceptions in user-supplied `Thread.UncaughtExceptionHandler` instances causing the internal coroutines machinery to fail ([#​4516](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4516)). - Fixed `CoroutineDispatcher.asScheduler` in the RxJava integration not cancelling outstanding work when a `Worker` gets cancelled, which led to memory leaks in some scenarios ([#​4615](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4615)). - Fixed `SharedFlow` entering an invalid state when a subscriber and an emitter are cancelled simultaneously ([#​4583](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4583)). - Fixed an R8 optimization leading to `shareIn`/`stateIn` coroutines getting garbage-collected ([#​4646](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4646)). Thanks, [@​solevic](https://redirect.github.com/solevic)! ##### Small additions - Added `CompletableDeferred.asDeferred` for obtaining a read-only `Deferred` view ([#​4408](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4408)). - Added `SharedFlow.asFlow` for obtaining a `Flow` view with hidden hot flow semantics ([#​4530](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4530)). Thanks, [@​g000sha256](https://redirect.github.com/g000sha256)! - Added a `StateFlow.collectLatest` overload returning `Nothing` to assist with finding unreachable code ([#​4454](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4454)). - Added `ReceiveChannel.consumeTo` for consuming a `ReceiveChannel` into a `MutableCollection` ([#​4520](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4520)). - Added a `StateFlow<T>.onSubscription` overload returning a `StateFlow<T>`, similar to `SharedFlow<T>.onSubscription` returning `SharedFlow<T>` ([#​4275](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4275)). Thanks, [@​xit0c](https://redirect.github.com/xit0c)! - Added terminal `Flow` operators for collecting a `Flow` to a `Map` ([#​1541](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/1541)). ##### Changelog relative to version 1.11.0 No changes, only the version is increased. </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Only on Sunday (`* * * * 0`) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/solrbot/renovate-github-action) <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNzAuMTgiLCJ1cGRhdGVkSW5WZXIiOiI0My4xNzAuMTgiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImV4ZW1wdC1zdGFsZSJdfQ==--> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
