Millyn
c954e949c8
Throw an exception when the scanner directories all does not exist. ( #2043 )
...
* Optimization when the Scanner directory all does not exist
* Optimized test cases.
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-23 17:37:04 +08:00
myweb
3f0d876bf1
Added session.options.domain
for hyperf/session
to change the domain which get from request. ( #2169 )
...
* 支持设置 session domain 参数
* Fixed travis.
* Added test cases.
* Update session.php
* Update CHANGELOG-2.0.md
Co-authored-by: liulian <liulian@leros-MacBook.local>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-23 16:00:00 +08:00
张子彬
9b35d6fd42
Added Hyperf\Watcher\Driver\FindDriver
for hyperf/watcher
. ( #2162 )
...
* Update ShellDriver.php
* Optimized code.
* Support Darwin.
Co-authored-by: zhangzibin <zhangzibin@ecomxhat.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-23 15:09:25 +08:00
沈唁
b4b11bd031
Fixed fatal exception caused by exist file when using gen:migration
. ( #2159 )
...
* Fixed fatal exception caused by exist file when using `gen:migration`.
* Format code.
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-22 14:06:29 +08:00
谷溪
f657fa0491
feat: attach options to route handler ( #2158 )
...
* feat: attach options to route handler
* add CHANGELOG-2.0.md
2020-07-22 13:00:08 +08:00
ninvfeng
ebcefa4c8b
Added filed $result
for QueryExecuted
. ( #2144 )
...
* Add result field to QueryExecuted Event
* Add default value and type hint
* Update QueryExecuted.php
* Added types for result.
* Update Connection.php
* Update changelog.md
Co-authored-by: ninvfeng <ninvfeng@gmail.com>
Co-authored-by: 黄朝晖 <huangzhwork@gmail.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-20 19:37:00 +08:00
李铭昕
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