Skip to content

Releases: DeclarativeHub/ReactiveKit

v3.13.0

22 Jun 08:02
Compare
Choose a tag to compare

API alignment with Combine

  • PublishSubject<Element, Error> has been renamed to PassthroughSubject<Element, Error>.
  • next(value), completed() and failed(error) methods on the Observer type have been renamed to receive(value), receive(completion: .finished) and receive(completion: .failure(error)) respectively.
  • next(value), completed() and failed(error) methods on the Subject type have been renamed to send(value), send(completion: .finished) and send(completion: .failure(error)) respectively.
  • shareReplay(limit:) has been renamed to share(limit:).
  • sink(receiveCompletion:receiveValue:) operator is added.

let didChange = PassthroughSubject<Void, Never>()

didChange.sink { (value) in
    print(value)
}

didChange.sink(receiveCompletion: { (completion) in
    print(completion)
}, receiveValue: { value in
    print(value)
})


didChange.send()
didChange.send(completion: .finished)

v3.12.3

21 Jun 20:44
Compare
Choose a tag to compare
  • Fix possible race conditions in dispose bag and subjects - thanks @trupin!
  • Fix possible threading issue in Property - thanks @aethe!
  • Properly set new value in LoadingProperty - thanks @tonyarnold!

v3.12.2

01 Jun 07:50
Compare
Choose a tag to compare
  • Introduces operator repeat(when:).

v3.12.0

02 May 20:04
Compare
Choose a tag to compare

New Signal(takingOver:) initializer that you can use to make signals from closures!

var didTapReload: () -> Void = {}

let reloadTaps = Signal(takingOver: &didTapReload)

reloadTaps.observeNext {
    print("reload")
}

didTapReload() // prints "reload"
didTapReload() // prints "reload"

v3.11.0

27 Apr 09:16
Compare
Choose a tag to compare
  • Add deferring initializer.
  • Bump macOS deployment target to 10.11.

v3.10.0

31 Mar 10:13
4dec86f
Compare
Choose a tag to compare

🎊 Swift 5.0 release 🎉

  • Migrate to Swift 5.0 syntax
  • Remove custom Result type
  • Clean up and standardize APIs
  • Deprecate NoError in favour of Never from the standard library
  • Improve inline documentation and enhance it with links to RxMarbles
  • Add more playgrounds with tutorials

The release is backward compatible.

Do not update if you are still using Swift 4.2 or earlier!

v3.9.7

13 Oct 07:40
Compare
Choose a tag to compare
  • Update to Swift 4.2

v3.9.6

21 May 18:13
Compare
Choose a tag to compare
  • Fix possible subject deadlock.

v3.9.5

08 May 10:06
Compare
Choose a tag to compare
  • Disable code coverage in Release.

v3.9.4

02 Apr 13:34
Compare
Choose a tag to compare
  • Update project file to Xcode 9.
  • Fix take(until:) documentation and add unit test. Thanks @npvisual!