Releases: ReactiveX/RxSwift
Anamorphism
This is a alpha version of RxSwift 2.0.
- Renames
ImmediateScheduler
protocol toImmediateSchedulerType
- Renames
Scheduler
protocol toSchedulerType
- Adds
CurrentThreadScheduler
- Adds
generate
operator - Cleanup of dead observer code.
- Removes
SpinLock
s in disposables in favor of more performantOSAtomicCompareAndSwap32
. - Adds
buffer
operator (version with time and count). - Adds
range
operator. - Adds
repeat
operator.
Check out Migration guide to RxSwift 2.0
l3O
This is a alpha version of RxSwift 2.0.
- Renames
ScopedDispose
toScopedDisposable
- Deprecates
observeSingleOn
in favor ofobserveOn
- Adds inline documentation
- Renames
from
toasObservable
extension method onSequenceType
- Renames
catchErrorResumeNext
in favor ofcatchErrorJustReturn
- Deprecates
catchErrorToResult
, the preferred way is to use Swiftdo/try/catch
mechanism. - Deprecates
RxResult
, the preferred way is to use Swiftdo/try/catch
mechanism. - Deprecates
sendNext
onVariable
in favor of just usingvalue
setter. - Renames
rx_searchText
torx_text
onUISearchBar+Rx
. - Changes parameter type for
rx_imageAnimated
to be transitionType (kCATransitionFade, kCATransitionMoveIn, ...).
Check out Migration guide to RxSwift 2.0
NS
This is a alpha version of RxSwift 2.0.
New version of the language helped us to improve a lot of things and this is a short summary of changes.
- Removes deprecated APIs
- Adds
ObservableType
- Moved from using
>-
operator to protocol extensions.
- Adds support for Swift 2.0 error handling
try
/do
/catch
You can now just write
API.fetchData(URL)
.map { rawData in
if invalidData(rawData) {
throw myParsingError
}
...
return parsedData
}
- RxCocoa introduces
bindTo
extensions
combineLatest(firstName.rx_text, lastName.rx_text) { $0 + " " + $1 }
.map { "Greeting \($0)" }
.bindTo(greetingLabel.rx_text)
... works for UITableView
/UICollectionView
too
viewModel.rows
.bindTo(resultsTableView.rx_itemsWithCellIdentifier("WikipediaSearchCell")) { (_, viewModel, cell: WikipediaSearchCell) in
cell.viewModel = viewModel
}
.addDisposableTo(disposeBag)
- Adds new operators (array version of
zip
, array version ofcombineLatest
, ...) - Renames
catch
tocatchError
- Change from
disposeBag.addDisposable
todisposable.addDisposableTo
- Deprecates
aggregate
in favor ofreduce
- Deprecates
variable
in favor ofshareReplay(1)
(to be consistent with RxJS version)
Check out Migration guide to RxSwift 2.0
1.9.1
Bellevue
- Documentation
- Improves
observeOn
for concurrent schedulers - Adds official iOS 7 support
- Adds KVO specializations for
CGPoint
,CGRect
andCGSize
- Adds automation tests
- Adds CI
- Fixes a couple of problems
493 Unit tests
189 files changed, 6074 insertions(+), 1511 deletions(-)
1.8.1
Pole
rx_deallocating
rx_deallocated
- enables weak KVO observing
- adds blocking operators (
toArray
,first
,last
) and newRxBlocking
project CLLocationManager
integrationUIGestureRecognizer
integrationUIActionSheet
integrationUIAlertView
integrationUISegmentedControl
integrationUISwitch
integration- enables partial Carthage integration
73 files changed, 4386 insertions(+), 702 deletions(-)
481 unit tests passed
Dane
- RxCocoa revamp, enables easy delegate wrapping
rx_delegate.observe("scrollView:willDisplayCell:")
- Adds reactive data sources
- RxDataSourceKit - automatic animated updates from streams
- Removes
AnyObject
constraint from Table/CollectionView array subscription methods - Adds concurrent dispatch queue scheduler
- Adds
skip
operator with count and time interval - Renames
Subject
toPublishSubject
- Lots of new playgrounds
- New examples in example app
437 unit tests total
154 files changed, 8386 insertions(+), 2222 deletions(-)
Aneetha
-
adds
flatMap
-
adds
scan
-
adds
catch
overload version withSequenceOf
-
alias
debounce
forthrottle
-
adds
take
(both count and time versions) -
adds
retry
-
adds
delaySubscription
-
adds
subscribeOn
-
adds
amb
-
renames
foldl
toreduce
-
small changes in
DisposeBag
andScopedDispose
, they aren't disposables any more.75 files changed, 5790 insertions(+), 1339 deletions(-)
409 unit tests total
KUNA
-
general observeOn operator
-
schedulers revamped
-
interval operator
-
timer operator
-
takeUntil operator
-
takeWhile operator
-
a couple of new RxCocoa extensions
-
fixes problem with zip and hot observables
115 files changed, 4084 insertions(+), 831 deletions(-)
335 unit tests total