From 2028b1495e7641bd063f46f3f9a10f517acd156e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=93=AD=E6=98=95?= <715557344@qq.com> Date: Wed, 7 Aug 2019 17:33:41 +0800 Subject: [PATCH] Update Changelog.md --- CHANGELOG.md | 7 +++++++ src/database/src/Connection.php | 1 + 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c4e741c56..1d4076535 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/database/src/Connection.php b/src/database/src/Connection.php index 5729d5bcd..d6f1770f0 100755 --- a/src/database/src/Connection.php +++ b/src/database/src/Connection.php @@ -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); }