pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/clue/reactphp-block/releases

87c530cf.css" /> Releases · clue/reactphp-block · GitHub
Skip to content

Releases: clue/reactphp-block

v1.5.0

20 Oct 14:08

Choose a tag to compare

  • 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)

v1.4.0

21 Aug 14:10

Choose a tag to compare

  • Improve API documentation, update README and add examples.
    (#45 by @clue and #51 by @SimonFrings)

  • Improve test suite and add .gitattributes to exclude dev files from exports.
    Prepare PHP 8 support, update to PHPUnit 9, run tests on PHP 7.4 and simplify test matrix.
    (#46, #47 and #50 by @SimonFrings)

v1.3.1

09 Apr 11:45

Choose a tag to compare

  • Fix: Fix getting the type of unexpected rejection reason when not rejecting with an Exception.
    (#42 by @Furgas and @clue)

  • Fix: Check if the function is declared before declaring it.
    (#39 by @Niko9911)

v1.3.0

14 Jun 08:52

Choose a tag to compare

  • Feature: Improve memory consumption by cleaning up garbage references.
    (#35 by @clue)

  • Fix minor documentation typos.
    (#28 by @seregazhuk)

  • Improve test suite by locking Travis distro so new defaults will not break the build,
    support PHPUnit 6 and update Travis config to also test against PHP 7.2.
    (#30 by @clue, #31 by @carusogabriel and #32 by @andreybolonin)

  • Update project homepage.
    (#34 by @clue)

v1.2.0

03 Aug 13:15

Choose a tag to compare

  • Feature / Fix: Forward compatibility with future EventLoop v1.0 and v0.5 and
    cap small timeout values for legacy EventLoop
    (#26 by @clue)

    // now works across all versions
    Block\sleep(0.000001, $loop);
  • Feature / Fix: Throw UnexpectedValueException if Promise gets rejected with non-Exception
    (#27 by @clue)

    // now throws an UnexceptedValueException
    Block\await(Promise\reject(false), $loop);
  • First class support for legacy PHP 5.3 through PHP 7.1 and HHVM
    (#24 and #25 by @clue)

  • Improve testsuite by adding PHPUnit to require-dev and
    Fix HHVM build for now again and ignore future HHVM build errors
    (#23 and #24 by @clue)

v1.1.0

09 Mar 15:10

Choose a tag to compare

  • Feature: Add optional timeout parameter to all await*() functions
    (#17 by @clue)
  • Feature: Cancellation is now supported across all PHP versions
    (#16 by @clue)

v1.0.0

13 Nov 20:46

Choose a tag to compare

  • First stable release, now following SemVer
  • Improved documentation

Contains no other changes, so it's actually fully compatible with the v0.3.0 release.

v0.3.0

09 Jul 22:43

Choose a tag to compare

v0.3.0 Pre-release
Pre-release
  • BC break: Use functional API approach instead of pseudo-OOP.
    All existing methods are now exposed as simple functions.
    (#13)

    // old
    $blocker = new Block\Blocker($loop);
    $result = $blocker->await($promise);
    
    // new
    $result = Block\await($promise, $loop);

v0.2.0

05 Jul 13:59

Choose a tag to compare

v0.2.0 Pre-release
Pre-release
  • BC break: Rename methods in order to avoid confusion.
    • Rename wait() to sleep().
      (#8)
    • Rename awaitRace() to awaitAny().
      (#9)
    • Rename awaitOne() to await().
      (#10)

v0.1.1

05 Apr 17:02

Choose a tag to compare

v0.1.1 Pre-release
Pre-release
  • run() the loop instead of making it tick().
    This results in significant performance improvements (less resource utilization) by avoiding busy waiting
    (#1)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy