業界率先支持 MCP-OVER-XDS 協議,Nacos 2.0.1 + 1.4.2 Release 正式發佈

來源 | 阿里巴巴雲原生公衆號

Nacos 是阿里巴巴開源的服務發現與配置管理項目,本次同時發佈兩個版本:
java

  1. 發佈 2.0.1 版本,主要致力於支持 MCP-OVER-XDS 協議,解決 Nacos 與 Istio 數據服務同步問題。
  2. 發佈 1.4.2 版本,極大加強 K8s 環境中 JRaft 集羣 Leader 選舉的穩定性。

Nacos 2.0.1

2.0.1 主要變動爲:
安全

  1. 在 nacos-istio 插件及模塊中,支持 MCP-OVER-XDS 協議,解決 Nacos 與 Istio 數據服務同步問題。
  2. 加強了 Jraft 協議在 K8s 環境中的 Leader 選舉的穩定性。
  3. 修復了頻繁拋出 Server is Down 錯誤的問題。

具體變動爲:
架構

[#3484] Support ldap login.
[#4856] Support mcp over xds.
[#5137] Support service list add view subscriber.
[#5367] Support client encryption plugin for nacos 2.0.
[#5307] Push support config some parameters
[#5334] Fix Server is Down problem in k8s environment.
[#5361] Check isUseGrpcFeatures() when register instance using GRPC protocol.
[#5486] Refactor Distro Config as singleton and replace GlobalConfig.
[#5169] Fix instance beat run only by responsible server.
[#5175] Fix publishConfig lost type.
[#5178] Fix NPE when init server list failed.
[#5182] Fix throw NoSuchFieldException in ConfigController when service connect to nacos.
[#5204] Fix query error when pageNo is larger than service number.
[#5268] Fix subscriber app unknown
[#5327] Fix ThreadPool usage problem and add some monitor for distro.
[#5384] Fix the problem of unable to shutdown NacosConfigService.
[#5404] Fix frequently udp push for client 1.X.
[#5419] Fix Nacos 2.0 client auth may invalid for non public namespace.
[#5442] change state to UP when received status form old version server.
[#5096] Add unit tests in nacos 2.0.
[#5171][#5421][#5436][#5450][#5464] Fix IT for nacos 2.0.

Nacos 1.4.2

  1. 該版本優化了 JRaft 模塊,與最新的 nacos-k8s 項目配合使用,極大加強集羣選主的穩定性。
  2. 另外,該版本了修復有關「Server is Down」問題的提示及衆多 1.4.1 版本中的 Bug。

具體變動爲:
app

[#4452] Add config compare features.
[#4602] Add new way for export config.
[#4996] Make log level changeable for nacos-core module.
[#5367] Add pre-plugin in client for encrypting config.
[#3922] Method createServiceIfAbsent in ServiceManager require sync.
[#4274] skip master-select task when db.num is 1.
[#4753] Use SafeConstructor to parse yaml configuration.
[#4762] Naming health check thread num support user define it by self.
[#4770] Beta publish: change the way of select betaIps, from input to select.
[#4778] Make SecurityProxy.accessToken threadsafe in single writer multi reader.
[#4903] Add securuty hint for login page.
[#4917] Raft ops interface add auth.
[#4980] Log4J2NacosLogging.loadConfiguration() return directly When location is blank.
[#5010] Fix the usage of TemplateUtils.
[#5190] Add some hint log when login failed.
[#5234] Solve the problem that page can be edited while publishing-config request is processing.
[#5331] Fix the mouse hovers over the margin in a pointer state and cannot be clicked.
[#5350] Add hint and detail reason for consistence status Down.
[#5439] Support specified naming UDP push port for client.
[#5434] Optimize the ConfigType.isValidType method.
[#3779] Check groupName can't be empty.
[#4661] ConfigServletInner#doGetConfig code optimization.
[#3610] Fix the press F1 to full screen issue in new config page.
[#3876] Fix push empty service name.
[#4306] Fix search service by group error problem.
[#4573,#4629] Jraft leader status check error.
[#4672] Fix cloning configuration lost description.
[#4699] Fix metadata batch operation may delete instance problem.
[#4756] Fix config list sort and search problem.
[#4787] Losting member if parsing host throw UnknownHostException.
[#4806] Fix addListener method comment.
[#4829] Remove instance when distro and raft remove instances data.
[#4852] Fix main.js is too large problem.
[#4854] Modify Header to support Keys Ignore Case.
[#4898] Fix instance list page bug.
[#4925] Fix member list change will cover member status and metadata problem.
[#5078] Fix the problem of inconsistent results for querying subscriber list data multiple times.
[#5026] Fix MetricsHttpAgent metrics twice.
[#5018] Check group and dataId in groupKey.
[#5114] ConcurrentHashSet.java is not compatible with jdk1.6 or 1.7.
[#5253] Fix missing auth identity header error.
[#5291] Fix Beat task will stop when throw unexpected exception.
[#5301] Respond all kinds of collections for istio's request.
[#5351] Fix Consistence status can't switch to UP after Jraft election.
[#5390] Fix ip verify error.
[#5427] Fix NPE if Jraft leader is null in CurcuitFilter.
[#5437] Fix config beta feature will lost dump event problem.
[#5451] Fix the tag can't be removed problem.
[#4822][#4823][#4824][#4825][#4979][#5506] Fix dependency security problem.
[#5277] Subscriber list servername add required.
[#5380][#5418] Add and enhance unit test.

社區

隨着 Nacos 2.0.1 及 1.4.2 的發佈 Nacos 社區又新增了一位 Committer:haoyann,這位同窗在推動多數據源支持、鑑權及安全性、配置模塊優化與完善等內容中做出許多貢獻,並積極參與社區討論。

haoyann_commiter.jpgide

Nacos 社區歡迎更多願意參與共建的小夥伴加入,包括但不限於:
微服務

  • 源代碼
  • 文檔
  • 社區討論
  • 多語言實現
  • 周邊生態產品結合

積極參與將能夠得到 Nacos 社區贈送的精美小禮品~優化

About Nacos

Nacos 致力於幫助您發現、配置和管理微服務。Nacos 提供了一組簡單易用的特性集,幫助您快速實現動態服務發現、服務配置、服務元數據及流量管理。

Nacos 幫助您更敏捷和容易地構建、交付和管理微服務平臺。Nacos 是構建以「服務」爲中心的現代應用架構 (例如微服務範式、雲原生範式) 的服務基礎設施。ui

相關文章
相關標籤/搜索