沈唁
38f5c873d1
Update index.html ( #2841 )
2020-11-20 21:30:38 +08:00
李铭昕
44b8a342d2
Added usage for trait snowflake. ( #2838 )
2020-11-20 14:13:56 +08:00
李铭昕
63c71a4476
Fixed bug that amqp connection always be closed by client. ( #2831 )
...
* Fixed bug that amqp connection always be closed by client.
* Update CHANGELOG-2.0.md
2020-11-19 19:44:59 +08:00
Reasno
a367ae999a
fix: safely finish spans in case of exception
...
also make tracing aspects usable in CLI mode.
2020-11-19 17:16:52 +08:00
Donjan
09bbe7a51f
Added donjan-deng/hyperf-casbin into awesome-components. ( #2829 )
...
Co-authored-by: Donjan <Donjan@cqbaobao.cn>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-19 17:12:49 +08:00
李铭昕
c0d457d801
Optimized Hyperf\Server\ServerConfig
which return type of __set
should be void. ( #2827 )
...
* Optimized return type of `__set` should be void.
* Update CHANGELOG-2.0.md
2020-11-19 15:54:35 +08:00
zxyfaxcn
9a01e9455a
Optimized nacos process which can stop safely. ( #2805 )
...
* Fixed 心跳、配置获取进程\协程安全退出
* Added 协程服务模式服务注册、摘除
* Fixed 多个服务停服时只运行一次nacos服实例注销处理
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-18 19:28:43 +08:00
武杰
834b582c93
Changed the result from PaginatorInterface
to LengthAwarePaginatorInterface
for method paginate()
. ( #2824 )
...
* Changed the result from `PaginatorInterface` to `LengthAwarePaginatorInterface` for method `paginate()` in `Hyperf\Database\Query\Builder`.
* Added method `simplePaginate()` which return `PaginatorInterface` in `Hyperf\Database\Query\Builder`.
* Added test cases .
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-18 18:39:52 +08:00
Dleno
a9b3dde8f7
Optimized the exceptions thrown by Json
and Xml
. ( #2821 )
...
* 统一InvalidArgumentException错误抛出及捕获
* Added test cases.
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-18 09:38:14 +08:00
武杰
6a4fbc8044
Fixed amqp consumer does not works when using fanout exchange. ( #2820 )
...
* amqp 类型fanout情况下 routing_key不存在的情况
* Update CHANGELOG-2.0.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-17 16:02:10 +08:00
Fangx
d5f7d289ad
Docs: Use hyperf/view-engine instead of duncan3dc/blade for blade engine ( #2818 )
...
* docs: 推荐 hyperf/view-engine 视图组件
* Update view.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-17 15:52:01 +08:00
沈唁
3ed2cef159
Mirror to Gitee Repo ( #2819 )
2020-11-17 14:39:12 +08:00
李铭昕
30162cbe30
v2.0.19 ( #2817 )
...
* v2.0.19
* Update changelog.md
2020-11-17 10:40:30 +08:00
张城铭
49705d8be8
Fixed Middleware does not work as expected when repeatedly configured ( #2807 )
...
* Fixed Middleware does not work as expected when repeatedly configured
* changelog
Co-authored-by: zhangchengming@kkguan.com <b8h5zr2hj0>
2020-11-17 10:20:34 +08:00
李铭昕
95ea06b30b
Fixed response body does not exists when bad request. ( #2803 )
...
* Fixed response body does not exists when bad request.
* Update JsonParser.php
* Update CHANGELOG-2.0.md
2020-11-13 15:09:11 +08:00
pandaLIU
3e8363f32f
update session config expire_minutes to cookie_lifetime ( #2802 )
2020-11-13 09:40:09 +08:00
SparkLee
29e15dec15
fix typo ( #2795 )
2020-11-12 11:38:24 +08:00
pandaLIU
f606b0efc7
Added options.expire_minutes
for hyperf/session
. ( #2794 )
...
Added `options.expire_minutes` for `hyperf/session`
you can use it to control the expire time for cookies.
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-12 10:07:04 +08:00
李铭昕
6e6c77c9d9
Fixed config-etcd does not works in coroutine style server. ( #2790 )
...
* Fixed config-etcd does not works in coroutine style server.
* Update CHANGELOG-2.0.md
2020-11-11 12:06:59 +08:00
pandaLIU
f092abb0c4
Use elastic index
instead of type
for searchableAs
. ( #2750 )
...
Use elastic `index` instead of `type` for `searchableAs`, when the config of `index` is `null` or the elastic version is more than `7.0.0`.
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-10 18:38:58 +08:00
bytehello
72fbb8f3b8
fix call Non-static method statically ( #2788 )
...
* fix call Non-static method (__handlePropertyHandler) statically
* Fixed test cases.
* Update CHANGELOG-2.0.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-10 15:52:13 +08:00
李铭昕
56064931e3
Fixed nsq consumer does not works in coroutine style server. ( #2783 )
...
* Fixed nsq consumer does not works in coroutine style server.
* Update CHANGELOG-2.0.md
2020-11-10 00:03:23 +08:00
李铭昕
deeac8fd8d
Upgrade 2.0 to 2.1 for view-template. ( #2782 )
2020-11-09 19:06:18 +08:00
李铭昕
a24f7dc49a
Fixed ci
2020-11-09 18:41:21 +08:00
李铭昕
84ac3f0a0d
Merge branch 'master' into 2.1-merge
...
# Conflicts:
# README.md
# src/amqp/src/Message/ConsumerMessageInterface.php
# src/utils/src/Coroutine/Concurrent.php
# src/websocket-server/src/Server.php
2020-11-09 18:25:43 +08:00
李铭昕
2b29ba5905
v2.0.18 ( #2780 )
2020-11-09 10:34:24 +08:00
pandaLIU
24a67875ff
Fixed server start failed, when don't publish config of translation. ( #2779 )
...
* fix: fixed translation not config thorw error
* Added test cases.
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-07 16:53:43 +08:00
李铭昕
f3519e58d6
Fixed concurrent does not exists some times. ( #2778 )
...
* Fixed concurrent does not exists some times.
2020-11-07 11:30:19 +08:00
李铭昕
a09339ab8d
Added event WaitTimeout.
2020-11-06 22:43:57 +08:00
李铭昕
4d6ed9982b
Won't throw MaxConsumptionException when the number of consume is more than MaxConsumption.
2020-11-06 22:43:57 +08:00
李铭昕
0a8c8a96ef
Fixed $auth
does not support null
for low version of ext-redis
. ( #2777 )
...
* Fixed `$auth` does not support `null` for low `ext-redis` version.
* Update
* Update RedisTest.php
2020-11-06 15:50:08 +08:00
李铭昕
73e7b79f7d
Update composer.json for watcher. ( #2776 )
2020-11-06 13:40:22 +08:00
李铭昕
7d92c9412c
Optimized guzzle to adapt hyperf engine. ( #2771 )
...
* Optimized guzzle to adapt hyperf engine.
* Update
* Deleted useless code.
* Update PoolHandler.php
2020-11-05 18:41:31 +08:00
李铭昕
f3f77eb263
update doc ( #2769 )
...
* Update di.md
* Update async-queue.md
2020-11-05 16:35:24 +08:00
fsl
c0f4c0c4e5
Fixed memory leak when websocket hande shake failed. ( #2768 )
...
* 修复websocket握手失败不会释放WsContext中set的值而导致内存泄漏的问题
* Update Server.php
* Update CHANGELOG-2.0.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-05 14:59:30 +08:00
李铭昕
28ed50180b
Use Hyperf\Utils\Coroutine::create()
instead of Swoole\Coroutine::create()
for Concurrent. ( #2765 )
...
* Update Concurrent.php
* Update CHANGELOG-2.0.md
2020-11-05 12:42:11 +08:00
pandaLIU
27bd358783
updated communication.md ( #2763 )
...
* updated doc
* updated communication.md
2020-11-05 10:53:28 +08:00
李铭昕
05da0fa108
Removed doctrine/common ( #2760 )
2020-11-04 09:42:28 +08:00
李铭昕
c143782b2e
Middleware of options should be replaced by Annotation @Middleware. ( #2755 )
2020-11-03 16:33:34 +08:00
李铭昕
9a56e44079
Fixed options
will be replaced sometimes.
...
* When `@Controller` has more than one `@Mapping`.
* When on method has more than one `@Mapping`.
2020-11-03 12:06:15 +08:00
李铭昕
e2c46dd172
Support options for @AutoController
...
...
* Support options for `@AutoController`
* Support options for `@Controller`
* Support options for `@Mapping`
2020-11-03 12:06:15 +08:00
李铭昕
a51e20996d
v2.0.17 ( #2738 )
2020-11-02 13:11:45 +08:00
李铭昕
46145a6904
Only execute task in the worker process. ( #2746 )
...
* Only execute task in the worker process.
* Update CHANGELOG-2.0.md
* Update AfterWorkerStartListener.php
2020-11-01 19:55:11 +08:00
沈唁
7cf0d5894c
Add Memory Leak Detection Middleware to Swoole Tracker ( #2747 )
2020-11-01 18:16:44 +08:00
ren-jimmy
8f33ddbdf9
Support json-rpc for tracer component. ( #2625 )
...
* Update SpanStarter.php
* Added JsonRpcAspect.
Co-authored-by: jimmy <you@example.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-10-31 20:42:41 +08:00
weskiller
a044700936
Format code. ( #2739 )
...
* Fixed GenerateModelIDEVisitor scope arguments
* Format code.
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-10-31 16:06:50 +08:00
李铭昕
2e7a349b51
Optimized code of concurrent to adapt hyperf engine. ( #2742 )
2020-10-31 12:29:27 +08:00
李铭昕
5cab34c07b
Fixed bug that process does not works in swow server. ( #2741 )
...
* Fixed bug that process does not works in swow server.
* Update CHANGELOG-2.1.md
2020-10-31 10:49:05 +08:00
李铭昕
199a6e2324
Added view-engine component. ( #2737 )
...
Co-authored-by: nfangxu <nfangxu@gmail.com>
2020-10-30 16:33:16 +08:00
Fangx
d0db944c9b
Upgrade the version for jonahgeorge/jaeger-client-php to adapt composer v2 ( #2725 )
2020-10-29 18:19:06 +08:00