Cloud Native 4 min read

What’s New in Nacos 2.2.0? Key Features, Plugins, and Fixes Explained

Nacos 2.2.0 introduces major enhancements such as new plugins, batch registration, OpenAPI v2, LDAP support, extensive refactoring, numerous bug fixes, and UI dependency upgrades, while outlining upgrade paths and compatibility notes for 1.x clients and servers.

Java Architecture Diary
Java Architecture Diary
Java Architecture Diary
What’s New in Nacos 2.2.0? Key Features, Plugins, and Fixes Explained

Nacos 2.2.0 is a major release that introduces several significant changes.

Removed redundant and duplicate code from the 1.x naming.

Upgrade path: 1.x servers cannot be upgraded directly to 2.2.0; upgrade must start from 2.0.0. The 1.x client remains compatible with a 2.2.0 server.

Added plugins:

Rate‑limiting plugin refactored to provide more functions and protect the server under high concurrency.

Custom environment plugin (community contributed) for handling server configuration, such as decrypting database passwords.

Data source plugin to support additional databases.

Enhanced testing version with plugin tracing and batch registration for easier use.

Features

Support batch registration and deregistration of services.

Added v2 OpenAPI for Nacos 2.0.

Data source plugin added.

Data tracking plugin added.

Prometheus service discovery (Prometheus HTTP SD) added.

LDAP authentication plugin example added.

LDAP identity authentication added.

Refactoring

Removed 1.x naming and redundant code.

Optimized selector.

Server now stops automatically on startup errors.

Optimized fuzzy query.

Enhanced data source plugin.

External data source added isEmpty check to support external configuration.

Changed NacosApplicationListener method modifiers to default.

Retained query conditions after returning from list configuration page.

Retained query conditions after returning from list service page.

Refactored rate‑limiting module into a plugin.

Bug Fixes

Fixed inconsistent length of group_id across tables.

Fixed inability to create bean ldapAuthenticationProvider.

Fixed Prometheus metric instance creation error.

Fixed Base64 decoding error of token.secret.key in verification plugin.

Fixed namespace list issue.

Fixed client worker thread null‑pointer check order.

Fixed health‑check issue after changing some instances to http.

Fixed selection error when all instance weights are zero.

Fixed console configuration query button not auto‑adapting to browser width.

Fixed service metadata cleanup logic causing deregistration failure.

Dependency Upgrade

Upgraded UI dependencies to address related vulnerabilities.

Download: https://github.com/alibaba/nacos/releases/download/2.2.0/nacos-server-2.2.0.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.

service discoveryConfiguration ManagementNacosPlugins
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.