Releases: ReactiveX/RxSwift
Releases · ReactiveX/RxSwift
Polgar
Oxygen.1
Oxygen
- Adds
timeout
operator toPrimitiveSequence
(Single
,Maybe
,Observable
) - Adds
delay
operator toSharedSequence
. - Adds
andThen
operator toCompleteable
. - Adds
concat
operator toCompleteable
. - Adds
RxPickerViewDataSourceType
- Adds
UIPickerView
extensions:modelSelected
itemTitles
itemAttributedTitles
items
- Adds
UITableView
extensions:modelDeleted
- Adds
UICollectionView
extensions:itemHighlighted
itemUnhighlighted
willDisplayCell
didEndDisplayingCell
willDisplaySupplementaryView
didEndDisplayingSupplementaryView
- Adds
UIScrollView
extensions:willBeginDecelerating
willBeginDragging
willBeginZooming
didEndZooming
Anomalies
- Fixes deadlock anomaly in
shareReplayWhileLatest
. #1323 - Removes duplicated events swallowing in
NSControl
on macOS.
Mango
- Adds
from
operator on "SharedSequence" - Adds
merge
operator on "Completable" - Adds
using
operator on "PrimitiveSequence" - Adds
concatMap
operator. - Adds
share(replay:scope:)
operator. - Adds
multicast(makeSubject:)
operator. - Adds
UIButton.image(for:)
extension. - Adds
UIButton.backgroundImage(for:)
extension. - fixes typos
Anomalies
David.1
- Adds
UINavigationController
delegate proxy and extensions:willShow
didShow
- Deprecates
TestScheduler.start(_:create:)
in favor ofTestScheduler.start(disposed:create:)
. - Deprecates
TestScheduler.start(_:subscribed:disposed:create:)
in favor ofTestScheduler.start(created:subscribed:disposed:create:)
.
Anomalies
- Fixes observable sequence completion in case of empty arrays for
combineLatest
andzip
. #1205 - Fixes array version of
merge
operator completing immediately in case one of the observable sequences is empty. #1221 - Adds RxTest to SPM. #1215
- Adds tuple version of operator
SharedSequence.zip
(collection). - Adds tuple version of operator
SharedSequence.zip
. - Adds tuple version of operator
SharedSequence.combineLatest
(collection). - Adds tuple version of operator
SharedSequence.combineLatest
. - Adds missing
trimOutput
parameter toSharedSequence.debug
. - Makes
RxImagePickerDelegateProxy
subclass ofRxNavigationControllerDelegateProxy
.
David
- Xcode 8.3.1 / Swift 3.1 compatibility.
- Add subscription closures for Single, Maybe and Completable (
onSuccess
,onError
,onCompleted
). - Renames Units as Traits and updates the documentation for Single, Completable & Maybe.
- Deprecates
bindTo
in favor ofbind(to:)
. - Adds
materialize
operator - Adds
dematerialize
operator - Adds
latest
parameter toSharedSequence.throttle
operator. - Adds
debug
operator toPrimitiveSequence
.
Anomalies
- Fixes problem with
UICollectionView
data source caching and disposal logic. #1154
Hashimoto.1
Anomalies
- Fixes misspelled
Completeable
toCompletable
. #1134
Hashimoto
- Adds
Single
,Maybe
,Completable
units inspired by RxJava (operators):create
deferred
just
error
never
delaySubscription
delay
do
filter
map
flatMap
observeOn
subscribeOn
catchError
retry
retryWhen
zip
- Adds
asSingle()
operator onObservableType
. - Adds
asMaybe()
operator onObservableType
. - Adds
asCompleteable()
operator onObservableType
. - Adds variadic
combineLatest
andzip
overloads without result selector (defaults to tuple). - Adds array
combineLatest
andzip
overloads with result selector (defaults to array of elements) - Adds optimized synchronous
merge
operator to observable sequence (variadic, array, collection). #579 - Adds optimized synchronous
merge
operator to shared sequence (variadic, array, collection). - Adds
AsyncSubject
implementation. - Adds
XCTAssertEqual
overloads toRxTest
. - Adds
countDownDuration
toUIDatePicker
. - Adds
attributedTitle(for:)
toUIButton
. - Adds
onSubscribed
todo
operator. - Adds
isUserInteractionEnabled
toUIView
.
Anomalies
- Improves DelegateProxy
responds(to:)
selector logic to only respond to used selectors. #1081, #1087 - Deprecates
from()
in favor offrom(optional:)
to avoid issues with implicit conversions to optional. - Fixes thread sanitizer reporting issues with
merge
operator. #1063 - Calls
collectionViewLayout.invalidateLayout()
afterreloadData()
as a workaround for iOS 10 bug. - Changes
UICollectionView.rx.didUpdateFocusInContextWithAnimationCoordinator
context parameter type toUICollectionViewFocusUpdateContext
Naldi
- Adds
groupBy
operator - Adds
ifEmpty(switchTo:)
operator - Adds
ifEmpty(default:)
operator - Adds
Disposable
extensiondisposed(by:)
equivalent toaddDisposableTo
that is meant to replace it in future 4.0 version. - Consolidates atomic operations on Linux and Darwin platform.
- Adds DEBUG mode concurrent asserts for
Variable
andObservable.create
. - Adds DEBUG mode concurrent asserts for
Sink
. - Small performance optimizations for subjects.
- Adaptations for Xcode 8.3 beta.
- Adds
numberOfPages
toUIPageControl
. - Adds additional resources cleanup unit tests for cases where operators are used without
DisposeBag
s. - Chores:
- Adds
final
keyword wherever applicable. - Remove unnecessary
import Foundation
statements. - Examples cleanup.
- Adds
Anomalies
- Improves behavior of
shareReplayWhileConnected
by making sure that events emitted after disconnect are ignored even in case of fast reconnect. - Fixes a couple of operators that were not cleaning up resources on terminal events when used without
DisposeBag
s. - Fixes delegate proxy interaction with subclassing of
UISearchController
. - Fixes delegate proxy interaction with subclassing of
NSTextStorage
. - Fixes delegate proxy interaction with subclassing of
UIWebView
. - Fixes delegate proxy interaction with subclassing of
UIPickerView
.
Galois
- Adds
changed
property toControlProperty
that returnsControlEvent
of user generated changes.textField.text.changed.map { "User changed text to \($0)" }
- Adds optional overloads for
from
operator.let num: Int? = 3; let sequence = Observable.from(num)
- Improves
UIBindingObserver
by tolerating binding from non main dispatch queue. In case binding is attempted
from non main dispatch queue it will be automagically dispathed async to main queue. - Makes control property naming consistent for
UIDatePicker
,UISearchBar
,UISegmentedControl
,UISwitch
,UITextField
,UITextView
(value
property + value alias name). - Adds missing extension to
UIScrollView
.didScroll
didZoom
didEndDecelerating
didEndDragging
didScrollToTop
- Renames
refreshing
toisRefreshing
. - adds
UIWebView
extensions:didStartLoad
didFinishLoad
didFailLoad
- Adds
UITabBarController
extensionswillBeginCustomizing
willEndCustomizing
didEndCustomizing
didSelect
- Adds
UIBarButtonItem
extensionstitle
- Performance optimizations
- Improves data source behavior by clearing data source proxy when forwarding delegate is
nil
.
Anomalies
- Fixes anomaly caused by
UITableView
invalid state caching of previous data source even after the change.
Binding of reactive data source now triggerslayoutIfNeeded
that invalidates that internal cached state. - Fixes issue with race in
AnyRecursiveScheduler
. #995