- added RR_HTTP env variable to php processes run under http service
- bugfix: ignored
--config
option - added shorthand for config
-c
- rr now changes working dir to the config location (allows relating paths for php scripts)
- added an ability to request
*logrus.Logger
,logrus.StdLogger
,logrus.FieldLogger
dependency in container - added ability to set env values using
env.Environment
env.Provider
renamed toenv.Environment
- rr does not throw a warning when service config is missing, instead debug level is used
- rr server config now support default value set (shorter configs)
- debug handlers have been moved from root command and now can be defined for each service separately
- bugfix: panic when using debug mode without http service registered
rr.Verbose
andrr.Debug
is not public- rpc service now exposes it's addressed to underlying workers to simplify the connection
- env service construction has been simplified in order to unify it with other services
- more tests
- added support for custom env variables
- added env service
- added env provider to provide ability to define env variables from any source
- container can resolve values by interface now
- bugfix: Wrong values for $_SERVER['REQUEST_TIME'] and $_SERVER['REQUEST_TIME_FLOAT']
- rr now resolves remoteAddr (IP-address)
- improvements in the error buffer
- support for custom configs and dependency injection for services
- support for net/http native middlewares
- better debugger
- config pre-processing now allows seconds for http service timeouts
- support for non-serving services
- docker compatible logging (forcing TTY output for logrus)
- changes in server shutdown sequence
- rr would provide error log from workers in realtime now
- even better service shutdown
- safer unix socket allocation
- minor CS
- more validations for user configs
- Makefile added
- higher performance
- worker.State.Updated() has been removed in order to improve overall performance
- staticPool can automatically replace workers killed from outside
- server would not attempt to rebuild static pool in case of reoccurring failure
- PSR-7 server
- file uploads
- service container and plugin based model
- RPC server
- better control over worker state, move events
- static files server
- hot code reload, interactive workers console
- support for future streaming responses
- much higher tests coverage
- less dependencies
- yaml/json configs (thx viper)
- CLI application server
- middleware and event listeners support
- psr7 library for php