RxSwift 5 is a mostly source-compatible release targeting the Swift 5 compiler.
Xcode 10.2 is the minimum supported version (or Swift 5 on Linux).
If you're using Xcode 10.1 and below, please use RxSwift 4.5.
- Relays have been moved to a separate framework - RxRelay, and can be used without RxCocoa. #1924
TimeIntervalhas been deprecated in favor of
DispatchTimeInterval. For example -
throttle(1.2)would change to
throttle(3)would change to
Variableis now entirely deprecated. #1922
donow provides additional "after" closures. For example,
bind(to:)now supports multiple observers (e.g.
bind(to: observer1, observer2)). #1702
- Changes the return type of
Completable.mergein favor of
Completable.zip. #1929 #1931
- RxSwift can be built as a Static Library using Carthage 0.33 and up. #1940
SubjectType.SubjectObserverTypehas been renamed to
Sassociated type has been renamed to
Subjectwhere applicable. #1950
Sgeneric constraint on
SharedSequencehas been renamed to
Eassociated type on
ObserverTypehave been renamed to
Sassociated types have been renamed to
RxMutableBoxsupported on Linux in Swift 5. #1917
- Fix incorrect assignment to
Thread.threadDictionaryon Linux. #1912
combineLatestof an empty array now completes immediately. #1879
resultsSelectormissing closure labels for some overloads of