blob: 8868d0dd39e4ad3c37a677c33d0452f23369f024 [file] [log] [blame]
<!doctype html><html lang=zh-cn class=no-js><head class=live-site><meta name=ROBOTS content="INDEX, FOLLOW"><link rel=canonical href=https://cn.dubbo.apache.org/zh-cn/docsv2.7/user/new-features-in-a-glance/><script>var _hmt=_hmt||[];(function(){var e,t=document.createElement("script");t.src="https://hm.baidu.com/hm.js?3b78f49ba47181e4d998a66b689446e9",e=document.getElementsByTagName("script")[0],e.parentNode.insertBefore(t,e)})()</script><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta http-equiv=Content-Security-Policy content="frame-src *"><meta name=generator content="Hugo 0.122.0"><link rel="shortcut icon" type=image/png href=/imgs/favicon.png><link rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=manifest href=/manifest.webmanifest><title>Apache Dubbo</title><meta property="og:title" content>
<meta property="og:description" content="Dubbo 版本发布及新特性速览 版本速览 Dubbo 社区目前主力维护的有 2.6.x 和 2.7.x 两大版本,其中,
2.6.x 主要以 bugfix 和少量 enhancements 为主,因此能完全保证稳定性 2.7.x 作为社区的主要开发版本,得到持续更新并增加了大量新 feature 和优化,同时也带来了一些稳定性挑战 2.7.x 版本 版本 重要功能 升级建议 1 2.7.6 bugfix of 2.7.5
服务鉴权 推荐生产使用 2 2.7.5 服务自省
HTTP/2(gRPC) Protobuf TLS
性能优化
https://github.com/apache/dubbo/releases/tag/dubbo-2.7.5 不建议大规模生产使用 3 2.7.4.1 bugfixes and enhancements of 2.7.3 推荐生产使用 4 2.7.3 bigfixes of and enhancements of 2.7.2 推荐生产使用 5 2.7.2 bigfixes of and enhancements of 2.7.1 不建议大规模生产使用 6 2.7.1 bigfixes of and enhancements of 2."><meta property="og:type" content="article"><meta property="og:url" content="https://cn.dubbo.apache.org/zh-cn/docsv2.7/user/new-features-in-a-glance/"><meta property="article:section" content="docsv2.7"><meta property="article:modified_time" content="2023-02-22T15:03:22+08:00"><meta itemprop=name content><meta itemprop=description content="Dubbo 版本发布及新特性速览 版本速览 Dubbo 社区目前主力维护的有 2.6.x 和 2.7.x 两大版本,其中,
2.6.x 主要以 bugfix 和少量 enhancements 为主,因此能完全保证稳定性 2.7.x 作为社区的主要开发版本,得到持续更新并增加了大量新 feature 和优化,同时也带来了一些稳定性挑战 2.7.x 版本 版本 重要功能 升级建议 1 2.7.6 bugfix of 2.7.5
服务鉴权 推荐生产使用 2 2.7.5 服务自省
HTTP/2(gRPC) Protobuf TLS
性能优化
https://github.com/apache/dubbo/releases/tag/dubbo-2.7.5 不建议大规模生产使用 3 2.7.4.1 bugfixes and enhancements of 2.7.3 推荐生产使用 4 2.7.3 bigfixes of and enhancements of 2.7.2 推荐生产使用 5 2.7.2 bigfixes of and enhancements of 2.7.1 不建议大规模生产使用 6 2.7.1 bigfixes of and enhancements of 2."><meta itemprop=dateModified content="2023-02-22T15:03:22+08:00"><meta itemprop=wordCount content="148"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content><meta name=twitter:description content="Dubbo 版本发布及新特性速览 版本速览 Dubbo 社区目前主力维护的有 2.6.x 和 2.7.x 两大版本,其中,
2.6.x 主要以 bugfix 和少量 enhancements 为主,因此能完全保证稳定性 2.7.x 作为社区的主要开发版本,得到持续更新并增加了大量新 feature 和优化,同时也带来了一些稳定性挑战 2.7.x 版本 版本 重要功能 升级建议 1 2.7.6 bugfix of 2.7.5
服务鉴权 推荐生产使用 2 2.7.5 服务自省
HTTP/2(gRPC) Protobuf TLS
性能优化
https://github.com/apache/dubbo/releases/tag/dubbo-2.7.5 不建议大规模生产使用 3 2.7.4.1 bugfixes and enhancements of 2.7.3 推荐生产使用 4 2.7.3 bigfixes of and enhancements of 2.7.2 推荐生产使用 5 2.7.2 bigfixes of and enhancements of 2.7.1 不建议大规模生产使用 6 2.7.1 bigfixes of and enhancements of 2."><script async src="https://www.googletagmanager.com/gtag/js?id=G-NM6FFMT51J"></script><script>var doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-NM6FFMT51J",{anonymize_ip:!1})}</script><link rel=preload href=/scss/main.min.f77e221bcdbe0cadb996060fe82063c747b60c229a1f8bbf0ee529adbadd84fa.css as=style><link href=/scss/main.min.f77e221bcdbe0cadb996060fe82063c747b60c229a1f8bbf0ee529adbadd84fa.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script><meta name=theme-color content="#326ce5"><link rel=stylesheet href=/css/feature-states.css><meta name=description content="Dubbo 版本发布及新特性速览 版本速览 Dubbo 社区目前主力维护的有 2.6.x 和 2.7.x 两大版本,其中,
2.6.x 主要以 bugfix 和少量 enhancements 为主,因此能完全保证稳定性 2.7.x 作为社区的主要开发版本,得到持续更新并增加了大量新 feature 和优化,同时也带来了一些稳定性挑战 2.7.x 版本 版本 重要功能 升级建议 1 2.7.6 bugfix of 2.7.5
服务鉴权 推荐生产使用 2 2.7.5 服务自省
HTTP/2(gRPC) Protobuf TLS
性能优化
https://github.com/apache/dubbo/releases/tag/dubbo-2.7.5 不建议大规模生产使用 3 2.7.4.1 bugfixes and enhancements of 2.7.3 推荐生产使用 4 2.7.3 bigfixes of and enhancements of 2.7.2 推荐生产使用 5 2.7.2 bigfixes of and enhancements of 2.7.1 不建议大规模生产使用 6 2.7.1 bigfixes of and enhancements of 2."><meta property="og:description" content="Dubbo 版本发布及新特性速览 版本速览 Dubbo 社区目前主力维护的有 2.6.x 和 2.7.x 两大版本,其中,
2.6.x 主要以 bugfix 和少量 enhancements 为主,因此能完全保证稳定性 2.7.x 作为社区的主要开发版本,得到持续更新并增加了大量新 feature 和优化,同时也带来了一些稳定性挑战 2.7.x 版本 版本 重要功能 升级建议 1 2.7.6 bugfix of 2.7.5
服务鉴权 推荐生产使用 2 2.7.5 服务自省
HTTP/2(gRPC) Protobuf TLS
性能优化
https://github.com/apache/dubbo/releases/tag/dubbo-2.7.5 不建议大规模生产使用 3 2.7.4.1 bugfixes and enhancements of 2.7.3 推荐生产使用 4 2.7.3 bigfixes of and enhancements of 2.7.2 推荐生产使用 5 2.7.2 bigfixes of and enhancements of 2.7.1 不建议大规模生产使用 6 2.7.1 bigfixes of and enhancements of 2."><meta name=twitter:description content="Dubbo 版本发布及新特性速览 版本速览 Dubbo 社区目前主力维护的有 2.6.x 和 2.7.x 两大版本,其中,
2.6.x 主要以 bugfix 和少量 enhancements 为主,因此能完全保证稳定性 2.7.x 作为社区的主要开发版本,得到持续更新并增加了大量新 feature 和优化,同时也带来了一些稳定性挑战 2.7.x 版本 版本 重要功能 升级建议 1 2.7.6 bugfix of 2.7.5
服务鉴权 推荐生产使用 2 2.7.5 服务自省
HTTP/2(gRPC) Protobuf TLS
性能优化
https://github.com/apache/dubbo/releases/tag/dubbo-2.7.5 不建议大规模生产使用 3 2.7.4.1 bugfixes and enhancements of 2.7.3 推荐生产使用 4 2.7.3 bigfixes of and enhancements of 2.7.2 推荐生产使用 5 2.7.2 bigfixes of and enhancements of 2.7.1 不建议大规模生产使用 6 2.7.1 bigfixes of and enhancements of 2."><meta property="og:url" content="https://cn.dubbo.apache.org/zh-cn/docsv2.7/user/new-features-in-a-glance/"><meta property="og:title" content="Dubbo 版本发布 …"><meta name=twitter:title content="Dubbo 版本发布 …"><meta name=twitter:image:alt content="Apache Dubbo"><meta property="og:type" content="article"><meta name=viewport content="width=device-width"><script async defer src=/js/github-buttons.js></script><link href=/css/community.css rel=stylesheet><link href=/css/contactus.css rel=stylesheet><link href=/css/language.css rel=stylesheet><script src=/js/script.js></script></head><body class=td-page><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar" data-auto-burger=primary><a class=navbar-brand href=/zh-cn/><span class=navbar-logo></span><span class="text-uppercase font-weight-bold">Apache Dubbo</span></a><div class="td-navbar-nav-scroll ml-md-auto" id=main_navbar><ul class="navbar-nav mt-2 mt-lg-0"><li class="nav-item mr-4 mb-2 mb-lg-0"><a class=nav-link href=/zh-cn/overview/home/><span>文档</span></a></li><li class="nav-item mr-4 mb-2 mb-lg-0"><a class=nav-link href=/zh-cn/blog/><span>博客</span></a></li><li class="nav-item mr-4 mb-2 mb-lg-0"><a class=nav-link href=/zh-cn/download/><span>版本发布</span></a></li><li class="nav-item mr-4 mb-2 mb-lg-0"><a class=nav-link href=/zh-cn/contact/><span>联系社区</span></a></li><li class="nav-item mr-4 mb-2 mb-lg-0"><a class=nav-link href=https://start.dubbo.apache.org/bootstrap.html target=_blank><span>Initializer</span><i class='fas fa-external-link-alt'></i></a></li><li class="nav-item mr-4 mb-2 mb-lg-0"><a class=nav-link href=/zh-cn/github/><span>Github</span><i class='fa-brands fa-github'></i></a></li><li class="nav-item dropdown d-lg-block"><a class="nav-link dropdown-toggle" href=# id=navbarDropdownMenuLink role=button data-toggle=dropdown aria-haspopup=true aria-expanded=false>中文</a><div class="dropdown-menu dropdown-menu-right" aria-labelledby=navbarDropdownMenuLink><a class=dropdown-item href=/en/>English</a></div></li><li class="nav-item dropdown d-lg-block"><div class="nav-item d-none d-lg-block"></div></li></ul></div></nav></header><div class=td-outer><main role=main class=td-main><h1 id=dubbo-版本发布及新特性速览>Dubbo 版本发布及新特性速览</h1><h2 id=版本速览>版本速览</h2><p>Dubbo 社区目前主力维护的有 2.6.x 和 2.7.x 两大版本,其中,</p><ul><li>2.6.x 主要以 bugfix 和少量 enhancements 为主,因此能完全保证稳定性</li><li>2.7.x 作为社区的主要开发版本,得到持续更新并增加了大量新 feature 和优化,同时也带来了一些稳定性挑战</li></ul><h3 id=27x-版本>2.7.x 版本</h3><table><thead><tr><th></th><th>版本</th><th>重要功能</th><th>升级建议</th></tr></thead><tbody><tr><td>1</td><td>2.7.6</td><td>bugfix of 2.7.5<br>服务鉴权</td><td><strong>推荐生产使用</strong></td></tr><tr><td>2</td><td>2.7.5</td><td>服务自省<br>HTTP/2(gRPC)<br>Protobuf<br>TLS<br>性能优化<br><br><a href=https://github.com/apache/dubbo/releases/tag/dubbo-2.7.5>https://github.com/apache/dubbo/releases/tag/dubbo-2.7.5</a></td><td>不建议大规模生产使用</td></tr><tr><td>3</td><td>2.7.4.1</td><td><a href=https://github.com/apache/dubbo/releases/tag/dubbo-2.7.4.1>bugfixes and enhancements of 2.7.3</a></td><td><strong>推荐生产使用</strong></td></tr><tr><td>4</td><td>2.7.3</td><td><a href=https://github.com/apache/dubbo/releases/tag/dubbo-2.7.3>bigfixes of and enhancements of 2.7.2</a></td><td><strong>推荐生产使用</strong></td></tr><tr><td>5</td><td>2.7.2</td><td><a href=https://github.com/apache/dubbo/releases/tag/dubbo-2.7.2>bigfixes of and enhancements of 2.7.1</a></td><td>不建议大规模生产使用</td></tr><tr><td>6</td><td>2.7.1</td><td><a href=https://github.com/apache/dubbo/releases/tag/dubbo-2.7.1>bigfixes of and enhancements of 2.7.0</a></td><td>不建议大规模生产使用</td></tr><tr><td>7</td><td>2.7.0</td><td>异步编程模型 - 消费端/提供端异步<br>服务治理规则增强<br>简化的注册模型<br>配置中心、元数据中心<br>package 重构<br><br><a href=https://github.com/apache/dubbo/releases/tag/dubbo-2.7.0>https://github.com/apache/dubbo/releases/tag/dubbo-2.7.0</a></td><td>beta 版本,2.6.x 重构后首个版本</td></tr></tbody></table><h3 id=26x-及之前版本>2.6.x 及之前版本</h3><table><thead><tr><th></th><th>版本</th><th>重要功能</th><th>升级建议</th></tr></thead><tbody><tr><td>1</td><td>2.6.x</td><td>bugfix</td><td>建议持续升级最新版本,所有版本生产可用</td></tr><tr><td>2</td><td>2.5.x</td><td>停止维护</td><td>建议升级最新 2.6.x 版本</td></tr><tr><td>3</td><td>2.4.x 及之前</td><td>停止维护</td><td>建议升级最新 2.6.x 版本</td></tr></tbody></table><h2 id=值得关注的新特性>值得关注的新特性</h2><ul><li>Dubbo 云原生计划(敬请期待&mldr;)</li><li>Kubernetes Native Service Discovery(敬请期待&mldr;)</li><li><a href=../references/protocol/grpc/>gRPC (HTTP/2) 协议</a></li><li><a href=../examples/protobuf-idl/>使用 Protobuf 定义 Dubbo 服务</a></li><li><a href=../examples/tls/>TLS 安全传输</a></li><li>实例级服务发现</li><li><a href=../examples/auth/>服务鉴权</a></li><li>性能优化<ul><li><a href=/zh-cn/blog/2020/05/18/dubbo-java-2.7.5-%E5%8A%9F%E8%83%BD%E8%A7%A3%E6%9E%90/>调用链路提升 30%</a></li><li><a href=../examples/consumer-threadpool/>消费端线程模型</a></li><li>地址推送链路</li></ul></li></ul><h2 id=热门文章列表>热门文章列表</h2><p><a href=/zh-cn/blog/2020/05/11/%E4%BB%8E-2019-%E5%88%B0-2020apache-dubbo-%E5%B9%B4%E5%BA%A6%E5%9B%9E%E9%A1%BE%E4%B8%8E%E6%80%BB%E7%BB%93/>从 2019 到 2020,Apache Dubbo 年度总结</a><br><a href=/zh-cn/blog/2020/05/18/dubbo-java-2.7.5-%E5%8A%9F%E8%83%BD%E8%A7%A3%E6%9E%90/>Dubbo 2.7.5 里程碑版本发布</a><br><a href=/zh-cn/blog/2019/10/28/dubbo-%E5%9C%A8%E8%B7%A8%E8%AF%AD%E8%A8%80%E5%92%8C%E5%8D%8F%E8%AE%AE%E7%A9%BF%E9%80%8F%E6%80%A7%E6%96%B9%E5%90%91%E4%B8%8A%E7%9A%84%E6%8E%A2%E7%B4%A2%E6%94%AF%E6%8C%81-http/2-grpc-%E5%92%8C-protobuf/>Dubbo 在协议与多语言方向的探索:支持 gRPC、Protobuf</a></p></main></div><footer class="bg-dark py-5 row d-print-none footer-margin-0"><div class="container-fluid mx-sm-5"><div class=row><div class="col-6 col-sm-4 text-xs-center order-sm-2"><ul class="list-inline mb-0"><li class="list-inline-item mx-2 h3" data-toggle=tooltip data-placement=top title="Dubbo mailing list archive" aria-label="Dubbo mailing list archive"><a class=text-white target=_blank rel="noopener noreferrer" href=https://lists.apache.org/list.html?dev@dubbo.apache.org><i class="fa fa-envelope"></i></a></li></ul></div><div class="col-6 col-sm-4 text-right text-xs-center order-sm-3"><ul class="list-inline mb-0"><li class="list-inline-item mx-2 h3" data-toggle=tooltip data-placement=top title=GitHub aria-label=GitHub><a class=text-white target=_blank rel="noopener noreferrer" href=https://github.com/apache/dubbo><i class="fab fa-github"></i></a></li><li class="list-inline-item mx-2 h3" data-toggle=tooltip data-placement=top title="Subscribe to mailing list" aria-label="Subscribe to mailing list"><a class=text-white target=_blank rel="noopener noreferrer" href=mailto:dev-subscribe@dubbo.apache.org><i class="fa fa-envelope"></i></a></li></ul></div><div class="col-12 col-sm-4 text-center py-2 order-sm-2"><small class=text-white>&copy; 2024 The Apache Software Foundation. Apache and the Apache feather logo are trademarks of The Apache Software Foundation. 保留所有权利</small></div></div></div></footer><div class="row pt-2 pb-2 footer-margin-0"><div class="container-fluid mx-sm-5"><div class=text-center id=my-footer><img alt=apache_logo src=/imgs/apache_logo.png><ul><li><a href=https://www.apache.org>Foundation</a></li><li><a href=https://www.apache.org/licenses/>License</a></li><li><a href=https://dubbo.apache.org/en/overview/notices/>Security</a></li><li><a href=https://www.apache.org/events/current-event>Events</a></li><li><a href=https://www.apache.org/foundation/sponsorship.html>Sponsorship</a></li><li><a href=https://privacy.apache.org/policies/privacy-policy-public.html>Privacy</a></li><li><a href=https://www.apache.org/foundation/thanks.html>Thanks</a></li></ul></div></div></div><script src=/js/popper.min.js integrity=sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49 crossorigin=anonymous></script><script src=/js/bootstrap.min.js integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy crossorigin=anonymous></script><script src=/js/main.min.b075178d232d3b0039b3cb6af2fc2e9d90071820167a60f4eea3a79169975ee8.js integrity="sha256-sHUXjSMtOwA5s8tq8vwunZAHGCAWemD07qOnkWmXXug=" crossorigin=anonymous></script><script async src=https://widget.kapa.ai/kapa-widget.bundle.js data-website-id=d763c4f2-f871-400b-aeca-d986c4af73c2 data-project-name="Apache Dubbo" data-project-color=#E8442E data-button-text="Ask AI" data-search-mode-enabled=true data-modal-open-on-command-k=true data-modal-disclaimer="The AI supports multiple languages, but it may not be accessible in China due to recaptcha, a proxy is required." data-project-logo=https://pbs.twimg.com/profile_images/1011849068283191302/FJbH5vbF_400x400.jpg data-modal-example-questions="What is Apache Dubbo?,How to run Apache Dubbo?" data-button-position-top data-button-position-right=20px data-button-position-bottom=200px data-button-position-left></script><script>(function(e,t,n,s){e[s]=e[s]||[];var a=t.getElementsByTagName(n)[0],i=t.createElement(n);i.async=!0,i.id="beacon-aplus",i.setAttribute("exparams","userid=&aplus&sidx=aplusSidex&ckx=aplusCkx"),i.src="//g.alicdn.com/alilog/mlog/aplus_v2.js",i.crossorigin="anonymous",a.parentNode.insertBefore(i,a)})(window,document,"script","aplus_queue"),function(e){var t=e.createElement("script");t.type="text/javascript",t.async=!0,t.src="//g.alicdn.com/aes/??tracker/3.3.4/index.js,tracker-plugin-pv/3.0.5/index.js,tracker-plugin-event/3.0.0/index.js,tracker-plugin-autolog/3.0.3/index.js,tracker-plugin-survey/3.0.3/index.js,tracker-plugin-jserror/3.0.3/index.js,tracker-plugin-resourceError/3.0.3/index.js",t.onload=function(){window.AES_CONFIG=window.AES_CONFIG||{env:"prod"},window.aes=new AES({pid:"zN245h",user_type:6}),window.AESPluginAutologConfig={exposure:"auto"},window.AEMPluginInstances=[aes.use(AESPluginPV,window.AESPluginPVConfig||{enableHistory:!0}),aes.use(AESPluginEvent,window.AESPluginEventConfig||{}),aes.use(AESPluginSurvey,window.AESPluginEventConfig||{}),aes.use(AESPluginAutolog,window.AESPluginAutologConfig||{}),aes.use(AESPluginJSError,window.AESPluginJSError||{}),aes.use(AESPluginResourceError,window.AESPluginResourceError||{})]},setTimeout(function(){e.getElementsByTagName("body")[0].appendChild(t)},800)}(document)</script></body></html>