RxSwift v6.0.0-rc.1 Release Notes
Release Date: 2020-10-06 // over 3 years ago-
RxSwift 6.0.0 RC1
๐ This is the first Release Candidate of RxSwift 6.
Note : RxSwift 6 supports Xcode 12 and Swift 5.3 and has a minimum deployment target of iOS 9.
- ๐ All
ReactiveCompatible
objects (.rx
namespace) getBinder
s for all properties for free using@dynamicMemberLookup
. - ๐ New
Infallible
object which is identical toObservable
with the guarantee of never failing. - โ Add variadic
drive()
andemit()
to multiple observers and relays. - ๐ New
decode(type:decoder:)
operator forObsrvableType
s ofData
. SingleEvent
is now simplyResult<Element, Swift.Error>
and methods changed accordingly (e.g.subscribe(onSuccess:onFailure:)
).- โ Add
ReplayRelay
. - โ Add
distinctUntilChanged(at keyPath:)
. - โ Add
UIApplication
Reactive extensions . - Rename
catchError(_:)
tocatch(_:)
. - Rename
catchErrorJustReturn(_:)
tocatchAndReturn(_:)
. - ๐ Rename
elementAt(_:)
toelement(at:)
. - ๐ Rename
retryWhen(_:)
toretry(when:)
. - Rename
takeUntil(_:)
totake(until:)
andtakeUntil(behavior:_:)
totake(until:behavior:)
. - Rename
takeWhile(_:)
totake(while:)
andtakeWhile(behavior:_:)
totake(while:behavior:)
. - ๐ Rename
take(_:)
duration overload totake(for:)
(e.g.take(for: .seconds(3))
). - ๐ Rename
skipWhile(_:)
toskip(while:)
. - ๐ Rename
takeUntil(_:)
totake(until:)
. - ๐ Rename
observeOn
andsubscribeOn
toobserve(on:)
andsubscribe(on:)
. ignoreElements()
now returnsObservable<Never>
.- ๐ Make
SharedSequence
conform toObservableConvertibleType
. - โ Add
onDisposed
toMaybe
,Completable
andSingle
. - โก๏ธ Unify and optimize swizzling extensions into a single one.
- โ Add
DisposeBag
function builder to allow easy comma-less initialization of aDisposeBag
. - Advance support of
xcframework
s by enablingBUILD_LIBRARY_FOR_DISTRIBUTION
and cleaning up. - Many, many, many quality of life bugs and fixes.
- ๐ All