Releases: apache/dubbo
Releases · apache/dubbo
apache-dubbo-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, #1665
- Open TCP_NODELAY on Netty 3, #1746
- Graceful shutdown optimization (unified to the lifecycle to Servlet or Spring), #1820, #2126
- Enable thread pool on Consumer side, #2013
- Support specify proxy type on provide 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
Performance Tuning
- ChannelState branch prediction optimization. #1643
- Optimize AtomicPositiveInteger, less memory and compute cost, #348
- Introduce embeded Threadlocal to replace the JDK implementation, #1745
Hessian-lite
功能增强 / 新特性
- 支持从服务端到客户端的隐式attachments传递, #889
- 支持根据bean类型将spring bean注入SPI, #1837
- 增加对http&hessian协议的泛化调用和attachments支持, #1827
- 通过增加泛化调用的真实方法名获取来支持一致性哈希, #1872
- 移除消费者端的服务端校验key, #1386
- 引入 Bootstrap 作为Dubbo启动和资源销毁的统一入口, #1665
- 在Netty 3中打开TCP_NODELAY, #1746
- 优雅下线优化(统一Servlet和Spring的生命周期), #1820, #2126
- 增加消费者端的线程池支持, #2013
- 在服务端增加特定的代理类型, #1873
- 支持redis中的dbindex, #1831
- 升级tomcat到8.5.31, #1781
问题修复
- ExecutionDispatcher 行为符合文档描述用户文档, #1089
- 移除Netty日志环境中,Dubbo自定义日志的副作用, #1717
- 修复 isShutdown() 判断在Dubbo业务线程池中总是返回true的问题, #1426
- 在只有两个节点的临界条件下,invoker节点选择的问题, #1759
- 使用ZK作为注册中心时,监听器在取消订阅过程中无法被移除的问题, #1792
- URL中包含用户定义的'@'时的解析问题, #1808
- CacheFilter中的空值检查来避免空指针问题, #1828
- 修复DUbboProtocol中潜在的死锁问题, #1836
- 修复在Dubbo内建重试机制触发时,RpcContext中的attachment没有被更新的问题, #1453
性能调优
- ChannelState中的分支预测优化. #1643
- 优化AtomicPositiveInteger, 减少内存和计算消耗, #348
- 引入内建的Threadlocal 来替代JDK的实现, #1745
Hessian-lite
apache-dubbo-2.6.2
- Hessian-lite serialization: revert changes to locale serialization in previous release for compatibility, #1413
- Asset transfer to ASF, including pom, license, DISCLAIMER and so on, #1491
- Introduce new dispatcher policy: EagerThreadpool, #1568
- Separating monitor data with group and version, #1407
- Spring Boot Enhancenment, #1611
- Graceful shutdown enhancement
- Remove exporter destroy logic in AnnotationBean.
- Waiting for registry notification on consumer side by checking channel state.
- Simplify consumer/provider side check in RpcContext, #1444.
dubbo-2.6.1
Refactor
- Stripping OPS modules such as dubbo-admin, dubbo-monitor, etc. to a separate repo, #1209.
- Refactor project dependency and package structure: serialization as a standalone module, all submodules can deploy to remote repository separately, #1322.
Enhancements & Bugfixes
- Support build in java 9, #1283.
- Avoid blocking problems of hessian serailization in high concurrency scenarios, #1196.
- Change default ZK client to "curator", #1186.
- Avoid retry when parameter validation fails, #1031.
- Remove dubbo destroy logic from spring bean destroy process.
- Add "oninvoke" parse, #1353.
- Other small bugs or polish.
重构
- 将dubbo-admin, dubbo-monitor等OPS模块剥离到一个单独的工程仓库中, #1209.
- 重构工程依赖和包结构: 序列化作为一个单独的模块,所有的子模块可以单独部署到远程仓库中, #1322.
功能增强 & 问题修复
dubbo-2.5.10
BugFixes
- TimeUnit convert error in FutureAdapter, #1303.
- Provider side failed to invoke service when deployed in docker, #1289.
- Hessian serialization problem with types: short and byte, #1232.
- Remove isdestrory() check in registry, make sure unregister works when shutdown, #1313
- Reference annotation support annotate on annotation type
问题修复
dubbo-2.5.9
BugFixes
- Backward compatible for RMI protocol #911
- Hessian serialization:
- Redis and Multicast registry can not offline.
Enhancements
- Annotation enhancement, #1205. The dubbo-spring-boot-starter has also been released based on this version.
- Add switch for qos:
dubbo.application.qos.enable=true/false. Notice the new way we configure qos, for example,has been changed todubbo.qos.portdubbo.application.qos.port. #1189 - Graceful shutdown, add extra waiting time between registry unregister and threadpool shutdown. #1021
- Improve performance of hessian serialization by avoid usage of inefficient
synchronized. #1196 - Avoid retry when parameter validation fails. #1031
- Condition router should also check default values. #1204
Vulnerability Patches
- From this version, we will check if the serialization id received from network(only if the id identifies JDK serialization) matches with that in current instance. If it can't be matched, the deserialization process will be rejected. Since the original JDK deserialization has security problems, we do this to prevent unexpected tamper of serialization type, e.g. from
hessian2tojava.
dubbo-2.6.0
Release Notes
In this release, we mainly merged the dubbox branch contributed by dangdang that highlights the following features (also see #1001):
- REST support (by integrating resteasy)
- High-performance serialization framework: kryo, FST
- Embedded tomcat support
We tried to keep the original branch of the way, while making the following small adjustments:
- Upgraded the versions of some dependencie: kryo, FST and tomcat
- Removed the changes to core RPC protocol to avoid compatible problem
Important Notes
- Dependencies
As all new features in this version are optional, dependencies added to this version are not transitive, so you don't have to worry about introducing any dependency problem when using the new version. This in turn means you have to add the necessary dependencies to your project whenever you decide to use any new features in this release.
Dubbo-2.5.8
Release Notes
- Dubbo Programming Model enhancement.
- Fixed some bugs reported in 2.5.7.
- More details refer to Dubbo Annotation-Driven
- External Configuration
EnableDubbo,EnableDubboBindings, also preparing for Spring-Boot-Starter.- More details refer to Dubbo Externalized Configuration
- More powerful OPS through
telnetandhttp: only supportonline,offlinein this version, more functions will be provided in the following releases - Route rule should not run every time by default
- Tuning spring event performance
- Fixed NPE path problem when using curator
- Fixed some bugs reported with dubbo-admin
- Redis registry support authentication
dubbo-2.5.7
Release notes
- A totally new annotation config implementation, fixed all drawbacks reported with the old annotation version. (dubbo-spring-boot-starter is going to be released later)
* More details refer to Dubbo Annotation-Driven - Support reading ip&port to register and bind from environment variables.
example - Adjust some XML config items: dump.directory, etc..
- Bootstrap blocked when registry can not be connected.
- MonitorService blocks RPC process when ZK can not be connected when MonitorService is invoked the first time. #672
- Mark internal JSON serialization deprecated, use fastjson instead.
- RMI protocol support attachments passing.
- EnumSet type support of hessian2 serialization.
- Fixed some bugs and optimization.
see Milestone-2.5.7 for details
Important notes
Please note the following incompatibilities or caveats, but don't worry, this release has no impact on core RPC process. You can avoid all the potential impacts by simply adding dependencies or following configuration rules.
- If you are using AccesslogFilter, Telnet or Mock, remember add fastjson as a thirdpart dependency.
- If you are already using annotation config, we strongly recommend you upgrade to 2.5.7, in which verion we have changed the way annotation is used, and also changed the implementation.
- If
check = trueand registry can not be connected at start phase, the project can still be successfully started by degrading to use the registry cache. - Current version will discard the monitor statistics when MonitorService is not ready yet。
dubbo-2.5.6
Fixed issues
- Fixed PojoUtils problems: Enum Type, private fileds.
- RejectException can not be sent to the consumer side when provider threadpool is exhausted.
- Avoid the unnecessary response transfer when the payload is overload.
- Slf4jLogger can reflect the actual line number.
- Concurrency cause unexpected multi-port binding when using delay export
- Mock never work when there's no provider.
- Some optimization:OverrideListener、Stop unnecessary heartbeat on provider、Main bootstrap process, etc..
- Some bugfixs:dynamic configuration can not be deleted、telnet
invokesupport json arguments、monitor statistics problem, etc..
see Milestone-2.5.6 for details
New features
- Support for Netty4 manual
- Auto stack dump when thread pool exhausted. manual
- Jdk 1.8 new date-time types support for hessian2 serialization.
问题修复
- 修复 PojoUtils 问题: 枚举类型,私有成员.
- 在服务端线程池耗尽时,RejectException 无法被传到客户端.
- 在符合满载时,避免不必要的应答传输.
- Slf4jLogger 能够反映出真实的行号.
- 延迟暴露时,并发问题导致意外的多端口绑定
- 没有服务端时Mock不生效的问题.
- 一些优化:OverrideListener、停止服务端不必要的心跳、主启动流程, 等等
- 一些问题修复:动态配置无法删除,telent调用支持json参数、监控统计问题,等等
详情请见 2.5.6里程碑
新特性支持
dubbo-2.5.5
- Compatible with JDK1.6 or higher, 2.5.4 requires 1.8+.
- 兼容JDK1.6以及更高版本,2.5.4要求JDK1.8+.