v2.1.15
本次更新主要是为了和即将推出的微服务开发统一骨架代码,在 SyncInvoke JsonRpc 两个模块有不兼容改动,大家根据 https://www.kancloud.cn/onanying/mixphp2-1/1555270 升级旧骨架代码。
mix/mix-skeletonhttp 模块拆分为 Api/Web 两个模块mix/mix-skeletonhttp 由原来的通过 $server->handle() 处理请求,修改为 $server->start($this->route) 通过路由类执行mix/route增加 HandlerInterface 实现,同时增加服务注册功能mix/http-messageServerRequest->getHeaders() 方法返回值由 string[] 修改为 string[][]mix/redis-subscribe优化消息处理太慢导致的阻塞问题mix/databasemix/redis增加默认拨号器,无需用户自行定义,可直接依赖注入修改参数