Releases: reactphp-parallel/psr-15-adapter
Releases · reactphp-parallel/psr-15-adapter
1.0.1
1.0.1
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
PHP 🐘,Source 🔮,bug
1.0.0
Initial release
Really proud to release the initial version of the next generation of for/http-middleware-psr15-adapter
. Where for/http-middleware-psr15-adapter
relies on tricks like realtime monkey patching and clever use of generators as coroutines to achieve bridging react/http
middleware and PSR-15
middleware. This package uses only threads to achieve a bridge between them without having to change any monkey patching.
Usage
The middleware adapter accepts any PSR-15 middleware instance that meets for following criteria:
- Only uses scalars and userland classes
- Doesn't hold references to anything but scalars and userland classes
- Doesn't have internal state or relies on external state
$loop = Factory::create();
$pool = new Infinite($loop, 10);
$eventLoopBridge = new EventLoopBridge($loop);
$streamFactory = new StreamFactory($eventLoopBridge);
$psr15Middleware = new ThePsr15MiddlewareOfYourChoice();
$server = new React\Http\Server(
$loop,
new ReactMiddleware($streamFactory, $pool, $psr15Middleware, $loop, $eventLoopBridge)
);
1.0.0
- Total issues resolved: 0
- Total pull requests resolved: 12
- Total contributors: 3
Dependencies 📦,Feature 🏗,PHP 🐘
- 12: Bump opis/closure from 3.5.6 to 3.5.7 thanks to @dependabot[bot]
Documentation 📚,Feature 🏗,MarkDown 📝
- 11: Update example in the readme thanks to @WyriHaximus
Feature 🏗
- 10: Github configuration thanks to @WyriHaximus
- 9: Add support for generics thanks to @WyriHaximus
- 8: Bump opis/closure from 3.5.5 to 3.5.6 thanks to @dependabot-preview[bot]
- 7: Upgrade to react/http 1.0 thanks to @WyriHaximus
- 6: Transfer channels as strings thanks to @WyriHaximus
- 5: Support an array of middleware thanks to @WyriHaximus
- 4: Bump react/http from 0.8.7 to 1.0.0 thanks to @dependabot-preview[bot]
- 3: Use worker pool thanks to @WyriHaximus
- 2: Bump react-parallel/event-loop from 1.0.0 to 1.0.1 thanks to @dependabot-preview[bot]
- 1: Bump ocramius/package-versions from 1.8.0 to 1.9.0 thanks to @dependabot-preview[bot]