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.repeat
operators to stable. -
Event.Value
andEvent.Error
are now normal classes annotated with @Poko
(previously they weredata class
es).
1.0.0-RC
Changed
-
Update dependencies:
-
Promote
Flow.repeat
operators to stable.
0.8.1
Changed
- Update dependencies:
- Kotlin
1.9.24
. - KotlinX Coroutines
1.8.1
. Gradle
to8.7
.
- Kotlin
Added
- Add
Flow.catchAndReturn
,Flow.catchAndResume
operators. - Add
Flow.mapToResult
,Flow.mapResultCatching
,Flow.throwFailure
operators.
Changed
Flow.chunked(bufferSize: Int)
/Flow.bufferCount(bufferSize: Int)
: reduce unnecessary allocations.
Changelog relative to version [0.8.1-Beta]
-
Flow.mapResultCatching
now does not catchCancellationException
thrown from thetransform
lambda.
0.8.1-Beta
Changed
- Update dependencies:
- Kotlin
1.9.23
. - KotlinX Coroutines
1.8.1-Beta
. Gradle
to8.7
.
- Kotlin
Added
- Add
Flow.catchAndReturn
,Flow.catchAndResume
operators. - Add
Flow.mapToResult
,Flow.mapResultCatching
,Flow.throwFailure
operators.
0.8.0
Changed
- Update dependencies:
Added
- New: Add support for Kotlin/Wasm (
wasmJs
target) 🎉.
Fixed
withLatestFrom
: fix a bug where the otherFlow
is not cancelled after the mainFlow
is completed.
0.7.5
Changed
-
Update dependencies
Kotlin
to1.9.22
.
-
Optimize the implementation of
flowFromSuspend
andflowFromNonSuspend
,
it is just an internal change, it does not affect the public API and behavior.
0.7.4
Changed
- Update dependencies
Kotlin
to1.9.20
.
Removed
- Remove now-unsupported targets:
iosArm32
,watchosX86
.
Added
-
Add
Flow.plus
operator, it is an alias toconcatWith
operator
(thanks to @hoangchungk53qx1). -
Add
flowFromNonSuspend
, the non-suspend version offlowFromSuspend
.
0.7.3
Changed
-
Update dependencies
Kotlin
to1.9.10
.Gradle
to8.4
.
-
Annotate
Symbol
andNULL_VALUE
with@DelicateFlowExtApi
.
Added
-
Add
Flow.chunked
operator, it is an alias toFlow.bufferCount
operator. -
Add
Flow.pairwise(transform)
operator - a variant ofFlow.pairwise()
operator,
which allows the transformation of the pair of values via thetransform
lambda 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
Gradle
to8.3
.
Added
- Add
Flow.ignoreElements
operator. - Add
Flow.scanWith
operator. - Add
Flow.safeCast
operator (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
Kotlin
to1.9.0
.KotlinX Coroutines
to1.7.3
.Gradle
to8.2
.
Added
- Add
Flow.repeat
operator.