Cloud Native 6 min read

Nacos 2.2.0 GA Release: New Plugins, Refactoring, and Bug Fixes

The Nacos 2.2.0 GA release introduces several new plugins—including rate‑limiting, custom environment variable, and datasource plugins—removes legacy redundant code, enhances tracing and batch registration, and delivers extensive refactoring and bug fixes to improve stability and extensibility for cloud‑native service discovery and configuration management.

Architecture Digest
Architecture Digest
Architecture Digest
Nacos 2.2.0 GA Release: New Plugins, Refactoring, and Bug Fixes

Nacos is a dynamic service discovery, configuration management, and service governance platform. After a month of community feedback on the 2.2.0‑BETA version, the project skipped a second beta and directly released the 2.2.0 GA version.

Key new features:

Removal of redundant code : Old 1.x mode discovery and dual‑write code have been deleted. Upgrading from Nacos 1.x to 2.2.0 is not supported; upgrades must start from at least version 2.0.0, while 1.x clients can still connect to 2.2.0 servers.

New plugin support :

Rate‑limiting plugin : Provides extensible rate‑limiting capabilities to protect the Nacos server under high load.

Custom environment variable plugin : Allows encrypted database passwords and other special configuration handling via plugin‑based decryption.

Datasource plugin : Enables multiple data‑source injection through SPI, allowing Nacos to work with various databases.

Enhancements to the previously beta traceability plugin and batch registration , making them easier to use.

Feature List

Support for batch registration and deregistration of services

v2 OpenAPI added for Nacos 2.0

Data‑source plugin addition

Data‑tracking plugin addition

Prometheus service discovery (HTTP SD) support

LDAP authentication plugin examples and LDAP identity authentication

Refactoring

Deleted 1.x naming and redundant code

Optimized selector logic

Server now stops automatically on startup errors

Improved fuzzy query performance

Enhanced data‑source plugin capabilities

Added isEmpty check for external data sources

Changed NacosApplicationListener method modifiers to default

Preserved query conditions after returning from list configuration and service pages

Refactored rate‑limiting module into a plugin

Bug Fixes

Fixed inconsistent length of group_id across tables

Resolved bean creation issue for ldapAuthenticationProvider Corrected Prometheus metric instance creation errors

Fixed Base64 decoding error for token.secret.key Addressed namespace list problems

Corrected NPE order in client worker thread checks

Fixed health‑check inaccuracies after HTTP conversion

Resolved selection errors when all instance weights are zero

Adjusted console query button width adaptation

Fixed service metadata cleanup logic causing deregistration failures

Dependency Upgrade

UI dependencies were upgraded to resolve known vulnerabilities.

For more details, see the official Nacos release notes and community announcements.

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.

BackendCloud NativeMicroservicesservice discoveryConfiguration ManagementNacosPlugins
Architecture Digest
Written by

Architecture Digest

Focusing on Java backend development, covering application architecture from top-tier internet companies (high availability, high performance, high stability), big data, machine learning, Java architecture, and other popular fields.

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.