Commit Graph

179 Commits

Author SHA1 Message Date
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
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
李铭昕
7cced412b1
Fixed bug that Redis::scan does not work when using redis cluster. (#4399) 2021-12-27 12:47:21 +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
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
李铭昕
e6249fde70
Release v2.2.19 (#4318) 2021-12-06 10:42:11 +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
李铭昕
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
geteng-zyp
293ac3da4b
Fixed the bug that key sort of the result is inconsistent with $callables for parallel. (#4243)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-16 12:47:00 +08:00
李铭昕
f7cc4cc027
Added force index for hyperf/database. (#4260) 2021-11-16 12:03:12 +08:00
李铭昕
ee98ef979a
Release v2.2.16 2021-11-15 10:27:27 +08:00
沈唁
9a73aa912c
Skip class which is not found by class loader at scan time (#4253)
* Skip class file does not exist at scan time

* Skip class which is not found by class loader at scan time.

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-13 12:35:05 +08:00
李铭昕
e87ace7ab9
Added method getServiceName for rpc client. (#4252) 2021-11-12 19:07:43 +08:00
李铭昕
ddbb3bc240
Release v2.2.15 (#4231) 2021-11-08 09:28:41 +08:00
水煮牛肉
37fc92eea3
Fixed bug that filesystem cache driver does not work when runtime/caches is not a directory.
Co-authored-by: qiq@pvc123.com <qiq@pvc123.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-02 18:34:27 +08:00
Deeka Wong
bcbcc49130
Added Macroable for Hyperf\Utils\Arr. (#4157)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-02 10:30:11 +08:00
李铭昕
8916691f53
Fixed bug that Hyperf\Server\Entry\Logger does not work when using psr/log 3.0. (#4192) 2021-11-01 11:02:11 +08:00
李铭昕
98d41fa7ee
Release v2.2.14 2021-11-01 09:48:56 +08:00
fandaren
59700e8c62
Fixed bug that build phar failed when using composer 1.x. (#4188)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-10-31 12:33:23 +08:00
李铭昕
52fc81267a Added versions (v1.0, v2.0, v3.0) support for psr/log. 2021-10-28 18:13:44 +08:00
小城zjc
8c7dff7dc9
Fixed health check failed when using consul with token. (#4171)
Co-authored-by: zhangruochu <zhangruochu@buptinfo.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-10-26 17:05:36 +08:00
李铭昕
78d60471ad
Release v2.2.13 (#4165) 2021-10-25 09:37:58 +08:00
李铭昕
401a3e5904
Renamed the namespace about macroable component. (#4166) 2021-10-25 09:29:21 +08:00
沈唁
248f599ee9
Removed inactive project sdebug from awesome components. (#4163) 2021-10-22 15:03:47 +08:00
沈唁
d4840c5bc5
Fixed bug that generate proxy class failed when using union type. (#4158)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-10-21 11:36:40 +08:00
李铭昕
4f57ed7208 Added test cases for macroable. 2021-10-21 10:46:42 +08:00
李铭昕
5c841287dd
Release v2.2.12 (#4142) 2021-10-18 09:16:14 +08:00
李铭昕
1760821c73
Fixed validator factory does not support other validators. (#4141)
* Fixed validator factory does not support other validators.

* Update CHANGELOG-2.2.md
2021-10-16 14:37:55 +08:00
weskiller
7ff380f19a
Fixed generate model failed when using option --with-ide and scope methods. (#4130)
* fixed gen:model command

* Update CHANGELOG-2.2.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-10-13 19:33:22 +08:00