李铭昕
3a55665c47
v2.0.3 ( #2136 )
2020-07-20 15:17:27 +08:00
Reasno
6cf7fe9598
add changelog
2020-07-20 14:10:46 +08:00
李铭昕
d3f14f740c
Fixed bug that ValidationMiddleware
will throw exception in websocket. ( #2139 )
2020-07-20 11:40:32 +08:00
黄朝晖
dee7460d41
Optimized the exception message when the response json encoding failed. ( #2129 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-17 19:00:08 +08:00
黄朝晖
72c231290d
Merge pull request #2017 from cwb2819259/fix_promeuthes_redis_colletcor
...
fix: 修复Prometheus使用redis打点,改变label导致收集报错的问题
2020-07-17 13:42:39 +08:00
黄朝晖
2b9bae8919
Update CHANGELOG-2.0.md
2020-07-17 13:42:21 +08:00
weskiller
35a9782305
Optimized the type of $perPage
from int
to ?int
. ( #2080 )
...
* Optimize builder::paginate argument
* Update CHANGELOG-2.0.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-16 17:18:31 +08:00
逍遥
5a677c7b81
docs: 添加CHANGELOG说明
2020-07-16 14:34:41 +08:00
逍遥
6716310075
merge: branch 'master' into fix_promeuthes_redis_colletcor
2020-07-16 14:32:24 +08:00
李铭昕
d75ace0e34
Fixed bug that redis::call
will be recorded twice. ( #2123 )
...
* Fixed bug that `redis::call` will be recorded twice.
* Update CHANGELOG-2.0.md
2020-07-16 13:41:54 +08:00
李铭昕
d8c175585b
Format code. ( #2122 )
2020-07-15 17:05:45 +08:00
李铭昕
75b9384996
Fixed @Inject
will be useless sometimes when using server:watch
. ( #2117 )
2020-07-15 10:59:36 +08:00
李铭昕
f1d666ff22
Optimized requirement for di. ( #2116 )
...
* Optimized requirement for di.
* Only format code.
2020-07-14 17:58:29 +08:00
谷溪
4835335987
feat: Add snowflake trait for database model. ( #2112 )
...
* feat: Add snowflake trait for database model.
* doc: reword snowflake
* doc: reword snowflake
* doc: Add changelog
* refactor: rename HasSnowflake to Snowflake
2020-07-14 17:56:00 +08:00
nfangxu
51cde09441
Added SIGINT
listened by Hyperf\Signal\Handler\WorkerStopHandler
. ( #2082 )
...
* listen SIGINT
* ctrl+c do not need sleep
* Update CHANGELOG-2.0.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-14 13:53:22 +08:00
沈唁
c88949fc3e
Don't kill SIGTERM
if the process not exists. ( #2110 )
...
* Added check if the process exists to `hyperf/watcher`
* Format code.
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-14 13:42:37 +08:00
沈唁
2b143cf1ca
Added flysystem-cos for hyperf/filesystem
( #2097 )
...
* Added flysystem-cos for `hyperf/filesystem`
* Update CHANGELOG-2.0.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-13 19:52:01 +08:00
李铭昕
90992d6dd1
v2.0.2 ( #2099 )
2020-07-13 13:21:16 +08:00
黄朝晖
8698275f0d
Merge pull request #2100 from limingxinleo/2.0-utils
...
Upgrade `doctrine/inflector` to `^2.0`.
2020-07-13 13:03:22 +08:00
黄朝晖
6bc48a5a3f
Merge pull request #2018 from cwb2819259/feat_prometheus_redis_support_cluster
...
feat: 新增prometheus使用redis打点支持Redis集群
2020-07-12 22:55:56 +08:00
李铭昕
b3295c89a9
Upgrade doctrine/inflector to 2.0
2020-07-12 19:56:42 +08:00
zonghay
6e09a80501
Server adds the OnWorkerExit callback by default ( #1860 )
...
* Server adds the OnWorkerExit callback by default
由于CoordinatorManager是根据OnWorkerExit回调来执行的,默认Server是不带这个回调的,server.php也没有配置。
* Update CHANGELOG-2.0.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-12 13:08:09 +08:00
沈唁
9490696950
Fixed type error for command vendor:publish
. ( #2093 )
...
* fix return value type error
* Format code.
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-11 15:01:02 +08:00
沈唁
819523e13b
Adapte original response object. ( #2090 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-11 09:37:15 +08:00
李铭昕
bcc60f5ded
Fixed class of command won't be loaded after gen:command
. ( #2089 )
2020-07-10 17:49:18 +08:00
Reasno
5759f59966
chore: update CHANGELOG-2.0.md
2020-07-10 12:26:39 +08:00
沈唁
dd1eaeab20
Fixed bug that syntax parse error will cause worker exceptions ( #2067 )
...
* Optimization syntax parse error causing worker exceptions
* Format code.
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-08 14:15:22 +08:00
Littlesqx
984d1e7cc9
Fixed guzzle auto add header Expect: 100-Continue
when put a large file. ( #2055 )
...
* Fixed guzzle auto add header when put a large file.
* Added `rewriteHeaders` which can rewrite headers.
* Added test cases for expect.
Co-authored-by: Littlesqx <littlesqx@LittlesqxdeMacBook-Pro.local>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-07 15:50:52 +08:00
谷溪
942517a472
Fixed redis reconnection bug in socket.io server. ( #2059 )
...
* use sender to close connection
* reconect to mix subscriber after a disconnection
* fix phpstan complaints"
* add CHANGELOG-2.0.md. use disconnect method in sender.
Co-authored-by: 沈唁 <52o@qq52o.cn>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-07 14:34:23 +08:00
李铭昕
ab1094a30b
Changed sender which only support push
and disconnect
. ( #2065 )
...
* Changed sender which only support `push` and `disconnect`.
* Added document.
2020-07-07 13:26:34 +08:00
逍遥
44915d0ad1
fix: 修复Prometheus打点使用redis存储改变label数量导致报错
2020-07-06 15:07:13 +08:00
逍遥
42b289d1c4
feat: 新增Prometheus打点使用redis存储支持redis集群
2020-07-06 14:55:40 +08:00
李铭昕
9651428dcf
Added document.
2020-07-05 15:49:55 +08:00
锅锅锅de1T
c97327c366
Fixed Parser error ( #1898 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-04 14:56:21 +08:00
沈唁
12fda742ff
The code of constants only support int
and string
. ( #2031 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-04 13:15:04 +08:00
李铭昕
29bf7fa58e
Fixed hyperf.pid
won't be created in coroutine server. ( #2051 )
...
* Deleted useless code.
* Fixed hyperf.pid won't be created in coroutine server.
2020-07-04 13:13:17 +08:00
沈唁
ec1976816d
Optimized stdout when server restart ( #2049 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-04 12:20:03 +08:00
hanicc
66ce4ae3e6
Added ScanFileDriver
to watch file changes ( #2042 )
...
Co-authored-by: hanicc <hanicc.qq.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-03 17:29:22 +08:00
ClownFish
05d4cab611
Fixed bug that tcp server running in only one coroutine. ( #2037 )
...
Co-authored-by: liuzhiming1 <liuzhiming1@chelun.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-03 10:34:16 +08:00
李铭昕
bb6de1ae60
v2.0.1 ( #2015 )
2020-07-02 13:38:17 +08:00
李铭昕
acf20132d4
Merge pull request #2002 from limingxinleo/2.0-aop
...
Support aop in trait.
2020-07-02 09:45:50 +08:00
谷溪
1ab78e8b2c
Fix invalid lazy proxy generation when magic methods are used. ( #2026 )
...
* fix: remove magic methods in the lazy proxy.
* Format code.
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-02 09:45:02 +08:00
黄朝晖
d43cd96467
Merge pull request #1968 from limingxinleo/2.0-aspects
...
Fixed aspect does not work when edit in aspects.php
2020-07-02 00:52:40 +08:00
黄朝晖
2af60bcb1c
Update CHANGELOG-2.0.md
2020-07-02 00:52:21 +08:00
李铭昕
9878c2b08f
Format code.
2020-07-01 10:24:01 +08:00
李铭昕
357c39cd8f
Added test cases.
2020-06-28 17:46:39 +08:00
祇是一支歌
041bf8fa8e
fix: change the binding attribute order in aop trait ( #1989 ) ( #1990 )
...
* fix: change the binding attribute order in aop trait (#1989 )
before:
The old binding order is parent->trait->current
It causes some properties of current to not be bound
after:
The new binding order is current->trait->parent
* docs(contribute): update pull request url
* Update PropertyHandlerTrait.php
* Removed uesless code.
* Fixed handled property not be handled again by parent class.
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-06-28 15:20:33 +08:00
李铭昕
8206a6a06c
Merge branch 'master' into pr/1968
2020-06-27 06:24:30 +08:00
沈唁
059aedf3e6
Changed exit_code 0
to SIGTERM
when swoole short name do not set disable. ( #1986 )
...
* Add get php path
* Update CHANGELOG-2.0.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-06-25 10:05:07 +08:00
沈唁
3f35cb60d9
Added command gen:constants
. ( #1934 )
...
* add gen constants
* update doc
* Update CHANGELOG-2.0.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-06-25 08:09:16 +08:00
李铭昕
d6ac43509b
Added test cases.
2020-06-24 20:39:37 +08:00
Kids Return
e831fe0a93
Fixed bug that migration will be created although class already exists. ( #1952 )
...
* Fix same migration file class name
* show gen:migration command description
* Fix test
* Fix test
* Update CHANGELOG-2.0.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-06-23 16:39:11 +08:00
李铭昕
07f2996451
Added test cases.
2020-06-23 13:22:29 +08:00
hector
b4b6522ac1
Fixt isMethodsExists bug ( #1960 )
...
* Fixt isMethodsExists bug
* Update CHANGELOG-2.0.md
Co-authored-by: huangzhhui <huangzhwork@gmail.com>
2020-06-23 11:55:30 +08:00
motian
6dd6fbe6d8
Fix start errors when file aspects.php not exist. ( #1961 )
...
* Fix start errors when file aspects.php not exist.
* Update CHANGELOG-2.0.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-06-23 11:39:12 +08:00
李铭昕
8c89785c16
Fixed the wrong http code when initRequestAndResponse
failed. ( #1965 )
...
* Added test cases.
* Fixed the wrong http code when `initRequestAndResponse` failed.
* Update CHANGELOG-2.0.md
2020-06-23 11:37:22 +08:00
李铭昕
33bcb55969
Fixed 500 caused by empty body. ( #1964 )
2020-06-23 10:44:43 +08:00
hector
c67160fe96
Make ClassLoader easier to be extended ( #1959 )
...
* Make ClassLoader easier to be extended
* Update CHANGELOG-2.0.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-06-22 19:28:29 +08:00
huangzhhui
4af32e788a
Update
2020-06-22 00:37:40 +08:00
李铭昕
73606a12cf
Update CHANGELOG-2.0.md
2020-06-20 17:49:40 +08:00
李铭昕
5dd3bb9918
Update CHANGELOG-2.0.md
2020-06-20 08:18:42 +08:00
李铭昕
c14b9da1e2
Update CHANGELOG-2.0.md
2020-06-20 08:15:30 +08:00
李铭昕
01b6dbf1ee
Merge pull request #705 from dickens7/opt-request
...
optimize http message
2020-06-19 16:05:03 +08:00
李铭昕
5de874b9d0
Update CHANGELOG-2.0.md
2020-06-19 16:00:44 +08:00
李铭昕
e24ac0feea
Update CHANGELOG-2.0.md
2020-06-19 15:04:23 +08:00
ccb1900
bf859acbad
Added annotation ExceptionHandler
. ( #1245 )
...
Co-authored-by: ccb <ccb412727@qq.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-06-19 12:54:04 +08:00
李铭昕
66e3c1721a
Added method Sender::close(int $fd, bool $reset = null)
. ( #1920 )
2020-06-17 13:03:19 +08:00
李铭昕
702e624671
Removed config config/server.php
. ( #1905 )
...
* Removed config `config/server.php`.
* Update CHANGELOG-2.0.md
2020-06-12 14:18:46 +08:00
yansongda
7b11109a54
Keys will be merged when different constants use the same code. ( #1896 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-06-12 12:53:21 +08:00
李铭昕
4ac8e3dac5
Fixed caster decimal does not work. ( #1900 )
2020-06-11 17:18:10 +08:00
李铭昕
27533ff21a
Update CHANGELOG-2.0.md
2020-06-11 12:30:53 +08:00
李铭昕
853b15d83c
Update CHANGELOG-2.0.md
2020-06-11 11:42:13 +08:00
李铭昕
1d86e3808a
Annotation Inject support typed properties. ( #1877 )
2020-06-08 14:21:15 +08:00
李铭昕
28a517ff30
Added sink for guzzle. ( #1871 )
2020-06-06 21:43:57 +08:00
李铭昕
1d970b4a64
Support async-queue stop safely. ( #1863 )
2020-06-04 16:07:56 +08:00
李铭昕
2a3db07bc9
Added hyperf/signal
component. ( #1819 )
2020-06-04 14:13:37 +08:00
李铭昕
53aedcec67
Added ConstantFrequency
to flush one connection for the interval of time. ( #1855 )
2020-06-03 13:23:08 +08:00
李铭昕
7b363af5a1
Fixed is_resource
does not works when use Runtime::enableCoroutine()
privately in filesystem. ( #1854 )
2020-06-02 18:59:21 +08:00
李铭昕
55e0d09781
Auto generate rpc client code when server start and the interface is changed. ( #1848 )
2020-06-02 13:55:31 +08:00
李铭昕
c0ed2788e1
Don't auto change the impl for NormalizerInterface
when you require symfony/serialize
. ( #1846 )
2020-06-02 10:18:23 +08:00
李铭昕
07f3d8d2e4
Fixed code standards. ( #1844 )
2020-06-01 14:01:52 +08:00
李铭昕
301a9e23a7
Fixed TypeError
for StartServer::execute
. ( #1825 )
2020-05-29 09:50:15 +08:00
huangzhhui
90751501be
Update CHANGELOG-2.0.md
2020-05-25 14:57:55 +08:00
huangzhhui
6b2f5861df
Fixed typo
2020-05-25 14:32:46 +08:00
Reasno
2cdccdaf55
Merge remote-tracking branch 'origin/master'
2020-05-22 20:03:00 +08:00
Reasno
7a2063c40e
upgrade swoole to 4.5
2020-05-22 19:08:05 +08:00
李铭昕
bd38d84a4a
Add annotations.scan.class_map
parameter, now you could replace class dynamically without having to follow the psr4.
2020-05-13 15:16:42 +08:00
Reasno
700787e4f3
update CHANGELOG-2.0.md
2020-05-11 14:01:17 +08:00
huangzhhui
140bd1780e
Update CHANGELOG-2.0.md
2020-05-05 01:55:22 +08:00
huangzhhui
86b246280a
Update CHANGELOG-2.0.md
2020-05-05 00:31:24 +08:00
huangzhhui
a6ce6e42ca
Update CHANGELOG-2.0.md
2020-05-05 00:27:46 +08:00
huangzhhui
c5dc2a406e
Update CHANGELOG-2.0.md
2020-05-05 00:25:55 +08:00
huangzhhui
ac1a371811
Create CHANGELOG-2.0.md
2020-05-04 23:29:56 +08:00