Commit Graph

6303 Commits

Author SHA1 Message Date
李铭昕
ef63719d55
Added test case for checking refcount for aop pipeline. (#3088)
* Added test case for checking refcount for aop pipeline.

* Update
2021-01-08 15:06:04 +08:00
李铭昕
81990251a2 Merge branch '2.0' into 2.1-merge-from2.0 2021-01-08 14:02:36 +08:00
李铭昕
51f4c5e96b
Fixed memory leak when using pipeline sometimes. (#3087)
* Fixed pipeline memory leak some times.

* Update CHANGELOG-2.0.md
2021-01-08 13:04:56 +08:00
刘志铭
cb86ba1c42
Optimized phar:build for rewriting scan_cacheable. (#3046)
- Optimized `phar:build` for rewriting `scan_cacheable`
- Support option phar-version for `phar:build`


Co-authored-by: liuzhiming1 <liuzhiming1@chelun.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-07 17:12:25 +08:00
李铭昕
a35c7f16c4
Fixed db connection has already been bound to another coroutine when used in defer (#3082)
* Fixed db connection has already been bound to another coroutine when used in defer

* Update CHANGELOG-2.1.md
2021-01-07 16:39:49 +08:00
pandaLIU
390e70839e
Added method ConnectionInterface::run(Closure $closure) for hyperf/db. (#3066)
* Added method `ConnectionInterface::run(Closure $closure)` for `hyperf/db`

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-07 15:50:28 +08:00
李铭昕
4e4a447f33 Fixed the wrong count of changes. 2021-01-07 14:39:11 +08:00
李铭昕
a616fdeab9 Fixed extra data saved twice when use save() after increment() with extra. 2021-01-07 14:39:11 +08:00
李铭昕
84e52ebb85 Optimized code for incrementOrDecrement() 2021-01-07 14:39:11 +08:00
谷溪
e0533cb7f9
revert: flysystem v2.0 support (#3077)
* revert: flysystem v2.0 support

v2.0 is incompatible with almost all adapters available.

* Update composer.json

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-06 16:01:13 +08:00
沈唁
cec05b6652
Fix typo (#3075) 2021-01-06 09:57:50 +08:00
李铭昕
40e7baa863 Fixed typo. 2021-01-04 16:07:07 +08:00
李铭昕
462c361c44
v2.1.1 (#3067)
* v2.1.1

* Update
2021-01-04 11:03:02 +08:00
李文强
20d3f25221
Fixed bug that parameters don't parsed correctly in grpc server. (#3062) 2021-01-04 10:40:44 +08:00
谷溪
cfaf5869ff
feat: improve error handling and support Engine::close protocol. (#3054)
* feat: improve error handling and Support Engine::close protocol.

* Update ConnectionClosedException.php

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-04 10:32:49 +08:00
李铭昕
34851d9622 Optimized code. 2021-01-04 10:12:17 +08:00
Reasno
c8f16506ca doc: add comments about --enable-event-dispatcher argument. 2021-01-04 10:12:17 +08:00
Reasno
d97d7df5ef feat: support collecting metrics while running command 2021-01-04 10:12:17 +08:00
李铭昕
cce4beb392 Merge branch 'master' into merge-from-v2.0 2021-01-04 09:10:50 +08:00
李铭昕
b3ef62833c Optimized schema for composer.json 2020-12-29 16:17:31 +08:00
黄朝晖
be93814265
Merge pull request #2929 from nonetallt/master
Add english documentation for watcher
2020-12-29 15:12:00 +08:00
黄朝晖
b07a8c15f9
Update watcher.md 2020-12-29 15:11:48 +08:00
黄朝晖
c1d0319de7
Update watcher.md 2020-12-29 15:09:20 +08:00
李铭昕
c8912644e5
Fixed bug that renew sid in all namespaces failed. (#3047)
* Fixed bug that renew sid in all namespaces failed.

* Update CHANGELOG-2.0.md

* Added test cases.
2020-12-29 10:30:38 +08:00
李铭昕
b135804ba7
Removed type hint form MysqlConnector::setModes. (#3045)
* Removed type hint form `MysqlConnector::setModes`.

* Update CHANGELOG-2.1.md
2020-12-28 18:11:01 +08:00
李铭昕
f5a1fbb1ed v2.1.0 2020-12-28 11:05:18 +08:00
李铭昕
faa2ae0907 Format code. 2020-12-28 11:05:18 +08:00
李铭昕
95057a98fa change the default branch to master 2020-12-27 14:39:54 +08:00
李铭昕
54765d32ce
Changed branch-alias of dev-master to 2.1-dev (#3038)
* Update branch-alias

* Update composer.json
2020-12-27 14:12:45 +08:00
李铭昕
080cac9a79 Merge branch 'master' into 2.1 2020-12-27 13:36:36 +08:00
李铭昕
93ded3bc8a
Added document for how to upgrade to 2.1 (#3037)
* Added document for how to upgrade to 2.1

* Update
2020-12-27 13:34:58 +08:00
李铭昕
1e7e90b397
v2.0.25 (#3036) 2020-12-27 12:18:26 +08:00
李铭昕
81788bc320
Update release-planning (#3035)
* Update

* Merge to v2.0
2020-12-27 11:42:06 +08:00
李铭昕
be216b584c Format code 2020-12-27 10:57:08 +08:00
谷溪
5fec498334 Update EphemeralInterface.php 2020-12-27 10:57:08 +08:00
Reasno
9eea5a0b64 fix: renew sid in all namespaces 2020-12-27 10:57:08 +08:00
Reasno
c4cd77fb0a fix: use fixed ttl 2020-12-27 10:57:08 +08:00
Reasno
795199d5df fix: flaky test 2020-12-27 10:57:08 +08:00
Reasno
8dc7061c6c fix: phpstan complaints 2020-12-27 10:57:08 +08:00
Reasno
bc6ff552c2 feat: add a mechanism to clean up garbage sid automatically. 2020-12-27 10:57:08 +08:00
谷溪
d44b6dc7fc
fix: log and tag Throwable in a span (#3011)
* fix: log and tag Throwable in a span

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-27 10:38:09 +08:00
李铭昕
2ff91b21f8
Upgraded league/flysystem to ^1.0|^2.0 (#3034) 2020-12-27 10:24:51 +08:00
张城铭
ac6c196653
Optimized code for JsonRpcHttpTransporter (#3029) 2020-12-26 10:09:32 +08:00
李铭昕
53a3060f49
Added method ProceedingJoinPoint::getInstance() to get instance which will be called by AOP. (#3030)
* Added method `ProceedingJoinPoint::getInstance()` to get instance which was cut by AOP.

* Update CHANGELOG-2.0.md

* Added test cases.
2020-12-26 09:47:58 +08:00
刘志铭
a6556d80b0
Added document for phar. (#3020)
* 提交phar文档

* Update

Co-authored-by: liuzhiming1 <liuzhiming1@chelun.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-25 14:58:02 +08:00
李铭昕
715e740ea9
Added test cases for MetricFactory::getUri(). (#3017) 2020-12-25 10:41:04 +08:00
ushell
39b36eff3f
Optimized code for prometheus which support https not only http. (#3009)
* Optimized code for prometheus which support `https` not only `http`.

* Update composer.json

* Format code.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-25 10:11:53 +08:00
李铭昕
e56ecda54c
Fixed the broken PHPUnit with the latest opentracing. (#3007) 2020-12-25 09:57:01 +08:00
李铭昕
4ae92ac453
Added method Model\Collection::columns(). (#3001)
* Added method `Model\Collection::columns()`.

* Update CHANGELOG-2.1.md
2020-12-24 09:58:29 +08:00
李铭昕
276cac2dbb
Added params $depth and $flags for Json::decode and Json::encode. (#3002)
* Added params `$depth` and `$flags` for `Json::decode` and `Json::encode`.

* Added test cases

* Added PHPUnit for Swoole 4.5 and 4.6
2020-12-23 13:42:40 +08:00