2.0.0
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 🐘
- 201: Bump wyrihaximus/async-test-utilities from 5.0.11 to 5.0.12 thanks to @dependabot[bot]
- 200: Bump wyrihaximus/async-test-utilities from 5.0.10 to 5.0.11 thanks to @dependabot[bot]
- 199: Bump illuminate/collections from 9.23.0 to 9.24.0 thanks to @dependabot[bot]
- 198: Bump illuminate/collections from 9.21.6 to 9.23.0 thanks to @dependabot[bot]
- 197: Bump illuminate/collections from 9.21.6 to 9.22.1 thanks to @dependabot[bot]
- 196: Bump illuminate/collections from 9.21.6 to 9.22.0 thanks to @dependabot[bot]
- 195: Bump wyrihaximus/async-test-utilities from 5.0.9 to 5.0.10 thanks to @dependabot[bot]
- 194: Bump illuminate/collections from 9.21.4 to 9.21.6 thanks to @dependabot[bot]
- 193: Bump illuminate/collections from 9.21.1 to 9.21.4 thanks to @dependabot[bot]
- 192: Bump illuminate/collections from 9.21.0 to 9.21.1 thanks to @dependabot[bot]
- 189: Bump illuminate/collections from 9.13.0 to 9.21.0 thanks to @dependabot[bot]
- 187: Bump wyrihaximus/async-test-utilities from 5.0.6 to 5.0.9 thanks to @dependabot[bot]
- 181: Bump roave/better-reflection from 5.4.0 to 5.6.0 thanks to @dependabot[bot]
- 179: Bump guzzlehttp/guzzle from 7.4.3 to 7.4.5 thanks to @dependabot[bot]
- 177: Bump wyrihaximus/async-test-utilities from 5.0.3 to 5.0.6 thanks to @dependabot[bot]
- 174: Bump wyrihaximus/async-test-utilities from 5.0.2 to 5.0.3 thanks to @dependabot[bot]
- 173: Bump illuminate/collections from 9.12.2 to 9.13.0 thanks to @dependabot[bot]
- 171: Bump wyrihaximus/async-test-utilities from 5.0.0 to 5.0.2 thanks to @dependabot[bot]
- 170: Bump wyrihaximus/broadcast-contracts from 1.2.0 to 1.3.0 thanks to @dependabot[bot]
- 169: Bump illuminate/collections from 9.11.0 to 9.12.2 thanks to @dependabot[bot]
- 166: Bump illuminate/collections from 8.12.0 to 9.11.0 thanks to @dependabot[bot]
- 165: Bump pimple/pimple from 3.3.1 to 3.5.0 thanks to @dependabot[bot]
- 164: Bump guzzlehttp/guzzle from 6.0.0 to 7.4.2 thanks to @dependabot[bot]
- 162: Bump guzzlehttp/psr7 from 1.0.0 to 1.8.5 thanks to @dependabot[bot]
- 163: Bump twig/twig from 2.13.0 to 3.3.10 thanks to @dependabot[bot]
- 161: Bump wyrihaximus/test-utilities from 5.0.5 to 5.0.6 thanks to @dependabot[bot]
- 159: Bump illuminate/collections from 9.8.1 to 9.10.0 thanks to @dependabot[bot]
- 158: Bump composer/composer from 2.2.9 to 2.3.5 thanks to @dependabot[bot]
- 157: Bump illuminate/collections from 9.8.1 to 9.9.0 thanks to @dependabot[bot]
- 156: Bump roave/better-reflection from 5.3.0 to 5.4.0 thanks to @dependabot[bot]
- 154: Bump illuminate/collections from 9.5.1 to 9.8.1 thanks to @dependabot[bot]
- 153: Bump illuminate/collections from 9.5.1 to 9.7.0 thanks to @dependabot[bot]
- 151: Bump illuminate/collections from 9.4.1 to 9.5.1 thanks to @dependabot[bot]
- 150: Bump roave/better-reflection from 5.2.0 to 5.3.0 thanks to @dependabot[bot]
- 149: Bump wyrihaximus/test-utilities from 5.0.3 to 5.0.5 thanks to @dependabot[bot]
- 146: Bump wyrihaximus/test-utilities from 5.0.1 to 5.0.3 thanks to @dependabot[bot]
- 144: Bump illuminate/collections from 9.3.0 to 9.3.1 thanks to @dependabot[bot]
- 143: Bump illuminate/collections from 9.2.0 to 9.3.0 thanks to @dependabot[bot]
- 142: Bump roave/better-reflection from 5.1.0 to 5.2.0 thanks to @dependabot[bot]
- 141: Bump roave/better-reflection from 5.0.7 to 5.1.0 thanks to @dependabot[bot]
CI 🚧,Configuration ⚙,YAML 🍄,bug
- 191: Remove label sponsors workflow as we're doing that somewhere else thanks to @WyriHaximus
- 190: Only run CI on specific push branches thanks to @WyriHaximus
- 183: Allow upcoming releases to fail thanks to @WyriHaximus
CI 🚧,Configuration ⚙,YAML 🍄,enhancement
- 188: Don't run can require against upcoming PHP version thanks to @WyriHaximus
- 184: CI allow all composer plugins during can require thanks to @WyriHaximus
Dependencies 📦,JSON 👨💼,PHP 🐘
- 186: Require stable react/async thanks to @WyriHaximus
- 167: Bump wyrihaximus/async-test-utilities from 4.2.0 to 5.0.0 thanks to @dependabot[bot]
- 140: Bump illuminate/collections from 8.82.0 to 9.2.0 thanks to @dependabot[bot]
- 139: Bump illuminate/collections from 8.82.0 to 9.1.0 thanks to @dependabot[bot]
- 137: Bump illuminate/collections from 8.82.0 to 9.0.0 thanks to @dependabot[bot]
NEON 🦹♂️,PHP 🐘,Source 🔮,enhancement
PHP 🐘,Source 🔮,Tests 🧪,enhancement
NEON 🦹♂️,PHP 🐘,Source 🔮,Tests 🧪,bug
Dependencies 📦,Documentation 📚,JSON 👨💼,MarkDown 📝,PHP 🐘,Source 🔮,Tests 🧪
- 172: Add no handle support thanks to @WyriHaximus
Feature 🏗,enhancement
Dependencies 📦,Documentation 📚,JSON 👨💼,MarkDown 📝,NEON 🦹♂️,PHP 🐘,Source 🔮,Tests 🧪
Dependencies 📦,JSON 👨💼,PHP 🐘,Source 🔮
- 135: Move dummy into
src/thanks to @WyriHaximus