Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge master branch to 3.x dev branch #3718

Merged
merged 221 commits into from
Mar 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
221 commits
Select commit Hold shift + click to select a range
2147d90
Release resource after use in ConfigParserTest (#3127)
biyuhao Jan 3, 2019
4b2b673
add javadoc for registry and some code (#3140)
Leishunyu Jan 4, 2019
ba27bc5
Correct spelling error (#3146)
kexianjun Jan 4, 2019
f36bed9
Code optimization (#3118)
CrazyHZM Jan 4, 2019
ddb518d
Code rule (#3016)
x-ultimate Jan 4, 2019
e095bd9
code optimization (#3167)
CrazyHZM Jan 8, 2019
e632504
Add javadoc for dubbo-serialization module(#3002). (#3004)
majinkai Jan 8, 2019
2cbc83f
optimize ReconnectTimerTask's log output (#3162)
kexianjun Jan 8, 2019
f4e96a4
add some small optimize (#3171)
lixiaojiee Jan 9, 2019
460c3a1
fix telnet trace times is always 1 (#3038)
LiZhenNet Jan 9, 2019
5298afd
Upgrade junt to junit5 (#3149)
lovepoem Jan 11, 2019
bb18512
Format change.
ralf0131 Jan 13, 2019
67df884
fix wrong word spelling (#3217)
Jan 13, 2019
505b41d
Fix provicer --> provider (#3222)
mimihom Jan 14, 2019
e1f4466
Optimize the code: use logger instead of printStackTrace(). (#3202)
zhaoyuguang Jan 14, 2019
de204cf
Optimize code: remove unnecessary judgment code. (#3196)
zhaoyuguang Jan 14, 2019
f76ae21
Optimize the code: fix CallbackServiceCodec.java exportOrunexportCall…
zhaoyuguang Jan 15, 2019
0e0fbd5
Refactor telnet invoke command (#3210)
LiZhenNet Jan 15, 2019
3c38f20
Remove deprecated AnnotationBean, please refer #1485 for the new meth…
chickenlj Jan 15, 2019
5acb4bf
[Dubbo-3231]keep TagRouter consistent with 2.6.x (#3233)
chickenlj Jan 15, 2019
66afe96
Modified to lower camel case (#3003)
CrazyHZM Jan 16, 2019
416c575
wrong event setting (#3043)
CrazyHZM Jan 16, 2019
458a450
call the util method (#3230)
CrazyHZM Jan 16, 2019
43d74b3
Qos heart (#3170)
CrazyHZM Jan 16, 2019
8c2fbc8
Merge pull request #3246 from cvictory:2.7.0-release remove gson from…
cvictory Jan 16, 2019
e24e568
Extract compareTo impl to Router interface and concrete Router only r…
chickenlj Jan 16, 2019
a8e1d26
Protocol compatibility (#3254)
chickenlj Jan 16, 2019
f770b7c
remove getContext() (#3235)
beiwei30 Jan 17, 2019
16fbc93
modify some typos (#3257)
mimihom Jan 17, 2019
78accf7
Merge 2.6.6 source code into 2.7 (#3241)
mercyblitz Jan 17, 2019
e73624c
Add activation for the release profile
ralf0131 Jan 13, 2019
de3014d
Update the Java SE link to Java 8.
ralf0131 Jan 13, 2019
d98b24c
Move the doclint configuration to correct position.
ralf0131 Jan 13, 2019
9f6b8c8
Deactivate maven release profile.
ralf0131 Jan 17, 2019
6675c82
Fix final name.
ralf0131 Jan 17, 2019
44b4e42
Optimize the Apollo extension of Config-Center SPI
ralf0131 Jan 17, 2019
fda71e7
must shutdown thread pool when no in use (#3255)
scxwhite Jan 18, 2019
477ef97
Update 2.7.0 release notes
ralf0131 Jan 18, 2019
1c78148
Igonre .patch file.
ralf0131 Jan 18, 2019
e4f39a3
[maven-release-plugin] prepare release dubbo-2.7.0
ralf0131 Jan 18, 2019
de4f91b
[maven-release-plugin] prepare for next development iteration
ralf0131 Jan 18, 2019
5f62633
[maven-release-plugin] prepare release dubbo-2.7.0
ralf0131 Jan 19, 2019
2134b89
[maven-release-plugin] prepare for next development iteration
ralf0131 Jan 19, 2019
576a413
Bring back redis auth UT (#3278)
biyuhao Jan 20, 2019
cb59913
Optimize code: Fix Constructor to determine illegal logic problems (#…
zhaoyuguang Jan 20, 2019
bcb6eee
fix return type (#3284)
mjaow Jan 21, 2019
ca84f6c
use standardcharset.utf-8 instead of literal (#3285)
mjaow Jan 21, 2019
d470679
Move the iteration of methods of a service config to the if block of …
tswstarplanet Jan 21, 2019
e18ec0d
Merge branch '2.7.0-release' of https://github.com/apache/incubator-d…
chickenlj Jan 21, 2019
0a2b9bf
Add shutdown command for telnet (#3280)
LiZhenNet Jan 21, 2019
dbc1f79
Ignore mvn wrapper binary files.
ralf0131 Jan 21, 2019
614bceb
[maven-release-plugin] prepare release dubbo-2.7.0
ralf0131 Jan 21, 2019
d2b62d3
[maven-release-plugin] prepare for next development iteration
ralf0131 Jan 21, 2019
9f3ac61
Fix typo (#3293)
htynkn Jan 21, 2019
0f86000
Improve/heartbeat (#3276)
lexburner Jan 22, 2019
215ed36
code optimization (#3297)
CrazyHZM Jan 22, 2019
73d9cd3
further enhancement for pull request #3297, also fix an issue introdu…
beiwei30 Jan 22, 2019
d75ce73
Merge branch '2.7.0-release' of https://github.com/apache/incubator-d…
chickenlj Jan 22, 2019
68fa9c1
Merge branch '2.7.0-release'
chickenlj Jan 22, 2019
04bcfe2
Fix UT conflicts of merging 2.7.0-release
chickenlj Jan 22, 2019
f0f124d
Remove usage of classes in Junit 4
chickenlj Jan 22, 2019
971d6d9
Remove usage of classes in Junit 4
chickenlj Jan 22, 2019
d688d92
Remove usage of classes in Junit 4
chickenlj Jan 22, 2019
132c20b
Remove usage of classes in Junit 4
chickenlj Jan 22, 2019
4527b7d
Remove usage of classes in Junit 4
chickenlj Jan 22, 2019
5c75eb2
remove not used import (#3309)
lovepoem Jan 22, 2019
d3b2439
remove unused import (#3311)
lovepoem Jan 22, 2019
bfdde7e
Degrade some UTs in dubbo-config-spring to use junit 4.
chickenlj Jan 23, 2019
0642b3e
use beforeEach and afterEach
chickenlj Jan 23, 2019
d27fb1f
Merge pull request #3295, unregister consumer url when client destroy…
zonghaishang Jan 23, 2019
b4aa515
Optimize heartbeat (#3299)
carryxyh Jan 23, 2019
babf0d1
simply telnet command enabled check logic (#3316)
kexianjun Jan 23, 2019
e07038b
Add comments, manually merge #3181.
chickenlj Jan 23, 2019
33f1726
Fix for loop reference test pass on protostuff (#3252)
Bricks-Man Jan 24, 2019
4d78772
Fix maven compile warning (#3322)
biyuhao Jan 24, 2019
21a608c
Merge pull request #3174, make timeout filter not work in async way.
carryxyh Jan 24, 2019
faf3983
Merge pull request #3323, fix double-checked locking.
biyuhao Jan 24, 2019
c72708b
Merge pull request #2959, fix a bug of service config.
tswstarplanet Jan 24, 2019
4fbdc4f
Fix random ut falling in DubboMonitorTest (#3327)
biyuhao Jan 24, 2019
6a87dc5
Merge pull request #3017, fixes #2981, refresh invocation's attachmen…
carryxyh Jan 24, 2019
9cdb2f0
Merge pull request #3141, optimize outbound event and some code forma…
carryxyh Jan 24, 2019
15faa9b
Merge pull request #3333, add @Override for sub-class method.
LiZhenNet Jan 24, 2019
e3aac2d
Fix thrift protocol, use path to locate exporter. (#3331)
chickenlj Jan 25, 2019
ece58a8
fix #2842. remove duplicate SPI definitions for 2.7.x (#3340)
cvictory Jan 25, 2019
5a67a19
fix org.apache.dubbo replace com.alibaba.dubbo (#3338)
CrazyHZM Jan 25, 2019
26f010d
fix the typo of notification mail list address (#3335)
tswstarplanet Jan 25, 2019
ed8bb74
Review code of TypeDefinitionBuilder (#3064)
carryxyh Jan 25, 2019
a6d55fa
[Dubbo-3339] Remove futility check code (#3346)
Bricks-Man Jan 25, 2019
6dcd593
add no-argument constructor method to URL.java fix #3342 (#3350)
qq925716471 Jan 25, 2019
c8cf56b
Enable ZookeeperMetadataReportTest (#3360)
biyuhao Jan 26, 2019
2300fca
Package name error (#3354)
kunblue Jan 26, 2019
21046c8
some optimize on ExtensionLoader (#3307)
lixiaojiee Jan 26, 2019
2308a36
Fix some unit test failure (#3337)
kexianjun Jan 27, 2019
95fc75a
Fix compilation error fix #3365 (#3366)
CrazyHZM Jan 28, 2019
df9f998
[Dubbo-900] Fix 通过 override 修改 hessian协议的提供者的配置 不生效 #900 (#3363)
CrazyHZM Jan 28, 2019
f5b6d2a
delete useless judgment (#3326)
CrazyHZM Jan 28, 2019
1f02113
Fix self assignment (#3301)
biyuhao Jan 29, 2019
7b529a3
[Dubbo-2423] Multicast demo fails with message "Can't assign requeste…
chickenlj Jan 29, 2019
7f262f9
simplify map empty judgment (#3376)
zonghaishang Jan 29, 2019
58e35b2
应该是非空才循环,不然会导致在使用redis注册中心时消费者引用不到服务 (#3291)
dadadadudu Jan 29, 2019
d7e95b4
enhance unit test and logging (#3374)
beiwei30 Jan 29, 2019
1efa457
follow up for #3291 (#3378)
beiwei30 Jan 29, 2019
47abf6c
correct typos,eg: occured -> occurred (#3380)
FrankBian Jan 29, 2019
a074319
follow up for #3376 (#3377)
beiwei30 Jan 29, 2019
fd16a2b
[Dubbo-3347] Update package name in README file fix#3347 (#3362)
CrazyHZM Jan 29, 2019
19c1af8
[Enhancement] Replace explicit resource management with try-with-reso…
kun-song Jan 30, 2019
dd2e16b
first pull request (#3396)
hjq2016 Jan 30, 2019
7826f27
[Dubbo-3361] Make DubboAppender extends from FileAppender (#3383)
biyuhao Jan 30, 2019
663738f
Modify deprecated class to updated class in some comments (#3402)
tswstarplanet Jan 31, 2019
35f1914
Merge pull request #3341, start to use IdleStateHandler in Netty4.
beiwei30 Jan 31, 2019
342f37a
Enhancement/logger factory (#3389)
kezhenxu94 Jan 31, 2019
93a8ee0
move construction of ConfigChangeEvent outside the lambda expression …
wanghbxxxx Jan 31, 2019
9b89d41
make ConfigChangeEvent immutable (#3403)
wanghbxxxx Jan 31, 2019
2a91684
Fix license issues (#3382)
ralf0131 Jan 31, 2019
5d7b25a
[Dubbo-936]fix The nc command is unstable in the dubbo startup script…
CrazyHZM Jan 31, 2019
713a3ea
refactor ScriptRouter: (#3404)
wanghbxxxx Jan 31, 2019
ea45921
Clean pom.xml file #3186 (#3211)
kezhenxu94 Jan 31, 2019
dbab8c5
[Enhancement] Use ThreadLocalRandom and try-with-resource (#3239)
kun-song Jan 31, 2019
b09a150
polish pom.xml (remove test profile and jvm permSize args) (#3407)
htynkn Jan 31, 2019
99771a4
update dubbo samples' link (#3413)
kun-song Feb 1, 2019
5146f6d
Acesslog dateformat enhancemnet (#3274)
khanimteyaz Feb 2, 2019
dcee618
refactor loadClass method (#3410)
wanghbxxxx Feb 2, 2019
e692d8a
implement pull request #3412 on master branch (#3418)
beiwei30 Feb 2, 2019
1ecf2dd
event of response fix#3244 (#3247)
CrazyHZM Feb 2, 2019
c2c9de9
[Dubbo-3069]Use regular expressions to judge fix #3069 (#3093)
CrazyHZM Feb 2, 2019
d2b5914
Support multiple shared links (#2457)
manzhizhen Feb 3, 2019
1a88b32
remove useless catch exception (#3421)
mjaow Feb 3, 2019
5ab3138
remove duplicated import (#3440)
kezhenxu94 Feb 8, 2019
bccac78
Update junit to 5.4.0 release version (#3441)
lovepoem Feb 8, 2019
ba282a8
remove duplicated unused method and move unit test (#3446)
kezhenxu94 Feb 11, 2019
b2901f5
Add checkstyle rule for redundant import (#3444)
htynkn Feb 11, 2019
e9e176b
Enhance the java doc of dubbo-container module (#3437)
dreamer-nitj Feb 11, 2019
7a53a1b
refactor adaptive extension class code creation: extract class Adapti…
wanghbxxxx Feb 11, 2019
caac0b5
refactor javassist compiler: extract class CtClassBuilder (#3424)
wanghbxxxx Feb 11, 2019
b757e19
fix #2619: is there a problem in NettyBackedChannelBuffer.setBytes(..…
beiwei30 Feb 11, 2019
8a02f9a
Bugfix/timeout queue full (#3451)
lexburner Feb 12, 2019
36c75d7
extract 2 methods: (#3453)
wanghbxxxx Feb 12, 2019
fa2316e
Add delay export test case (#3447)
LiZhenNet Feb 12, 2019
10912c8
[Dubbo-3237]fix connectionMonitor in RestProtocol seems not work #323…
CrazyHZM Feb 12, 2019
cad253a
extract method to cache default extension name (#3456)
wanghbxxxx Feb 13, 2019
6f28ff4
possibly bug fix (#3460)
wanghbxxxx Feb 13, 2019
6058846
Merge pull request #3470, Apache parent pom version is updated to 21.
kamaci Feb 14, 2019
ff0ce37
A follow up of 6058846, update apache pom version to 21
chickenlj Feb 14, 2019
bd6e5f1
Class comment error (#3481)
Bricks-Man Feb 15, 2019
e72e0b2
enhancement: extract duplicated method calls to variable (#3482)
kezhenxu94 Feb 15, 2019
9c049f6
[Enhancement]: language level migration (#3485)
kezhenxu94 Feb 15, 2019
d33784d
Branch refactor version (#3471)
wanghbxxxx Feb 15, 2019
2b12c16
fix typo (#3491)
kezhenxu94 Feb 17, 2019
813fed5
[Enhancement]: RestProtocol (#3480)
kezhenxu94 Feb 17, 2019
9031a4c
Merge pull request #3466, Condition is not properly used.
beiwei30 Feb 18, 2019
7c236ca
fix issue#1293: A question for ReferenceConfigCache. (#3505)
beiwei30 Feb 19, 2019
717c15e
[Enhancement]: refactor categorizing with Collectors.groupingBy (#3490)
kezhenxu94 Feb 19, 2019
aadf57d
Fix invocation of toString on an array (#3507)
Feb 20, 2019
e918fa4
Fix inefficient use of keySet iterator instead of entrySet iterator (…
Feb 20, 2019
f415fda
Boolean class use method toString() instead of String.valueof() (#3495)
Bricks-Man Feb 20, 2019
a362986
Merge pull request #3515, add metadataFactory SPI config for all-in-o…
foreveryang321 Feb 20, 2019
112ad0c
Merge pull request #3513, bump up hessian-lite version
nzomkxia Feb 20, 2019
a40c2f8
[Dubbo-3106]Make getRegistered return unmodifiable collection. #3106 …
kezhenxu94 Feb 21, 2019
55285a1
Merge pull request #3527 Bricks-Man/incubator-dubbo, fix accidentally…
Bricks-Man Feb 21, 2019
dd7d3ee
Fix UT error following PR #3527
chickenlj Feb 21, 2019
44348f4
Cache CompiledScript #390 (#3524)
CrazyHZM Feb 21, 2019
43e92d3
Merge pull request #3532 from beiwei30:use-concurrent-map, avoid usin…
beiwei30 Feb 21, 2019
f71a95b
Fix context filter's bug (#3526)
carryxyh Feb 21, 2019
6b589f0
Modify MetadataReportRetry ThreadName (#3550)
cvictory Feb 22, 2019
e89b3f2
fix issue #3533 (#3548)
hekrxe Feb 24, 2019
05a98f3
fix issue #195: @Reference check=false不生效 (#3530)
beiwei30 Feb 24, 2019
6034ceb
Merge pull request #3528, fixes #208, setOnreturn does not work with …
beiwei30 Feb 26, 2019
4aaa542
fix issue #274: monitor的cluster一定是failsafe的,而且无法修改 (#3523)
beiwei30 Feb 26, 2019
ade0cd7
Merge pull request #3520, fix #538 polish the process of deciding the…
beiwei30 Feb 26, 2019
5434ab7
Fix npe when package is null. (#3557)
ujjboy Feb 26, 2019
b149378
a more elegant way (#3567)
CalvinKirs Feb 26, 2019
0355cd3
Correct security report link.
ralf0131 Feb 27, 2019
e1cb03b
Add go implementation link.
ralf0131 Feb 27, 2019
8c934c9
fix DubboCodec re-implements Codec2 #2977 (#3547)
CrazyHZM Mar 1, 2019
e8d645b
Merge pull request #3566, optimize compareTo of Router to guarantee c…
lexburner Mar 4, 2019
bb85d07
Merge pull request #3577, rmi support generic.
CrazyHZM Mar 4, 2019
8f7b0c3
Fixes #3367, fail to parse config text with white space (#3589)
chickenlj Mar 4, 2019
25f2d4c
[DUBBO-3476]: NullPointerException happened when using SpringContaine…
beiwei30 Mar 5, 2019
6a70284
replace magic string "dubbo" with constants (#3602)
kezhenxu94 Mar 6, 2019
1420698
dubbo-parent是头文件不包含依赖。替换成dubbo, 同时增加zk连接的依赖。因为curator-framework在dubbo…
awayings Mar 7, 2019
af8cbe5
Merge pul request #3607, introduce dubbo-dependencies-zookeeper.
beiwei30 Mar 7, 2019
fe049b8
Merge RestProtocolTest.java (#3597)
CrazyHZM Mar 7, 2019
d414c7b
[DUBBO-3494]: Refactor URL to URLBuilder (#3500)
kezhenxu94 Mar 7, 2019
2e660df
Dubbo-3473 Fix Not Properly Closed Resources (#3474)
kamaci Mar 7, 2019
319a766
Dump TagRouterRule (#3536)
carryxyh Mar 7, 2019
172d694
Merge pull request #3578, fixes #3289, enhance tagRoute: support ip …
cvictory Mar 7, 2019
a8b28cf
Merge pull request #2614, follow up for issue #195.
beiwei30 Mar 8, 2019
b8827f9
[Dubbo-3367] Fail to parse config text with white space (#3590)
chickenlj Mar 8, 2019
42646d7
Merge pull request #3558, check if remoteGroup is empty or not.
kexianjun Mar 8, 2019
b7ca86b
Fluent style builder API support(#3431) (#3549)
Bricks-Man Mar 9, 2019
10ec77f
Update maven central badge.
ralf0131 Mar 9, 2019
096d1da
Merge pull request #3593, Consul support for Registry and Metadata.
beiwei30 Mar 11, 2019
1ee4d84
[Dubbo-808] Support etcd registry (#3605)
ralf0131 Mar 11, 2019
c65b589
rename dubbo-ops to dubbo-admin (#3628)
kezhenxu94 Mar 11, 2019
5f19335
typo for AccessLogFilter (#3633)
Bricks-Man Mar 11, 2019
fed47bf
Fix some etcd3 registry bugs. (#3632)
zonghaishang Mar 11, 2019
1f193b9
[Dubbo-3570] repackage compatible enhancement. (#3622)
chickenlj Mar 11, 2019
dc04701
Replace RpcStatus to count (#2984) (#3636)
Mar 12, 2019
9ee2f23
Fix when qos is disable,log will print every time. (#3397)
LiZhenNet Mar 12, 2019
bf3b423
add openjdk to travis (#3300)
lovepoem Mar 12, 2019
ea3fbc8
Merge pull request #3647, workaround to fix #3646.
beiwei30 Mar 14, 2019
e4bfb3d
add metrics integration #3598 (#3643)
nzomkxia Mar 14, 2019
08d5f15
Merge pull request #3639, Add equivalent annotation support for Metho…
cvictory Mar 14, 2019
2cfc2b3
Fixes #3478, #3477 and #3445
chickenlj Mar 14, 2019
0c2232f
fix heartbeat internal (#3579)
carryxyh Mar 14, 2019
9598cd0
Merge pull request #3603, configcenter share zookeeper connection wit…
cvictory Mar 14, 2019
ed5fea6
correct spelling error (#3645)
kexianjun Mar 14, 2019
70898ef
make snakeyaml transitive, governance rule relies on this dependency …
chickenlj Mar 15, 2019
5e6cbbe
check null for path before call rest server (#3665)
chickenlj Mar 15, 2019
b2bfbc7
[Dubbo-3653] etcd as config center (#3663)
ralf0131 Mar 16, 2019
79f0b7c
Polish code and fix some documentation errors (#3655)
kezhenxu94 Mar 18, 2019
dd5ec5c
[Dubbo-3657] Fix junit test failed (#3658)
zhaixiaoxiang Mar 19, 2019
32d59f7
Improve the checking of lease id. #3684 (#3692)
ralf0131 Mar 19, 2019
660624c
Optimize DefaultTpsLimiter (#3654)
LiZhenNet Mar 19, 2019
ad5f9f9
Correct @Parameter config of field of ConfigCenterConfig (#3688)
tswstarplanet Mar 20, 2019
da69a9c
fix-3678 (#3681)
kexianjun Mar 20, 2019
6e4ff91
Add unit test for unpack and stick pack of dubbo and telent (#3703)
zhaixiaoxiang Mar 20, 2019
e256320
Merge branch 'master' into local/apache/3.x-dev
chickenlj Mar 21, 2019
e6f473b
fix compile error after merged master branch
chickenlj Mar 22, 2019
8ae722b
remove useless imports
chickenlj Mar 26, 2019
fa45fd3
add AddressListener into RegistryDirectory
chickenlj Mar 26, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ language: java
sudo: false # faster builds

jdk:
- openjdk11
- oraclejdk11
- openjdk8
- oraclejdk8

cache:
Expand All @@ -16,3 +18,6 @@ script:

after_success:
- bash <(curl -s https://codecov.io/bash)

after_failure:
- if [ -f dubbo.log ]; then echo "------TAIL of dubbo.log------"; tail -n 1000 dubbo.log; echo "------END of dubbo.log------"; fi
69 changes: 38 additions & 31 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,61 +1,68 @@
# Release Notes

## 2.7.0
环境要求:需要Java 8及以上版本支持

请在[这里]()了解关于升级2.7.x版本的注意事项和兼容性问题
Requirements: **Java 8+** required

## New Features
Please check [here](https://github.com/apache/incubator-dubbo/blob/2.7.0-release/CHANGES.md#upgrading-and-compatibility-notifications) for notes and possible compatibility issues for upgrading from 2.6.x or lower to 2.7.0.

- 服务治理规则增强。
- 更丰富的服务治理规则,新增应用级别条件路由、Tag路由等
- 治理规则与注册中心解耦,增加对Apollo等第三方专业配置中心的支持,更易于扩展
- 新增应用级别的动态配置规则
- 规则体使用更易读、易用YAML格式
### New Features

- 外部化配置。支持读取托管在远程的集中式配置中心的dubbo.properties,实现应用配置的集中式管控。
- Enhancement of service governance rules.
- Enriched Routing Rules.
1. Conditional Routing. Supports both application-level and service-level conditions.
2. Tag Routing. Newly introduced to better support traffic isolation, such as grey deployment.
- Decoupling governance rules with the registry, making it easier to extend. Apollo and Zookeeper are available in this version. Nacos support is on the way...
- Application-level Dynamic Configuration support.
- Use YAML as the configuration language, which is more friendly to read and use.

- 更精炼的注册中心URL,进一步减轻注册中心存储和同步压力,初步实现地址和配置的职责分离。
- Externalized Configuration. Supports reading `dubbo.properties` hosted in remote centralized configuration center - centralized configuration.

- 新增服务元数据中心,负责存储包括服务静态化配置、服务定义(如方法签名)等数据,默认提供Zookeeper, Redis支持。此功能也是OPS实现服务测试、Mock等治理能力的基础。
- Simplified registry URL. With lower Registry memory use and less notification pressure from Service Directory, separates Configuration notification from Service Discovery.

- 异步编程模式增强(限定于Dubbo协议)
- 原生CompletableFuture<T>签名接口支持
- 服务端异步支持
- 异步Filter链
- Metadata Center. A totally new concept since 2.7.0, used to store service metadata including static configuration, service definition, method signature, etc.. By default, Zookeeper and Redis are supported as the backend storage. Will work as the basis of service testing, mock and other service governance features going to be supported in [Dubbo-Admin](https://github.com/apache/incubator-dubbo-admin).

- 新增Protobuf序列化协议扩展
- Asynchronous Programming Model (only works for Dubbo protocol now)
- Built-in support for the method with CompletableFuture<T> signature.
- Server-side asynchronous support, with an AsyncContext API works like Servlet 3.0.
- Asynchronous filter chain callback.

- 新增ExpiringCache缓存策略扩展
- Serialization Extension: Protobuf.

## Enhancements / Bugfixes
- Caching Policy Extension: Expiring Cache.

- 负载均衡策略优化,包括ConsitentHash(#2190) 、LeastActive(#2171)、Random(#2597) 、RoundRobin(#2586) (#2650)
### Enhancements / Bugfixes

- 升级第三方依赖:默认通信框架为netty 4、默认ZK客户端为Curator、Jetty 9k
- Load Balancing strategy enhancement: ConsitentHash #2190, LeastActive #2171, Random #2597, RoundRobin #2650.

- 增加地址读取时对IPV6的支持(#2079)
- Third-party dependency upgrading.
- Switch default remoting to Netty 4.
- Switch default Zookeeper client to Curator.
- Upgrade Jetty to 9.x.

- 性能优化,链接关闭的情况下使得Consumer快速返回 (#2185)
- IPV6 support #2079.

- 修复Jdk原生类型在kryo中的序列化问题 (#2178)
- Performance tuning, check hanging requests on a closed channel, make them return directly #2185.

- 修复Provider端反序列化失败后,没有及早通知Consumer端的问题 (#1903)
- Fixed the serialization problem of JDK primitive types in Kryo #2178.

- Fixed the problem of failing to notify Consumer as early as possible after the Provider side deserialization failed #1903.

## 升级与兼容性
### Upgrading and Compatibility Notifications

此次版本发布我们遵循了保持和老版本兼容的原则,尤其是在一些可能会破坏2.7版本与低版本互操作性的问题上,我们增加了一些兼容性代码,典型如服务治理规则、Package重命名、注册URL简化等。
We have always keep compatibility in mind during the whole process of 2.7.0. We even want old users to upgrade with only on pom version upgrade, but it's hard to achieve that, especially when considering that we have the package renamed in this version, so we had some tradeoffs. If you only used the Dubbo's most basic features, you may have little problems of upgrading, but if you have used some advanced features or have some SPI extensions inside, you'd better read the upgrade notifications carefully. The compatibility issues can be classified into the following 5 categories, for each part, there will have detailed dos and don'ts published later in the official website.

1. Package重命名
1. Interoperability between 2.7.0 and lower versions

com.alibaba.dubbo -> org.apache.dubbo
2. Package renaming

2. 注册URL简化
com.alibaba.dubbo -> org.apache.dubbo

3. 服务治理规则
3. Simplification of registered URLs

4. 配置
4. Service Governance Rules

5. Configuration


## 2.6.5
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The mailing list is the recommended way for discussing almost anything that rela

- [dev@dubbo.incubator.apache.org](mailto:dev-subscribe@dubbo.incubator.apache.org): the develop mailing list, you can ask question here if you have encountered any problem when using or developing Dubbo.
- [commits@dubbo.incubator.apache.org](mailto:commits-subscribe@dubbo.incubator.apache.org): all the commits will be sent to this mailing list. You can subscribe to it if you are interested in Dubbo's development.
- [notification@dubbo.incubator.apache.org](mailto:notification-subscribe@dubbo.incubator.apache.org): all the Github [issue](https://github.com/apache/incubator-dubbo/issues) updates and [pull request](https://github.com/apache/incubator-dubbo/pulls) updates will be sent to this mailing list.
- [notifications@dubbo.incubator.apache.org](mailto:notifications-subscribe@dubbo.incubator.apache.org): all the Github [issue](https://github.com/apache/incubator-dubbo/issues) updates and [pull request](https://github.com/apache/incubator-dubbo/pulls) updates will be sent to this mailing list.

### Reporting issue

Expand Down
14 changes: 5 additions & 9 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -208,15 +208,6 @@ Apache Dubbo includes a number of submodules with separate copyright notices
and license terms. Your use of these submodules is subject to the terms and
conditions of the following licenses.

For the org.apache.dubbo.common.concurrent package:

This product bundles and repackages the following code in Google Guava 16.0.1, which is available under a
"Apache License 2.0" license. For details, see https://github.com/google/guava/blob/v16.0.1/COPYING.

* com.google.common.util.concurrent.ExecutionList
* com.google.common.util.concurrent.ListenableFuture
* com.google.common.util.concurrent.ListenableFutureTask

For the package org.apache.dubbo.common.threadlocal and org.apache.dubbo.common.timer:

This product contains a modified portion of 'Netty', an event-driven asynchronous network application framework also
Expand All @@ -229,3 +220,8 @@ This product contains a modified portion of 'Netty', an event-driven asynchronou
* io.netty.util.Timeout
* io.netty.util.HashedWheelTimer

For the org.apache.dubbo.common.utils.CIDRUtils :

This product contains a modified portion of 'edazdarevic.commons.net.CIDRUtils',
under a "MIT License" license, see https://github.com/edazdarevic/CIDRUtils/blob/master/CIDRUtils.java

69 changes: 41 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Build Status](https://travis-ci.org/apache/incubator-dubbo.svg?branch=master)](https://travis-ci.org/apache/incubator-dubbo)
[![codecov](https://codecov.io/gh/apache/incubator-dubbo/branch/master/graph/badge.svg)](https://codecov.io/gh/apache/incubator-dubbo)
![maven](https://img.shields.io/maven-central/v/com.alibaba/dubbo.svg)
![maven](https://img.shields.io/maven-central/v/org.apache.dubbo/dubbo.svg)
![license](https://img.shields.io/github/license/alibaba/dubbo.svg)
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/apache/incubator-dubbo.svg)](http://isitmaintained.com/project/apache/incubator-dubbo "Average time to resolve an issue")
[![Percentage of issues still open](http://isitmaintained.com/badge/open/apache/incubator-dubbo.svg)](http://isitmaintained.com/project/apache/incubator-dubbo "Percentage of issues still open")
Expand All @@ -29,26 +29,26 @@ We are now collecting dubbo user info in order to help us to improve Dubbo bette

## Getting started

The following code snippet comes from [Dubbo Samples](https://github.com/dubbo/dubbo-samples/tree/master/dubbo-samples-api). You may clone the sample project and step into `dubbo-samples-api` sub directory before read on.
The following code snippet comes from [Dubbo Samples](https://github.com/apache/incubator-dubbo-samples/tree/master/dubbo-samples-api). You may clone the sample project and step into `dubbo-samples-api` sub directory before read on.

```bash
# git clone https://github.com/dubbo/dubbo-samples.git
# cd dubbo-samples/dubbo-samples-api
# git clone https://github.com/apache/incubator-dubbo-samples.git
# cd incubator-dubbo-samples/dubbo-samples-api
```

There's a [README](https://github.com/dubbo/dubbo-samples/blob/master/dubbo-samples-api/README.md) file under `dubbo-samples-api` directory. Read it and try this sample out by following the instructions.
There's a [README](https://github.com/apache/incubator-dubbo-samples/tree/master/dubbo-samples-api/README.md) file under `dubbo-samples-api` directory. Read it and try this sample out by following the instructions.

### Maven dependency

```xml
<properties>
<dubbo.version>2.6.5</dubbo.version>
<dubbo.version>2.7.0</dubbo.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.alibaba</groupId>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-dependencies-bom</artifactId>
<version>${dubbo.version}</version>
<type>pom</type>
Expand All @@ -59,35 +59,47 @@ There's a [README](https://github.com/dubbo/dubbo-samples/blob/master/dubbo-samp

<dependencies>
<dependency>
<groupId>com.alibaba</groupId>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId>
<version>${dubbo.version}</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
</dependency>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</dependency>
</dependencies>
```

### Define service interfaces

```java
package org.apache.dubbo.demo.api;
package org.apache.dubbo.samples.api;

public interface GreetingService {
String sayHello(String name);
}
```

*See [api/GreetingService.java](https://github.com/dubbo/dubbo-samples/blob/master/dubbo-samples-api/src/main/java/org/apache/dubbo/samples/api/GreetingsService.java) on GitHub.*
*See [api/GreetingService.java](https://github.com/apache/incubator-dubbo-samples/blob/master/dubbo-samples-api/src/main/java/org/apache/dubbo/samples/api/GreetingsService.java) on GitHub.*

### Implement service interface for the provider

```java
package org.apache.dubbo.demo.provider;
package org.apache.dubbo.samples.provider;

import org.apache.dubbo.demo.GreetingService;
import org.apache.dubbo.samples.api.GreetingService;

public class GreetingServiceImpl implements GreetingService {
public String sayHello(String name) {
Expand All @@ -96,17 +108,17 @@ public class GreetingServiceImpl implements GreetingService {
}
```

*See [provider/GreetingServiceImpl.java](https://github.com/dubbo/dubbo-samples/blob/master/dubbo-samples-api/src/main/java/org/apache/dubbo/samples/provider/GreetingsServiceImpl.java) on GitHub.*
*See [provider/GreetingServiceImpl.java](https://github.com/apache/incubator-dubbo-samples/blob/master/dubbo-samples-api/src/main/java/org/apache/dubbo/samples/provider/GreetingsServiceImpl.java) on GitHub.*

### Start service provider

```java
package org.apache.dubbo.demo.provider;

import com.alibaba.dubbo.config.ApplicationConfig;
import com.alibaba.dubbo.config.RegistryConfig;
import com.alibaba.dubbo.config.ServiceConfig;
import org.apache.dubbo.demo.GreetingService;
import org.apache.dubbo.config.ApplicationConfig;
import org.apache.dubbo.config.RegistryConfig;
import org.apache.dubbo.config.ServiceConfig;
import org.apache.dubbo.samples.api.GreetingService;

import java.io.IOException;

Expand All @@ -124,7 +136,7 @@ public class Application {
}
```

*See [provider/Application.java](https://github.com/dubbo/dubbo-samples/blob/master/dubbo-samples-api/src/main/java/org/apache/dubbo/samples/provider/Application.java) on GitHub.*
*See [provider/Application.java](https://github.com/apache/incubator-dubbo-samples/blob/master/dubbo-samples-api/src/main/java/org/apache/dubbo/samples/provider/Application.java) on GitHub.*

### Build and run the provider

Expand All @@ -138,10 +150,10 @@ public class Application {
```java
package org.apache.dubbo.demo.consumer;

import com.alibaba.dubbo.config.ApplicationConfig;
import com.alibaba.dubbo.config.ReferenceConfig;
import com.alibaba.dubbo.config.RegistryConfig;
import org.apache.dubbo.demo.GreetingService;
import org.apache.dubbo.config.ApplicationConfig;
import org.apache.dubbo.config.ReferenceConfig;
import org.apache.dubbo.config.RegistryConfig;
import org.apache.dubbo.samples.api.GreetingService;

public class Application {
public static void main(String[] args) {
Expand All @@ -164,7 +176,7 @@ public class Application {

The consumer will print out `Hello world` on the screen.

*See [consumer/Application.java](https://github.com/dubbo/dubbo-samples/blob/master/dubbo-samples-api/src/main/java/org/apache/dubbo/samples/consumer/Application.java) on GitHub.*
*See [consumer/Application.java](https://github.com/apache/incubator-dubbo-samples/blob/master/dubbo-samples-api/src/main/java/org/apache/dubbo/samples/consumer/Application.java) on GitHub.*

### Next steps

Expand Down Expand Up @@ -197,7 +209,7 @@ See [CONTRIBUTING](https://github.com/apache/incubator-dubbo/blob/master/CONTRI
* blog post
* translation on documentation
* use cases about how Dubbo is being used in enterprise system.
* Improve the [dubbo-ops/dubbo-monitor](https://github.com/apache/incubator-dubbo-ops).
* Improve the [dubbo-admin/dubbo-monitor](https://github.com/apache/incubator-dubbo-admin).
* Contribute to the projects listed in [ecosystem](https://github.com/dubbo).
* Any form of contribution that is not mentioned above.
* If you would like to contribute, please send an email to dev@dubbo.incubator.apache.org to let us know!
Expand All @@ -208,21 +220,22 @@ Please follow the [template](https://github.com/apache/incubator-dubbo/issues/ne

## Reporting a security vulnerability

Please report security vulnerability to [us](security@dubbo.incubator.apache.org) privately.
Please report security vulnerability to [us](mailto:security@dubbo.incubator.apache.org) privately.

## Dubbo eco system
## Dubbo ecosystem

* [Dubbo Ecosystem Entry](https://github.com/dubbo) - A GitHub group `dubbo` to gather all Dubbo relevant projects not appropriate in [apache](https://github.com/apache) group yet
* [Dubbo Website](https://github.com/apache/incubator-dubbo-website) - Apache Dubbo (incubating) official website
* [Dubbo Samples](https://github.com/dubbo/dubbo-samples) - samples for Apache Dubbo (incubating)
* [Dubbo Samples](https://github.com/apache/incubator-dubbo-samples) - samples for Apache Dubbo (incubating)
* [Dubbo Spring Boot](https://github.com/apache/incubator-dubbo-spring-boot-project) - Spring Boot Project for Dubbo
* [Dubbo OPS](https://github.com/apache/incubator-dubbo-ops) - The reference implementation for Dubbo admin
* [Dubbo Admin](https://github.com/apache/incubator-dubbo-admin) - The reference implementation for Dubbo admin

#### Language

* [Node.js](https://github.com/dubbo/dubbo2.js)
* [Python](https://github.com/dubbo/dubbo-client-py)
* [PHP](https://github.com/dubbo/dubbo-php-framework)
* [Go](https://github.com/dubbo/dubbo-go)

## License

Expand Down
1 change: 1 addition & 0 deletions codestyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<module name="NoLineWrap"/>
<module name="OuterTypeFilename"/>
<module name="UnusedImports"/>
<module name="RedundantImport"/>

<!--<module name="CustomImportOrder">-->
<!--<property name="specialImportsRegExp" value="org.apache.dubbo.*"/>-->
Expand Down
Loading