docs/en/changelog/1.0.md
Coroutine\Http2\Client->send failed.getReturnType failed, when the name is not equal of service.di:init-proxy) will connect to redis server and wait timeout.GrpcClientException, when BaseClient::start failed.-3;Hyperf\Grpc\Parser::parseResponse returns a non-standard error code for grpc.restoring and restored of trait SoftDeletes.read and write of Hyperf\Amqp\Connection\SwooleIO.redirect of Hyperf\HttpServer\Response.Hyperf\WebSocketServer\CoreMiddleware.Hyperf\Server\ServerInterface::SERVER_TCP as deprecated, will be removed in v1.1.download() method of Hyperf\HttpServer\Contract\ResponseInterface.fillable argument of Model when use refresh-fillable option, at the same time, the command will keep the fillable argument as default behaviours.app_name.Hyperf\Utils\Coroutine::parentId() static method in non-coroutine context will return null.Hyperf\Database\Schema\Schema.AuthController.vendor:publish command, if the destination folder exists, then will not repeatedly create the folder.Hyperf\Guzzle\CoroutineHandler does not support array parameter.Hyperf\HttpServer\HttpServerFactory, Hyperf\JsonRpc\HttpServerFactory, Hyperf\JsonRpc\TcpServerFactory as deprecated, will be removed in v1.1.Hyperf\Server\Listener\InitProcessTitleListener to init th process name, also added Hyperf\Framework\Event\OnStart and Hyperf\Framework\Event\OnManagerStart events.db:model does not works in MySQL 8.\Serializable, call serialize() and unserialize() functions failed.ExceptionHandler that user defined does not works, because the framework has handled the exception automatically.Hyperf\GrpcClient\BaseClient, and added default content-type application/grpc+proto to the Request object, also allows the grpc client that user-defined to override the buildRequest() method to create a new Request object.Hyperf\Contract\CompressInterface, will compress the job to a small object automatically.$enableCache is true.Collection and Model, if the object implemented Hyperf\Contract\CompressInterface, then the object could compress to a small one by call compress method.@var Object[] on the method.Hyperf\Contract\IdGeneratorInterfacehyperf/cache.make function accept index-based array as parameters.| Before | After |
|---|---|
| Hyperf\Database\Commands\Ast\ModelUpdateVistor | Hyperf\Database\Commands\Ast\ModelUpdateVisitor |
| Hyperf\Di\Aop\ProxyClassNameVistor | Hyperf\Di\Aop\ProxyClassNameVisitor |
| Hyperf\Di\Aop\ProxyCallVistor | Hyperf\Di\Aop\ProxyCallVisitor |
Hyperf\Tracer\Middleware\TraceMiddeware, only appears in openzipkin/zipkin v1.3.3+.ProviderConfig::load will convert a string to a array when the dependencies has the same key in deep merging.$key of method Arr::set not support int and null.$ttl in annotation Cacheable and CachePut into int.$default is not work in method Request::header.$key of method Arr::get not support int and null.RequestMapping::$methods, @RequestMapping(methods={"GET"}) and @RequestMapping(methods={RequestMapping::GET}) are available now.Hyperf\Utils\Contracts\Arrayable result of Request to Response automatically, and added text/plain content-type header for string Response.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.WorkerStrategy as the default crontab strategy.grpc-server and optimized code.go.$times of retry() function, means the retry times of the callable function.has() method of Hyperf\Di\Container, if pass a un-instantiable object (like an interface) to $container->has($interface), the method result is false now.ssl_key and cert of guzzle client does not work expected.hyperf/constants.$delay parameter for DriverInterface::push, and marked DriverInterface::delay method to deprecated.Router::addGroup.server property from Router options.enableCache to DefinitionSource to enable annotation cache.Model created by command db:model.hyperf/di, hyperf/command and hyperf/dispatcher.hyperf/websocket-server.db:model.creating, updating ... not work expected.flushContext not work expected for testing.