CHANGES.md
Please refer to https://github.com/apache/dubbo/releases for notes of future releases.
onResponse annotated as @Deprecated has been removed, users of lower versions that
have extended Filter implementations and enabled Filter callbacks should be careful of this change.check 2.7.5 milestone for details.
Asynchronous support
Configuration Center
2.6.x compatibility
com.alibaba.* and org.apache.* packages, #4330The Nacos Registration Center only subscribes to the address list and no longer subscribes to configuration information, #4454.
Support to read the environment configuration from the specified location, which can be specified by -D or OS VARIABLE. Please refer to automatically loading environment variables
Fix consumer cannot downgrade to providers with no tags when there's no tagged providers can match, #4525
Some other bugfixes, #4346 #4338 #4349 #4377
异步支持相关
配置中心相关
2.6.x兼容性
com.alibaba.* 和 org.apache.* 两个包下的注解 #4330Nacos注册中心只订阅地址列表,不再订阅配置信息 #4454
支持从指定位置读取环境配置,可通过-D或OS VARIABLE指定,具体请参见使用说明
标签路由在消费端使用静态打标方式时,无法实现自动降级以消费无标签提供者 #4525
其他一些bugfix,#4346 #4338 #4349 #4377
'zkclient' extension for 'org.apache.dubbo.remoting.zookeeper.ZookeeperTransporter' is removed from Dubbo 2.7.1, and 'curator' extension becomes the default extension. If you happen to config your application to use 'zkclient' explicitly, pls. switch to use 'curator' instead.
server.start failed with a socket binding error. #3236Requirements: Java 8+ required
Please check here for notes and possible compatibility issues for upgrading from 2.6.x or lower to 2.7.0.
Enhancement of service governance rules.
Externalized Configuration. Supports reading dubbo.properties hosted in remote centralized configuration center - centralized configuration.
Simplified registry URL. With lower Registry memory use and less notification pressure from Service Directory, separates Configuration notification from Service Discovery.
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.
Asynchronous Programming Model (only works for Dubbo protocol now)
Serialization Extension: Protobuf.
Caching Policy Extension: Expiring Cache.
Load Balancing strategy enhancement: ConsitentHash #2190, LeastActive #2171, Random #2597, RoundRobin #2650.
Third-party dependency upgrading.
IPV6 support #2079.
Performance tuning, check hanging requests on a closed channel, make them return directly #2185.
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.
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.
Interoperability between 2.7.0 and lower versions
Package renaming
com.alibaba.dubbo -> org.apache.dubbo
Simplification of registered URLs
Service Governance Rules
Configuration
Enhancement / New feature:
protocol attribute in @Rerefence #3555
*support the hierarchical interface in @Service #3251@EnableDubboConfig.multiple() #3193spring-context-support #3192BugFix:
DubboConfigConfigurationSelector #2897@Rerefence#parameters() not work #2301Enhancements / Features:
Bugfixes:
org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor#generateReferenceBeanCacheKey has a bug. #2522Issues and Pull Requests, check milestone-2.6.5.
Enhancements / Features
Bugfixes
UT stability
Issues and Pull Requests, check milestone-2.6.4.
Enhancements / Features
Bugfixes
Performance Tuning
Hessian-lite