Releases: iZettle/Flow
Releases · iZettle/Flow
Flow 1.8.4
- Fix compilation errors in Xcode 11.4
- Use Swift.Result instead of custom result implementation
- Update sample to match readme.
Flow 1.8.3
- Fix race conditions for iOS 13 for Signal and cleanup CallbackState
- Add new combiner
driven(by:)
that makes aReadSignal
emit its latest readable values when the given "driver" signal fires events. The combined signal will derive its signal kind from the driver, but without write access.
Flow 1.8.2
- Fix the
traitCollectionWithFallback
behaviour on iOS 13 to return the view's predicted traits and prior iOS 13 to respect the key window's traits before falling back to the main screen traits.
Flow 1.8.1
- Added signal transformations
contains(where:)
andallSatisfy(where:)
as wrappers for booleanreduce()
transforms. - Changed
reduce()
implementation to consider initial values when performed on readable signals.
Flow 1.8.0
- Added
deallocSignal(for:)
andNSObject.deallocSignal
for listen on deallocation of objects. - Added signal transformation
with(weak:)
as a convenience helper for breaking retain cycles.
Flow 1.7.0
- Migrate to swift 5.
Flow 1.6.0
- Addition: Make Callbacker conform to SignalProvider.
Flow 1.5.2
- Bugfix: Make sure
shared()
updates its last value before calling out to get correct results in case of recursion.
Flow 1.5.1
- Updates
combineLatest
to no longer allow mixing of plain and readable signals as for the returned signal to guarantee to be readable all provided signals must as be readable as well. This is technically a breaking of the API, but as the existing implementation is broken and might result in run-time crashes, this change can be considered as a bug-fix.
Flow 1.5.0
- Added new
Future
andSignal
delay
alternatives that accepts a closure that returns the delay based on the value allow variable delays. - Fixed a couple of memory leaks.