dubbo-3.2.7
What's Changed
Feature
- Dubbo is now officially support JDK 21 https://github.com/apache/dubbo/pull/13083
- Support disable metrics init and sync by @AlbumenJ in https://github.com/apache/dubbo/pull/13025
- Support service level metrics by @songxiaosheng in https://github.com/apache/dubbo/pull/13033
- Add metrics version compare to improve performance by @AlbumenJ in https://github.com/apache/dubbo/pull/13104
Bugfix
- Fix rest protocol NPE when using apache-http-client (#12916) by @aofall in https://github.com/apache/dubbo/pull/12984
- Fix triple generic invoke by @AlbumenJ in https://github.com/apache/dubbo/pull/13021
- Fix AbortPolicyWithReport concurrency when collect stack #13042 by @giraffe-tree in https://github.com/apache/dubbo/pull/13043
- Update jvalidator to support parameter name retrieval by @liaozan in https://github.com/apache/dubbo/pull/13029
- Fix Jakarta exception being casted in ExceptionFilter by @shj1995 in https://github.com/apache/dubbo/pull/13054
- Fix qps time window unit by @AlbumenJ in https://github.com/apache/dubbo/pull/13077
- Fix ClassPool issue when multi-classloader by @wien13 in https://github.com/apache/dubbo/pull/13015
- Fix Hessian Serializer Factory concurrent issue by @AlbumenJ in https://github.com/apache/dubbo/pull/13122
- Fix invoker ignored to destroy when unlock failed by @AlbumenJ in https://github.com/apache/dubbo/pull/13123
Code Enhancement
Releates PRs: #12981, #13032, #13001, #13036, #13063, #13061, #13062, #13103, #13112, #13034, #13134, #13086, #13057, #13136, #13140
Dependency Upgrade
- Update bytebuddy.version: 1.14.7 -> 1.14.8 #13074
- Update grpc.version: 1.57.2 -> 1.58.0 #13037
- Update io.micrometer:micrometer-bom: 1.11.3 -> 1.11.4 #13069
- Update io.micrometer:micrometer-core: 1.11.3 -> 1.11.4 #13072
- Update io.micrometer:micrometer-tracing-bom: 1.1.4 -> 1.1.5 #13068
- Update io.opentelemetry:opentelemetry-bom: 1.29.0 -> 1.30.1 #13039, #13071
- Update io.projectreactor:reactor-core: 3.5.9 -> 3.5.10 #13073
- Update net.bytebuddy:byte-buddy: 1.14.7 -> 1.14.8 #13075
- Update org.graalvm.buildtools:native-maven-plugin: 0.9.25 -> 0.9.27 #13040, #13070
- Update org.springframework.boot:spring-boot-dependencies: 2.7.15 -> 2.7.16 #13119
- Update org.springframework.boot:spring-boot-maven-plugin: 2.7.15 -> 2.7.16 #13113
- Update org.springframework.boot:spring-boot-starter-test: 2.7.15 -> 2.7.16 #13115
- Update org.springframework.security:spring-security-bom: 5.8.6 -> 5.8.7 #13117
- Update org.xerial.snappy:snappy-java: 1.1.10.3 -> 1.1.10.4 #13118
- Update protobuf-java_version: 3.24.2 -> 3.24.3 #13038
- Update spring-boot.version: 2.7.15 -> 2.7.16 #13114
Contributors
Dubbo would like to thank the following contributors for their contributions to this release: @AlbumenJ, @aofall, @dependabot, @finefuture, @giraffe-tree, @KitwahSin, @liaozan, @NingleXu, @Nortyr, @shj1995, @songxiaosheng, @tianshuang, @wien13, @win120a, @wxbty
New Contributors
- @Nortyr made their first contribution in https://github.com/apache/dubbo/pull/12981
- @aofall made their first contribution in https://github.com/apache/dubbo/pull/12984
- @giraffe-tree made their first contribution in https://github.com/apache/dubbo/pull/13043
- @shj1995 made their first contribution in https://github.com/apache/dubbo/pull/13054
- @NingleXu made their first contribution in https://github.com/apache/dubbo/pull/13061
- @wien13 made their first contribution in https://github.com/apache/dubbo/pull/13015
- @KitwahSin made their first contribution in https://github.com/apache/dubbo/pull/13057
Full Changelog: https://github.com/apache/dubbo/compare/dubbo-3.2.6...dubbo-3.2.7
Release 4.0.0
- Minimum Java version now 11
- Issue #323 -
WorkerPool
andWorkProcessor
have been removed, no moreDisruptor::handleEventsWithWorkerPool
-
Disruptor
constructors usingExecutor
have been removed. UseThreadFactory
instead. - Rolled up event handling extension interfaces on to
EventHandler
:BatchStartAware
LifecycleAware
SequenceReportingEventHandler
-
FatalExceptionHandler
andIgnoreExceptionHandler
now use the JDK 9 Platform Logging API, i.e.System.Logger
- Add rewind batch feature to the
BatchEventProcessor
- Add a maximum batch size argument to
BatchEventProcessor
-
EventHandler::onBatchStart
now gets both thebatchSize
as well asqueueDepth
(previously it hadbatchSize
which reported queue depth)
-
- Added documentation to
EventPoller
-
Util::log2
throws if passed a non-positive argument - Deprecations
- Deprecated
ThreadHints.onSpinWait()
- Deprecated
Disruptor.handleExceptionsWith()
- this had been javadoc deprecated since 2015 but not in the code - Removed previously deprecated methods
Ringbuffer.resetTo()
ConsumerRepository.getLastSequenceInChain()
- Deprecated