Commit Graph

6324 Commits

Author SHA1 Message Date
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
李铭昕
5beb35bb57
Update docs for etcd (#3304) 2021-02-24 14:17:31 +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
李铭昕
da7d912805 Fixed mount failed 2021-02-22 06:25:08 +08:00
李铭昕
bb54eccae1 Test phar in Github Actions 2021-02-22 06:25:08 +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
李铭昕
9678155127
Fixed undefined variable argv (#3295)
* Fixed undefined variable argv

* Update PharBuilder.php
2021-02-21 13:26:55 +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
cexll
d5382e7eb8
Update rate-limit.md (#3279)
Co-authored-by: sy-records <52o@qq52o.cn>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-02-19 18:58:33 +08:00
沈唁
bb3ed4815c
Add translate docs action (#3276)
* Add translate docs action

* Remove push

Co-authored-by: sy-records <sy-records@users.noreply.github.com>
2021-02-19 12:53:50 +08:00
shixuefeng
67769ad9bb
Fixed bug that rename column name failed when using doctrine/dbal. (#3272)
Co-authored-by: shixuefeng <shixuefeng@shopex.cn>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-02-18 19:46:39 +08:00
pandaLIU
696d627519
Set different client ids based on different kafka consumers. (#3258)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-02-18 19:04:12 +08:00
pandaLIU
ce1eb7091d
Added support for kafka consumers to subscribe to multiple topics. (#3268)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-02-18 18:24:16 +08:00
江湖大牛
67393b088e
docs: update docs (#3271) 2021-02-18 17:48:07 +08:00
李铭昕
ace7be91b1
Added Hyperf\Utils\Reflection\ClassInvoker. (#3267)
Added `Hyperf\Utils\Reflection\ClassInvoker` which you can used to execute non public methods or get non public properties.
2021-02-16 11:27:03 +08:00
李铭昕
9b04755d89
Removed useless code (#3265) 2021-02-16 09:04:48 +08:00
李铭昕
08d1d3b253
Added method Pipeline::handleCarry() which to handle the returning value. (#3261)
* Rearranged Pipe returning value to be handled by a hook.

* Added test cases.

* Update CHANGELOG-2.1.md
2021-02-13 17:52:59 +08:00
李铭昕
32979f2212
v2.1.6 (#3257) 2021-02-08 14:23:40 +08:00
李铭昕
d9b73cb71b
Fixed bug that defer cannot be triggered in nsq consumer. (#3255)
* Fixed bug that `defer` cannot be triggered in nsq consumer.

* Update CHANGELOG-2.1.md

* Update ContainerStub.php
2021-02-07 15:17:18 +08:00
李铭昕
1d0213fbaf
No need to install composer (#3250) 2021-02-06 10:50:14 +08:00
pandaLIU
90aa413856
Updated kafka.md (#3244) 2021-02-05 11:19:35 +08:00
李铭昕
bc56f93c5c
Optimized hyperf/kafka which won't make a new producer to requeue message. (#3249) 2021-02-05 11:18:15 +08:00
pandaLIU
99fe12a9aa
Fixed autoCommit does not works when you set false for hyperf/kafka. (#3245)
* Fixed `autoCommit` does not works when you set `false` for `hyperf/kafka`.

* Format code

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-02-05 10:51:04 +08:00
谷溪
1b3a68b484
Backport upstream change from longyan/phpkafka (#3247)
see https://github.com/longyan/phpkafka/pull/22
2021-02-05 09:49:25 +08:00
jan
ca5c22cd65
Optimized config of cos for hyperf/filesystem. (#3239)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-02-03 16:29:12 +08:00
pandaLIU
e203ac5156
Removed rebalance check (#3235)
* Removed rebalance check

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-02-03 09:55:04 +08:00
李铭昕
a3f52abd78
Fixed connection exhausted, when connect amqp server failed. (#3233)
* Fixed connection exhausted, when connect amqp server failed.

* Update CHANGELOG-2.1.md
2021-02-01 13:43:16 +08:00
李铭昕
aa8218ab4b
v2.1.5 (#3232) 2021-02-01 11:18:42 +08:00
李铭昕
3629fafeef
Fixed orderBy does not works for scout. (#3230)
* Fixed orderBy does not works for scout.

* Added Test Cases
2021-01-31 13:11:26 +08:00
李铭昕
80830d726f
Fixed bug that server crash when tracer flush failed in defer. (#3228)
* Fixed bug that server crash when tracer flush failed in defer.
* Update CHANGELOG-2.1.md
2021-01-30 19:47:11 +08:00
李铭昕
0bfb89fa1c Format code 2021-01-30 16:08:16 +08:00
李铭昕
29eb4e86d5 Upgrade jean85/pretty-package-versions to v2.0 2021-01-30 16:08:16 +08:00
李铭昕
226e513b6d Added Hyperf\Utils\CodeGen\Package::getPrettyVersion(). 2021-01-30 16:08:16 +08:00
tw2066
0ec731f1ca
Run pagination count as subquery for group by and havings. (#3226)
* Run pagination count as subquery for group by and havings

* Added Test cases.

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-29 14:33:59 +08:00
李铭昕
efbb753d34
change the php version for docs. (#3225) 2021-01-29 11:32:57 +08:00
刀刀
7d32ef4780
Added optional configuration url for nacos which used to request nacos server. (#3211)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-28 12:02:54 +08:00
李铭昕
1f40236e35 Format code 2021-01-28 11:44:57 +08:00
李铭昕
5ae4f63832 Merge branch '2.0' into 2.0-merge 2021-01-28 11:44:03 +08:00
tegic
b8eb394d95
Fixed memory leak for join queries in hyperf/database. (#3222)
* Fix join clause memory leak

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-28 11:36:17 +08:00
李铭昕
3235820803
Optimized code for closing amqp connection (#3219) 2021-01-27 18:23:30 +08:00
李铭昕
4790d69878
Set qos of amqp by default. (#3218)
* Set qos of amqp by default.

* Update CHANGELOG-2.1.md
2021-01-27 17:49:00 +08:00
李铭昕
604e4dd276
Added Caller which help you to use instance in coroutine security mode. (#3214)
* Added Caller which using instance in coroutine security mode.

* Update CHANGELOG-2.1.md
2021-01-27 13:46:44 +08:00
李铭昕
26322cbb62
break consuming when amqp ack failed. (#3213) 2021-01-27 12:53:05 +08:00
李铭昕
8272be2bfe
Fixed bug that connection was not be released to pool when the consumer broken in coroutine style server. (#3209) 2021-01-27 10:10:06 +08:00
刀刀
85d7194c18
Update nacos.md (#3205) 2021-01-26 18:23:49 +08:00
lionXu
b7687d998d
Fixed unexpected behavior for middlewares when using rpc-server. (#3204)
* Fixed unexpected behavior for `middlewares` when using `rpc-server`.

* Added test cases

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-26 15:41:44 +08:00
谷溪
9da13bc9d4
fix: coroutine leak (#3201)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-25 16:44:25 +08:00