Commit Graph

153 Commits

Author SHA1 Message Date
李铭昕
b262874558
Release v2.1.23 (#3803) 2021-07-12 09:13:04 +08:00
chenjian-cpu
4578c371a7
Initialize PSR Response first to avoid problems caused by the failure of building PSR Request. (#3787)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-07-07 16:58:05 +08:00
李铭昕
fe7356b9a9
Release v2.1.22 (#3755) 2021-06-28 09:13:15 +08:00
黄朝晖
bafefe8022
Fixed bug that RequiredIf can be exploited to generate gadget chains for deserialization vulnerabiltiies. (#3724) 2021-06-23 08:33:27 +08:00
黄朝晖
4f2fa87eb9
Fixed the active_url rule for validation in input fails to correctly check. (#3723)
Fixed the active_url rule for validation in input fails to correctly check  dns record with dns_get_record resulting in bypassing the validation

Ref: https://huntr.dev/bounties/2-laravel/framework/
2021-06-23 08:19:26 +08:00
Vinchan
5ad3d649ef
Fixed the in and not in rule for validation in input fails to correctly check in:00 rule when passing 0. (#3721)
Co-authored-by: huangzhhui <huangzhwork@gmail.com>
2021-06-23 08:15:28 +08:00
李铭昕
155b5d2888
Release v2.1.21 (#3719) 2021-06-21 16:07:34 +08:00
fangjianwei
f00a0c659e
Fixed the wrong judgment of counter or duration for circuit breaker. (#3684) 2021-06-07 20:00:41 +08:00
Nash Gao
69ff4eb6cc
Fixed bug that property $workerId does not works in annotation @Task. (#3674) 2021-06-06 15:53:55 +08:00
李铭昕
085f1cd671
Fixed bug that the crontab rule without backslash like 10-12 does not works. (#3669) 2021-06-05 09:55:37 +08:00
pandaLIU
0e5d09e0d6
Fixed rule like 10-12/1,14-15/1 does not works for crontab. (#3667)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-06-04 23:40:31 +08:00
fangjianwei
f846d25424
Fixed undefined index: Port for AbstractServiceClient::getNodesFromConsul(). (#3663)
Co-authored-by: fangjw <fangjw@wecut.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-06-04 14:49:56 +08:00
李铭昕
a0146e53d0
Release v2.1.19 (#3637) 2021-05-31 09:44:47 +08:00
黄朝晖
2c40ec01b7
Added Hyperf\Rpc\PathGenerator\DotPathGenerator. (#3626)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-05-30 12:51:48 +08:00
张城铭
b8d504c6a4
Fixed bug that class_map does not works in Hyperf\Di\Annotation\Scanner. (#3625)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-05-27 19:43:27 +08:00
李铭昕
5eada19fb0
Fixed routes with same path but different methods will be merged when using describe:routes. (#3618) 2021-05-25 12:14:41 +08:00
李铭昕
4234f9d791
Release v2.1.18 (#3613) 2021-05-24 09:46:08 +08:00
SuSuSoo
de7ba7b300
Fixed bug that fromSub() and joinSub() don't work with table prefix. (#3610)
* fix #3602

* Added test cases

Co-authored-by: WeGiao <wegiao@gmail.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-05-21 23:05:07 +08:00
李铭昕
f6e9ff2213
Fixed bug that coroutine won't destruct when using onOpen in coroutine style websocket server. (#3607) 2021-05-21 14:56:36 +08:00
李铭昕
6d97e438c2
Fixed bug that increment/decrement does not works as expect when used in transaction. (#3598) 2021-05-18 21:00:26 +08:00
李铭昕
ebead50863
Release v2.1.17 (#3590) 2021-05-17 14:59:01 +08:00
yansongda
faed954ce4
The enable parameter of the @Crontab supports array, which you can dynamically control whether the task is executed or not. (#3329)
* support crontab annotation `enable` bool or array

* Format code

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-05-15 18:14:24 +08:00
李铭昕
8b13089b12
Fixed bug that coroutine won't destruct for keepalive request in swow server. (#3586) 2021-05-14 12:44:23 +08:00
李铭昕
97b7581bdb
Release v2.1.16 (#3522) 2021-04-26 08:25:52 +08:00
张城铭
b751c00e3a
Fixed @Inject does not works in nested trait. (#3520) 2021-04-26 07:51:58 +08:00
张城铭
1026d99a1b
Optimized code for Hyperf\Di\Aop\PropertyHandlerTrait. (#3517)
Co-authored-by: assert <zhangchengming@kkguan.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-04-24 10:40:56 +08:00
upper1027
6cea3ce4de
Added method Hyperf\HttpServer\Request::clearStoredParsedData(). (#3514)
* Added method `Hyperf\HttpServer\Request::clearStoredParsedData()`.

* Added test cases

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-04-22 16:11:01 +08:00
Dracovish
4be1f519cd
Fixed nats connection closed accidentally when socket timeout is smaller than max idle time. (#3513)
Co-authored-by: Dracovish <1114145341@qq.com>
2021-04-22 13:56:31 +08:00
Nash Gao
f7f4b7e2f6
Fixed bug that consult couldn't force a node into the left state. (#3510)
* modify consul forceLeave request method to PUT

* Fixed bug that consult couldn't force a node into the left state.

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-04-21 19:20:56 +08:00
李铭昕
b04ba5c9ae
Release v2.1.15 (#3497) 2021-04-18 22:51:00 +08:00
李铭昕
4fa2e2367c Added test cases. 2021-04-16 16:49:34 +08:00
李铭昕
0f5737c5c3
Release v2.1.14 2021-04-12 13:03:28 +08:00
李铭昕
7153c2dba8
Added method Sender::getResponse() which you can used to get response from coroutine style server. (#3472) 2021-04-09 19:45:10 +08:00
李铭昕
da7e95c71c
Fixed bug that db connection couldn't be released to pool when using coroutine style websocket server. (#3467) 2021-04-09 14:59:55 +08:00
李铭昕
20f739f1d5
Fixed bug that websocket does not works when exist more than one server in coroutine style. (#3465) 2021-04-09 14:04:26 +08:00
李铭昕
2dd5bc33f2
Release v2.1.13 2021-04-06 09:05:21 +08:00
Hugh
f1a0f3d00f
Optimized phar:build, which can support symlink package. (#3455)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-04-05 18:36:44 +08:00
李铭昕
8e398a6983 Optimized code for releasing instance in Hyperf\Utils\Channel\Caller. 2021-04-04 10:15:05 +08:00
李铭昕
ddf7033254
Fixed bug that @Crontab does not works when used in methods. (#3450) 2021-04-03 17:00:28 +08:00
李铭昕
2aa967ed6b Fixed typo 2021-04-02 19:24:08 +08:00
李铭昕
6aa7f89c6d
Reinstall ext-swoole in github actions 2021-04-02 12:55:30 +08:00
李铭昕
f84e87b474
Fixed bug that the type of rpc result does not support types which allows null. (#3434)
* Fixed bug that the type of rpc result does not support types which allows null.

* Added test cases
2021-03-31 17:52:08 +08:00
李铭昕
570d469ddf
Release v2.1.12 (#3427) 2021-03-29 09:30:55 +08:00
李铭昕
2ad8b906a2 Fixed middleware will be handled twice when used in optional route. 2021-03-28 12:17:37 +08:00
李铭昕
edace35f04
Fixed crontab does not works when worker_num isn't integer. (#3423) 2021-03-27 09:36:05 +08:00
李铭昕
4b9030a8e7
Optimized code for co-phpunit. (#3422) 2021-03-26 22:19:19 +08:00
李铭昕
3fdcf67b8f
Release v2.1.11 (#3404) 2021-03-22 09:48:28 +08:00
李铭昕
d865d564d3
Added method Hyperf\Testing\Client::sendRequest(), you can use your own server request. (#3403) 2021-03-21 18:10:30 +08:00
李铭昕
700c590ed8
Fixed UploadedFile::isValid() does not works in phpunit. (#3398)
* Fixed `UploadedFile::isValid()` does not works in phpunit.

* Update CHANGELOG-2.1.md
2021-03-19 18:18:08 +08:00
李铭昕
4f1134890f Fixed bug that the private property which injected by parent class does not exists in class. 2021-03-19 14:50:04 +08:00