Update Changelog.md

This commit is contained in:
李铭昕 2019-08-07 17:33:41 +08:00
parent 54e659bd79
commit 2028b1495e
2 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,13 @@
- [#330](https://github.com/hyperf-cloud/hyperf/pull/330) Hidden DI scan message when paths is empty.
- [#328](https://github.com/hyperf-cloud/hyperf/pull/328) Support convert path and namespace from composer psr-4 autoload rules.
- [#329](https://github.com/hyperf-cloud/hyperf/pull/329) Optimized rpc-server and json-rpc component.
- [#349](https://github.com/hyperf-cloud/hyperf/pull/349) Renamed some class.
| 原类名 | 修改后的类名 |
|:----------------------------------------------:|:-----------------------------------------------:|
| 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 |
## Fixed

View File

@ -510,6 +510,7 @@ class Connection implements ConnectionInterface
*/
public function listen(Closure $callback)
{
// FIXME: Dynamic register query event.
if (isset($this->events)) {
$this->events->listen(Events\QueryExecuted::class, $callback);
}