Cloud Native 6 min read

What’s New in Nacos 2.0.3? Features, Enhancements, Refactoring & Bug Fixes

Version 2.0.3 of Nacos introduces extensive upgrades—including a new SPI for safe server upgrades, client retry mechanisms, UI improvements, added cluster deletion, enhanced LDAP logging, numerous refactors, and critical bug fixes—while also packaging console dependencies in Maven Central and providing a downloadable ZIP.

Java Architecture Diary
Java Architecture Diary
Java Architecture Diary
What’s New in Nacos 2.0.3? Features, Enhancements, Refactoring & Bug Fixes

Nacos community has made extensive optimizations for upgrades from 1.x to 2.0.x to improve stability, adding a new SPI that helps the server determine readiness for upgrade.

The client now includes a retry mechanism to ensure instances and subscribers can register after a failed call.

Significant refactoring and unit testing have also been performed.

Features

[#6384] Added retry capability to Nacos client service discovery.

Enhancements

[#1469] Added a cluster deletion button.

[#5884] Added permissions for historical configurations.

[#5909] Enhanced LDAP authentication log output on authentication failures.

[#5999] Adapted AddressServerMemberLookup to Nacos endpoint.

[#6100] Improved UI of Nacos configuration management.

[#6129] Published ServerConfigChangeEvent when configuration files change.

[#6142] Retries registration and subscription when authentication checks fail.

[#6160] Optimized method for obtaining Nacos client IP address.

[#6175] Ignored requests from disconnected clients to avoid NullPointerException.

[#6178] Unified Nacos page styling.

[#6204] Retrieves user or role data from the database when missing in cache.

[#6367] Added IOReactorExceptionHandler to prevent IOReactor loop exit on unknown network errors.

[#6386] Stops v1 release validation when cluster upgrades to v2.

[#6403] Made Nacos server configurable for naming client expiration time.

Refactoring

[#3102] Removed dependency on common-lang3.

[#5845] Deleted redundant code in InitUtils#initNamespaceForNaming.

[#6197] Removed unnecessary classes.

[#6216] Converted all SQL keywords to uppercase.

[#6217] Added SPI to the upgrade checker.

[#6272] Refactored instance builder to handle HTTP requests.

[#6446] Removed dependency on Guava.

Bug Fixes

[#6107] Fixed garbled Chinese account display on Nacos console homepage.

[#6109] Fixed InstanceUpgradeHelper error in dual-write service.

[#6116] Fixed instance heartbeat check failure when registering same IP/port with old clients on high-concurrency 2.0.x servers.

[#6169] Fixed internationalization issues on Nacos console pages.

[#6198] Fixed NullPointerException when using StringUtils.join.

[#6295] Fixed issue where client IP/port did not delete instance metadata.

[#6335] Fixed startup error when JAVA_HOME path contains spaces on Linux/Unix/Mac.

[#6382][#6476] Fixed null serviceInfo.getChecksum() in nacos-istio.

[#6423] Fixed concurrency issue in YAML parsing.

Download

Console-related dependencies are now packaged in Maven Central.

<dependencies>
  <dependency>
    <groupId>com.pig4cloud.nacos</groupId>
    <artifactId>nacos-config</artifactId>
    <version>2.0.3</version>
  </dependency>

  <dependency>
    <groupId>com.pig4cloud.nacos</groupId>
    <artifactId>nacos-naming</artifactId>
    <version>2.0.3</version>
  </dependency>

  <dependency>
    <groupId>com.pig4cloud.nacos</groupId>
    <artifactId>nacos-istio</artifactId>
    <version>2.0.3</version>
  </dependency>
</dependencies>

ZIP download: nacos-server-2.0.3.zip

References

[1] nacos-server-2.0.3.zip: https://github.com/alibaba/nacos/releases/download/2.0.3/nacos-server-2.0.3.zip

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Cloud NativeNacosRelease NotesVersion 2.0.3
Java Architecture Diary
Written by

Java Architecture Diary

Committed to sharing original, high‑quality technical articles; no fluff or promotional content.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.