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
李铭昕
48b319e2f0
v2.1.9 ( #3340 )
2021-03-08 09:09:58 +08:00
李铭昕
de9cfcd297
Optimized code for testing
which mock request in an alone coroutine. ( #3338 )
2021-03-06 10:21:36 +08:00
李铭昕
dffe843ba0
Fixed data query error caused by unexpected change of $constraints
by other coroutine. ( #3330 )
2021-03-03 20:07:29 +08:00
yansongda
810e7a4f2b
Added enable
to control the crontab task which to register or not. ( #3325 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-03-02 19:39:31 +08:00
Robert
fb4774f3c5
Fixed bug that unpack
custom data failed when using JsonEofPacker
. ( #3326 )
...
* Fixed Github Actions
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-03-02 19:07:31 +08:00
李铭昕
87922bfe54
v2.1.8 ( #3321 )
2021-03-01 09:34:33 +08:00
李铭昕
89fbcf60ea
Update communication.md ( #3307 )
2021-02-27 14:58:06 +08:00
李铭昕
f5636731a3
Optimized code that get connection from pool. ( #3319 )
2021-02-27 13:31:07 +08:00
李铭昕
5e46eef8da
Allow custom driver which you can used to register your own driver ( #3316 )
...
* Allow custom driver which you can used to register your own driver
* Added test cases
* Update CHANGELOG-2.1.md
2021-02-26 19:09:30 +08:00
李铭昕
65c73ab5f2
Added RouteCollector::getRouteParser
( #3311 )
...
* Added `RouteCollector::getRouteParser`
* Added test cases
2021-02-25 11:53:01 +08:00
wdaglb
2ab4c091a1
Added Blueprint::comment()
which you can set comment of table for migration. ( #3310 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-02-25 10:56:23 +08:00
李铭昕
22e57b8cb9
Send response directly when the handler does not exists. ( #3308 )
2021-02-24 17:56:01 +08:00
Alone88
18b40615f5
Fixed bug that the value of ttl will be converted to 0 when you don't set it. ( #3301 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-02-24 08:36:57 +08:00
李铭昕
4bdf88524f
Release v2.1.7 ( #3284 )
...
Co-authored-by: limingxinleo <limingxinleo@users.noreply.github.com>
2021-02-22 08:56:22 +08:00
李铭昕
b3416884c7
Added option -M
which you can mount external files or dirs to a virtual location within the phar archive for phar:build
. ( #3296 )
2021-02-21 18:36:03 +08:00
Hugh
d465da34d4
Mount external .env
and runtime/hyperf.pid
to a virtual location within the phar archive. ( #3193 )
...
Co-authored-by: wuji <wuji@gaoding.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-02-20 10:22:50 +08:00
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