-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cdbeb59
commit 46e257b
Showing
1,400 changed files
with
953 additions
and
170,743 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,91 +1 @@ | ||
--- | ||
title: 双十一购物节,Nacos 1.4.0 + Go SDK 1.0.1发布 | ||
keywords: [开源,1.4.0,Go 1.0.1] | ||
description: 双十一购物节,Nacos 1.4.0 + Go SDK 1.0.1发布 | ||
--- | ||
|
||
# 双十一购物节,Nacos 1.4.0 + Go SDK 1.0.1发布 | ||
|
||
一年一度的双十一购物节又来了,不知道小伙伴们有没有抢到想要的商品呢? | ||
无论您是否“剁手”成功,Nacos都为社区的各位奉上礼物庆祝双十一 -- `Nacos 1.4.0`和`nacos-sdk-go 1.0.1`正式发布。 | ||
|
||
## Nacos 1.4.0 | ||
|
||
这个版本主要变更为: | ||
|
||
1. 重构了naming模块的distro协议,并且下沉到了nacos-core模块。 | ||
1. 使用了jraft对旧的自实现raft协议进行了替换,提高性能和raft语义的准确性。 | ||
1. 对nacos所使用的http客户端进行了完全地统一,并优化了一些http客户端的使用,减少了连接损耗,特别是CLOSE_WAIT连接的数量。 | ||
1. 添加了一个单独修改服务元数据的BETA接口。 | ||
1. 修复了一些旧版本的bug并优化了控制台使用。 | ||
|
||
具体的变更列表如下: | ||
|
||
``` | ||
[#1654] 修复内容高亮在配置详情页面无效的问题. | ||
[#2792] 记录操作时的用户信息当打开权限功能后。 | ||
[#2835] 修复控制台不停loading如果没有该namespace的权限。 | ||
[#2866] 修复客户端没有访问 /nacos/v1/ns/operator/metrics权限的问题。 | ||
[#3117] 优化内部事件机制并下沉到nacos-common模块。 | ||
[#3192] 统一nacos服务端的http客户端使用。 | ||
[#3315] nacos客户端支持https。 | ||
[#3397] 修复一些关于启动脚本的错误。 | ||
[#3384] 修复控制台关于raft信息显示不同步的问题。 | ||
[#3500] 统一控制台中服务治理和配置管理的分页列表。 | ||
[#3509] 修复使用地址服务器模式获取nacos集群地址时无法获取nacos配置文件的问题。 | ||
[#3518] 在绑定角色的时候用户列表改成下拉选中的模式。 | ||
[#3530] 在控制台的页面中添加刷新按钮来刷新列表。 | ||
[#3533] 修改客户端缓存目录配置。 | ||
[#3515][#3536][#3899] 升级依赖修复安全漏洞。 | ||
[#3528] 修复客户端会获取到无效的project.version。 | ||
[#3550] 修复服务端无法创建raft协议的持久化文件的问题。 | ||
[#3560] 修改浏览器标签页上的nacos logo。 | ||
[#3566] 从nacos-config模块中下沉权限相关内容到nacos-auth模块。 | ||
[#3576] 给NamingMaintainService添加生命周期相关接口。 | ||
[#3592] 修复修复访问无权限的名称空间时的错误提示。 | ||
[#3628] 优化客户端更新不存在的订阅服务的频率。 | ||
[#3635] 在nacos-naming模块使用Jraft替换自研raft协议。 | ||
[#3651] 优化nacos服务端对http-client的使用以减少CLOSE_WAI连接的数量。 | ||
[#3661] 优化使用Jraft时更新raft group的更新逻辑。 | ||
[#3671] 移动部分工具类到nacos-common模块复用。 | ||
[#3676] 修复还原块在“内容比较”页面中不起作用。 | ||
[#3692] 重构nacos-naming模块中的Distro协议。 | ||
[#3687] 校验服务名格式为Group@@ServiceName。 | ||
[#3710] 修复发布服务会导致丢失元数据中带有特殊字符的问题。 | ||
[#3781] 修复服务实例可能间歇性掉线的问题。 | ||
[#3790] 修复客户端可能发生的配置乱码问题。 | ||
[#3815] 修复当客户端缓存存在中文时可能被截断的问题。 | ||
[#3833] 修复新消息通知系统在没有订阅者的时候抛空指针异常的问题。 | ||
[#3855] 在控制台查看配置详情页面里添加上版本改动的展示。 | ||
[#3904] 支持单独修改服务元数据内容的功能。 | ||
[#3909] 修复nacos服务端无法配置域名的问题。 | ||
[#3973] 修复首次运行时,导入配置失败的问题。 | ||
[#4110] 修复扩容集群时raft协议服务更新新节点的问题。 | ||
``` | ||
|
||
## Nacos Go SDK 1.0.1 | ||
|
||
这个版本主要是修复了一些旧版本的bug以及增加客户端对于https的支持等等。 | ||
|
||
详细的变更列表请查看 https://github.com/nacos-group/nacos-sdk-go/releases/tag/v1.0.1 | ||
|
||
## 社区 | ||
|
||
随着Nacos 1.4.0的发布, Nacos社区又新增了两位Committer:Maijh97 和 wangweizZZ。 | ||
两位分别在统一http client使用,下沉auth模块,客户端的https功能,重构部分服务端线程池和修复bug等内容中作出许多贡献,并积极参与社区讨论。 | ||
|
||
Nacos社区欢迎更多愿意参与共建的小伙伴加入,包括但不限于: | ||
|
||
- 源代码 | ||
- 文档 | ||
- 社区讨论 | ||
- 多语言实现 | ||
- 周边生态产品结合 | ||
|
||
积极参与将可以获得Nacos社区赠送的精美小礼品~ | ||
|
||
## 结尾 | ||
Nacos 致力于帮助您发现、配置和管理微服务。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据及流量管理。 | ||
|
||
Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。 Nacos 是构建以“服务”为中心的现代应用架构 (例如微服务范式、云原生范式) 的服务基础设施。 | ||
|
||
Placeholder. DO NOT DELETE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,129 +1 @@ | ||
--- | ||
title: Nacos 2.0.1 + 1.4.2 Release | ||
keywords: [2.0.1,1.4.2] | ||
description: Nacos 2.0.1 + 1.4.2 Release | ||
--- | ||
|
||
# Nacos 2.0.1 + 1.4.2 Release正式发布,业界率先支持MCP-OVER-XDS协议 | ||
|
||
Nacos是阿里巴巴开源的服务发现与配置管理项目,本次同时发布两个版本: | ||
|
||
1. 发布2.0.1版本,主要致力于支持MCP-OVER-XDS协议,解决Nacos与Istio数据服务同步问题。 | ||
1. 发布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。 | ||
|
||
具体变更为: | ||
|
||
``` | ||
[#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.jpg](/img/haoyann_commiter.jpg) | ||
|
||
Nacos社区欢迎更多愿意参与共建的小伙伴加入,包括但不限于: | ||
|
||
- 源代码 | ||
- 文档 | ||
- 社区讨论 | ||
- 多语言实现 | ||
- 周边生态产品结合 | ||
|
||
积极参与将可以获得Nacos社区赠送的精美小礼品~ | ||
|
||
## About Nacos | ||
|
||
Nacos 致力于帮助您发现、配置和管理微服务。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据及流量管理。 | ||
|
||
Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。 Nacos 是构建以“服务”为中心的现代应用架构 (例如微服务范式、云原生范式) 的服务基础设施。 | ||
Placeholder. DO NOT DELETE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,133 +1 @@ | ||
--- | ||
title: Nacos 2.0.3版本发布,继续提升集群稳定性及升级稳定性 | ||
keywords: [2.0.1] | ||
description: Nacos 2.0.3版本发布,继续提升集群稳定性及升级稳定性 | ||
--- | ||
|
||
# Nacos 2.0.3版本发布,继续提升集群稳定性及升级稳定性 | ||
|
||
## Nacos 2.0.3 | ||
|
||
|
||
Nacos2.0.3 中,Nacos社区继续针对1.X到2.0.X升级的健壮性和高可用做了充分优化,扫除上生产的稳定性忧虑;Java/Spring-boot/Golang/C#/Cpp多语言客户端也全面支持Nacos2.0,拉齐多语言代差;并且优化了大量控制台UI的易用功能,提升用户使用效率。 | ||
|
||
主要变更内容如下: | ||
|
||
|
||
``` | ||
## Features | ||
[#6384] Add redo feature for nacos client naming. | ||
## Enhancement | ||
[#1469] Add cluster delete button. | ||
[#5884] Add the permission for history config. | ||
[#5909] Enhance LADP auth log print out when auth check failed. | ||
[#5999] Adpat nacos endpoint in AddressServerMemberLookup. | ||
[#6100] Enhance config managerment UI. | ||
[#6129] Add ServerConfigChangeEvent when config file changed. | ||
[#6142] Redo register and subscribe when reconnection auth check failed. | ||
[#6160] Optimization of IP address acquisition method in nacos client. | ||
[#6175] If the client already disconnect, ignore this request to avoid NPE. | ||
[#6178] Unified configuration page style | ||
[#6204] Get data from database if user or role info not found in cache. | ||
[#6367] Add IOReactorExceptionHandler to avoid IOReactor out of loop when meet unknown Network error. | ||
[#6386] Stop v1 distro verification when cluster upgraded to v2. | ||
[#6403] Make the expired time of naming client be configurable in nacos-server. | ||
## BugFix | ||
[#6107] Fix Chinese account show with gibber in home page. | ||
[#6109] Fix get InstanceUpgradeHelper instance error for double write service. | ||
[#6116] Fix unable to check client beats when register same ip and port in old clients with high concurrent. | ||
[#6169] Fix cluster page internationalization. | ||
[#6198] Fix NPE when use StringUtils.join illegal. | ||
[#6295] Fix instance metadata will not be removed for ip port client. | ||
[#6335] Fix startup error when the JAVA_HOME path contains spaces under Linux/Unix/Mac system. | ||
[#6382][#6476] Fix nacos-istio serviceInfo.getChecksum() always is empty. | ||
[#6423] Fix yaml parse concurrent problem. | ||
``` | ||
|
||
|
||
完整的Release Note请查看 [2.0.3](https://github.com/alibaba/nacos/releases/tag/2.0.3) 。 | ||
|
||
|
||
## 从Nacos1.X升级Nacos2.0.X | ||
|
||
|
||
Nacos服务端支持从1.X平滑升级到Nacos2.0.X;由于Nacos2.0对服务发现的数据结构进行了重构,因此升级过程中会采用异步双写数据的功能,在升级到2.0模式前,对数据进行校验,保证升级过程中的稳定运行。 | ||
|
||
|
||
在集群所有节点都升级到Nacos2.0.X版本之后,集群中的每一台节点都将开启自检,检查Nacos1.X模式下的数据是否和Nacos2.0模式下的数据一致,主要对比的是两个模式下的服务数及实例数是否相等,以及是否还有双写任务。 | ||
只有服务数及实例数相等,且没有双写任务之后,Nacos节点才会判定自身节点已经准备好升级到2.0模式,可以通过控制台的集群管理中节点元数据的`readyToUpgrade`字段来判断该节点是否准备完成。 | ||
|
||
|
||
当集群中所有节点都完成准备后,集群节点将会切换运行模式到2.0模式,此时请求流量将会切换至2.0模式运行,且开始接受gRPC的请求。如果未切换时,来自gRPC的请求将会提示`Nacos cluster is running with 1.X mode, can't accept gRPC request temporarily. Please check the server status or close Double write to force open 2.0 mode.` | ||
|
||
|
||
另外,从Nacos2.0.2版本开始,Nacos为升级添加了一些接口方便用户检查升级状态,找到升级到2.0模式不成功的原因,并且在特殊情况下能够进行主动补偿。 | ||
|
||
|
||
比如接口`/nacos/v1/ns/upgrade/ops/metrics`, 可以快速的查看到当前节点的状态,如当前1.X模式的服务数,实例数;2.0模式的服务数,实例数;双写任务遗留量;对应模式缺失的服务名等等内容,帮助用户快速定位升级问题。 | ||
|
||
|
||
更多升级相关信息请查看 [Nacos 2.0 升级文档](https://nacos.io/zh-cn/docs/2.0.0-upgrading.html) | ||
|
||
|
||
## 客户端支持2.0 | ||
|
||
|
||
目前Golang、C#、Cpp、nacos-spring-boot,客户端已经支持了nacos2.0的grpc能力,欢迎大家试用 | ||
| ||
|
||
- [nacos-spring-boot v0.1.10](https://github.com/nacos-group/nacos-spring-boot-project/releases/tag/0.1.10) | ||
- [nacos-spring-boot v0.2.10](https://github.com/nacos-group/nacos-spring-boot-project/releases/tag/0.2.10) | ||
- [nacos-sdk-go v2.0.0-Alpha.1](https://github.com/nacos-group/nacos-sdk-go/releases/tag/v2.0.0-Alpha.1) | ||
- [nacos-sdk-csharp v1.1.0](https://github.com/nacos-group/nacos-sdk-csharp/releases/tag/v1.1.0) | ||
- [nacos-sdk-cpp v1.0.8](https://github.com/nacos-group/nacos-sdk-cpp/releases/tag/1.0.8) | ||
|
||
Python的多语言客户端正在紧张开发中,相信很快能与大家见面。 Nodejs部分欢迎社区小伙伴一起参与建设~ | ||
|
||
## 2.1版本预告 | ||
|
||
|
||
自2.0版本12月初社区发布后,经过数个版本的优化,功能和性能趋于稳定;因此社区开始规划2.1版本。 | ||
|
||
|
||
在Nacos2.1版本中,我们计划移除对Nacos1.X服务端的升级支持,以移除1.X模式及双写等冗余代码,提升代码质量及可读性,用户仍可以从2.0.X版本进行升级。 | ||
|
||
|
||
在功能上,Nacos2.1版本将会开放部分功能的插件化能力,如已经在进行的Selector插件,鉴权插件及配置加解密插件。 | ||
|
||
|
||
另外,我们会对Nacos2.0的第三方依赖进行一些精简,减少用户使用过程中依赖冲突的问题。 | ||
|
||
|
||
## 社区 | ||
|
||
|
||
感谢来自社区同学们的持续贡献,正是有了大家的共同努力,Nacos才能变得越来越完善。 | ||
|
||
|
||
在此郑重感谢对本次Release有卓越贡献的社区同学(根据字母顺序): | ||
|
||
|
||
- [brotherlu-xcq](https://github.com/brotherlu-xcq) | ||
- [MajorHe1](https://github.com/MajorHe1) | ||
- [pixystone](https://github.com/pixystone) | ||
- [shalk](https://github.com/shalk) | ||
- [SunJiFengPlus](https://github.com/SunJiFengPlus) | ||
- [zzq1314zll](https://github.com/zzq1314zll) | ||
|
||
|
||
期待各位成为Nacos committer。 | ||
|
||
|
||
## About Nacos | ||
|
||
|
||
Nacos 致力于帮助您发现、配置和管理微服务。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据及流量管理。 | ||
|
||
|
||
Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。 Nacos 是构建以“服务”为中心的现代应用架构 (例如微服务范式、云原生范式) 的服务基础设施。 | ||
Placeholder. DO NOT DELETE. |
Oops, something went wrong.