Skip to content

Commit

Permalink
Release 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kzaher committed Dec 27, 2016
1 parent 3c7e88a commit e4f6d90
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 26 deletions.
41 changes: 32 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,40 @@ All notable changes to this project will be documented in this file.

## Master

* Adds `didScroll` and `didZoom` `ControlEvent`s to `UIScrollView+Rx`
## [3.1](https://github.com/ReactiveX/RxSwift/releases/tag/3.1) (Xcode 8 / Swift 3.0 compatible)

* 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`
<<<<<<< HEAD
* Adds optional overloads for `from` operator.
=======
* Adds `willBeginCustomizing`, `willEndCustomizing`, `didEndCustomizing` and `didSelect` to `UITabBarController+Rx`
>>>>>>> 957a256d43a4bdffd76c473922dd2c69b49aa97f
* `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

## [3.0.1](https://github.com/ReactiveX/RxSwift/releases/tag/3.0.1) (Xcode 8 / Swift 3.0 compatible)

Expand Down
6 changes: 3 additions & 3 deletions Rx.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions RxBlocking.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "RxBlocking"
s.version = "3.0.1"
s.version = "3.1"
s.summary = "RxSwift Blocking operatos"
s.description = <<-DESC
Set of blocking operators for RxSwift. These operators are mostly intended for unit/integration tests
Expand All @@ -25,5 +25,5 @@ Waiting for observable sequence to complete before exiting command line applicat
s.source_files = 'RxBlocking/**/*.swift', 'Platform/**/*.swift'
s.exclude_files = 'RxBlocking/Platform/**/*.swift'

s.dependency 'RxSwift', '~> 3.0'
s.dependency 'RxSwift', '~> 3.1'
end
2 changes: 1 addition & 1 deletion RxBlocking/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.0.1</string>
<string>3.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
4 changes: 2 additions & 2 deletions RxCocoa.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "RxCocoa"
s.version = "3.0.1"
s.version = "3.1"
s.summary = "RxSwift Cocoa extensions"
s.description = <<-DESC
* UI extensions
Expand All @@ -27,5 +27,5 @@ Pod::Spec.new do |s|
s.watchos.source_files = 'RxCocoa/iOS/**/*.swift'
s.tvos.source_files = 'RxCocoa/iOS/**/*.swift'

s.dependency 'RxSwift', '~> 3.0'
s.dependency 'RxSwift', '~> 3.1'
end
2 changes: 1 addition & 1 deletion RxCocoa/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.0.1</string>
<string>3.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion RxSwift.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "RxSwift"
s.version = "3.0.1"
s.version = "3.1"
s.summary = "RxSwift is a Swift implementation of Reactive Extensions"
s.description = <<-DESC
This is a Swift port of [ReactiveX.io](https://github.com/ReactiveX)
Expand Down
2 changes: 1 addition & 1 deletion RxSwift/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.0.1</string>
<string>3.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion RxTest.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "RxTest"
s.version = "3.0.1"
s.version = "3.1"
s.summary = "RxSwift Testing extensions"
s.description = <<-DESC
Unit testing extensions for RxSwift. This library contains mock schedulers, observables, and observers
Expand Down
2 changes: 1 addition & 1 deletion RxTest/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.0.1</string>
<string>3.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
12 changes: 8 additions & 4 deletions scripts/validate-podspec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ trap cleanup EXIT

VERSION=`cat RxSwift.podspec | grep -E "s.version\s+=" | cut -d '"' -f 2`
TARGETS=(RxTest RxCocoa RxBlocking RxSwift)
ROOTS=(2/e/c 3/c/1 8/5/5 a/b/1)

pushd ~/.cocoapods/repos/master/Specs
for TARGET in ${TARGETS[@]}
Expand All @@ -28,11 +29,14 @@ popd
for TARGET in ${TARGETS[@]}
do

mkdir -p ~/.cocoapods/repos/master/Specs/${TARGET}/${VERSION}
rm ~/.cocoapods/repos/master/Specs/${TARGET}/${VERSION}/* || echo

cat $TARGET.podspec |
sed -E "s/s.source[^\}]+\}/s.source = { :git => '${ESCAPED_SOURCE}', :branch => \'${BRANCH}\' }/" > ~/.cocoapods/repos/master/Specs/${TARGET}/${VERSION}/${TARGET}.podspec
for ROOT in ${ROOTS[@]} ; do
mkdir -p ~/.cocoapods/repos/master/Specs/${ROOT}/${TARGET}/${VERSION}
rm ~/.cocoapods/repos/master/Specs/${ROOT}/${TARGET}/${VERSION}/* || echo
cat $TARGET.podspec |
sed -E "s/s.source[^\}]+\}/s.source = { :git => '${ESCAPED_SOURCE}', :branch => \'${BRANCH}\' }/" > ~/.cocoapods/repos/master/Specs/${ROOT}/${TARGET}/${VERSION}/${TARGET}.podspec
done

done

function validate() {
Expand Down

0 comments on commit e4f6d90

Please sign in to comment.