Dubbo v2.7.8 Release Notes
Release Date: 2020-07-28 // about 3 years ago-
π Features
- β¬οΈ Upgrading the Nacos Registry to support the dynamic properties #6417
- π REST Protocol Enhancement to support Tomcat 9.x #6402 #6418
- π Hessian2 supports Whitelist #6378 #6415
- πΎ Save memory usage in TagRouter #6083 #6082
- π§ Deleting useless logic from Configurator #6395
- β Adding the validating for the RPC invocation method parameters #6374
- π§ Registering the common beans for Spring XML meta-configuration #6175 #6288
- π Supporting TypeBuilder sorting #6365 #6307 #6306
- Service Introspection Enhancement #6366
- Refatoring MetadataServiceExporter #6356
- Introducing the composite implementation of MetadataService #6171
- Merging all subscribied URLs from the multiple services #6346
- Introducing the method of supporting the config-center for the Registry interface #6319
- Refactoring MetadataReport's methods #6310
- Adding the "services" attribute into
<dubbo:reference>
element #6173 - Adding the "services" attribute methods into @DubboReference #6172
- Introducing the composite ServiceNameMapping #6342
- Introducing the externalized configuration for ServiceNameMapping #6170
- org.apache.dubbo.metadata.ServiceNameMapping #6336
- Using mandatory implementation of Service Instance registration instead of the event #6333
- Refactoring the implememtation of MetadataReport based on The Config-Center infrastructure #6315
- Adding the implementation of MetadataReport's new methods for Nacos #6309
- ServiceConfig and ReferenceConfig publish the ServiceDefinition based on the Dubbo Event #6305
- Adding the new methods into MetadataReport to manipulate the exported URLs for service introspection #6296
- Changing the behavior of
RegistryConfig#getUseAsConfigCenter
to be optional #6247
- β Adding visual-studio-code ignore #6221 #6287
- π Put default version&group from provider and consumer into service metadata #6111
- β¬οΈ Reduce memory allocation during address change notification #5613
- check invoker available status after proxy created. #6435
- π Introducing default behavior of the properties "useAsConfigCenter" and "useAsMetadataCenter" in RegistryConfig #6459
π Bugfixes
- Resolving the issue about Spring Beans Initializing eagerly #6419
- π Fix callback throw "Not found exported service" when serviceUrl has bind.port paramater. #6223
- Resolving the issue on
ConsulServiceDiscovery#getServices()
returningnull
#6389 - π Fix ClassCastException in PojoUtils #6106
- π Fix NPE when check=false is set and provider is empty #6376
- π Fix the priority of ListenableRouter were not effective #4822 #6148
- π² Changing the log level to be
info
when the url is generic #6241#6363 - Resolving the issue about
@DubboReference
βs Filter Chain not working on Spring local beans #6224 - π Fixing NacosDynamicConfiguration#publishConfig bug #6198
- dubbo-compatible @SPI interface compatible not work #6428
- The duplicated path in Tree-Path config-center #6442
- π The missing protocol of MetadataReportConfig when the proeprty "useAsMetadataCenter" of RegistryConfig is enabled #6476
- Resolving the issue of duplicated registration for
DubboBootstrapApplicationListener
#6231#6253
β¬οΈ Dependency Upgrades
- β¬οΈ Upgrading the artifact
com.alibaba.spring:spring-context-support:1.0.7
#6425 - β¬οΈ Upgrading the artifact
com.alibaba.spring:spring-context-support:1.0.8
#6457 - β¬οΈ Upgrading the artifact
com.alibaba:dubbo-hessian-lite:3.2.8
#6262 - β¬οΈ Upgrading the artifact
com.alibaba:fastjson:1.2.70
#6254 - β¬οΈ Upgrading the artfcat
com.alibaba.nacos:nacos-client:1.3.1
#6465
Vulnerability
β¬οΈ This vulnerability can affect all Dubbo users using 2.5.x, 2.6.x and 2.7.x, please upgrade to 2.6.9 or 2.7.8 to solve this issue. Check here for how to enable Hessian2 whitelist/blacklist: #6378
Contributors
π Thanks for the following contributors for this release:
Previous changes from v2.7.7
-
π Features
- [Solution] How to integrate Apache Dubbo with Nacos authentication #5956
- [Dubbo-5130] complete lfu cache proposal #5734
- π [Feature] To support the application choose the preferred network interface #5795
- π [Dubbo-Performance] Reuse Hessian2Output and Hessian2Input instance to reduce memorβ¦ #5889
- @referenceε@service Naming issues #6074
- π support timeout pass and count down on RPC call chain. #6008
- β add new loadbalance strategy #6064
β¨ Enhancement
- call onThrowable when RPC call fail (#5828)
- β¬οΈ upgrade fastjson to 1.2.68 #5941
- β‘οΈ update hessian-lite to 3.2.7 #5964
- [feature] publish ThreadPoolExhaustedEvent when thread pool exhausted #5958
- [Dubbo-5855] ReferenceConfig(null) is not DESTROYED when FINALIZE #5863
- π§ register stated url to provider model, no matter the provider is configured to delay-published or not #5757
- [Enhancement] Take the "name" property of Dubbo Config as Spring Bean If its "id" property is blank #6063
- π [Enhancement] Adding a build tools module for Apache License #6060
- π¨ [Enhancement] Refactoring the parser of dubbo config BeanDefinitions in XML configuration #6039
- π¨ [Refactor] Extracting the "parameters" property to a new abstract Dubbo config class #6043
- π¨ [Refactor] Rename the class name of ServiceAnnotationBeanPostProcessor #6070
- [Enhancement] Adding the overriding rule for ExtensionLoader #6068
- π§ [Enhancement] Resolving the placeholders of XML BeanDefinition in the Configuration Class #6079
- Ignore deserilization when service/method not found #5733
- 0οΈβ£ DynamicConfiguration: return default value if not implemented. #6086
- π [Dubbo-Optimization] modify the synchronize monitor object to final #6081
- π support for merger when use @method or @DubboReference #6092
- π Making "dubbo-build-tools" module to be non-deployable one. #6115
π Bugfixes
- zipkin tracing filter cause deadlock #5955
- correct the number of selected invoker #5875
- π Fixes multi-registry subscription loadbalance strategy does not work properly. #5686
- [Dubbo-5871][Dubbo-5885][Dubbo-5899] Fix nacos registry not work bug since 2.7.6 #5902
- π Fix default config does not work as expected. #5952
- π fix potential ConcurrentModificationException #6031
- βͺ revert computeIfAbsent for jdk related bug #6032
- π fix tomcat9 support. #5711 #6066
- π fix alibaba RpcContext setAttachment(String,String) #6052
- β add javax support when use jdk11 #154
- π¦ Use the correct service name in the request package #6138
Compatibility
- 0οΈβ£ compatible with lower versions registering "default." keys #5950
Vulnerability