Cloud Native 6 min read

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

Nacos 2.2.0, the latest GA release of the dynamic service discovery and configuration platform, removes legacy code, adds several new plugins, expands feature support, refactors core components, and resolves numerous bugs and dependency issues for more stable cloud‑native operations.

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

Nacos is a dynamic service discovery, configuration and service management platform. Version 2.2 has been officially released.

The community released a 2.2.0‑BETA in October; after more than a month of feedback, no critical core issues were found, and the focus shifted to database plugin optimizations and minor bug fixes.

Consequently, the BETA2 version was skipped and the GA 2.2.0 was launched directly.

This version introduces many new features, briefly outlined below:

1. Remove Redundant Code

Nacos 2.2.0 deletes old redundant code, including the 1.X mode service discovery and dual‑write related code. After removal, Nacos 2.2.0 cannot be upgraded from a 1.X server, only from at least version 2.0.0. This change does not affect compatibility with 1.X clients, which can still connect to the 2.2.0 server.

2. Add Plugin Support

Nacos 2.2.0 adds several new plugins, such as data source plugins, custom environment variable plugins, and rate‑limiting control plugins.

Rate Limiting Plugin – Refactored from the early open‑source summer project, this plugin allows users to write custom rate‑limiting logic to protect Nacos servers under high pressure.

Custom Environment Variable Plugin – Addresses community demand for encrypted database passwords by enabling special handling of configurations at startup, such as decrypting encrypted passwords.

Data Source Plugin – Starting from version 2.2.0, Nacos can inject multiple data sources via SPI, allowing the platform to support additional databases.

Additionally, 2.2.0 enhances the previously beta‑listed trace plugin and batch registration, making them easier to use.

3. Change List

Features

Support batch registration and deregistration of services

Add v2 OpenAPI for Nacos 2.0

Introduce data source plugin

Add data trace plugin

Integrate Prometheus service discovery (Prometheus HTTP SD)

Provide LDAP authentication plugin example

Add LDAP identity authentication

Refactoring

Remove 1.x naming and redundant code

Optimize selectors

Make server automatically stop on startup errors

Improve fuzzy query

Enhance data source plugin

Add isEmpty check for external data sources

Change NacosApplicationListener method visibility to default

Retain query conditions after returning from configuration list page

Retain query conditions after returning from service list page

Refactor rate‑limiting module into a plugin

Bug Fixes

Fix group_id length inconsistency across tables

Fix inability to create bean ldapAuthenticationProvider

Fix Prometheus metric instance creation error

Fix base64 decoding error of token.secret.key in authentication plugin

Fix namespace list issue

Fix client worker thread null‑pointer check order

Fix health check error after modifying some instances to HTTP

Fix incorrect selection when all instance weights are zero

Fix console configuration query button not adapting to browser width

Fix service metadata cleanup logic causing deregistration failure

Dependency Upgrade

Upgrade UI dependencies to address related vulnerabilities

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 discoveryConfigurationPlugins
MaGe Linux Operations
Written by

MaGe Linux Operations

Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.

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.