Ethan.1
RxSwift 6.1
Thanks to @iDevid, @marcelofabri, @faimin and @danielt1263 for their contributions to this release π€ π―
Breaking Changes π₯
- 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 towithUnretained
. 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 withAnyObject
s #2285- Fix xcframework support for
RxCocoa
(Drag in new RxCocoaRuntime.xcframework alongsideRxCocoa
) - Freeze
MaybeEvent
andCompletableEvent
#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