Skip to content

Releases: ReactiveX/RxSwift

Oxygen.1

21 Jul 11:43
80de962
Compare
Choose a tag to compare

Anomalies

  • Fixes compilation issue with Xcode 9b3. #1341
  • Fixes issues with andThen operator. #1347
  • Improves locking behavior of merge and switch operators. #1344

Oxygen

17 Jul 17:50
1314805
Compare
Choose a tag to compare
  • Adds timeout operator to PrimitiveSequence (Single, Maybe, Observable)
  • Adds delay operator to SharedSequence.
  • Adds andThen operator to Completeable.
  • Adds concat operator to Completeable.
  • 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

30 May 22:36
520b1db
Compare
Choose a tag to compare
  • 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

  • Improves reentrancy and synchronization checks.
  • Issues with share() and shareReplay(_:). #1111
  • .share() inconsistent in behavior. #1242
  • Fixes issues with Driver sometimes sending initial element async. #1253

David.1

01 May 22:29
1024243
Compare
Choose a tag to compare
  • Adds UINavigationController delegate proxy and extensions:
    • willShow
    • didShow
  • Deprecates TestScheduler.start(_:create:) in favor of TestScheduler.start(disposed:create:).
  • Deprecates TestScheduler.start(_:subscribed:disposed:create:) in favor of TestScheduler.start(created:subscribed:disposed:create:).

Anomalies

  • Fixes observable sequence completion in case of empty arrays for combineLatest and zip. #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 to SharedSequence.debug.
  • Makes RxImagePickerDelegateProxy subclass of RxNavigationControllerDelegateProxy.

David

09 Apr 22:12
1048219
Compare
Choose a tag to compare
  • 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 of bind(to:).
  • Adds materialize operator
  • Adds dematerialize operator
  • Adds latest parameter to SharedSequence.throttle operator.
  • Adds debug operator to PrimitiveSequence.

Anomalies

  • Fixes problem with UICollectionView data source caching and disposal logic. #1154

Hashimoto.1

14 Mar 08:23
068b4de
Compare
Choose a tag to compare

Anomalies

  • Fixes misspelled Completeable to Completable. #1134

Hashimoto

12 Mar 23:15
84358af
Compare
Choose a tag to compare
  • 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 on ObservableType.
  • Adds asMaybe() operator on ObservableType.
  • Adds asCompleteable() operator on ObservableType.
  • Adds variadic combineLatest and zip overloads without result selector (defaults to tuple).
  • Adds array combineLatest and zip 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 to RxTest.
  • Adds countDownDuration to UIDatePicker.
  • Adds attributedTitle(for:) to UIButton.
  • Adds onSubscribed to do operator.
  • Adds isUserInteractionEnabled to UIView.

Anomalies

  • Improves DelegateProxy responds(to:) selector logic to only respond to used selectors. #1081, #1087
  • Deprecates from() in favor of from(optional:) to avoid issues with implicit conversions to optional.
  • Fixes thread sanitizer reporting issues with merge operator. #1063
  • Calls collectionViewLayout.invalidateLayout() after reloadData() as a workaround for iOS 10 bug.
  • Changes UICollectionView.rx.didUpdateFocusInContextWithAnimationCoordinator context parameter type to UICollectionViewFocusUpdateContext

Naldi

31 Jan 14:16
3.2.0
4d13a98
Compare
Choose a tag to compare
  • Adds groupBy operator
  • Adds ifEmpty(switchTo:) operator
  • Adds ifEmpty(default:) operator
  • Adds Disposable extension disposed(by:) equivalent to addDisposableTo 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 and Observable.create.
  • Adds DEBUG mode concurrent asserts for Sink.
  • Small performance optimizations for subjects.
  • Adaptations for Xcode 8.3 beta.
  • Adds numberOfPages to UIPageControl.
  • Adds additional resources cleanup unit tests for cases where operators are used without DisposeBags.
  • Chores:
    • Adds final keyword wherever applicable.
    • Remove unnecessary import Foundation statements.
    • Examples cleanup.

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 DisposeBags.
  • 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

28 Dec 19:58
3.1.0
Compare
Choose a tag to compare
  • Adds changed property to ControlProperty that returns ControlEvent 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 to isRefreshing.
  • adds UIWebView extensions:
    • didStartLoad
    • didFinishLoad
    • didFailLoad
  • Adds UITabBarController extensions
    • willBeginCustomizing
    • willEndCustomizing
    • didEndCustomizing
    • didSelect
  • Adds UIBarButtonItem extensions
    • title
  • 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 triggers layoutIfNeeded that invalidates that internal cached state.
  • Fixes issue with race in AnyRecursiveScheduler. #995

2.6.1

20 Nov 21:13
Compare
Choose a tag to compare

Anomalies

  • Fixes issues with locking strategy for subjects. #936
  • Improves behavior of data sources on iOS 10. #999