Polaris v1.11.3 Release: Enhanced Rate Limiting, Upgrade Steps & Contributor List
Polaris v1.11.3 introduces refined rate‑limiting rules, new configuration templates, several bug fixes across the server, console and K8s controller, provides detailed upgrade SQL scripts, and acknowledges new community contributors, with download links for all components.
Overview
Polaris (PolarisMesh) is a cloud‑native service discovery and governance platform supporting multiple languages and frameworks. Version v1.11.3 adds enhancements to rate‑limiting, configuration management, and overall stability.
Main Rate‑Limiting Changes
Rate‑limiting rules are separated from service information into an independent feature section.
Five matching calculation methods are supported: exact, regex, not‑equal, contains, not‑contains.
Request‑matching rule keys are categorized by source: header, query, caller service, caller IP, and user‑defined parameters.
Other Server Improvements
Added a test‑environment routing guide in the dynamic routing feature.
Configuration center now supports template‑based config generation (PR #526). URL: https://github.com/polarismesh/polaris/pull/526
Server error messages are internationalized (PR #550). URL: https://github.com/polarismesh/polaris/pull/550
Refactored and optimized configuration center code (PR #553). URL: https://github.com/polarismesh/polaris/pull/553
Fixed bug where single‑node version updated instance timestamps without operation, causing continuous SDK update events (PR #527). URL: https://github.com/polarismesh/polaris/pull/527
Improved compatibility for Eureka heartbeat error codes (PR #670). URL: https://github.com/polarismesh/polaris/pull/670
Polaris Console Updates (v1.8.1)
Automatic file‑format detection when creating configuration files.
Adjusted card body height to fill the browser window.
Optimized service instance add/edit forms.
Fixed bug where deleting the last circuit‑breaker rule did not trigger unbinding.
Polaris K8s Controller Updates (v1.3.0)
Supports deployment on Kubernetes v1.22+ as well as versions below v1.21.
Provides an mtls switch to enable Envoy mtls capability (beta).
Upgrade Steps for Existing Polaris Clusters
Note: Apply only to clusters already installed.
Log in to the Polaris MySQL storage instance.
Execute the following SQL statements:
USE `polaris_server`;
CREATE TABLE `config_file_template` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
`name` varchar(128) COLLATE utf8_bin NOT NULL COMMENT '配置文件模板名称',
`content` longtext COLLATE utf8_bin NOT NULL COMMENT '配置文件模板内容',
`format` varchar(16) COLLATE utf8_bin DEFAULT 'text' COMMENT '模板文件格式',
`comment` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '模板描述信息',
`flag` tinyint(4) NOT NULL DEFAULT '0' COMMENT '软删除标记位',
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`create_by` varchar(32) COLLATE utf8_bin DEFAULT NULL COMMENT '创建人',
`modify_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`modify_by` varchar(32) COLLATE utf8_bin DEFAULT NULL COMMENT '最后更新人',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_name` (`name`)
) ENGINE=InnoDB COMMENT='配置文件模板表';
INSERT INTO `config_file_template` (`id`,`name`,`content`,`format`,`comment`,`create_time`,`create_by`,`modify_time`,`modify_by`) VALUES (2,'spring-cloud-gateway-braining','{
"rules":[
{
"conditions":[
{
"key":"${http.query.uid}",
"values":[
"10000"
],
"operation":"EQUALS"
}
],
"labels":[
{
"key":"env",
"value":"green"
}
]
}
]
}','json','Spring Cloud Gateway 染色规则','2022-08-18 10:54:46','polaris','2022-08-18 10:55:22','polaris');
ALTER TABLE `ratelimit_config` CHANGE `cluster_id` `name` varchar(64) NOT NULL;
ALTER TABLE `ratelimit_config` ADD COLUMN `disable` tinyint(4) NOT NULL DEFAULT '0';
ALTER TABLE `ratelimit_config` ADD COLUMN `etime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP;
ALTER TABLE `ratelimit_config` ADD COLUMN `method` varchar(512) NOT NULL;Release URLs
Server release: https://github.com/polarismesh/polaris/releases/tag/v1.11.3
Gitee mirror: https://gitee.com/polarismesh/polaris/releases/tag/v1.11.3
Console release: https://github.com/polarismesh/polaris-console/releases/tag/v1.8.1
K8s controller release: https://github.com/polarismesh/polaris-controller/releases/tag/v1.3.0
Tencent Cloud Middleware
Official account of Tencent Cloud Middleware. Focuses on microservices, messaging middleware and other cloud‑native technology trends, publishing product updates, case studies, and technical insights. Regularly hosts tech salons to share effective solutions.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
