Nacos v2.0.0-ALPHA.1 Release Notes

Release Date: 2020-12-04 // over 1 year ago
  • 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.


Previous changes from v1.4.0

  • ๐Ÿ”จ 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.