an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
APACHE-2.0 License
Published by KomachiSion about 4 years ago
This version mainly refactors the distro protocol of the naming module and sinks to the nacos-core module.
At the same time, jraft is used to replace the old self-implemented raft protocol to improve the performance and accuracy of raft semantics.
Secondly, this version completely unifies the http clients used by nacos, optimizes the usage of some http clients, and reduces connection cost, especially the number of CLOSE_WAIT connections.
Finally, fixed some old version bugs and optimized console usage, and added a BETA interface to modify service metadata separately.
[#1654] Fix content hightlight does not work in config detail page.
[#2792] Save user information in login when auth open.
[#2835] Fix the console loading continuously if there is no permission of the namespace.
[#2866] Fix client do not have permision for api /nacos/v1/ns/operator/metrics.
[#3117] Sink and Optimize the Notify implementation into common module.
[#3192] Unified http client in nacos server.
[#3315] nacos-client support https.
[#3397] Fix some error in start script.
[#3384] Fix raft information show error in console.
[#3500] Make page list of service manager same as config manager.
[#3509] Fix address server mode cannot be obtained application.properties.
[#3518] When binding roles, the user list is changed to the drop-down selection mode.
[#3530] Add refresh buttons for each page in console.
[#3533] Change client cache directory config.
[#3515][#3536][#3899] Upgrade dependency to fix security problem.
[#3528] Fix client get illegal project.version.
[#3550] Fix persistency file can't create in server side for raft protocol.
[#3560] Change title logo in browser.
[#3566] Extract and sink auth feature to nacos-auth from nacos-config.
[#3576] Adding the destroy lifecycle method on NamingMaintainService.
[#3592] Fix incorrect prompt when accessing unauthorized namespace.
[#3628] Enhance the client update interval when subscribe non-exist service.
[#3635] Replace raft of naming module by Jraft of consistency module.
[#3651] Enhance http client usage to reduce CLOSE_WAIT connection in nacos-server.
[#3661] Enhance raft group update logic for using Jraft.
[#3671] Move some util class into common package.
[#3676] Fix revert chunk does not work in Content Comparison page.
[#3692] Refactor Distro protocol in nacos naming module.
[#3687] Check serviceName's format in server and client.
[#3710] Fix service metadata can't be special words problem.
[#3781] Fix service list intermittently lost service.
[#3790] Fix the configuration garbled problem that may occur on the client.
[#3815] Fix client cache may be truncated when contain Chinese.
[#3833] Fix NotifyCenter will throw NullPointerException when no subscriber.
[#3855] Add changed detail from previous version in configuration detail page.
[#3904] Support operate instance's metadata alonely.
[#3909] Fix nacos server can't config domains.
[#3973] Fix load config failed during the first run.
Published by KomachiSion about 4 years ago
This version refactors http client used in nacos-client, and rollback to use JDK http client to reduce the version conflict and enhance the log.
What's more, this version refactors eventDispatcher to improve the performance and readability.
Finally, fix some bugs and do some enhancement for console.
[#1839] Add ContentType return while getConfig.
[#2856] Adjust the use of thread pools.
[#2858] Unified http client implementation, enhanced async request callback interface.
[#3091] Fix address server can't start up by implement an empty auth manager.
[#3103] Fix can't create properties config
[#3179] Replace the original Notify implementation in the nacos's other modules.
[#3197] NacosRestTemplate enhance.
[#3210] Enhanced nacos resttemplate response handler.
[#3224] nacos-client module http client replace.
[#3300] Optimize the default "minIdle"" of HikariPool set by naocs.
[#3311] Add specified Logger when constructing nacos resttemplate.
[#3317] Change the http client implementation that nacos resttemplate depends on from apache to JDk.
[#3324] Fix http client close bug.
[#3353] Adjust the value logic of clientBeatInterval.
[#3356] Fix no throw exception when publish event but no subsciber.
[#3366] Fix the thread safety problem of obtaining HttpRequestBase through BaseHttpMethod enumeration.
[#3370] Issue with executing shell script /bin/sh^M on Unix/Linux.
[#3382] Use PreparedStatement to replace string concatenation.
[#3388] Reset nacos roles, permissions during reloading role info from database.
[#3399] Unified implementation of http client package division.
[#3409] Fix Nacos can't start by the startup.cmd script in windows environment.
[#3428] Fix token valid go login bug.
[#3434] Fix DataAccessException when running in embedded mode.
[#3485] Fix the UnknownHostException is swallowed.
[#3207][#3453] Fix some document description error.
Published by KomachiSion over 4 years ago
This version mainly fixes some bugs and optimizes the code quality.
[#2089] Fix config list return page bug.
[#2237] Enhance HttpClient usage.
[#2800] Update beatinfo when received instance modify info
[#2810] Don't send beat when standalone model.
[#2839] Fix Json conversion exception when loading Datum cache file.
[#2844] Fix Time format error.
[#2847] Fix config IT
[#2982] Fix the error message could not be passed through at the RPC layer.
[#2985] Fix In inline mode, the task execution condition determines the problem.
[#2988][#2989] Fix can get configuration from standalone + embedded storage.
[#2992] Use new code style.
[#2994] Optimize the configuration post - release process.
[#3060] Upgrade the database driver version of Mysql to 8
[#3063] Fix parameter validation boundary problem.
[#3110] Fix confused connection when one nacos nodes down.
[#3160] Fix compatibility issue when reading cache files with suffix ".datum"
[#3175] Fix probably the end value is negative number in ServiceController.java.
Published by KomachiSion over 4 years ago
This version mainly fixes some bugs and optimizes the code quality.
[#2089] Fix config list return page bug.
[#2237] Enhance HttpClient usage.
[#2800] Update beatinfo when received instance modify info
[#2810] Don't send beat when standalone model.
[#2839] Fix Json conversion exception when loading Datum cache file.
[#2844] Fix Time format error.
[#2847] Fix config IT
[#2982] Fix the error message could not be passed through at the RPC layer.
[#2985] Fix In inline mode, the task execution condition determines the problem.
[#2988][#2989] Fix can get configuration from standalone + embedded storage.
[#2992] Use new code style.
[#2994] Optimize the configuration post - release process.
[#3060] Upgrade the database driver version of Mysql to 8
[#3063] Fix parameter validation boundary problem.
[#3110] Fix confused connection when one nacos nodes down.
[#3160] Fix compatibility issue when reading cache files with suffix ".datum"
[#3175] Fix probably the end value is negative number in ServiceController.java.
Published by yanlinly over 4 years ago
[#2530] [#2758] Consistency protocol abstraction
[#2560] Nacos-client : ServerHttpAgent builds the unnormalized URL
[#2569] Change NamingProxy#reqAPI method throw exception log describe
[#2577] Fix naming client http read timeout and connect timeout properties
[#2638] Support https
[#2647] Modify config service md5 generation method
[#2661] Keep query criteria when config detail return to config list
[#2761] ProtocolManager class's getCpProtocol()/getApProtocol() method ' codes can be optimized.
[#2697] Fix the problem that properties have empty lines and cannot be edited
[#2738] Tenant legality verification. #2785
[#2740] Modify the way of get remote state
[#2664] UI add groupName parameter
[#2765] Optimize MemberUtils class's kRandom method
[#2842] Replace Fastjson with Jackson
[#2871] SQLException when config server quickstart
Published by yanlinly over 4 years ago
[#2530] [#2758] Consistency protocol abstraction
[#2560] Nacos-client : ServerHttpAgent builds the unnormalized URL
[#2569] Change NamingProxy#reqAPI method throw exception log describe
[#2577] Fix naming client http read timeout and connect timeout properties
[#2638] Support https
[#2647] Modify config service md5 generation method
[#2661] Keep query criteria when config detail return to config list
[#2761] ProtocolManager class's getCpProtocol()/getApProtocol() method ' codes can be optimized.
[#2697] Fix the problem that properties have empty lines and cannot be edited
[#2733] Support service change event
[#2738] Tenant legality verification
[#2740] Modify the way of get remote state
[#2664] UI add groupName parameter
[#2765] Optimize MemberUtils class's kRandom method
Published by nkorange over 4 years ago
#2537 Client beat not correctly redirected
#2401 timed sync task failed
#2457 前端配置列表节点并发查询数会随着点击查看其他节点数据后累加
#2451 1.2.0 无法修改自己的密码
#2449 配置中心,配置列表无法控制分页个数
#2533 dubbo 不停的重复注册服务
#2527 dubbo beat trigger JSONException
#2453 控制台 历史版本 js异常
#1674 Instance information in the Java sdk cache will not be updated because the update thread exit
Published by nkorange over 4 years ago
#2370 com.alibaba.nacos.naming.misc.GlobalConfig taskDispatchPeriod 参数初始值疑问
#2258 HealthCheckReactor is not isolated by namespace
#2248 Nacos server application.properties reloadable
#2232 Distro load data failed cause start failed.
#2184 nacos 1.1.4 删除配置ui展示列表为空
#2171 支持同一个 namesapce 中的克隆
#2168 page bug in configuration list
#2145 支持自定义namespace id
#2123 Client heart beat package is too large
#2056 整合dubbo采用nacos作为注册中心报错 [NACOS SocketTimeoutException httpPost] currentServerAddr: http://192.168.3.58:8848, err : Read timed out
#2042 mysql8.0 support error
#2020 com.alibaba.nacos.client.config.utils.IOUtils.toString NPE
#2018 http connection Keepalive is invalid,dubbo consumer has many TIME_WAIT
#2006 Choose instance for nacos
#2000 nacos 1.1.3版本,可能产生死循环bug
#1993 集群模式bug,使用discovery会报错java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance after all servers([172.XX.XX.23:80]) tried
#1966 关于上传zip时候,type判断的bug
#1957 调用修改实例接口,未传的参数值会被清空
#1947 How to solve ERROR [NACOS-API] failed to added push client.
#1858 namingService keep update service instance after unSubscribe all listeners
#1627 Database field assignment error
#1606 why i cann't define namespaceId when i add one
#1184 Replace error message 'failed to req API:/nacos/v1/ns/instance/list after all servers' to more specific message
#1105 Access control of resource in Nacos
#434 [Bug]编辑配置后历史版本显示错误,回滚后配置丢失
Published by nkorange over 4 years ago
Fix some bugs of 1.2.0-beta.0
Published by nkorange over 4 years ago
Current version is for public test, not recommended for production use. Refer to https://nacos.io/zh-cn/blog/nacos%201.2.0-beta.0.html for user guide of access control.
这个版本是用于公测的beta版本,不推荐上生产。可以参考https://nacos.io/zh-cn/blog/nacos%201.2.0-beta.0.html 来使用这个版本发布的权限控制功能。
#2248 Nacos server application.properties reloadable
#2184 nacos 1.1.4 删除配置ui展示列表为空
#2171 支持同一个 namesapce 中的克隆
#2145 支持自定义namespace id
#2123 Client heart beat package is too large
#2042 mysql8.0 support error
#2020 com.alibaba.nacos.client.config.utils.IOUtils.toString NPE
#2018 http connection Keepalive is invalid,dubbo consumer has many TIME_WAIT
#2006 Choose instance for nacos
#2000 nacos 1.1.3版本,可能产生死循环bug
#1993 集群模式bug,使用discovery会报错java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance after all servers([172.XX.XX.23:80]) tried
#1966 关于上传zip时候,type判断的bug
#1957 调用修改实例接口,未传的参数值会被清空
#1947 How to solve ERROR [NACOS-API] failed to added push client.
#1858 namingService keep update service instance after unSubscribe all listeners
#1627 Database field assignment error
#1184 Replace error message 'failed to req API:/nacos/v1/ns/instance/list after all servers' to more specific message
#1105 Access control of resource in Nacos
#434 [Bug]编辑配置后历史版本显示错误,回滚后配置丢失
Published by nkorange almost 5 years ago
#182 Health check field and protection threshold are confused
#1409 Integrate with Istio as a service discovery backend
#1507 It is recommended that the shutdown.sh script close only the nodes in the current directory, not all nodes.
#1665 DataSync always not executed after network partition
#1671 'Client-Version' header not set in http request from nacos client
#1759 The number of new configuration words is too long. Tip 400 is not friendly enough.
#1825 In modifying service instance page.Error information not clear
#1874 Repeat defined class NacoException
#1906 Set a new thread pool here, but do not open the Notifier task, whether to add executor.execute(new Notifier());
Published by nkorange about 5 years ago
#290 What is the meaning of each log file? Do Nacos need so many log files?
#1459 Feature reques: the configuration list supports multiple selection deletion.
#1479 It is recommended to do the trim operation when configuring the new dataid on the Nacos web page.
#1492 Database master slave config support different db name and password,now is same
#1519 The subscriber list is not displayed correctly
#1520 Private network can't load fonts, favicon
#1529 Time of servers not synchronized cause data inconsistent
#1548 Upgrade the fastjson version, fix the vulnerability
#1569 can't stop beta publish in other namespace except public namespace
#1591 Data listener lost if server list changed
Published by nkorange over 5 years ago
We recommend you use the latest 1.1.3 version, which contains an important bug fix #1591 .
#494 Query all subscribers of a service
#504 有支持灰度发布配置的计划吗
#1115 Profile synchronization and import and export
#1229 TTL and client beat interval should be customized at instance level.
#1287 Feature request:Supports synchronization of the same dataId data in different namespace
#1317 Please remove the feature of config subscription triggered automatically after Nacos client started
#1344 Problems encountered during service registration
#1352 Private network can't load fonts, favicon
#1357 Nacos V1.0.0 console Close health check failed
#1367 Just return empty instance list if service not found
#1385 What do these configuration properties mean?
#1397 Notify task executed before data loaded
#1425 add new deregisterInstance method
#1442 Modify JSONUtils's deserializeObject method.
#1455 NamingMaintainService updateInstance can't update instance enable status
#1491 Client beat task doesn't stop in time
Published by nkorange over 5 years ago
This version contains several optimizations and bug fixes, and also some important features.
Extended health checker are now supported #359. Thanks to the contribution of @XCXCXCXCX, you can follow the README to build your own health checkers.
We also introduce a new interface NamingMaintainService
in #747, which contains methods to update instances and edit services. Thanks to @chuntaojun.
Hostname can now be registered in Nacos, the related issue is #963. Thanks to @Albert-Hugo.
The complete list of issues is:
Published by nkorange over 5 years ago
This is the GA version of Nacos, which is ready to be put into large scale production environment.
We introduce several significant new features and optimizations in this version, most of which have been released in our previous RC versions. It took us about one month to stabilize and optimize this GA version, in which we fixed several bugs and accommodated some of our default behaviors. We also conducted a stress test to measure the performance and capacity of Nacos.
An article will be published soon to introduce the detail of changes brought by Nacos 1.0.0, please pay attention on our chat groups and mail list.
Published by nkorange over 5 years ago
This release is the third and the last gamma version before 1.0.0-GA. Other than some small bugfix, we ran a long time function test and pressure test to guarantee the quality and stability of Nacos. We also changed the server mode switch into another switch to make it more friendly and understandable, see #998 .
The complete issue list of 1.0.0-RC3 is shown below:
Thanks to these contributors for their code commits:
yanlinly
xuechaos
hxy1991
jifengnan
nkorange
neatlife
Also, we receive many valuable issues, questions and advices from our community. Thanks for you all.
Published by nkorange over 5 years ago
Published by xuechaos over 5 years ago
Notice: application.properties update default content has been updated, you should pay attention to keep default of nacos.security.ignore.urls
;
[#840] Nacos server adds startup mode to distinguish between config and naming.
[#762] Register instance returns failed when the health check mode is 'server' in standalone mode.
[#473] Nacos Cluster Mode kubernate Startup nacos.log error Log.
[#240] Log strong dependence problem.
[#824] getServicesOfServer throws exception if service list is empty.
[#802] Nacos server multi-boot mode support.
[#800] Nacos's client-to-server addressing mode document introduction.
[#768] The interval at which the heartbeat is sent in BeatReactor is not controlled by the server return value.
[#759] why instance can't auto-delete.
[#756] Format of instance and service should be validated.
[#720] Memory leak in PushService.
[#653] IoUtils under nacos-common-0.2.1-RC1.jar lacks "" judgment on encoding.
[#588] Client compatible to jdk1.6.
Published by yanlinly over 5 years ago
This is pre-ga version
CREATE TABLE users (
username varchar(50) NOT NULL PRIMARY KEY,
password varchar(500) NOT NULL,
enabled boolean NOT NULL
);
CREATE TABLE roles (
username varchar(50) NOT NULL,
role varchar(50) NOT NULL
);
INSERT INTO users (username, password, enabled) VALUES ('nacos', '$2a$10$EuWPZHzz32dJN7jexM34MOeYirDdFAZm2kuWj7VEOJhhZkDrxfvUu', TRUE);
INSERT INTO roles (username, role) VALUES ('nacos', 'ROLE_ADMIN');
Published by nkorange almost 6 years ago
[ #461 ] Registration failed when instance port is set to 0
[ #455 ] The console can't change the change code
[ #447 ] 集群模式server挂掉一台后,提供方注册失败
[ #445 ] 0.6.1控制台创建配置发布提交时,提示信息有问题
[ #442 ] Typos in class names and variables.
[ #413 ] The console has some uncaught exceptions
[ #395 ] nacos surport mysql in the case of stand-alone mode
[ #393 ] Support operation of selector on console
[ #365 ] NodeJs SDK support
[ #362 ] The metadata will lost when online or offline instance through web ui
[ #187 ] Provide Label ability for Naming Service into NACOS for complex multi-DC scenario.