nekomangaorg / Neko

Unofficial MangaDex Reader for Android 7+
Apache License 2.0
2.15k stars 112 forks source link

Update kotlinResultVersion to v1.1.21 #1767

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.michael-bull.kotlin-result:kotlin-result-coroutines 1.1.20 -> 1.1.21 age adoption passing confidence
com.michael-bull.kotlin-result:kotlin-result 1.1.20 -> 1.1.21 age adoption passing confidence

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

michaelbull/kotlin-result (com.michael-bull.kotlin-result:kotlin-result-coroutines) ### [`v1.1.21`](https://togithub.com/michaelbull/kotlin-result/releases/tag/1.1.21) [Compare Source](https://togithub.com/michaelbull/kotlin-result/compare/1.1.20...1.1.21) This release serves as a bridge towards [v2](https://togithub.com/michaelbull/kotlin-result/pull/99) and the last major release of v1. Old behaviours have been deprecated in a non-breaking manner to anticipate the breaking changes of v2. ### Additions - Add `flatMapEither`, `flatMapBoth` ([`4e5cdee`](https://togithub.com/michaelbull/kotlin-result/commit/4e5cdeede7b5dbecc96ea8f561bbec4ae96e407b)) - Add `mapCatching` ([`15fc1ff`](https://togithub.com/michaelbull/kotlin-result/commit/15fc1ff0139306b640a38f00922748b34e2e1d5b)) - See: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/map-catching.html - Add `Iterable.allOk`, `Iterable.allErr`, `Iterable.anyOk`, `Iterable.anyErr`, `Iterable.countOk`, `Iterable.countErr` ([`6e62d9f`](https://togithub.com/michaelbull/kotlin-result/commit/6e62d9f97df43c7d2e10fe407ddc110aeb85840d)) - Add `Iterable.filterValues`, `Iterable.filterValuesTo`, `Iterable.filterErrors`, `Iterable.filterErrorsTo` ([`f091f50`](https://togithub.com/michaelbull/kotlin-result/commit/f091f507d97a0d3f565945ef9c97ae1eb28bfe59)) - Add `transpose` ([`c46a292`](https://togithub.com/michaelbull/kotlin-result/commit/c46a2925b17a87b98081b7b10214e1468ffc483d)) - See: https://doc.rust-lang.org/std/result/enum.Result.html#method.transpose - Return `List` of errors for all variants of `zipOrAccumulate` by [@​YuitoSato](https://togithub.com/YuitoSato) ([`716109a`](https://togithub.com/michaelbull/kotlin-result/commit/716109aa84ba3d5975b964351b6b0c5bec251ee5)) - The four-arg and five-arg variants were returning `Collection` instead of `List`. ### Deprecations - Deprecate `getAll`, `getAllErrors` in favour of `filterValues` & `filterErrors` ([`aca9ad9`](https://togithub.com/michaelbull/kotlin-result/commit/aca9ad92f8ec761d2fdad5b6ccbf900931eddf74)) - Deprecate `ResultBinding` in favour of `BindingScope` ([`dd5c96f`](https://togithub.com/michaelbull/kotlin-result/commit/dd5c96f983b08fc5c44c44e888636f19c0e45b22)) - This matches the Kotlin stdlib naming convention used for [sequences](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence-scope/) and [coroutines](https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-scope/). - Deprecate suspending variant of `binding` in favour of `coroutineBinding` ([`b19894a`](https://togithub.com/michaelbull/kotlin-result/commit/b19894a08c1ec56512ff301444669da2125f8de2)) - This matches the internally-called function named `coroutineScope`, and helps consumers distinguish between the blocking variant that is otherwise only differing in package name. - This should also help convey to readers that structured concurrency will occur within the block. - Deprecate `Ok`/`Err` as return types ([`7ce7c16`](https://togithub.com/michaelbull/kotlin-result/commit/7ce7c16d7fb055e31711218ac4642a621c8cc515)) - This is in preparation for the v2 release where these don't exist as types. - Deprecate `getAll`/`getAllErrors` in favour of `valuesOf`/`errorsOf` ([`522c821`](https://togithub.com/michaelbull/kotlin-result/commit/522c821fdf45363c0f3d60b29b37bb958af90839))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.



This PR has been generated by Mend Renovate. View repository job log here.