2015-08-24 00:18:10 +03:00
|
|
|
# Change Log
|
2015-08-10 02:43:30 +03:00
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
|
2015-12-07 02:55:51 +03:00
|
|
|
---
|
|
|
|
|
|
|
|
## [2.0.0-beta.4](https://github.com/ReactiveX/RxSwift/releases/tag/2.0.0-beta.4)
|
|
|
|
|
|
|
|
#### Updated
|
|
|
|
|
2015-11-11 05:46:08 +03:00
|
|
|
* Adds `ignoreElements` operator.
|
2015-12-07 02:55:51 +03:00
|
|
|
* Adds `timeout` operator (2 overloads).
|
|
|
|
* Adds `shareReplayLatestWhileConnected` operator.
|
|
|
|
* Changes `Driver` to internally use `shareReplayLatestWhileConnected` for subscription sharing instead of `shareReplay(1)`.
|
|
|
|
* Adds `flatMapFirst` to `Driver` unit.
|
|
|
|
* Adds `replayAll` operator.
|
|
|
|
* Adds `createUnbounded` factory method to `ReplaySubject`.
|
|
|
|
* Adds optional type hints to `empty`, `failWith` and `never` (`empty(Int)` now works and means empty observable sequence of `Int`s).
|
|
|
|
* Adds `rx_hidden` to `UIView`.
|
|
|
|
* Adds `rx_alpha` to `UIView`.
|
2015-11-11 05:46:30 +03:00
|
|
|
* Adds `rx_attributedText` to `UILabel`.
|
2015-12-02 23:08:05 +03:00
|
|
|
* Adds `rx_animating` to `UIActivityIndicatorView`.
|
2015-12-07 02:55:51 +03:00
|
|
|
* Adds `rx_constant` to `NSLayoutConstraint`.
|
|
|
|
* Removes implicitly unwrapped optional from `NSURLSession.rx_response`.
|
|
|
|
* Exposes `rx_createDataSourceProxy`, `rx_createDelegateProxy` on `UITableView`/`UICollectionView`.
|
|
|
|
* Exposes `rx_createDelegateProxy` on `UITextView`.
|
|
|
|
* Exposes `rx_createDelegateProxy` on `UIScrollView`.
|
|
|
|
* Exposes `RxCollectionViewDataSourceProxy`.
|
|
|
|
* Exposes `RxCollectionViewDelegateProxy`.
|
|
|
|
* Exposes `RxScrollViewDelegateProxy`.
|
|
|
|
* Exposes `RxTableViewDataSourceProxy`.
|
|
|
|
* Exposes `RxTableViewDelegateProxy`.
|
|
|
|
* Deprecates `proxyForObject` in favor of `proxyForObject<P : DelegateProxyType>(type: P.Type, _ object: AnyObject) -> P`.
|
|
|
|
* Deprecates `rx_modelSelected<T>()` in favor of `rx_modelSelected<T>(modelType: T.Type)`.
|
|
|
|
* Adds `func bindTo(variable: Variable<E>) -> Disposable` extension to `ObservableType`.
|
|
|
|
* Exposes `ControlEvent` init.
|
|
|
|
* Exposes `ControlProperty` init.
|
|
|
|
* Refactoring of example app
|
|
|
|
* Divides examples into sections
|
|
|
|
* Adds really simple examples of how to do simple calculated bindings with vanilla Rx.
|
|
|
|
* Adds really simple examples of table view extensions (sectioned and non sectioned version).
|
2015-12-07 02:58:20 +03:00
|
|
|
* Refactoring of `GitHub sign in example` to use MVVM paradigm.
|
2015-11-11 05:46:08 +03:00
|
|
|
|
2015-12-07 02:55:51 +03:00
|
|
|
#### Fixed
|
|
|
|
|
|
|
|
* Fixes documentation for `flatMapFirst`
|
|
|
|
* Fixes problem with delegate proxies not detecting all delegate methods in delegate proxy hierarchy.
|
2015-08-10 02:43:30 +03:00
|
|
|
|
2015-11-16 02:37:18 +03:00
|
|
|
## [2.0.0-beta.3](https://github.com/ReactiveX/RxSwift/releases/tag/2.0.0-beta.3)
|
|
|
|
|
2015-12-07 02:55:51 +03:00
|
|
|
#### Updated
|
2015-11-16 02:37:18 +03:00
|
|
|
|
|
|
|
* Improves KVO mechanism.
|
2015-11-16 03:49:26 +03:00
|
|
|
* Type of observed object is now first argument `view.rx_observe(CGRect.self, "frame")`
|
2015-11-16 02:37:18 +03:00
|
|
|
* Support for observing ObjC bridged enums and `RawRepresentable` protocol
|
|
|
|
* Support for easier extending of KVO using `KVORepresentable` protocol
|
|
|
|
* Deprecates KVO extensions that don't accept type as first argument in favor of ones that do.
|
|
|
|
* Adds `flatMapLatest` (also added to `Driver` unit).
|
|
|
|
* Adds `flatMapFirst` operator (also added to `Driver` unit).
|
|
|
|
* Adds `retryWhen` operator.
|
|
|
|
* Adds `window` operator.
|
|
|
|
* Adds `single` operator.
|
|
|
|
* Adds `single` (blocking version) operator.
|
|
|
|
* Adds `rx_primaryAction` on `UIButton` for `tvOS`.
|
|
|
|
* Transforms error types in `RxSwift`/`RxCocoa` projects from `NSError`s to Swift enum types.
|
|
|
|
* `RxError`
|
|
|
|
* `RxCocoaError`
|
|
|
|
* `RxCocoaURLError`
|
|
|
|
* ...
|
2015-11-16 12:24:37 +03:00
|
|
|
* `NSURLSession` extensions now return `Observable<(NSData!, NSHTTPURLResponse)>` instead of `Observable<(NSData!, NSURLResponse!)>`.
|
2015-11-16 02:37:18 +03:00
|
|
|
* Optimizes consecutive map operators. For example `map(validate1).map(validate2).map(parse)` is now internally optimized to one `map` operator.
|
2015-11-16 03:49:26 +03:00
|
|
|
* Adds overloads for `just`, `sequenceOf`, `toObservable` that accept scheduler.
|
|
|
|
* Deprecates `asObservable` extension of `SequenceType` in favor of `toObservable`.
|
|
|
|
* Adds `toObservable` extension to `Array`.
|
2015-11-16 02:37:18 +03:00
|
|
|
* Improves table view animated data source example.
|
2015-11-16 03:49:26 +03:00
|
|
|
* Polishing of `RxDataSourceStarterKit`
|
|
|
|
* `differentiateForSectionedView` operator
|
|
|
|
* `rx_itemsAnimatedWithDataSource` extension
|
|
|
|
* Makes blocking operators run current thread's runloop while blocking and thus disabling deadlocks.
|
2015-11-16 02:37:18 +03:00
|
|
|
|
2015-12-07 02:55:51 +03:00
|
|
|
#### Fixed
|
2015-11-16 02:37:18 +03:00
|
|
|
|
|
|
|
* Fixes example with `Variable` in playgrounds so it less confusing regarding memory management.
|
|
|
|
* Fixes `UIImageView` extensions to use `UIImage?` instead of `UIImage!`.
|
2015-11-16 03:49:26 +03:00
|
|
|
* Fixes improper usage of `CustomStringConvertible` and replaces it with `CustomDebugStringConvertible`.
|
2015-11-16 02:37:18 +03:00
|
|
|
|
2015-11-02 13:12:20 +03:00
|
|
|
## [2.0.0-beta.2](https://github.com/ReactiveX/RxSwift/releases/tag/2.0.0-beta.2)
|
|
|
|
|
|
|
|
#### Updated
|
|
|
|
|
|
|
|
* Optimizations. System now performs significantly fewer allocations and is several times faster then 2.0.0-beta.1
|
|
|
|
* Makes `AnonymousObservable` private in favor of `create` method.
|
|
|
|
* Adds `toArray` operator (non blocking version).
|
|
|
|
* Adds `withLatestFrom` operator, and also extends `Driver` with that operation.
|
|
|
|
* Adds `elementAt` operator (non blocking version).
|
|
|
|
* Adds `takeLast` operator.
|
|
|
|
* Improves `RxExample` app. Adds retries example when network becomes available again.
|
|
|
|
* Adds composite extensions to `Bag` (`on`, `disposeAllIn`).
|
|
|
|
* Renames mistyped extension on `ObserverType` from `onComplete` to `onCompleted`.
|
|
|
|
|
|
|
|
#### Fixed
|
|
|
|
|
|
|
|
* Fixes minimal platform version in OSX version of library to 10.9
|
|
|
|
|
2015-10-19 23:00:57 +03:00
|
|
|
## [2.0.0-beta.1](https://github.com/ReactiveX/RxSwift/releases/tag/2.0.0-beta.1)
|
|
|
|
|
|
|
|
#### Updated
|
|
|
|
|
|
|
|
* Adds `Driver` unit. This unit uses Swift compiler to prove certain properties about observable sequences. Specifically
|
|
|
|
* that fallback error handling is put in place
|
|
|
|
* results are observed on main thread
|
|
|
|
* work is performed only when there is a need (at least one subscriber)
|
|
|
|
* computation results are shared between different observers (replay latest element)
|
|
|
|
* Renames `ObserverOf` to `AnyObserver`.
|
|
|
|
* Adds new interface `ObservableConvertibleType`.
|
|
|
|
* Adds `BlockingObservable` to `RxBlocking` and makes it more consistent with `RxJava`.
|
|
|
|
* Renames `func subscribe(next:error:completed:disposed:)` to `func subscribe(onNext:onError:onCompleted:onDisposed:)`
|
|
|
|
* Adds concat convenience method `public func concat<O : ObservableConvertibleType where O.E == E>(second: O) -> RxSwift.Observable<Self.E>`
|
|
|
|
* Adds `skipUntil` operator.
|
|
|
|
* Adds `takeWhile` operator.
|
|
|
|
* Renames `takeWhile` indexed version to `takeWhileWithIndex`
|
|
|
|
* Adds `skipWhile` operator.
|
|
|
|
* Adds `skipWhileWithIndex` operator.
|
|
|
|
* Adds `using` operator.
|
|
|
|
* Renames `func doOn(next:error:completed:)` to `func doOn(onNext:onError:onCompleted:)`.
|
|
|
|
* Makes `RecursiveImmediateSchedulerOf` private.
|
|
|
|
* Makes `RecursiveSchedulerOf` private.
|
|
|
|
* Adds `ConcurrentMainScheduler`.
|
|
|
|
* Adds overflow error so now in case of overflow, operators will return `RxErrorCode.Overflow`.
|
|
|
|
* Adds `rx_modelAtIndexPath` to `UITableView` and `UICollectionView`.
|
|
|
|
* Adds `var rx_didUpdateFocusInContextWithAnimationCoordinator: ControlEvent<(context:animationCoordinator:)>` to `UITableView` and `UICollectionView`
|
|
|
|
* Makes `resultSelector` argument in `combineLatest` explicit `func combineLatest<O1, O2, R>(source1: O1, _ source2: O2, resultSelector: (O1.E, O2.E) throws -> R) -> RxSwift.Observable<R>`.
|
|
|
|
* Makes `resultSelector` argument in `zip` explicit `func combineLatest<O1, O2, R>(source1: O1, _ source2: O2, resultSelector: (O1.E, O2.E) throws -> R) -> RxSwift.Observable<R>`.
|
|
|
|
* Adds activity indicator example in `RxExample` app.
|
|
|
|
* Adds two way binding example in `RxExample` app.
|
|
|
|
* many other small features
|
|
|
|
|
|
|
|
#### Fixed
|
|
|
|
|
|
|
|
* Problem with xcodebuild 7.0.1 treating tvOS shared schemes as osx schemes.
|
|
|
|
|
2015-10-03 00:32:39 +03:00
|
|
|
## [2.0.0-alpha.4](https://github.com/ReactiveX/RxSwift/releases/tag/2.0.0-alpha.4)
|
|
|
|
|
|
|
|
#### Updated
|
|
|
|
|
|
|
|
* Adds `tvOS` support
|
|
|
|
* Adds `watchOS` support
|
|
|
|
* Adds auto loading example to example app
|
|
|
|
* Restores old `Variable` behavior. Variable doesn't send anything on dealloc.
|
|
|
|
* Adds performance tests target.
|
|
|
|
* Adds more detailed resource tracing during unit tests (important for further optimizations).
|
|
|
|
* Adds `UIStepper` extensions.
|
|
|
|
* Adds `UIBarButtonItem` enabled property wrapper.
|
|
|
|
* Adds response data to userInfo of error for `rx_response` extensions of `NSURLSession`.
|
|
|
|
* Adds `onNext`, `onError` and `onCompleted` convenience methods to `ObserverType`.
|
|
|
|
|
|
|
|
#### Fixed
|
|
|
|
|
|
|
|
* Fixes problem on some systems with unregistering `CurrentThreadScheduler` from current thread.
|
|
|
|
* Fixes retry parameter naming (`maxAttemptCount`).
|
|
|
|
* Fixes a lot of unit test warnings.
|
|
|
|
* Removes embedding of Swift library with built frameworks.
|
|
|
|
|
2015-09-12 15:15:42 +03:00
|
|
|
## [2.0.0-alpha.3](https://github.com/ReactiveX/RxSwift/releases/tag/2.0.0-alpha.3)
|
|
|
|
|
2015-10-03 00:32:39 +03:00
|
|
|
#### Updated
|
|
|
|
|
2015-09-12 15:15:42 +03:00
|
|
|
* Renames `ImmediateScheduler` protocol to `ImmediateSchedulerType`
|
|
|
|
* Renames `Scheduler` protocol to `SchedulerType`
|
2015-09-13 15:54:47 +03:00
|
|
|
* Adds `CurrentThreadScheduler`
|
2015-09-12 15:15:42 +03:00
|
|
|
* Adds `generate` operator
|
|
|
|
* Cleanup of dead observer code.
|
|
|
|
* Removes `SpinLock`s in disposables in favor of more performant `OSAtomicCompareAndSwap32`.
|
2015-09-13 15:54:47 +03:00
|
|
|
* Adds `buffer` operator (version with time and count).
|
|
|
|
* Adds `range` operator.
|
2015-09-13 16:35:48 +03:00
|
|
|
* Adds `repeat` operator.
|
2015-09-12 15:15:42 +03:00
|
|
|
|
|
|
|
## [2.0.0-alpha.2](https://github.com/ReactiveX/RxSwift/releases/tag/2.0.0-alpha.2)
|
2015-09-08 23:32:09 +03:00
|
|
|
|
|
|
|
#### Updated
|
|
|
|
|
|
|
|
* Renames `ScopedDispose` to `ScopedDisposable`
|
|
|
|
* Deprecates `observeSingleOn` in favor of `observeOn`
|
|
|
|
* Adds inline documentation
|
|
|
|
* Renames `from` to `asObservable` extension method on `SequenceType`
|
|
|
|
* Renames `catchErrorResumeNext` in favor of `catchErrorJustReturn`
|
|
|
|
* Deprecates `catchErrorToResult`, the preferred way is to use Swift `do/try/catch` mechanism.
|
|
|
|
* Deprecates `RxResult`, the preferred way is to use Swift `do/try/catch` mechanism.
|
|
|
|
* Deprecates `sendNext` on `Variable` in favor of just using `value` setter.
|
2015-09-09 12:29:39 +03:00
|
|
|
* Renames `rx_searchText` to `rx_text` on `UISearchBar+Rx`.
|
|
|
|
* Changes parameter type for `rx_imageAnimated` to be transitionType (kCATransitionFade, kCATransitionMoveIn, ...).
|
2015-09-08 23:32:09 +03:00
|
|
|
|
2015-09-12 15:15:42 +03:00
|
|
|
## [2.0.0-alpha.1](https://github.com/ReactiveX/RxSwift/releases/tag/2.0-alpha.1)
|
2015-09-08 23:32:09 +03:00
|
|
|
|
|
|
|
#### Fixed
|
|
|
|
|
|
|
|
* Problem in RxExample with missing `observeOn` for images.
|
2015-08-10 02:43:30 +03:00
|
|
|
|
2015-08-24 00:18:10 +03:00
|
|
|
#### Updated
|
2015-08-10 02:43:30 +03:00
|
|
|
|
2015-08-14 12:25:53 +03:00
|
|
|
* Removes deprecated APIs
|
2015-08-10 02:43:30 +03:00
|
|
|
* Adds `ObservableType`
|
|
|
|
* Moved from using `>-` operator to protocol extensions
|
|
|
|
* Change from `disposeBag.addDisposable` to `disposable.addDisposableTo`
|
|
|
|
* Changes in RxCocoa extensions to enable fluent style
|
2015-09-01 13:21:06 +03:00
|
|
|
* Rename of `do*` to `doOn*`
|
2015-09-05 00:15:16 +03:00
|
|
|
* Deprecates `returnElement` in favor of `just`
|
2015-08-14 12:25:53 +03:00
|
|
|
* Deprecates `aggregate` in favor of `reduce`
|
2015-08-27 00:11:46 +03:00
|
|
|
* Deprecates `variable` in favor of `shareReplay(1)` (to be consistent with RxJS version)
|
2015-09-08 23:32:09 +03:00
|
|
|
* Method `next` on `Variable` in favor of `sendNext`
|
2015-08-27 00:11:46 +03:00
|
|
|
|
2015-08-10 02:43:30 +03:00
|
|
|
|
2015-08-24 00:18:10 +03:00
|
|
|
#### Fixed
|
|
|
|
|
2015-08-17 11:32:11 +03:00
|
|
|
## [1.9.1](https://github.com/ReactiveX/RxSwift/releases/tag/1.9.1)
|
|
|
|
|
2015-08-24 00:18:10 +03:00
|
|
|
#### Updated
|
2015-08-17 11:32:11 +03:00
|
|
|
|
|
|
|
* Adds Calculator example app
|
|
|
|
* Performance improvements for Queue
|
|
|
|
|
2015-08-24 00:18:10 +03:00
|
|
|
#### Fixed
|
2015-08-17 11:32:11 +03:00
|
|
|
|
|
|
|
* Crash in `rx_didChangeAuthorizationStatus`. [#89](https://github.com/ReactiveX/RxSwift/issues/89)
|