Skip to content

Releases: WyriHaximus/TickingPromise

3.1.0

03 Nov 06:37
4dbeb48
Compare
Choose a tag to compare

Support react/promise v3 and add the required template types for it. Also raised the minimum PHP version to 8.2.

3.1.0

  • Total issues resolved: 0
  • Total pull requests resolved: 19
  • Total contributors: 3

Dependencies 📦,Enhancement ✨

Dependencies 📦

Enhancement ✨

3.0.0

25 Jul 16:51
460d013
Compare
Choose a tag to compare

Major new release defaulting to using the global loop accessor that came with react/eventloop 1.2.

This changes current code from this:

<?php

declare(strict_types=1);

use React�ventLoop\Factory;

use function WyriHaximus\ReactuturePromise;

$loop = Factory::create();

futurePromise($loop)->then(static function (): void {
    echo 'Done', PHP_EOL;
});
futurePromise($loop)->then(static function (string $message): void {
    echo $message, PHP_EOL;
}, 'Also done');

$loop->run();

To this:

<?php

declare(strict_types=1);

use function WyriHaximus\ReactuturePromise;

futurePromise()->then(static function (): void {
    echo 'Done', PHP_EOL;
});
futurePromise()->then(static function (string $message): void {
    echo $message, PHP_EOL;
}, 'Also done');

No more passing in the loop to any of the functions

3.0.0

  • Total issues resolved: 0
  • Total pull requests resolved: 26
  • Total contributors: 2

Documentation 📚,MarkDown 📝

Dependencies 📦,JSON 👨‍💼,PHP 🐘,Source 🔮,Tests 🧪

Dependencies 📦,PHP 🐘

2.1.0

25 Nov 12:48
d3903d4
Compare
Choose a tag to compare

The release adds PHP 8 support!

PHP 8 Logo

2.1.0

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

CI 🚧,Configuration ⚙,Dependencies 📦,JSON 👨‍💼,PHP 🐘,YAML 🍄

2.0.0

25 Nov 00:58
51e7ddc
Compare
Choose a tag to compare

Main features in this release are dropping PHP 5.x support and this adapting to all shiny PHP 7 features. The function nextPromise has also been removed in this release after being deprecated.

2.0.0

  • Total issues resolved: 0
  • Total pull requests resolved: 5
  • Total contributors: 2

Dependencies 📦,PHP 🐘

Documentation 📚,MarkDown 📝

CI 🚧,Configuration ⚙,Dependencies 📦,JSON 👨‍💼,NEON 🦹‍♂️,PHP 🐘,Source 🔮,Tests 🧪,YAML 🍄,enhancement

Dependencies 📦,JSON 👨‍💼,PHP 🐘

1.6.3

05 Apr 12:45
1.6.3
Compare
Choose a tag to compare
  • Support event loop 0.5 part two

1.6.2

04 Apr 08:10
1.6.2
6b9f9ab
Compare
Choose a tag to compare
  • Support event loop 0.5 part one

1.6.1

05 Mar 20:24
Compare
Choose a tag to compare
Merge remote-tracking branch 'origin/master'

1.6.0

14 Jan 08:40
Compare
Choose a tag to compare
Added an iterations parameter to tickingFuturePromise that can be use…

1.5.2

08 Jan 23:21
Compare
Choose a tag to compare
  • Conditionally require functions.php

1.5.1

03 Oct 22:58
Compare
Choose a tag to compare
Merge remote-tracking branch 'origin/master'