Commit Graph

291 Commits

Author SHA1 Message Date
zxyfaxcn
9a9ee695d0
Fix typo (#3282)
* Optimized 改正变量单词拼写

* Update SignalManager.php

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-02-19 19:18:45 +08:00
tegic
b8eb394d95
Fixed memory leak for join queries in hyperf/database. (#3222)
* Fix join clause memory leak

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-28 11:36:17 +08:00
李铭昕
0acc0f1834
Fixed json-rpc client failed to receive data when the target server restart. (#3179)
* Fixed json-rpc client failed to receive data when the target server restart.

* Update CHANGELOG-2.0.md

* Update composer.json
2021-01-22 17:13:09 +08:00
李铭昕
51f4c5e96b
Fixed memory leak when using pipeline sometimes. (#3087)
* Fixed pipeline memory leak some times.

* Update CHANGELOG-2.0.md
2021-01-08 13:04:56 +08:00
李铭昕
c8912644e5
Fixed bug that renew sid in all namespaces failed. (#3047)
* Fixed bug that renew sid in all namespaces failed.

* Update CHANGELOG-2.0.md

* Added test cases.
2020-12-29 10:30:38 +08:00
李铭昕
1e7e90b397
v2.0.25 (#3036) 2020-12-27 12:18:26 +08:00
李铭昕
be216b584c Format code 2020-12-27 10:57:08 +08:00
谷溪
d44b6dc7fc
fix: log and tag Throwable in a span (#3011)
* fix: log and tag Throwable in a span

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-27 10:38:09 +08:00
李铭昕
53a3060f49
Added method ProceedingJoinPoint::getInstance() to get instance which will be called by AOP. (#3030)
* Added method `ProceedingJoinPoint::getInstance()` to get instance which was cut by AOP.

* Update CHANGELOG-2.0.md

* Added test cases.
2020-12-26 09:47:58 +08:00
李铭昕
0a6ba00cc5
v2.0.24 (#2989)
* Optimized code for Arr.

* Update changelog.md
2020-12-21 09:46:38 +08:00
李铭昕
358117a08e
Fixed Arr::merge() does not works when $array1 is empty. (#2993)
* Fixed `Arr::merge()` does not works when `$array1` is empty. 

* Update CHANGELOG-2.0.md
2020-12-19 10:54:07 +08:00
李铭昕
81f4e62a6d
Optimized requirement for hyperf/validation (#2992)
* Removed devtool from validation.

* Update CHANGELOG-2.0.md
2020-12-18 22:20:11 +08:00
李铭昕
9c870b8b94
Fixed swoole hook flags does works for co server. (#2983)
* Fixed swoole hook flags does works for co server.

* Update CHANGELOG-2.0.md
2020-12-16 15:13:26 +08:00
沈唁
99e1f4e198
Fixed bug that hyperf/snowflake is broken due to missing hyperf/contract. (#2980)
* Update snowflake dependencies

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-16 09:47:21 +08:00
沈唁
5e60a43ac7
Support custom HTTP status code. (#2973)
* Support for custom HTTP status code

* Update test

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-15 20:35:28 +08:00
李铭昕
1257b1f79f
v2.0.23 (#2962) 2020-12-14 10:17:24 +08:00
motian
481b3bd6ed
Removed onStart event from server default callbacks when the mode is SWOOLE_BASE. (#2963)
* Optimized Server defaultCallbacks

* Format code.

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-12 19:45:44 +08:00
沈唁
28fa61c687
Added NoneEngine as the default engine of view config (#2958)
* Changed default engine of view config

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-11 16:21:12 +08:00
zxyfaxcn
e04811fea8
Fixed bug that nacos config center does not works in coroutine server. (#2952)
* Fixed bug that nacos config center does not works in coroutine server

* Update CHANGELOG-2.0.md

Co-authored-by: DESKTOP-RPFQ2JN\pc <pc@hitotech.cn>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-10 18:33:52 +08:00
黄朝晖
7c8c3ff272
Hide Swoole\ExitException trace message in command (#2953)
* Hide Swoole\ExitException trace message in command

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-10 17:09:22 +08:00
minxinqing
4374c04d6f
Optimized code for model-cache, which will delete model cache only once, when using it in transaction. (#2951)
* Optimized code for model-cache, which will delete model cache only once, when using it in transaction.

* Added test cases.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-10 13:45:35 +08:00
李铭昕
4a762c9e98
Changed config file scout.php which search engine index is used as the model index name by default. (#2934)
* Update the default config file for scout.

* Update CHANGELOG-2.0.md
2020-12-08 11:24:30 +08:00
李铭昕
b556e34bee
v2.0.22 (#2932)
Co-authored-by: 沈唁 <52o@qq52o.cn>
2020-12-07 14:02:00 +08:00
黄朝晖
9360b67c5f
Pass controller instance as first argument to method_exists function not the class namespace string (#2931)
* Pass controller instance as first argument to method_exists function not the class name

* Update CHANGELOG-2.0.md

* Added test cases.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-07 10:26:24 +08:00
李铭昕
2f3151d7ce
Upgrade the minimum version of php-amqplib to v2.9.2. (#2930)
* Upgrade the minimum version of amqplib to 2.9.2

* Update CHANGELOG-2.0.md
2020-12-06 14:58:12 +08:00
weskiller
1d4474fde8
Added method count() for Parallel. (#2921)
* Added method `count()` for `Parallel`.

* Format code.

* Added test cases.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-06 14:38:02 +08:00
pandaLIU
b5ff8f1ee1
Fixed validation rule alpha_dash does not support int. (#2927)
* Updated validation.md

* Fixed validation rule `alpha_dash` does not support `int`.

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-06 13:56:26 +08:00
沈唁
985f45de28
Disable the daemonize when use watcher (#2918)
* Disable the daemonize when use watcher

* Update CHANGELOG-2.0.md

* Update view-engine.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-03 19:06:02 +08:00
李铭昕
a83c3ebe3b
Fixed bug that worker will be stoped when onMessage or onClose failed in websocket server. (#2915)
* Fixed bug that worker will be stoped when `onMessage` or `onClose` failed in websocket server.

* Update CHANGELOG-2.0.md
2020-12-03 14:01:53 +08:00
李铭昕
1c7450fd72
Fixed memory leak when using with() for ORM. (#2913)
* Fixed memory leak when using `with()` for ORM.

* Update CHANGELOG-2.0.md
2020-12-03 10:36:00 +08:00
nfangxu
4ac479a607 docs: Add changelog.
perf: Use strongly typed.

perf: Use strongly typed.

fix: fix phpstan
2020-11-30 18:58:23 +08:00
李铭昕
fd70d76a82
v2.0.21 (#2892)
* v2.0.21

* Update changelog.md
2020-11-30 10:34:11 +08:00
Fangx
c9ff54bbb4
[performance] Optimize hyperf/scout, add --chunk and --column|c options to the scout:import command (#2883)
* perf: Optimize scout, use chunkById() instead of chunk()

* feat: Add `--chunk` and `--column|c` options to the scout:import command

* Update phpunit.xml

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-30 10:25:08 +08:00
pandaLIU
f31c14d73c
Added config file for crontab (#2891)
* Added config file for crontab

* Updated CHANGELOG-2.0.md

*  Format code

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-29 10:59:46 +08:00
李铭昕
c4d12d1e06 Added test cases for nsq. 2020-11-26 10:21:07 +08:00
李铭昕
f673bb6995
Update CHANGELOG.md (#2866) 2020-11-25 20:36:31 +08:00
李铭昕
c360e79d7b
Added option no-restart for watcher. (#2875) 2020-11-25 20:23:49 +08:00
李铭昕
d026b98134
Fixed scan.ignore_annotations does not works when using watcher. (#2874) 2020-11-25 19:54:22 +08:00
ijackwu
62d313f139
Optimized code for watcher (#2785)
Co-authored-by: ijackwu <xiaowu365@gmail.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-25 19:22:40 +08:00
沈唁
5ae997c464
Fixed namespace for documents. (#2869)
* Fix namespace

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-25 18:10:31 +08:00
李铭昕
f18bd01b5e
Optimized code for guzzle sink, which support resource not only string. (#2868)
* Optimized code for guzzle sink, which support resource not only string.

* Update CHANGELOG-2.0.md
2020-11-25 16:39:25 +08:00
iBllex
1e6fbbc27c
Support Consul ACL Token for Service Governance. (#2857)
* feat: service governance support consul ACL token

* Format code.

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-24 15:28:24 +08:00
李铭昕
d158f2975c
Optimized guzzle coroutine handler which throw exception when the status code below zero. (#2861) 2020-11-24 14:08:54 +08:00
李铭昕
b154bca0a3
Changed default engine of view config. (#2851)
* Fixed typo.

* Update default config of view.

* Update CHANGELOG-2.0.md
2020-11-23 15:28:53 +08:00
李铭昕
7c601604a2
v2.0.20 (#2830)
* v2.0.20

* Update changelog.md
2020-11-23 09:18:44 +08:00
李铭昕
8b37f778b9 Fixed database connection has already been bound to another coroutine when used in defer. 2020-11-22 19:25:04 +08:00
Ludy
b9e9c07e26
Optimized comments for Hyperf\Database\Schema\ColumnDefinition. (#2839)
* Add parameter prompt

* Optimized comments for ColumnDefinition.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-21 10:53:48 +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
李铭昕
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