Commit Graph

6871 Commits

Author SHA1 Message Date
李铭昕
04a8057648 Format code 2022-01-17 09:44:56 +08:00
李铭昕
80259c1af8 Added Hyperf\Di\ScanHandler\ScanHandlerInterface. 2022-01-17 09:44:56 +08:00
Rock
2cfb38b5cc
Added Hyperf\Tracer\Aspect\ElasticserachAspect which used to record traces for elasticsearch. (#4453) 2022-01-14 18:21:28 +08:00
wujingke
66403099b6
Fixed bug that view cache generated failed caused by concurrent request. (#4426)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-01-14 13:27:13 +08:00
李铭昕
bcc8827223
Added command gen:view-engine-cache which used to generate cache files in advance. (#4455) 2022-01-14 11:54:28 +08:00
tegic
03d8173e29
Allow sorting on multiple criteria for Hyperf\Utils\Collection. (#4449) 2022-01-13 15:49:44 +08:00
Tall
52094d0fad
Update English document about Annotation.
- Added demo for query builder.
- Added meilisearch client into awesome components.

Co-authored-by: codelin <494020937@qq.com>
Co-authored-by: Alone88 <im@alone88.cn>
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-01-13 12:09:04 +08:00
半桶水
3e44fd5d2a
Added document about how to use cookies for testing client. (#4427)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-01-07 20:12:58 +08:00
李铭昕
89b030a75c
Release v2.2.22 (#4430)
* Release v2.2.22

* Update docs and translate

Co-authored-by: limingxinleo <limingxinleo@users.noreply.github.com>
2022-01-04 12:12:16 +08:00
李铭昕
f69ee1a0e0
Added type hint for Debug::getRefCount() which only support object. (#4429)
* Added type hint for `Debug::getRefCount()` which only support object.

* Update CHANGELOG-2.2.md
2022-01-04 11:56:53 +08:00
ethanzway
cb6ba3753f
Added database handler for session. (#4409)
Co-authored-by: mac <mac@macdeMacBook-Pro.local>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-12-30 18:52:44 +08:00
foxriver1314
3b03facc8e
Support SSL for Hyperf\Amqp\IO\SwooleIO. (#4420)
* 支持亚马逊AMQPS

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-12-30 16:16:01 +08:00
leeyaxing
653f1b60a1
Upgrade the phpunit.xml (#4414) 2021-12-30 11:19:18 +08:00
Rock
f1e89b509e
Added Hyperf\Tracer\Aspect\DbAspect to log db records when using hyperf/db. (#4411)
Co-authored-by: Rock <you@example.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-12-30 11:06:34 +08:00
李铭昕
0e7054c304
Adapt swoole 5.0 by removing swoole classes with PSR-0. (#4406)
* Removed swoole classes with `PSR-0`

* Update CHANGELOG-2.2.md
2021-12-29 11:14:18 +08:00
nirolee
d094b80a0a
Fixed type hint for doc comments about Db::selectOne(). 2021-12-28 17:49:44 +08:00
李铭昕
7cced412b1
Fixed bug that Redis::scan does not work when using redis cluster. (#4399) 2021-12-27 12:47:21 +08:00
Nick
c5515f824b
Fixed bug that AMQPConnection does not adapt php7.3. 2021-12-20 15:11:22 +08:00
沈唁
7e8cff6f71
Use unpkg.com 2021-12-20 13:48:40 +08:00
李铭昕
b473732fbd
Release v2.2.21 (#4375)
Co-authored-by: 沈唁 <52o@qq52o.cn>
2021-12-20 09:14:02 +08:00
codelin
10b23e60b7
Fixed the metadata generation error caused by switching coroutine for snowflake. (#4373) 2021-12-18 12:01:27 +08:00
李铭昕
a7d5f768e9
Use Swoole\Coroutine\Socket in Hyperf\Amqp\IO\SwooleIO. (#4360)
* No longer uses `Swoole\Coroutine\Client`, but uses `Swoole\Coroutine\Socket`, which is more stable and has better performance in `Hyperf\Amqp\IO\SwooleIO`.
2021-12-15 16:18:55 +08:00
李铭昕
2de7c16ba5
Optimized the error message for swoole.use_shortname. (#4350)
* Optimized the error message.

* Update CHANGELOG-2.2.md
2021-12-13 16:49:35 +08:00
沈唁
508272ee2d
Update devtool docs 2021-12-13 15:20:34 +08:00
Deeka Wong
a26a271e20
Support to open the generated file with your IDE automatically. (#4348)
* Optimized docs

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-12-13 14:53:24 +08:00
pandaLIU
cf5c8d49ac
Added FailToExecute event which will be dispatched when executing crontab failed. (#4344)
* Update crontab.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-12-13 14:00:36 +08:00
李铭昕
b9f022ad41
Fixed bug that amqp io has been bound to more than one coroutine when out of buffer. (#4347) 2021-12-13 11:14:24 +08:00
李铭昕
5ad7a23715
Fixed fatal error for declaration when using amqplib 3.1.1 (#4346) 2021-12-13 09:53:18 +08:00
李铭昕
f187577828
Release v2.2.20 (#4342) 2021-12-13 09:35:04 +08:00
slairmy
fded877816
Fixed bug that the path with query params won't match route when using testing client. (#4338)
Co-authored-by: 丁少龙 <dingshaolong@aipai.com>
2021-12-11 17:45:51 +08:00
李铭昕
0fa626cd87
Added method Debug::getRefCount($object). (#4331) 2021-12-10 15:57:48 +08:00
沈唁
eebeea61e7
Support pack vendor/bin files for Phar (#4330)
* Update test-components.yml

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-12-10 13:45:50 +08:00
李铭昕
98e2617b4e
Fixed type hint error for swoole 4.9 (#4319) 2021-12-06 11:17:19 +08:00
李铭昕
e6249fde70
Release v2.2.19 (#4318) 2021-12-06 10:42:11 +08:00
沈唁
fec2c5962b
Upgrade swoole version to 4.8.3 in github actions (#4314)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-12-06 10:15:59 +08:00
chengyao
fec875b116
Fixed document about ide plugin PHP Annotations 2021-12-06 09:48:10 +08:00
cvoid
79582ab798
Improves Hyperf\Utils\Collection and Hyperf\Database\Model\Collection type definitions. 2021-12-06 09:44:39 +08:00
沈唁
0a353eee01
Fix collector-reload file not found when running server:watch with absolute path (#4308)
* Fix Could not open input file: vendor/hyperf/watcher/collector-reload.php

* Update CHANGELOG-2.2.md
2021-12-02 09:30:30 +08:00
Demin Yin
ca4bb3a648
clean up dirname() (#4307) 2021-12-02 09:29:46 +08:00
沈唁
90214aa6ae
Add HTTP Chunk docs (#4300) 2021-11-29 14:36:27 +08:00
李铭昕
c0a839331d
Release v2.2.18 (#4299) 2021-11-29 09:55:47 +08:00
Zelin Ning
7cfc929193
Added alias id() for Hyperf\Database\Schema\Blueprint::bigIncrements(). (#4295)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-27 09:31:04 +08:00
沈唁
aa519afba8
Support run with absolute paths for server:watch (#4293)
* Support run with absolute paths for `server:watch`

* Update CHANGELOG-2.2.md
2021-11-25 14:43:23 +08:00
weskiller
6c7f6d90f6
Support dynamic $arguments for function value(). (#4291)
* Added test cases

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-25 09:43:31 +08:00
沈唁
cc4cf11a4c
Added HTTP chunk support for hyperf/http-message (#4290)
Co-authored-by: 李铭昕 <715557344@qq.com>
Co-authored-by: pandaLIU <563883861@qq.com>
2021-11-24 20:20:55 +08:00
沈唁
019c515ff4
Added method Hyperf\Utils\Network::ip(). (#4284)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-23 17:01:56 +08:00
Leo Cavalcante
6919bf20f9
Fixed type hint error for Hyperf\Grpc\Parser::deserializeMessage() when $response->data is null.
* fix: argument #2 ($value) must be of type string, null given

* Update CHANGELOG-2.2.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-23 12:01:14 +08:00
李铭昕
a963aafd2f
Release v2.2.17 (#4272) 2021-11-22 09:40:18 +08:00
José Carlos Chávez
d38a678ba3
Added PHP8 support for hyperf/tracer. (#4109)
* chore: upgrades to Zipkin Opentracing 2.x.

* chore: fixes zipkin-opentracing version

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-19 09:40:33 +08:00
沈唁
dcaa7601e6
Upgrade swoole version to 4.8.2 in github actions (#4266) 2021-11-17 19:20:49 +08:00