Skip to content

v4.2.0

Compare
Choose a tag to compare
@SimonFrings SimonFrings released this 22 Nov 16:45
· 7 commits to 4.x since this release
  • Feature: Add Promise v3 template types for all public functions.
    (#40 by @WyriHaximus and @clue)

    All our public APIs now use Promise v3 template types to guide IDEs and static
    analysis tools (like PHPStan), helping with proper type usage and improving
    code quality:

    assertType('bool', await(resolve(true)));
    assertType('PromiseInterface<bool>', async(fn(): bool => true)());
    assertType('PromiseInterface<bool>', coroutine(fn(): bool => true));
  • Feature: Full PHP 8.3 compatibility.
    (#81 by @clue)

  • Update test suite to avoid unhandled promise rejections.
    (#79 by @clue)

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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