github hyperf/hyperf v1.0.6

latest releases: v3.1.21, v3.1.20, v3.1.19...
4 years ago

Added

  • #203 #236 #247 #252 Added View component, support for Blade engine and Smarty engine.
  • #203 Added support for Swoole Task mechanism.
  • #245 Added TaskWorkerStrategy and WorkerStrategy crontab strategies.
  • #251 Added coroutine memory driver for cache.
  • #254 Added support for array value of RequestMapping::$methods, @RequestMapping(methods={"GET"}) and @RequestMapping(methods={RequestMapping::GET}) are available now.
  • #255 Transfer Hyperf\Utils\Contracts\Arrayable result of Request to Response automatically, and added text/plain content-type header for string Response.
  • #256 If Hyperf\Contract\IdGeneratorInterface exist, the json-rpc client will generate a Request ID via IdGenerator automatically, and stored in Request attibute. Also added support for service register and health checks of jsonrpc TCP protocol.

Changed

  • #247 Use WorkerStrategy as the default crontab strategy.
  • #256 Optimized error handling of json-rpc, server will response a standard json-rpc error object when the rpc method does not exist.

Fixed

  • #235 Added default exception handler for grpc-server and optimized code.
  • #240 Fixed OnPipeMessage event will be dispatch by another listener.
  • #257 Fixed cannot get the Internal IP in some special environment.

Don't miss a new hyperf release

NewReleases is sending notifications on new releases.