Commit Graph

6610 Commits

Author SHA1 Message Date
李铭昕
830f9f57a7
Merge pull request #3728 from huangzhhui/pr/3727
Added support for `secret` of Apollo
2021-06-23 15:18:13 +08:00
李铭昕
94d117fa9d Format 2021-06-23 15:11:58 +08:00
huangzhhui
2dafafd573 Update ClientTest.php 2021-06-23 13:35:59 +08:00
huangzhhui
c89503b702 Merge remote-tracking branch 'upstream/2.2' into pr/3727 2021-06-23 13:31:29 +08:00
huangzhhui
0b06fdd082 Remove apollo.php config file 2021-06-23 13:28:15 +08:00
李铭昕
2eaa4778bc
Fixed bug that client failed to pull data from etcd. (#3726) 2021-06-23 11:14:35 +08:00
李铭昕
345a065b9f Removed config_etcd.php 2021-06-23 10:52:42 +08:00
李铭昕
c4c4482823 Support etcd config center 2021-06-23 10:52:42 +08:00
李铭昕
ad01fbcc1d Check the config when used config-center component. 2021-06-23 10:52:42 +08:00
李铭昕
d6bffb1223 Removed useless code 2021-06-23 09:07:42 +08:00
huangzhhui
376d75ac03 Fix error 2021-06-23 09:07:42 +08:00
huangzhhui
4d6a6139bb Fix error 2021-06-23 09:07:42 +08:00
huangzhhui
2dba169c62 Add config-center component 2021-06-23 09:07:42 +08:00
huangzhhui
6c7657a865 Remove useless code 2021-06-23 09:07:42 +08:00
huangzhhui
81eb46aade Add config-center requires 2021-06-23 09:07:42 +08:00
huangzhhui
5cf7019b43 Refactor config-apollo component, use config-center ways 2021-06-23 09:07:42 +08:00
huangzhhui
7b69eb6c9d Add config-center component 2021-06-23 09:07:42 +08:00
黄朝晖
bafefe8022
Fixed bug that RequiredIf can be exploited to generate gadget chains for deserialization vulnerabiltiies. (#3724) 2021-06-23 08:33:27 +08:00
黄朝晖
4f2fa87eb9
Fixed the active_url rule for validation in input fails to correctly check. (#3723)
Fixed the active_url rule for validation in input fails to correctly check  dns record with dns_get_record resulting in bypassing the validation

Ref: https://huntr.dev/bounties/2-laravel/framework/
2021-06-23 08:19:26 +08:00
Vinchan
5ad3d649ef
Fixed the in and not in rule for validation in input fails to correctly check in:00 rule when passing 0. (#3721)
Co-authored-by: huangzhhui <huangzhwork@gmail.com>
2021-06-23 08:15:28 +08:00
李铭昕
83ee0be095 Added Hyperf\Nacos\Client::getValidNodes 2021-06-22 19:49:34 +08:00
李铭昕
fc023147f6 Restructure nacos component 2021-06-22 19:49:34 +08:00
pandaLIU
20c875bd36
Removed broker and bootstrap_server from kafka. (#3550)
please use `brokers` and `bootstrap_servers` instead

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-06-22 18:19:46 +08:00
李铭昕
155b5d2888
Release v2.1.21 (#3719) 2021-06-21 16:07:34 +08:00
李铭昕
db4c7e397f
Added a document about how to upgrade to v2.2 (#3716) 2021-06-21 10:16:11 +08:00
李铭昕
a280656acf
Added ide-helper component (#3714) 2021-06-20 10:18:28 +08:00
李铭昕
4a89d40f3b
The input parameters of InstanceProvider::update() are modified to make it more friendly. (#3712)
* change the arguments for `instance::update()`.

* Update InstanceProvider.php

* Update CHANGELOG-2.2.md
2021-06-20 08:45:33 +08:00
黄朝晖
dff98cf8e3
Merge pull request #3713 from sy-records/typo
Fix typo
2021-06-20 00:11:20 +08:00
sy-records
0ae17e024a
Fix typo 2021-06-19 22:25:09 +08:00
李铭昕
b9b921cf60
Upgraded markrogoyski/math-php to ^2.0 (#3709) 2021-06-18 18:42:01 +08:00
李铭昕
3d9afbf9a0
Added ci for php8 (#3661) 2021-06-18 18:29:57 +08:00
张城铭
0d2b45c168
Changed the style of writing for #[Middlewares(FooMiddleware::class)]. (#3706)
Changed the style of writing to `#[Middlewares(FooMiddleware::class)]` from `@Middlewares({@Middleware(FooMiddleware::class)})` in PHP8.

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-06-18 18:18:34 +08:00
李铭昕
c4977ca518
Removed useless code from AbstractAnnotation. (#3700) 2021-06-16 00:27:11 +08:00
李铭昕
699829f823 Fixed bug that get annotations from method or property don't work in php8 2021-06-15 23:48:30 +08:00
李铭昕
ee156ab50d Removed $formattedValue from AbstractAnnotation. 2021-06-15 23:48:30 +08:00
huangzhhui
70cd22cb17 Optimize code 2021-06-15 23:48:30 +08:00
huangzhhui
d3b32aac86 Fixed variable $channel might not be defined. 2021-06-15 23:48:30 +08:00
huangzhhui
fec3e1ec2a Fix the return type of AbstractAnnotation, add $formattedValue property of AbstractAnnotation to stored the return value of formatParams() method 2021-06-15 23:48:30 +08:00
assert
f20bc175ec optimization code 2021-06-15 23:48:30 +08:00
assert
934058c479 optimization code 2021-06-15 23:48:30 +08:00
assert
a3f4d0c0e6 optimization code 2021-06-15 23:48:30 +08:00
assert
26a7c5975d optimization code 2021-06-15 23:48:30 +08:00
assert
99b3eefa81 php8 attribute annotation 2021-06-15 23:48:30 +08:00
黄朝晖
f4b6e0a548
Merge pull request #3696 from Mine-MuYan/patch-1
Validation 文档自定义验证器监听器的示例代码增加缺失 Listener 注解
2021-06-14 01:32:03 +08:00
huangzhhui
ed9a473eab Fixed multi-language docs 2021-06-14 01:30:52 +08:00
黄朝晖
06cac333e1
Remove useless content 2021-06-14 01:26:02 +08:00
沐沫
ba619fec06
增加listener的注解。 2021-06-12 15:59:19 +08:00
李铭昕
08f9a78db8
Adapt circuit-breaker component to support php8. (#3694) 2021-06-11 11:01:20 +08:00
李铭昕
2a7f69fd8d
Fixed bug that class proxies couldn't be included when building phar (#3692) 2021-06-10 21:07:12 +08:00
李铭昕
a6618f0ff2 Merge branch 'master' into 2.2-merge 2021-06-10 20:54:57 +08:00