You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update kotlinx-coroutines to 1.10.2 and kotlinx-serialization to 1.8.0
- Upgrade kotlinx-coroutines from 1.8.1 to 1.10.2 (49 recipes, up from 37)
- Upgrade kotlinx-serialization from 1.6.3 to 1.8.0
- Fix DeprecatedMethodScanner to include extension function receiver types in method patterns
- Regenerate type table with updated library versions
# @Deprecated("Use the overload that also accepts the `value` and the coroutine context in lambda", ReplaceWith("resume(value) { cause, _, _ -> onCancellation(cause) }"), DeprecationLevel.WARNING)
# @Deprecated("This function does not do what its name implies: it will not cancel the future if just cancel() was called.", ReplaceWith("this.invokeOnCancellation { future.cancel(false) }"), DeprecationLevel.WARNING)
# @Deprecated("Flow analogue of 'cache()' is 'shareIn' with unlimited replay and 'started = SharingStared.Lazily' argument'", ReplaceWith("this.shareIn(scope, Int.MAX_VALUE, started = SharingStared.Lazily)"), DeprecationLevel.ERROR)
88
+
# @Deprecated("Flow analogue of 'cache()' is 'shareIn' with unlimited replay and 'started = SharingStarted.Lazily' argument'", ReplaceWith("this.shareIn(scope, started = SharingStarted.Lazily, replay = Int.MAX_VALUE)"), DeprecationLevel.ERROR)
replacement: 'this.shareIn(scope, Int.MAX_VALUE, started = SharingStared.Lazily)'
91
+
replacement: 'this.shareIn(scope, started = SharingStarted.Lazily, replay = Int.MAX_VALUE)'
74
92
classpathFromResources:
75
93
- 'kotlinx-coroutines-core-jvm-1'
76
94
# @Deprecated("Flow analogue of 'combineLatest' is 'combine'", ReplaceWith("this.combine(other, transform)"), DeprecationLevel.ERROR)
@@ -181,25 +199,25 @@ recipeList:
181
199
replacement: 'catch { e -> if (predicate(e)) emit(fallback) else throw e }'
182
200
classpathFromResources:
183
201
- 'kotlinx-coroutines-core-jvm-1'
184
-
# @Deprecated("Flow analogue of 'publish()' is 'shareIn'. publish().connect() is the default strategy (no extra call is needed), publish().autoConnect() translates to 'started = SharingStared.Lazily' argument, publish().refCount() translates to 'started = SharingStared.WhileSubscribed()' argument.", ReplaceWith("this.shareIn(scope, 0)"), DeprecationLevel.ERROR)
202
+
# @Deprecated("Flow analogue of 'publish()' is 'shareIn'. publish().connect() is the default strategy (no extra call is needed), publish().autoConnect() translates to 'started = SharingStarted.Lazily' argument, publish().refCount() translates to 'started = SharingStarted.WhileSubscribed()' argument.", ReplaceWith("this.shareIn(scope, 0)"), DeprecationLevel.ERROR)
# @Deprecated("Flow analogue of 'publish(bufferSize)' is 'buffer' followed by 'shareIn'. publish().connect() is the default strategy (no extra call is needed), publish().autoConnect() translates to 'started = SharingStared.Lazily' argument, publish().refCount() translates to 'started = SharingStared.WhileSubscribed()' argument.", ReplaceWith("this.buffer(bufferSize).shareIn(scope, 0)"), DeprecationLevel.ERROR)
208
+
# @Deprecated("Flow analogue of 'publish(bufferSize)' is 'buffer' followed by 'shareIn'. publish().connect() is the default strategy (no extra call is needed), publish().autoConnect() translates to 'started = SharingStarted.Lazily' argument, publish().refCount() translates to 'started = SharingStarted.WhileSubscribed()' argument.", ReplaceWith("this.buffer(bufferSize).shareIn(scope, 0)"), DeprecationLevel.ERROR)
# @Deprecated("Flow analogue of 'replay()' is 'shareIn' with unlimited replay. replay().connect() is the default strategy (no extra call is needed), replay().autoConnect() translates to 'started = SharingStared.Lazily' argument, replay().refCount() translates to 'started = SharingStared.WhileSubscribed()' argument.", ReplaceWith("this.shareIn(scope, Int.MAX_VALUE)"), DeprecationLevel.ERROR)
214
+
# @Deprecated("Flow analogue of 'replay()' is 'shareIn' with unlimited replay. replay().connect() is the default strategy (no extra call is needed), replay().autoConnect() translates to 'started = SharingStarted.Lazily' argument, replay().refCount() translates to 'started = SharingStarted.WhileSubscribed()' argument.", ReplaceWith("this.shareIn(scope, Int.MAX_VALUE)"), DeprecationLevel.ERROR)
# @Deprecated("Flow analogue of 'replay(bufferSize)' is 'shareIn' with the specified replay parameter. replay().connect() is the default strategy (no extra call is needed), replay().autoConnect() translates to 'started = SharingStared.Lazily' argument, replay().refCount() translates to 'started = SharingStared.WhileSubscribed()' argument.", ReplaceWith("this.shareIn(scope, bufferSize)"), DeprecationLevel.ERROR)
220
+
# @Deprecated("Flow analogue of 'replay(bufferSize)' is 'shareIn' with the specified replay parameter. replay().connect() is the default strategy (no extra call is needed), replay().autoConnect() translates to 'started = SharingStarted.Lazily' argument, replay().refCount() translates to 'started = SharingStarted.WhileSubscribed()' argument.", ReplaceWith("this.shareIn(scope, bufferSize)"), DeprecationLevel.ERROR)
# @Deprecated("cancel() is resolved into the extension of outer CoroutineScope which is likely to be an error.Use currentCoroutineContext().cancel() instead or specify the receiver of cancel() explicitly", ReplaceWith("currentCoroutineContext().cancel(cause)"), DeprecationLevel.ERROR)
262
+
# @Deprecated("cancel() is resolved into the extension of outer CoroutineScope which is likely to be an error.Use currentCoroutineContext().cancel() instead or specify the receiver of cancel() explicitly", ReplaceWith("currentCoroutineContext().cancel(cause)"), DeprecationLevel.ERROR)
# @Deprecated("Applying 'cancellable' to a SharedFlow has no effect. See the SharedFlow documentation on Operator Fusion.", ReplaceWith("this"), DeprecationLevel.ERROR)
# @Deprecated("SharedFlow never completes, so this operator typically has not effect, it can only catch exceptions from 'onSubscribe' operator", ReplaceWith("this"), DeprecationLevel.WARNING)
# @Deprecated("Applying 'conflate' to StateFlow has no effect. See the StateFlow documentation on Operator Fusion.", ReplaceWith("this"), DeprecationLevel.ERROR)
# @Deprecated("Applying 'distinctUntilChanged' to StateFlow has no effect. See the StateFlow documentation on Operator Fusion.", ReplaceWith("this"), DeprecationLevel.ERROR)
# @Deprecated("Applying 'flowOn' to SharedFlow has no effect. See the SharedFlow documentation on Operator Fusion.", ReplaceWith("this"), DeprecationLevel.ERROR)
# @Deprecated("Use the overload that also accepts the `value` and the coroutine context in lambda", ReplaceWith("resume(value) { cause, _, _ -> onCancellation(cause) }"), DeprecationLevel.WARNING)
0 commit comments