Skip to content

v1.5.0

Latest
Compare
Choose a tag to compare
@clue clue released this 20 Oct 14:08
  • Feature: Simplify usage by supporting new default loop.
    (#60 by @clue)

    // old (still supported)
    Clue\React\Block\await($promise, $loop);
    Clue\React\Block\awaitAny($promises, $loop);
    Clue\React\Block\awaitAll($promises, $loop);
    
    // new (using default loop)
    Clue\React\Block\await($promise);
    Clue\React\Block\awaitAny($promises);
    Clue\React\Block\awaitAll($promises);
  • Feature: Added support for upcoming react/promise v3.
    (#61 by @davidcole1340 and @SimonFrings)

  • Improve error reporting by appending previous message for Throwables.
    (#57 by @clue)

  • Deprecate $timeout argument for await*() functions.
    (#59 by @clue)

    // deprecated
    Clue\React\Block\await($promise, $loop, $timeout);
    Clue\React\Block\awaitAny($promises, $loop, $timeout);
    Clue\React\Block\awaitAll($promises, $loop, $timeout);
    
    // still supported
    Clue\React\Block\await($promise, $loop);
    Clue\React\Block\awaitAny($promises, $loop);
    Clue\React\Block\awaitAll($promises, $loop);
  • Improve API documentation.
    (#58 and #63 by @clue and #55 by @PaulRotmann)

  • Improve test suite and use GitHub actions for continuous integration (CI).
    (#54 by @SimonFrings)