Release Notes

2.6.6

Enhancement / New feature:

  • tag route. #3065
  • Use Netty4 as default Netty version. #3029
  • upporting Java 8 Date/Time type when serializing with Kryo #3519
  • supoort config telnet #3511
  • add annotation driven in MethodConfig and ArgumentConfig #2603
  • add nacos-registry module #3296
  • add protocol attribute in @Rerefence #3555 *support the hierarchical interface in @Service #3251
  • change the default behavior in @EnableDubboConfig.multiple() #3193
  • inline source code of spring-context-support #3192
  • Simplify externalized configuration of Dubbo Protocol name #3189

BugFix:

  • update hessian-lite to 2.3.5, fix unnecessary class load #3538
  • Fix unregister when client destroyed(referenceconfig#destroy) #3502
  • SPI entires dup by 3 times #3315
  • fix Consumer throws RpcException after RegistryDirectory notify in high QPS #2016
  • fix NPE in @Reference when using Junit to test dubbo service #3429
  • fix consuer always catch java.lang.reflect.UndeclaredThrowableException for any exception throws in provider #3386
  • fix the priority of DubboConfigConfigurationSelector #2897
  • fix @Rerefence#parameters() not work #2301

2.6.5

Enhancements / Features:

  • Reactor the generation rule for @Service Bean name #2235
  • Introduce a new Spring ApplicationEvent for ServiceBean exporting #2251
  • [Enhancement] the algorithm of load issue on Windows. #1641
  • add javadoc to dubbo-all module good first issue. #2600
  • [Enhancement] Reactor the generation rule for @Service Bean name type/enhancement #2235
  • Optimize LeastActiveLoadBalance and add weight test case. #2540
  • Smooth Round Robin selection. #2578 #2647
  • [Enhancement] Resolve the placeholders for sub-properties. #2297
  • Add ability to turn off SPI auto injection, special support for generic Object type injection. #2681

Bugfixes:

  • @Service(register=false) is not work. #2063
  • Our customized serialization id exceeds the maximum limit, now it cannot work on 2.6.2 anymore. #1903
  • Consumer throws RpcException after RegistryDirectory notify in high QPS. #2016
  • Annotation @Reference can't support to export a service with a sync one and an async one . #2194
  • org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor#generateReferenceBeanCacheKey has a bug. #2522
  • 2.6.x Spring Event & Bugfix. #2256
  • Fix incorrect descriptions for dubbo-serialization module. #2665
  • A empty directory dubbo-config/dubbo-config-spring/src/test/resources/work after package source tgz. #2560
  • Fixed 2.6.x branch a minor issue with doConnect not using getConnectTimeout() in NettyClient. (No issue). #2622
  • Bean name of @service annotated class does not resolve placeholder. #1755

Issues and Pull Requests, check milestone-2.6.5.

2.6.4

Enhancements / Features

  • Support access Redis with password, #2146
  • Support char array for GenericService, #2137
  • Direct return when the server goes down abnormally, #2451
  • Add log for trouble-shooting when qos start failed, #2455
  • PojoUtil support subclasses of java.util.Date, #2502
  • Add ip and application name for MonitorService, #2166
  • New ASCII logo, #2402

Bugfixes

  • Change consumer retries default value from 0 to 2, #2303
  • Fix the problem that attachment is lost when retry, #2024
  • Fix NPE when telnet get a null parameter, #2453

UT stability

  • Improve the stability by changing different port, setting timeout to 3000ms, #2501

Issues and Pull Requests, check milestone-2.6.4.

2.6.3

Enhancements / Features

  • Support implicit delivery of attachments from provider to consumer, #889
  • Support inject Spring bean to SPI by bean type, #1837
  • Add generic invoke and attachments support for http&hessian protocol, #1827
  • Get the real methodname to support consistenthash for generic invoke, #1872
  • Remove validation key from provider url on Consumer side, config depedently, #1386
  • Introducing the Bootstrap module as a unified entry for Dubbo startup and resource destruction, #1820
  • Open TCP_NODELAY on Netty 3, #1746
  • Support specify proxy type on provider side, #1873
  • Support dbindex in redis, #1831
  • Upgrade tomcat to 8.5.31, #1781

Bugfixes

  • ExecutionDispatcher meet with user docs, #1089
  • Remove side effects of Dubbo custom loggers on Netty logger, #1717
  • Fix isShutdown() judge of Dubbo biz threadpool always return true, #1426
  • Selection of invoker node under the critical condition of only two nodes, #1759
  • Listener cann't be removed during unsubscribe when use ZK as registry, #1792
  • URL parsing problem when user filed contains ‘@’, #1808
  • Check null in CacheFilter to avoid NPE, #1828
  • Fix potential deadlock in DubboProtocol, #1836
  • Restore the bug that attachment has not been updated in the RpcContext when the Dubbo built-in retry mechanism is triggered, #1453
  • Some other small bugfixes

Performance Tuning

  • ChannelState branch prediction optimization. #1643
  • Optimize AtomicPositiveInteger, less memory and compute cost, #348
  • Introduce embedded Threadlocal to replace the JDK implementation, #1745

Hessian-lite

  • Hessian deserialization optimization, #1705
  • Support Locale type, #1761

Compatibilities
This release is compatible with other versions since 2.5.3, and you can upgrade smoothly.

  • The RPC protocol version has been upgraded from 2.0.1 to 2.0.2, to support attachments delivery in #889, generally, the protocol version is used internally, so it should have no side effects on users.

Issues and Pull Requests, check milestone-2.6.3.

2.6.2

  1. Hessian-lite serialization: revert locale serialization for compatibility, #1413
  2. Asset transfer to ASF, including pom, license, DISCLAIMER and so on, #1491
  3. Introduce of new dispatcher policy: EagerThreadpool, #1568
  4. Separate monitor data with group and version, #1407
  5. Spring Boot Enhancenment, #1611
  6. Graceful shutdown enhancement
    • Remove exporter destroy logic in AnnotationBean.
    • Waiting for registry notification on consumer side by checking channel state.
  7. Simplify consumer/provider side check in RpcContext, #1444.

Issues and Pull Requests, check milestone-2.6.2.