10 KiB
10 KiB
Change Log
All notable changes to this project will be documented in this file.
2.0.0-beta.4
Updated
- Adds
ignoreElementsoperator. - Adds
timeoutoperator (2 overloads). - Adds
shareReplayLatestWhileConnectedoperator. - Changes
Driverto internally useshareReplayLatestWhileConnectedfor subscription sharing instead ofshareReplay(1). - Adds
flatMapFirsttoDriverunit. - Adds
replayAlloperator. - Adds
createUnboundedfactory method toReplaySubject. - Adds optional type hints to
empty,failWithandnever(empty(Int)now works and means empty observable sequence ofInts). - Adds
rx_hiddentoUIView. - Adds
rx_alphatoUIView. - Adds
rx_attributedTexttoUILabel. - Adds
rx_animatingtoUIActivityIndicatorView. - Adds
rx_constanttoNSLayoutConstraint. - Removes implicitly unwrapped optional from
NSURLSession.rx_response. - Exposes
rx_createDataSourceProxy,rx_createDelegateProxyonUITableView/UICollectionView. - Exposes
rx_createDelegateProxyonUITextView. - Exposes
rx_createDelegateProxyonUIScrollView. - Exposes
RxCollectionViewDataSourceProxy. - Exposes
RxCollectionViewDelegateProxy. - Exposes
RxScrollViewDelegateProxy. - Exposes
RxTableViewDataSourceProxy. - Exposes
RxTableViewDelegateProxy. - Deprecates
proxyForObjectin favor ofproxyForObject<P : DelegateProxyType>(type: P.Type, _ object: AnyObject) -> P. - Deprecates
rx_modelSelected<T>()in favor ofrx_modelSelected<T>(modelType: T.Type). - Adds
func bindTo(variable: Variable<E>) -> Disposableextension toObservableType. - Exposes
ControlEventinit. - Exposes
ControlPropertyinit. - 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).
- Refactoring of
GitHub sign in exampleto use MVVM paradigm.
Fixed
- Fixes documentation for
flatMapFirst - Fixes problem with delegate proxies not detecting all delegate methods in delegate proxy hierarchy.
2.0.0-beta.3
Updated
- Improves KVO mechanism.
- Type of observed object is now first argument
view.rx_observe(CGRect.self, "frame") - Support for observing ObjC bridged enums and
RawRepresentableprotocol - Support for easier extending of KVO using
KVORepresentableprotocol - Deprecates KVO extensions that don't accept type as first argument in favor of ones that do.
- Type of observed object is now first argument
- Adds
flatMapLatest(also added toDriverunit). - Adds
flatMapFirstoperator (also added toDriverunit). - Adds
retryWhenoperator. - Adds
windowoperator. - Adds
singleoperator. - Adds
single(blocking version) operator. - Adds
rx_primaryActiononUIButtonfortvOS. - Transforms error types in
RxSwift/RxCocoaprojects fromNSErrors to Swift enum types.RxErrorRxCocoaErrorRxCocoaURLError- ...
NSURLSessionextensions now returnObservable<(NSData!, NSHTTPURLResponse)>instead ofObservable<(NSData!, NSURLResponse!)>.- Optimizes consecutive map operators. For example
map(validate1).map(validate2).map(parse)is now internally optimized to onemapoperator. - Adds overloads for
just,sequenceOf,toObservablethat accept scheduler. - Deprecates
asObservableextension ofSequenceTypein favor oftoObservable. - Adds
toObservableextension toArray. - Improves table view animated data source example.
- Polishing of
RxDataSourceStarterKitdifferentiateForSectionedViewoperatorrx_itemsAnimatedWithDataSourceextension
- Makes blocking operators run current thread's runloop while blocking and thus disabling deadlocks.
Fixed
- Fixes example with
Variablein playgrounds so it less confusing regarding memory management. - Fixes
UIImageViewextensions to useUIImage?instead ofUIImage!. - Fixes improper usage of
CustomStringConvertibleand replaces it withCustomDebugStringConvertible.
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
AnonymousObservableprivate in favor ofcreatemethod. - Adds
toArrayoperator (non blocking version). - Adds
withLatestFromoperator, and also extendsDriverwith that operation. - Adds
elementAtoperator (non blocking version). - Adds
takeLastoperator. - Improves
RxExampleapp. Adds retries example when network becomes available again. - Adds composite extensions to
Bag(on,disposeAllIn). - Renames mistyped extension on
ObserverTypefromonCompletetoonCompleted.
Fixed
- Fixes minimal platform version in OSX version of library to 10.9
2.0.0-beta.1
Updated
- Adds
Driverunit. 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
ObserverOftoAnyObserver. - Adds new interface
ObservableConvertibleType. - Adds
BlockingObservabletoRxBlockingand makes it more consistent withRxJava. - Renames
func subscribe(next:error:completed:disposed:)tofunc 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
skipUntiloperator. - Adds
takeWhileoperator. - Renames
takeWhileindexed version totakeWhileWithIndex - Adds
skipWhileoperator. - Adds
skipWhileWithIndexoperator. - Adds
usingoperator. - Renames
func doOn(next:error:completed:)tofunc doOn(onNext:onError:onCompleted:). - Makes
RecursiveImmediateSchedulerOfprivate. - Makes
RecursiveSchedulerOfprivate. - Adds
ConcurrentMainScheduler. - Adds overflow error so now in case of overflow, operators will return
RxErrorCode.Overflow. - Adds
rx_modelAtIndexPathtoUITableViewandUICollectionView. - Adds
var rx_didUpdateFocusInContextWithAnimationCoordinator: ControlEvent<(context:animationCoordinator:)>toUITableViewandUICollectionView - Makes
resultSelectorargument incombineLatestexplicitfunc combineLatest<O1, O2, R>(source1: O1, _ source2: O2, resultSelector: (O1.E, O2.E) throws -> R) -> RxSwift.Observable<R>. - Makes
resultSelectorargument inzipexplicitfunc combineLatest<O1, O2, R>(source1: O1, _ source2: O2, resultSelector: (O1.E, O2.E) throws -> R) -> RxSwift.Observable<R>. - Adds activity indicator example in
RxExampleapp. - Adds two way binding example in
RxExampleapp. - many other small features
Fixed
- Problem with xcodebuild 7.0.1 treating tvOS shared schemes as osx schemes.
2.0.0-alpha.4
Updated
- Adds
tvOSsupport - Adds
watchOSsupport - Adds auto loading example to example app
- Restores old
Variablebehavior. Variable doesn't send anything on dealloc. - Adds performance tests target.
- Adds more detailed resource tracing during unit tests (important for further optimizations).
- Adds
UIStepperextensions. - Adds
UIBarButtonItemenabled property wrapper. - Adds response data to userInfo of error for
rx_responseextensions ofNSURLSession. - Adds
onNext,onErrorandonCompletedconvenience methods toObserverType.
Fixed
- Fixes problem on some systems with unregistering
CurrentThreadSchedulerfrom current thread. - Fixes retry parameter naming (
maxAttemptCount). - Fixes a lot of unit test warnings.
- Removes embedding of Swift library with built frameworks.
2.0.0-alpha.3
Updated
- Renames
ImmediateSchedulerprotocol toImmediateSchedulerType - Renames
Schedulerprotocol toSchedulerType - Adds
CurrentThreadScheduler - Adds
generateoperator - Cleanup of dead observer code.
- Removes
SpinLocks in disposables in favor of more performantOSAtomicCompareAndSwap32. - Adds
bufferoperator (version with time and count). - Adds
rangeoperator. - Adds
repeatoperator.
2.0.0-alpha.2
Updated
- Renames
ScopedDisposetoScopedDisposable - Deprecates
observeSingleOnin favor ofobserveOn - Adds inline documentation
- Renames
fromtoasObservableextension method onSequenceType - Renames
catchErrorResumeNextin favor ofcatchErrorJustReturn - Deprecates
catchErrorToResult, the preferred way is to use Swiftdo/try/catchmechanism. - Deprecates
RxResult, the preferred way is to use Swiftdo/try/catchmechanism. - Deprecates
sendNextonVariablein favor of just usingvaluesetter. - Renames
rx_searchTexttorx_textonUISearchBar+Rx. - Changes parameter type for
rx_imageAnimatedto be transitionType (kCATransitionFade, kCATransitionMoveIn, ...).
2.0.0-alpha.1
Fixed
- Problem in RxExample with missing
observeOnfor images.
Updated
- Removes deprecated APIs
- Adds
ObservableType - Moved from using
>-operator to protocol extensions - Change from
disposeBag.addDisposabletodisposable.addDisposableTo - Changes in RxCocoa extensions to enable fluent style
- Rename of
do*todoOn* - Deprecates
returnElementin favor ofjust - Deprecates
aggregatein favor ofreduce - Deprecates
variablein favor ofshareReplay(1)(to be consistent with RxJS version) - Method
nextonVariablein favor ofsendNext
Fixed
1.9.1
Updated
- Adds Calculator example app
- Performance improvements for Queue
Fixed
- Crash in
rx_didChangeAuthorizationStatus. #89