Skip to content

2.0.0

Choose a tag to compare

@github-actions github-actions released this 13 Aug 10:57
487c56a

Adds support for calling listeners in PHP 8.1 fibers using react/async async(). And as such raised the minimum PHP version to 8.1.

Async listeners

Before you can use react/async's await(). In a listener, you must change the interface from Listener to AsyncListener. After that, every time that listener is called it will be run inside a fiber and the dispatcher will wait for it to finish. This brings it fully in line with non-non-blocking listeners.

Technically it is possible to use await() in non-async listeners but that will block the rest of the process. Where using async listeners only that listener is awaited in a fiber and will not block the rest of the process.

PSR-14 compatibility bug fix

This release also contains a bug fix (#180) that was caused by not rethrowing any caught and logged exceptions.

2.0.0

  • Total issues resolved: 1
  • Total pull requests resolved: 56
  • Total contributors: 2

Dependencies 📦,PHP 🐘

CI 🚧,Configuration ⚙,YAML 🍄,bug

CI 🚧,Configuration ⚙,YAML 🍄,enhancement

Dependencies 📦,JSON 👨‍💼,PHP 🐘

NEON 🦹‍♂️,PHP 🐘,Source 🔮,enhancement

PHP 🐘,Source 🔮,Tests 🧪,enhancement

NEON 🦹‍♂️,PHP 🐘,Source 🔮,Tests 🧪,bug

Dependencies 📦,Documentation 📚,JSON 👨‍💼,MarkDown 📝,PHP 🐘,Source 🔮,Tests 🧪

Feature 🏗,enhancement

Dependencies 📦,Documentation 📚,JSON 👨‍💼,MarkDown 📝,NEON 🦹‍♂️,PHP 🐘,Source 🔮,Tests 🧪

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