Skip to content

Releases: alibaba/nacos

1.4.1 (Jan 15, 2021)

14 Jan 13:11
1d88d5d
Compare
Choose a tag to compare

This version mainly support IPv6 service register and support udp push for Csharp client.
What's more, add some console features to enhance users' usage. And Fix many bugs and do many refactor and enhancement to increase stability.

Details see following:

Features

-[#978] Support IPv6.
-[#3917] Add metadata filter in service detail page.
-[#4132] Service list API param groupName support '*' to get all group serviceName.
-[#4670] Support Udp push for CSharp client.

Enhancement

-[#3607][#4078][#4170] Datasource pool configuration can be configured.
-[#3832] When the nacos-server fails to start, shutdown all http clients.
-[#3907] When publishConfig, if type is absent, set default value 'text'.
-[#4066] Make serviceNameList followed string order.
-[#4090] Configuration file changes do not take effect.
-[#4286] When auth open, use resource parser cache to parse resource.
-[#4291] In stand-alone mode, the service module does not enable the Raft protocol.
-[#4355] Do not retry distro sync again if member has removed.
-[#4463] Add auth check for SQL query of config derby database.
-[#4513] Check instance illegal heart beat param before register.
-[#4593] Add server identity to replace user-agent white list.
-[#4662] Just choose one between nacosDomain mode and servers mode.

Refactor & Code Quality

-[#3831] Delete the old http client code.
-[#3832] Add common http client shutdown method.
-[#4093][#4125][#4310][#4346] Remove unused codes.
-[#4166] NotifyCenter code optimization.
-[#4225] Replace http client in HttpHealthCheckProcessor.
-[#4232] Use EnvUtil to replace ApplicationUtils about env operation.
-[#4293] Remove env operation code in ApplicationUtils.
-[#4275] Replace com.alibaba.nacos.config.server.result.ResultBuilder to RestResultUtil.
-[#4344] CacheMap property optimization.
-[#4567] Refactor nacos-client Load Logging Configuration code.
-[#4594][#4596] Fix IO close problem kind/code quality kind/refactor
-[#4631] Remove timer,Use ScheduledThreadPoolExecutor replaced.

BugFix

-[#3005] Fix ClusterController 403 and some display wrong.
-[#3406] Fix change self's password fail problem.
-[#3524][#4262] Fix public namespace permission problem.
-[#3880] NamingService Client support pushEmptyProtection.
-[#4073] Fix the problem for config default time zone may be wrong.
-[#4136] Fix ServiceInfo cann't correctlly instantiate from cache file.
-[#4181] Fix Auth may not work if contextPath is '/'.
-[#4187] Fix ProtocolManager#onEvent can't feel nodes extend.
-[#4199] Fix new http client do not support patch method problem.
-[#4236] Fix ProtocolException for apache http client Content-Length.
-[#4245] Fix sql injection bug.
-[#4264] Fix always load property when the contextPath is '/'.
-[#4282] Fix Service list Cannot query by group name.
-[#4311] Fix an exception will occur if the SQL include LIMIT, when use embedded data source.
-[#4320] Fix the Naming consistency module could not start in cluster mode.
-[#4333] Fix PaginationHelper will be abnormal in cluster mode.
-[#4342] Fix nacos.core.protocol.raft.data.read_index_type isn't effect.
-[#4364] Fix Cluster member state isn't updated to 'DOWN' after the node becomes down.
-[#4415] Fix NOW_WATCH_JOB_CNT record WatchDirJob count error.
-[#4424] Fixed issue where null values could not be converted to base parameters.
-[#4429] Fix mcp can't be open.
-[#4436] Fix parse label expression error problem.
-[#4450] Fix memberAddressInfos do not record Up State when member status updated.
-[#4467] Fix instanceId will be replaced when register twice.
-[#4477] Fix service list return error information if fromIndex > toIndex.
-[#4541][#4556] Fix the configuration file loading issue.
-[#4570] Fix cluster mode query config type is null.
-[#4583] Fix nacos client do not retry in DOMAIN mode.
-[#4643] Fix jraft response instance error.
-[#4701] Fix bypass authentication(identity) problem.

Other

-[#3102] Remove apache commons-lang3 dependency.
-[#4179] Add index for db.user and db.password.
-[#4339] Upgrade jraft to 1.3.5.
-[#4476] Update hint words in config list Fuzzy query.
-[#4632] Upgrade axios version to 0.21.1.

2.0.0-ALPHA.1 (Dec 5th, 2020)

04 Dec 18:11
Compare
Choose a tag to compare
Pre-release

This version mainly uses gRPC to replace HTTP as the communication between client and server.
And refactor the data model of naming module to adapt new communication model.

Feature/Enhancement/Refactor

[#3328] nacos support grpc ,base functions submit.
[#3334] Nacos config support gRPC.
[#3343] Add naming support gRPC for register and deregister instance.
[#3344] support config query in rpc channel ,add switch http/rpc at client side.
[#3350] add server side connection listener ,and add client version.
[#3352] Add naming support gRPC for query instance list and service info.
[#3357] response model optimize area/Config kind/feature.
[#3365] client reconnection optimize .
[#3367]client reconnect optimize, combine first time start and reconnect code.
[#3373] Naming support un/subscribe service by grpc.
[#3385] server side client connection listener optimize and listen context and notifier updated.
[#3386] Refactor for naming sdk.
[#3478][#3521] Add gprc support-> add server push ack.
[#3795][#3809][#3825][#3849][#3860] Adapt old client for naming module.
[#4099][#4260][#4279][#4354][#4367] Add metadata for service and use raft to consistence.
[#4383] Upgrade Nacos Api/Client modules to support JDK 1.8 compilation

There are many changes for this new feature. detail see https://github.com/alibaba/nacos/milestone/22?closed=1.

1.4.0 (Nov 2, 2020)

02 Nov 12:02
83daa1a
Compare
Choose a tag to compare

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.
[#4110] Naming modules failed to work properly during the nacos capacity expansion.

1.4.0-BETA (Oct 22, 2020)

22 Oct 11:36
Compare
Choose a tag to compare
Pre-release

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.

1.3.2(Aug 4, 2020)

04 Aug 11:28
a341b65
Compare
Choose a tag to compare

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.

1.3.1(July 10, 2020)

10 Jul 11:12
5e53396
Compare
Choose a tag to compare

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.

1.3.1-BETA

30 Jun 02:43
adb5bc9
Compare
Choose a tag to compare
1.3.1-BETA Pre-release
Pre-release

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.

1.3.0(June 5, 2020)

05 Jun 08:40
8423e33
Compare
Choose a tag to compare

[#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 

release 1.3.0 beta

15 May 11:57
2cf0d40
Compare
Choose a tag to compare
release 1.3.0 beta Pre-release
Pre-release

[#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

1.2.1(Mar 31th, 2020)

31 Mar 03:45
fea9e2d
Compare
Choose a tag to compare

#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