Commit Graph

143 Commits

Author SHA1 Message Date
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
李铭昕
acdb2940b4 Fixed bug that the injected property will be replaced by injected property defined in trait. 2021-03-19 14:39:44 +08:00
李铭昕
075f941e81
Fixed bug that super globals does not work when request don't persist to context. (#3380) 2021-03-17 16:42:19 +08:00
李铭昕
be84b0a892
v2.1.10 (#3366) 2021-03-15 09:48:32 +08:00
李铭昕
a4dd9c37aa
Optimized code for guessing the return type for custom caster when using gen:model. (#3367) 2021-03-14 17:49:28 +08:00
李铭昕
8963a78b73
Shouldn't write pid to the file when pid_file is not configured for coroutine style server. (#3365)
* Shouldn't write pid to the file when the config of pid_file is not configured.

* Update async-queue.md
2021-03-14 13:29:35 +08:00
李铭昕
af2c639bb1
Optimized phar:build that you can run phar without php. (#3364)
such as `./composer.phar` instead of `php composer.phar`
2021-03-13 21:11:10 +08:00
李铭昕
933e762974
Fixed constants which defined in bin/hyperf.php does not works.. (#3363) 2021-03-12 20:14:44 +08:00
李铭昕
164f883575
Fixed bug that could't get the valid uri when using Hyperf\Testing\Client. (#3356) 2021-03-11 20:52:50 +08:00
wdaglb
2ef0670d01
Fixed bug that FormRequest could't get the changed data from Context. (#3351)
* Added test cases

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-03-10 11:27:01 +08:00
李铭昕
3f26863692
Fixed bug that Arr::forget failed when the integer key does not exists. (#3348)
* Fixed bug that Arr::forget failed when the integer key does not exists.

* Added test cases
2021-03-08 18:32:08 +08:00