Releases: hoc081098/FlowExt
1.0.0
This is our first stable release! Thanks everyone for using FlowExt, reporting bugs, providing feedback and sending PRs.
Changed
-
Update dependencies:
-
Promote
Flow.repeatoperators to stable. -
Event.ValueandEvent.Errorare now normal classes annotated with @Poko
(previously they weredata classes).
1.0.0-RC
Changed
-
Update dependencies:
-
Promote
Flow.repeatoperators to stable.
0.8.1
Changed
- Update dependencies:
- Kotlin
1.9.24. - KotlinX Coroutines
1.8.1. Gradleto8.7.
- Kotlin
Added
- Add
Flow.catchAndReturn,Flow.catchAndResumeoperators. - Add
Flow.mapToResult,Flow.mapResultCatching,Flow.throwFailureoperators.
Changed
Flow.chunked(bufferSize: Int)/Flow.bufferCount(bufferSize: Int): reduce unnecessary allocations.
Changelog relative to version [0.8.1-Beta]
-
Flow.mapResultCatchingnow does not catchCancellationException
thrown from thetransformlambda.
0.8.1-Beta
Changed
- Update dependencies:
- Kotlin
1.9.23. - KotlinX Coroutines
1.8.1-Beta. Gradleto8.7.
- Kotlin
Added
- Add
Flow.catchAndReturn,Flow.catchAndResumeoperators. - Add
Flow.mapToResult,Flow.mapResultCatching,Flow.throwFailureoperators.
0.8.0
Changed
- Update dependencies:
Added
- New: Add support for Kotlin/Wasm (
wasmJstarget) 🎉.
Fixed
withLatestFrom: fix a bug where the otherFlowis not cancelled after the mainFlowis completed.
0.7.5
Changed
-
Update dependencies
Kotlinto1.9.22.
-
Optimize the implementation of
flowFromSuspendandflowFromNonSuspend,
it is just an internal change, it does not affect the public API and behavior.
0.7.4
Changed
- Update dependencies
Kotlinto1.9.20.
Removed
- Remove now-unsupported targets:
iosArm32,watchosX86.
Added
-
Add
Flow.plusoperator, it is an alias toconcatWithoperator
(thanks to @hoangchungk53qx1). -
Add
flowFromNonSuspend, the non-suspend version offlowFromSuspend.
0.7.3
Changed
-
Update dependencies
Kotlinto1.9.10.Gradleto8.4.
-
Annotate
SymbolandNULL_VALUEwith@DelicateFlowExtApi.
Added
-
Add
Flow.chunkedoperator, it is an alias toFlow.bufferCountoperator. -
Add
Flow.pairwise(transform)operator - a variant ofFlow.pairwise()operator,
which allows the transformation of the pair of values via thetransformlambda parameter. -
Add
Flow.zipWithNext()operator, it is an alias toFlow.pairwise()operator. -
Add
Flow.zipWithNext(transform)operator, it is an alias toFlow.pairwise(transform)operator.
0.7.2
Changed
- Update dependencies
Gradleto8.3.
Added
- Add
Flow.ignoreElementsoperator. - Add
Flow.scanWithoperator. - Add
Flow.safeCastoperator (thanks to @hoangchungk53qx1)
Fixed
Flow.select: avoid calling sub-selectors when the previous state is the same as the current state
(aka.distinctUntilChanged).
0.7.1
Changed
- Update dependencies
Kotlinto1.9.0.KotlinX Coroutinesto1.7.3.Gradleto8.2.
Added
- Add
Flow.repeatoperator.