Update result to v1.1.21 #45
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.1.17→1.1.211.1.17→1.1.21Release Notes
michaelbull/kotlin-result (com.michael-bull.kotlin-result:kotlin-result-coroutines)
v1.1.21Compare Source
This release serves as a bridge towards v2 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
flatMapEither,flatMapBoth(4e5cdee)mapCatching(15fc1ff)Iterable.allOk,Iterable.allErr,Iterable.anyOk,Iterable.anyErr,Iterable.countOk,Iterable.countErr(6e62d9f)Iterable.filterValues,Iterable.filterValuesTo,Iterable.filterErrors,Iterable.filterErrorsTo(f091f50)transpose(c46a292)Listof errors for all variants ofzipOrAccumulateby @YuitoSato (716109a)Collectioninstead ofList.Deprecations
getAll,getAllErrorsin favour offilterValues&filterErrors(aca9ad9)ResultBindingin favour ofBindingScope(dd5c96f)bindingin favour ofcoroutineBinding(b19894a)coroutineScope, and helps consumers distinguish between the blocking variant that is otherwise only differing in package name.Ok/Erras return types (7ce7c16)getAll/getAllErrorsin favour ofvaluesOf/errorsOf(522c821)v1.1.20Compare Source
8893187)a522fbd)kotlinx-coroutineshas since started publishing more native build targets since we first became multiplatform. This release ensures we also build native targets for the platforms that were previously missing, namely:androidNativeArm32androidNativeArm64androidNativeX64androidNativeX86linuxArm64wasmJsv1.1.19Compare Source
e81f581)zipOrAccumulateby @YuitoSato (27f0a63)05a1e91)andThen{Recover,RecoverIf,RecoverUnless}by @Jhabkin (d4414b1)and/orfunctions (05d50b7)88e31cd)v1.1.18Compare Source
d7dbf35)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 was generated by Mend Renovate. View the repository job log.