From 7e01c05f25c025143073eaa3be3532f9375c614b Mon Sep 17 00:00:00 2001 From: freak4pc Date: Wed, 10 Feb 2021 22:19:02 +0200 Subject: [PATCH] 6.1.0 --- CHANGELOG.md | 16 ++++++++++++++++ README.md | 15 +++++++++------ RxBlocking.podspec | 4 ++-- RxBlocking/Info.plist | 2 +- RxCocoa.podspec | 6 +++--- RxCocoa/Info.plist | 2 +- RxRelay.podspec | 4 ++-- RxRelay/Info.plist | 2 +- RxSwift.podspec | 2 +- RxSwift/Info.plist | 2 +- RxTest.podspec | 4 ++-- RxTest/Info.plist | 2 +- 12 files changed, 40 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96bc545f7..c7b37ee4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. --- +## 6.1.0 + +**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 `AnyObject`s #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 + ## 6.0.0-rc.2 - Support for XCFrameworks, with binaries now bundled with each release. diff --git a/README.md b/README.md index 2b64b2ae3..f71cb8f5a 100644 --- a/README.md +++ b/README.md @@ -146,14 +146,14 @@ Open Rx.xcworkspace, choose `RxExample` and hit run. This method will build ever use_frameworks! target 'YOUR_TARGET_NAME' do - pod 'RxSwift', '6.0.0' - pod 'RxCocoa', '6.0.0' + pod 'RxSwift', '6.1.0' + pod 'RxCocoa', '6.1.0' end # RxTest and RxBlocking make the most sense in the context of unit/integration tests target 'YOUR_TESTING_TARGET' do - pod 'RxBlocking', '6.0.0' - pod 'RxTest', '6.0.0' + pod 'RxBlocking', '6.1.0' + pod 'RxTest', '6.1.0' end ``` @@ -166,8 +166,11 @@ $ pod install ### XCFrameworks Each release starting with RxSwift 6 includes `*.xcframework` framework binaries. + Simply drag the needed framework binaries to your **Frameworks, Libraries, and Embedded Content** section under your target's **General** tab. +> **Note**: If you're using `RxCocoa`, be sure to also drag **RxCocoaRuntime.xcframework** before importing `RxCocoa`. + XCFrameworks instructions ### [Carthage](https://github.com/Carthage/Carthage) @@ -175,7 +178,7 @@ Simply drag the needed framework binaries to your **Frameworks, Libraries, and E Add this to `Cartfile` ``` -github "ReactiveX/RxSwift" "6.0.0" +github "ReactiveX/RxSwift" "6.1.0" ``` ```bash @@ -208,7 +211,7 @@ import PackageDescription let package = Package( name: "RxTestProject", dependencies: [ - .package(url: "https://github.com/ReactiveX/RxSwift.git", .exact("6.0.0")) + .package(url: "https://github.com/ReactiveX/RxSwift.git", .exact("6.1.0")) ], targets: [ .target(name: "RxTestProject", dependencies: ["RxSwift", "RxCocoa"]) diff --git a/RxBlocking.podspec b/RxBlocking.podspec index 3a17d0267..bd006ba72 100644 --- a/RxBlocking.podspec +++ b/RxBlocking.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RxBlocking" - s.version = "6.0.0" + s.version = "6.1.0" s.summary = "RxSwift Blocking operatos" s.description = <<-DESC Set of blocking operators for RxSwift. These operators are mostly intended for unit/integration tests @@ -25,6 +25,6 @@ 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', '6.0.0' + s.dependency 'RxSwift', '6.1.0' s.swift_version = '5.1' end diff --git a/RxBlocking/Info.plist b/RxBlocking/Info.plist index a3d5bd313..94bd648e9 100644 --- a/RxBlocking/Info.plist +++ b/RxBlocking/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 6.0.0 + 6.1.0 CFBundleSignature ???? CFBundleVersion diff --git a/RxCocoa.podspec b/RxCocoa.podspec index bdd9484eb..aa6785b7f 100644 --- a/RxCocoa.podspec +++ b/RxCocoa.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RxCocoa" - s.version = "6.0.0" + s.version = "6.1.0" s.summary = "RxSwift Cocoa extensions" s.description = <<-DESC * UI extensions @@ -23,8 +23,8 @@ Pod::Spec.new do |s| s.source_files = 'RxCocoa/**/*.{swift,h,m}', 'Platform/**/*.swift' s.exclude_files = 'RxCocoa/Platform/**/*.swift', 'Platform/AtomicInt.swift' - s.dependency 'RxSwift', '6.0.0' - s.dependency 'RxRelay', '6.0.0' + s.dependency 'RxSwift', '6.1.0' + s.dependency 'RxRelay', '6.1.0' s.swift_version = '5.1' end diff --git a/RxCocoa/Info.plist b/RxCocoa/Info.plist index a3d5bd313..94bd648e9 100644 --- a/RxCocoa/Info.plist +++ b/RxCocoa/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 6.0.0 + 6.1.0 CFBundleSignature ???? CFBundleVersion diff --git a/RxRelay.podspec b/RxRelay.podspec index 2e0839afb..5ee5b2492 100644 --- a/RxRelay.podspec +++ b/RxRelay.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RxRelay" - s.version = "6.0.0" + s.version = "6.1.0" s.summary = "Relays for RxSwift - PublishRelay, BehaviorRelay and ReplayRelay" s.description = <<-DESC Relays for RxSwift - PublishRelay, BehaviorRelay and ReplayRelay @@ -24,6 +24,6 @@ Relays for RxSwift - PublishRelay, BehaviorRelay and ReplayRelay s.source_files = 'RxRelay/**/*.{swift,h,m}' - s.dependency 'RxSwift', '6.0.0' + s.dependency 'RxSwift', '6.1.0' s.swift_version = '5.1' end diff --git a/RxRelay/Info.plist b/RxRelay/Info.plist index a3d5bd313..94bd648e9 100644 --- a/RxRelay/Info.plist +++ b/RxRelay/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 6.0.0 + 6.1.0 CFBundleSignature ???? CFBundleVersion diff --git a/RxSwift.podspec b/RxSwift.podspec index d5bd199a1..00d4c5cc2 100644 --- a/RxSwift.podspec +++ b/RxSwift.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RxSwift" - s.version = "6.0.0" + s.version = "6.1.0" 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) diff --git a/RxSwift/Info.plist b/RxSwift/Info.plist index a3d5bd313..94bd648e9 100644 --- a/RxSwift/Info.plist +++ b/RxSwift/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 6.0.0 + 6.1.0 CFBundleSignature ???? CFBundleVersion diff --git a/RxTest.podspec b/RxTest.podspec index 3b379efdb..a374f2dab 100644 --- a/RxTest.podspec +++ b/RxTest.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RxTest" - s.version = "6.0.0" + s.version = "6.1.0" s.summary = "RxSwift Testing extensions" s.description = <<-DESC Unit testing extensions for RxSwift. This library contains mock schedulers, observables, and observers @@ -56,7 +56,7 @@ func testMap() { s.framework = 'XCTest' - s.dependency 'RxSwift', '6.0.0' + s.dependency 'RxSwift', '6.1.0' s.swift_version = '5.1' s.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO' } diff --git a/RxTest/Info.plist b/RxTest/Info.plist index a3d5bd313..94bd648e9 100644 --- a/RxTest/Info.plist +++ b/RxTest/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 6.0.0 + 6.1.0 CFBundleSignature ???? CFBundleVersion