Repository navigation
Releases
zend-expressive-swoole 2.5.0
Added
- #73 adds compatibility with symfony/console
^5.0.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-swoole 2.4.1
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #67 fixes the
HttpServerFactoryto properly support Swoole coroutines.
zend-expressive-swoole 2.4.0
Added
- #64 updates the hot reloading feature so that it logs messages using the same
logger configured for access logging.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-swoole 2.3.0
Added
- #60 adds a new configuration,
zend-expressive-swoole.hot-code-reload.
Configuring hot-code-reload allows the Swoole HTTP server to monitor for
changes in included PHP files, and reload accordingly.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-swoole 2.2.1
Added
- #56 adds support for PHP 7.3.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-swoole 2.2.0
Added
-
#55 adds a new configuration key,
zend-expressive-swoole.swoole-http-server.logger.logger-name.
It allows a custom service name which resolves to aPsr\Log\LoggerInterface
instance to be provided, in order to be wrapped in the
Zend\Expressive\Swoole\Log\Psr3AccessLogDecorator:return [ 'zend-expressive-swoole' => [ 'swoole-http-server' => [ 'logger' => [ 'logger-name' => 'my_logger', ], ], ], ];
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-swoole 2.1.0
Added
-
#54 adds a new configuration key,
zend-expressive-swoole.swoole-http-server.process-name.
This value will be used as a prefix for the process name of all processes
created by theSwoole\Http\Serverinstance, including the master process,
worker processes, and all task worker processes. The value defaults to
expressive. As an example:return [ 'zend-expressive-swoole' => [ 'swoole-http-server' => [ 'process-name' => 'myapp', ], ], ];
-
#50 adds a new configuration flag for toggling serving of static files:
zend-expressive-swoole.swoole-http-server.static-files.enable. The flag is
enabled by default; set it to booleanfalseto disable static file serving:return [ 'zend-expressive-swoole' => [ 'swoole-http-server' => [ 'static-files' => [ 'enable' => false, ], ], ], ];
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-swoole 2.0.1
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
-
#48 adds a
shutdownhandler to the Swoole HTTP server that clears the PID
manager, ensuring the PID file is cleared. -
#52 fixes an error thrown by the
startcommand when using this component in
configuration-driven expressive applications, due to the fact that the command
always tried to require theconfig/pipeline.phpandconfig/routes.php
files.
zend-expressive-swoole 2.0.0
Added
-
#46 adds a new command for the command line tooling,
status; the command
simply tells you if the server is running or not. -
#43 adds the class
Zend\Expressive\Swoole\WhoopsPrettyPageHandlerDelegator,
and registers it to the serviceZend\Expressive\WhoopsPageHandler. The
delegator callshandleUnconditionally()on the handler in order to ensure it
will operate under the CLI SAPI that Swoole runs under. -
#40 adds the class
Zend\Expressive\Swoole\HttpServerFactory, which
generates aSwoole\Http\Serverinstance based on provided configuration; it
replaces the formerZend\Expressive\Swoole\ServerFactory(as well as the
factory for that class). The new factory class is now registered as a factory
for theSwoole\Http\Serverclass, which allows users to further configure
the Swoole server instance via delegators, specifically for the purpose of
enabling async task workers.
Changed
-
#46 moves the command line utilities for controlling the web server out of
the application runner, and into a new vendor binary,zend-expressive-swoole
(called via./vendor/bin/zend-expressive-swoole). This change was required
to allow us to expose theSwoole\Http\Serverinstance as a service, and has
the added benefit thatreloadoperations now will fully stop and start the
server, allowing it to pick up configuration and code changes. You will need
to update any deployment scripts to use the new vendor binary. -
#40 changes how you configure Swoole's coroutine support. Previously, you
would toggle the configuration flagzend-expressive-swoole.swoole-http-server.options.enable_coroutine;
you should now use the flagzend-expressive-swoole.enable_coroutine. The
original flag still exists, but is now used to toggle coroutine support in the
Swoole\Http\Serverinstance specifically. -
#42 adds a discrete factory service for the
SwooleRequestHandlerRunner, and now aliases
Zend\HttpHandlerRunner\RequestHandlerRunnerto that service.
Deprecated
- Nothing.
Removed
- #40 removes the
Zend\Expressive\Swoole\ServerFactoryand
ServerFactoryFactoryclasses, as well as theZend\Expressive\Swoole\ServerFactory
service. Users should instead reference theSwoole\Http\Serverservice,
which is now registered via theZend\Expressive\Swoole\HttpServerFactory
factory, detailed in the "Added" section above.
Fixed
- Nothing.
zend-expressive-swoole 1.0.2
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #45 provides a patch that ensures that SSL support can be enabled when
creating theSwoole\Http\Serverinstance. SSL support requires not just the
SSL certificate and private key, but also providing a protocol of either
SWOOLE_SOCK_TCP | SWOOLE_SSLorSWOOLE_SOCK_TCP6 | SWOOLE_SSL.
Previously, the union types would raise an exception during instantiation.