Skip to content

1.0.0 alpha 4

Pre-release
Pre-release
Compare
Choose a tag to compare
@andersio andersio released this 28 Nov 00:24
· 1213 commits to master since this release

New since alpha 3

  1. DispatchTimeInterval is now used in place of TimeInterval in APIs that would offset Dates. (#48, kudos to @liscio, @NachoSoto and @mdiep)
  2. New Action initializer: Action(state:enabledIf:_:). (#22, kudos to @sharplet and @mdiep)
    • Create an Action from a Property with an availability predicate to be applied on the property. Note that the execution closure would be passed not only the input from apply(_:), but also the latest property value observed by the Action.
    • This new variant is recommended for modelling UI that has inputs to the Action that would affect the availability of the Action.
  3. New Action initializer: Action(input:_:). (#22)
    • Create an Action with a Property as its input. apply would accept no input, but takes the latest value from the property instead.
    • If you supply a property of optional, the action is executed only if the input is not nil.

Changed since alpha 3

  1. ReactiveExtensionsProvider now provide a static reactive for extensions to the type. (#70, kudos to @sharplet)
  2. Fixed a bug in SignalProducer.on which caused the signal to be disposed of too early. (#80, kudos to @andersio and @ikesyo)
  3. Restored value as the last parameter of SignalProducer.on. (#104, kudos to @dmcrodrigues)
  4. Fixed two race conditions related to interrupted delivery in Signal. (#123, kudos to @andersio and @NachoSoto)
  5. Faster Bag. (#126, kudos to @andersio)

Acknowledgements

Kudos to @mdiep, @NachoSoto, @sharplet, @ikesyo and @andersio who helped review the pull requests. Kudos also to @iv-mexx, @morganchen12 and @Iyuna who helped update the documentation and the playgrounds.