Releases: RxSwiftCommunity/RxFlow
Releases · RxSwiftCommunity/RxFlow
Reliant
Kelvin
Defiant
- use internally a UUID to identify Flows inside the Coordinator
- bump RxSwift version to 4.2.0
- fix a bug about dismissed Observable in UIViewController
- demo project improvements / cleanup
- fix typos
- nextPresentable and nextStepper are now public to ease unit tests implementation
Add the .triggerParentFlow NextFlowItem + minor changes
This release introduces a new NextFlowItem: .triggerParentFlow. It allows to communicate with the parent flow without having to end the current flow.
This release also:
- migrates the code to Swift 4.1.2
- removes unnecessary references to UIKit
Migrate to Xcode 9.3 and Swift 4.1
This release only adapts RxFlow to Xcode 9.3 and Swift 4.1
Prevent Reentrancy and unowned reference issues
The release is a bug fix release:
- fix a RxSwift reentrancy issue due to a Flow dismissal
- fix an 'unowned reference' reading error due to a Flow dismissal
- fix the UIWindow Presentable extension so the windowDidAppear is now an Observable (not a Single)
Introduce a new .end NextFlowItems to simplify Flow dismissal
This release:
- introduces a new NextFlowItems value called .end. It allows to be more explicit about how/when a Flow should be dismissed. It also allows to pass data from the dismissed Flow to its parent Flow.
- updates the Demo App to implement new Flows AppFlow and OnBoardingFlow that take advantage of the new .end NextFlowItems value. The Demo App also demonstrates how to swap 2 Flows attached to the root Window.
Allows a Presentable as the root of a Flow + Bug fix
This release:
- fixes a rx dismiss event problem on UIViewController when an Alert was dismissed
- allows a Presentable to be the root of a Flow instead of a UIViewController
- changes the Rx extension of the Coordinator to bring more context
NextFlowItem, CompositeStepper, RxSwift improvements
This release brings:
- RxSwift improvements regarding the subscription chains in the Coordinator
- a fix for Carthage installation
- a new naming for Flowable: NextFlowItem
- a new return type for navigate(to:): NextFlowItems, an enum that wraps the return of NextFlowItem
- a new type of Stepper: CompositeStepper, that allows to associate several Steppers to one Presentable in a NextFlowItem
- the possibility to wait for the readiness of a collection of Flows (Flows.whenReady)
- the consistency for Flow dismissal. A child Flow has to be dismissed by its parent, not by itself
See the "Migrating from v1.0.x to v1.1" section in the README.md file. The Demo Application has been updated as well to implement the new features.
Refactor folders for Carthage
This release moves the RxFlow project to the root folder. When someone imported the project via Carthage, this compilation failed because Carthage was not able to compile the project with its dependencies as the Cartfile was not in the root folder.