Commit Graph

6387 Commits

Author SHA1 Message Date
李铭昕
61fb3e5308 Optimized code 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
李铭昕
9805c75311 Fixed default value of column does not works in model-cache. 2021-04-02 19:24:08 +08:00
ChildEden
9e0876d3a0
Correct the translations on Mar 31, 2021 (#3440) 2021-04-02 12:58:11 +08:00
李铭昕
6aa7f89c6d
Reinstall ext-swoole in github actions 2021-04-02 12:55:30 +08:00
李铭昕
a1d0c71f10 add deprecated to getClientCallbackTimeout() 2021-04-01 09:53:26 +08:00
Reasno
50e8e180df fix: use singleton config 2021-04-01 09:53:26 +08:00
Reasno
cf401ea927 fix: use object 2021-04-01 09:53:26 +08:00
Reasno
20683e3bee fix: cs-fix 2021-04-01 09:53:26 +08:00
Reasno
618d88f2c6 fix: phpstan 2021-04-01 09:53:26 +08:00
Reasno
1c36711db4 fix: invalid interface 2021-04-01 09:53:26 +08:00
Reasno
49b8f4a9cf fix: wrong comment 2021-04-01 09:53:26 +08:00
Reasno
585af00b74 fix: ttl not effective on other workers 2021-04-01 09:53:26 +08:00
ChildEden
7e15d680ce
Translate exception-handler, grpc, and guzzle from zh-cn to en. 2021-03-31 18:19:43 +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
Samuel NELA
73167cd0d9
Fix typos (#3431) 2021-03-31 06:39:02 +08:00
dongasai
8ac71cf05e
Update async-queue.md (#3428) 2021-03-30 09:29:49 +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
李铭昕
6e1ca315ba Removed useless code. 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
黄朝晖
df854050ef
Update process.md 2021-03-25 19:17:10 +08:00
ChildEden
4ad3fd7370
Correct translations on Mar 22, 2021 (#3413) 2021-03-23 18:21:18 +08:00
ChildEden
ee71f2c765
translate doc: controller, devtool, and di (#3407)
Co-authored-by: childeden <1501107351@qq.com>
2021-03-22 17:53:42 +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
pandaLIU
96edeb776f
docs: add generate Unit test coverage docs (#3400) 2021-03-20 18:09:21 +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
Zicai
a7777a2793
Removed useless code 2021-03-19 16:53:19 +08:00
李铭昕
04d06b9ff4 Fixed PHPStan 2021-03-19 15:23:49 +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
李铭昕
d3690a58d7 Merge branch '2.0' into merge 2021-03-19 14:42:18 +08:00
李铭昕
ff7734b470 Update di.md 2021-03-19 14:39:44 +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
李铭昕
8147e34eec Optimized code that property with @Inject or @Value won't be assigned more than once. 2021-03-19 14:39:44 +08:00
assert
62d7b2e17c fix ignore parent private properties 2021-03-19 14:33:32 +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
idx
7fcf0fb99f
Support $connection and $attempts for Transactional. (#3376)
* Added Transactional::$attempts

* Added test cases

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-03-17 15:14:03 +08:00
Zicai
2e9fdd1bff
Update nacos.md (#3377)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-03-16 19:53:43 +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
李铭昕
5327880496
Update paginator.md (#3361) 2021-03-12 17:15:01 +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
李铭昕
2a301ec486
Removed useless code (#3352) 2021-03-10 10:57:06 +08:00