Skip to content

Commit

Permalink
Release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kzaher committed Feb 9, 2019
1 parent c17205a commit 0dbe524
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
## Master

## [2.0.0](https://github.com/kzaher/RxFeedback/releases/tag/2.0.0)

* Renames `Event` to `Mutation`.
* Removes deprecated APIs.
* Adds the most general version of feedback loop
```swift
public func react<State, Request: Equatable, RequestID, Event>(
requests: @escaping (State) -> [RequestID: Request],
effects: @escaping (_ initial: Request, _ state: Observable<Request>) -> Observable<Event>
) -> (ObservableSchedulerContext<State>) -> Observable<Event> {
```
* Simpler feedback loops are now just a specialization of the general one.
* Removes hacky versions of feedback loops that existed because Swift compiler didn't generate automatic `Equality` conformance.

## [1.1.1](https://github.com/kzaher/RxFeedback/releases/tag/1.1.1)

* Fixes problem building with Carthage. #41
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ The simplest architecture for [RxSwift](https://github.com/ReactiveX/RxSwift)
me.minus.rx.tap.map { Event.decrement }
]

return Bindings(subscriptions: subscriptions,
events: events)
return Bindings(
subscriptions: subscriptions,
events: events
)
}
)
```
Expand Down
2 changes: 1 addition & 1 deletion RxFeedback.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "RxFeedback"
s.version = "1.1.1"
s.version = "2.0.0"
s.summary = "Simplest architecture for RxSwift. State + feedback loops."
s.description = <<-DESC
* Straightforward
Expand Down

0 comments on commit 0dbe524

Please sign in to comment.