All Versions
57
Latest Version
Avg Release Cycle
75 days
Latest Release
-

Changelog History
Page 1

  • v6.2.0 Changes

    ๐Ÿ’ฅ Breaking

    • ๐Ÿ—„ Deprecate withUnretained for Driver > Note: It is extremely rare to ship a breaking change in a patch release, but this is a relatively fresh feature with unusual circumstances. For the full story, see #2290.

    Other changes

    • โž• Add new subscribe(with:onNext:onError:onCompleted:onDisposed:) alternatives to withUnretained. This exists for all traits and types: Observable, Driver, Signal, Infallible, Completable, Single, Maybe #2290
    • ๐Ÿ‘ Reactive now supports structs and value-types again, with the dynamic look-up specifically dealing with AnyObjects #2285
    • Fix xcframework support for RxCocoa (Drag in new RxCocoaRuntime.xcframework alongside RxCocoa)
    • Freeze MaybeEvent and CompletableEvent #2271 #2272
    • Fix missing RxCocoaRuntime.h header in RxCocoa podspec #2281
    • โœ… Remove invalid libswiftXCTest.dylib linking to support Xcode 12.5
    • ๐Ÿ–จ Print URLRequest body httpBody, regardless of HTTP Method #2288
  • v6.1.0 Changes

    ๐Ÿ’ฅ Breaking

    • ๐Ÿ—„ Deprecate withUnretained for Driver > Note: It is extremely rare to ship a breaking change in a patch release, but this is a relatively fresh feature with unusual circumstances. For the full story, see #2290.

    Other changes

    • โž• Add new subscribe(with:onNext:onError:onCompleted:onDisposed:) alternatives to withUnretained. This exists for all traits and types: Observable, Driver, Signal, Infallible, Completable, Single, Maybe #2290
    • ๐Ÿ‘ Reactive now supports structs and value-types again, with the dynamic look-up specifically dealing with AnyObjects #2285
    • Fix xcframework support for RxCocoa (Drag in new RxCocoaRuntime.xcframework alongside RxCocoa)
    • Freeze MaybeEvent and CompletableEvent #2271 #2272
    • Fix missing RxCocoaRuntime.h header in RxCocoa podspec #2281
    • โœ… Remove invalid libswiftXCTest.dylib linking to support Xcode 12.5
    • ๐Ÿ–จ Print URLRequest body httpBody, regardless of HTTP Method #2288
  • v6.0.0-rc.2 Changes

    November 21, 2020

    RxSwift 6.0.0 RC2

    ๐Ÿš€ This is the second and (probably) final Release Candidate of RxSwift 6.
    ๐Ÿš€ The official 6.0.0 should be released in the upcoming weeks and should be mostly identical to this.

    Note : RxSwift 6 supports Xcode 12 and Swift 5.3 and has a minimum deployment target of iOS 9.

    Everything in RC1, plus:

    • ๐Ÿ‘Œ Support for XCFrameworks, with binaries now bundled with each release.
    • โšก๏ธ Updated tests for new Infallible trait.
    • ๐Ÿ›  Fix an issue building for watchOS.
    • ๐Ÿ”ง Move URLSession logging settings to a more appropriate URLSession.rx.shouldLogRequest configurable closure.
    • README, CI, and additional house cleaning.
  • v6.0.0-rc.1 Changes

    October 06, 2020

    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) get Binders for all properties for free using @dynamicMemberLookup.
    • ๐Ÿ†• New Infallible object which is identical to Observable with the guarantee of never failing.
    • โž• Add variadic drive() and emit() to multiple observers and relays.
    • ๐Ÿ†• New decode(type:decoder:) operator for ObsrvableTypes of Data.
    • SingleEvent is now simply Result<Element, Swift.Error> and methods changed accordingly (e.g. subscribe(onSuccess:onFailure:)).
    • โž• Add ReplayRelay.
    • โž• Add distinctUntilChanged(at keyPath:).
    • โž• Add UIApplication Reactive extensions .
    • Rename catchError(_:) to catch(_:).
    • Rename catchErrorJustReturn(_:) to catchAndReturn(_:).
    • ๐Ÿ“‡ Rename elementAt(_:) to element(at:).
    • ๐Ÿ“‡ Rename retryWhen(_:) to retry(when:).
    • Rename takeUntil(_:) to take(until:) and takeUntil(behavior:_:) to take(until:behavior:).
    • Rename takeWhile(_:) to take(while:) and takeWhile(behavior:_:) to take(while:behavior:).
    • ๐Ÿ“‡ Rename take(_:) duration overload to take(for:) (e.g. take(for: .seconds(3))).
    • ๐Ÿ“‡ Rename skipWhile(_:) to skip(while:).
    • ๐Ÿ“‡ Rename takeUntil(_:) to take(until:).
    • ๐Ÿ“‡ Rename observeOn and subscribeOn to observe(on:) and subscribe(on:).
    • ignoreElements() now returns Observable<Never>.
    • ๐Ÿ‘‰ Make SharedSequence conform to ObservableConvertibleType.
    • โž• Add onDisposed to Maybe, Completable and Single.
    • โšก๏ธ Unify and optimize swizzling extensions into a single one.
    • โž• Add DisposeBag function builder to allow easy comma-less initialization of a DisposeBag.
    • Advance support of xcframeworks by enabling BUILD_LIBRARY_FOR_DISTRIBUTION and cleaning up.
    • Many, many, many quality of life bugs and fixes.
  • v5.1.1 Changes

    March 26, 2020

    โšก๏ธ This update is mandatory if you want to use RxSwift in Xcode 11.4 / Swift 5.2 on macOS.

    • ๐Ÿ‘‰ Make NSTextView not weak for Swift 5.2 and up. #2125
    • โž• Add WKWebView navigation delegate reactive extensions. #2144

    Note:

    • The pre-built Carthage binary was built using Xcode 11.4 / Swift 5.2
    • ๐Ÿ‘ We no longer guarantee support for Xcode 10.x. Maintaining these is counter-intuitive as they're over a year old and are ridden with bugs.

    Other improvements and additions can be found in the project's CHANGELOG.md

    Note:

    The pre-built Carthage binary was built using Xcode 11.4 / Swift 5.2

  • v5.1.0 Changes

    March 03, 2020
    • โœ‚ Remove UIWebView Reactive Extensions due to Apple's hard deprecation, starting April 2020. #2062
    • ๐Ÿ‘Œ Support Mac Catalyst. #2062
    • ๐Ÿ›  Fix FoundationNetworking imports for Linux.
    • โž• Add compactMap to SharedSequence, Single and Maybe. #1978
    • โž• Add UITextField.isSecureTextEntry binder. #1968
    • โœ‚ Remove "custom" Result in favor of Foundation.Result. #2006
    • ๐Ÿ›  Fix compilation error in SharedSequence.createUnsafe. #2014
  • v5.0.1 Changes

    April 30, 2019
    • โช Reverts Carthage integration from using static to dynamic libraries. #1960
  • v5.0.0 Changes

    April 29, 2019

    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
    • ๐Ÿ—„ TimeInterval has been deprecated in favor of DispatchTimeInterval. For example - throttle(1.2) would change to throttle(.milliseconds(1200)), while throttle(3) would change to throttle(.seconds(3)). #1472
    • ๐Ÿ—„ Variable is now entirely deprecated. #1922
    • do now provides additional "after" closures. For example, do(onNext:) and do(afterNext:). #1898
    • ๐Ÿ‘ bind(to:) now supports multiple observers (e.g. bind(to: observer1, observer2)). #1702
    • ๐Ÿ”„ Changes the return type of ObservableType.toArray to Single. #1923
    • โž• Adds compactMap. #1925
    • ๐Ÿ”€ Deprecate Completable.merge in favor of Completable.zip. #1929 #1931
    • RxSwift can be built as a Static Library using Carthage 0.33 and up. #1940

    Anomalies

    • SubjectType.SubjectObserverType has been renamed to SubjectType.Observer. #1950
    • The S associated type has been renamed to Subject where applicable. #1950
    • The S generic constraint on SharedSequence has been renamed to SharingStrategy. #1951
    • The E associated type on ObservableConvertibleType and ObserverType have been renamed to Element. #1945
    • The C and S associated types have been renamed to Collection and Sequence accordingly. #1949
    • ๐Ÿ“‡ Renamed ElementType associatedtype to Element. #1945
    • ๐Ÿ“‡ Renamed TraitType associatedtype to Trait. #1945
    • ๐Ÿง Make RxMutableBox supported on Linux in Swift 5. #1917
    • ๐Ÿ›  Fix incorrect assignment to Thread.threadDictionary on Linux. #1912
    • โœ… combineLatest of an empty array now completes immediately. #1879
    • โž• Add resultsSelector missing closure labels for some overloads of combineLatest & zip.
  • v4.5.0 Changes

    April 01, 2019
    • Compatibility with Xcode 10.2.
    • โž• Adds missing UISearchBar.setDelegate().
  • v4.4.2 Changes

    March 10, 2019

    ๐Ÿš€ 4.4.2

    • โž• Adds UIView.rx.backgroundColor Binder. #1888

    Anomalies

    • ๐Ÿ›  Fix multiple disposes on ScheduledDisposables. #1892
    • ๐Ÿ›  Fix DelegateProxy main thread validation. #1882
    • Bring back the first operator to ObservableType. #1886