github higress-group/higress v2.2.8

2 hours ago

Higress

📋 Overview of This Release

This release includes 5 updates, covering feature enhancements, bug fixes, performance optimizations, and more.

Distribution of Updates

  • New Features: 2
  • Bug Fixes: 1
  • Refactoring & Optimization: 1
  • Documentation Updates: 1

📝 Full Change Log

🚀 New Features (Features)

  • Related PR: #5467
    Contributor: @johnlanni
    Change Log: This PR releases the v2.2.8 metadata version, updating the VERSION file, the appVersion field in the Helm chart, and the higress-core dependency version in Chart.lock; synchronizing the higress-console dependency to v2.2.8; and fixing a regression in consumer identity assertion ordering introduced by the hmac-auth plugin v2.0.1.
    Feature Value: Users can smoothly upgrade to v2.2.8, achieving more stable gateway identity assertion capabilities and avoiding authentication failures caused by abnormal plugin execution order; Helm deployment experience becomes more consistent, with fully synchronized version information, reducing operational ambiguity risks.

  • Related PR: #5466
    Contributor: @higress-release-automation[bot]
    Change Log: This PR prepares for the plugin snapshot release v2.2.8 by generating an immutable JSON metadata file containing WASM verification digests, candidate references, gateway version, source commit hash, and the complete plugin snapshot—ensuring reproducible builds and traceable signatures.
    Feature Value: By hardening plugin binary hashes, version information, and build provenance data, this change enhances the security and auditability of plugin releases, enabling users to verify the authenticity and integrity of downloaded plugins and strengthening trust in production deployments.

🐛 Bug Fixes (Bug Fixes)

  • Related PR: #5465
    Contributor: @johnlanni
    Change Log: Fixed consumer identity assertion loss in HMAC authentication: adjusted header processing order by writing X-Mse-Consumer earlier in checkConsumer and removing subsequent redundant cleanup logic, ensuring that the gateway-asserted consumer identity remains intact across paths such as form-body.
    Feature Value: Ensures correct propagation of consumer identity identifiers throughout the HMAC authentication flow, preventing downstream service authorization failures or incorrect routing due to accidental header removal, thereby improving the reliability and compatibility of the API gateway’s authentication chain.

♻️ Refactoring & Optimization (Refactoring)

  • Related PR: #5464
    Contributor: @johnlanni
    Change Log: Removed the deprecated C++ hotfix release path, including associated workflow files, CLI-mode threads, workflow dispatch logic, and temporary contractual procedures—consolidating all release activities into the standardized prepare → validate → promote → snapshot pipeline and preserving historical records via snapshot history[].
    Feature Value: Simplifies the C++ plugin release process, eliminating the complexity of maintaining two parallel release logics and improving build maintainability and consistency; users continue to receive stable, validated candidate releases (e.g., v2.0.1) along with full historical traceability, ensuring secure and reliable upgrades.

📚 Documentation Updates (Documentation)

  • Related PR: #5463
    Contributor: @johnlanni
    Change Log: Updated the RAG MCP Server documentation to explicitly mark it as experimental, disabled by default, and not recommended for production use; added minimum gateway version requirements, HTTPS basic authentication configuration instructions, and access restriction notes for the MCP endpoint and Milvus.
    Feature Value: Helps users accurately assess the current maturity level of the RAG feature and avoid security and stability risks arising from unintended usage of experimental components; guides compliant deployment practices, ensuring cautious enablement only under secure conditions (e.g., gateway v2.2.5+, HTTPS authentication).

📊 Release Statistics

  • 🚀 New Features: 2
  • 🐛 Bug Fixes: 1
  • ♻️ Refactoring & Optimization: 1
  • 📚 Documentation Updates: 1

Total: 5 changes

Thank you to all contributors for your hard work! 🎉

Higress Console

📋 Overview of This Release

This release includes 19 updates, covering feature enhancements, bug fixes, performance optimizations, and more.

Distribution of Updates

  • New Features: 8
  • Bug Fixes: 9
  • Documentation Updates: 2

📝 Complete Change Log

🚀 New Features (Features)

  • Related PR: #622
    Contributor: @CH3CHO
    Change Log: Switched the base image in the backend Dockerfile from the deprecated openjdk:21-jdk-slim to the officially recommended eclipse-temurin:21-jdk, modifying only the FROM instruction to ensure JDK runtime compliance with current security and maintenance standards.
    Feature Value: Enhances base image security and long-term maintainability, preventing build failures or vulnerability risks due to deprecation of the OpenJDK repository; users obtain a more stable and compliant Java runtime environment without code changes.

  • Related PR: #621
    Contributor: @Thomas-Eliot
    Change Log: Enhanced MCP Server interaction capabilities: added automatic Host header rewriting for DNS backends; improved transport selection and full path configuration for direct routing scenarios; fixed DSN special character @ parsing for DB-to-MCP Server scenarios.
    Feature Value: Increases flexibility and robustness of MCP Server integration, reduces user configuration complexity, prevents connectivity issues caused by path prefix confusion or DSN parsing failures, and improves compatibility and usability across multi-protocol and multi-environment deployments.

  • Related PR: #608
    Contributor: @Libres-coder
    Change Log: Added plugin display capability to the AI route management page, supporting expandable rows to view enabled plugins and displaying an 'Enabled' label on the configuration page; extended the PluginList component to support the AI_ROUTE query type, and enhanced i18n language-change listener logic in route.tsx.
    Feature Value: Enables users to intuitively view and manage enabled plugins directly on the AI route page, unifying plugin display experience between AI and standard routes, improving visibility and operational consistency for AI service configuration, and reducing operational complexity.

  • Related PR: #604
    Contributor: @CH3CHO
    Change Log: Introduced comprehensive support for regular expression–based path rewriting by extending the higress.io/rewrite-target annotation capability, adding regex matching logic at the Kubernetes model conversion layer, and updating i18n texts in both frontend and backend to support the REGULAR rewrite type.
    Feature Value: Empowers users to define flexible path rewriting rules using regular expressions, significantly enhancing routing match precision and path transformation expressiveness—ideal for complex URL mapping scenarios—and lowering the cost of custom development.

  • Related PR: #603
    Contributor: @CH3CHO
    Change Log: Defined and hardcoded the fixed service port 80 as a constant in the static service source form component, and displayed this port explicitly in the UI so users are clearly informed of the default HTTP port bound by static services, improving configuration transparency and consistency.
    Feature Value: Users can immediately see the default port 80 when configuring static service sources, avoiding misconfiguration or omission of port settings, reducing deployment errors, and improving understandability and efficiency of the service creation workflow.

  • Related PR: #602
    Contributor: @CH3CHO
    Change Log: Added search functionality to the upstream service selection component for AI routes, enhancing the RouteForm component’s input controls to support real-time filtering of the service list, thereby improving selection efficiency and UX for large service lists.
    Feature Value: Users can rapidly locate target upstream services while configuring AI routes, markedly reducing manual scrolling time—especially beneficial with large numbers of services—and significantly improving configuration efficiency and accuracy.

  • Related PR: #566
    Contributor: @OuterCyrex
    Change Log: Added support for Tongyi Qwen large language models (LLMs), including a dedicated QwenLlmProviderHandler implementation and frontend multilingual configuration options and service form support, enabling users to configure custom Qwen service endpoints, enable internet search, and upload file IDs.
    Feature Value: Allows Higress users to seamlessly integrate privately or custom-deployed Qwen services, enhancing the AI gateway’s compatibility and extensibility for domestic large language models, lowering enterprise integration costs for the Tongyi Qwen technology stack, and strengthening product applicability in AI-native scenarios.

  • Related PR: #552
    Contributor: @lcfang
    Change Log: Introduced the VPort model class and vport attribute support, extended the MCPBridge registry configuration, and injected the vport field into ServiceSource via KubernetesModelConverter, enabling unified management and routing adaptation of service virtual ports.
    Feature Value: Resolves routing failures caused by inconsistent service instance port configurations in registries such as Eureka and Nacos; users may specify default or virtual ports via vport, enhancing gateway compatibility and stability under dynamic service discovery.

🐛 Bug Fixes (Bug Fixes)

  • Related PR: #620
    Contributor: @CH3CHO
    Change Log: Fixed a spelling error in the sortWasmPluginMatchRules method to ensure correct execution of WASM plugin match rule sorting logic and prevent runtime exceptions or logical anomalies caused by misspelled variable names or keywords.
    Feature Value: Improves the stability and reliability of WASM plugin rule matching, preventing rule-sorting failures due to typographical errors and ensuring user-defined plugin policies take effect as intended—reducing potential configuration inconsistency risks.

  • Related PR: #619
    Contributor: @CH3CHO
    Change Log: Fixed duplicate version information persistence when converting AiRoute to ConfigMap, removing the version field from the data JSON and retaining it solely within the ConfigMap metadata to avoid data redundancy and potential inconsistency.
    Feature Value: Improves accuracy and consistency of configuration management, preventing parsing errors or deployment failures caused by duplicate version fields, and delivering a more stable and reliable Kubernetes configuration experience for users leveraging the AiRoute feature.

  • Related PR: #618
    Contributor: @CH3CHO
    Change Log: Refactored API authentication logic in SystemController, introducing the AllowAnonymous annotation for precise control over anonymous access permissions, and applied this annotation to HealthzController, LandingController, and SessionController to eliminate security vulnerabilities arising from unintentional authentication bypasses.
    Feature Value: Fixes potential unauthorized access vulnerabilities in system controllers, strengthening overall platform security; users benefit from more reliable API access control, preventing malicious invocation of sensitive interfaces or information leakage.

  • Related PR: #617
    Contributor: @CH3CHO
    Change Log: Fixed missing unique key attributes in frontend list rendering that triggered React warnings; resolved avatar image loading being blocked by CSP policies; corrected the Consumer.name field type definition—from boolean to string.
    Feature Value: Enhances frontend application stability and UX by eliminating console warnings that interfere with development debugging, ensuring avatars render correctly, and aligning the Consumer data structure with actual business logic to prevent runtime type errors.

  • Related PR: #614
    Contributor: @lc0138
    Change Log: Corrected the type definition for the type field in the ServiceSource class and added validation logic for dictionary values, ensuring only predefined, valid registry types are accepted—preventing runtime type errors and system exceptions caused by invalid inputs.
    Feature Value: Strengthens robustness and security of service source configuration, preventing backend validation failures or service registration anomalies due to illegal type values, and ensuring stable, predictable behavior when users configure multi-source services.

  • Related PR: #613
    Contributor: @lc0138
    Change Log: Fixed the absence of Content Security Policy (CSP) configuration in the frontend by adding the appropriate <meta> tag in document.tsx to properly enforce security policies and mitigate XSS attacks, improving overall application security.
    Feature Value: Effectively mitigates frontend XSS and other security risks stemming from improper CSP configuration, strengthens user data and interaction security, enhances production environment compliance and trustworthiness, and reduces exposure to malicious injection attacks.

  • Related PR: #612
    Contributor: @zhwaaaaaa
    Change Log: Added hop-to-hop header filtering logic in DashboardServiceImpl, specifically handling headers such as transfer-encoding: chunked that proxies must not forward, correcting reverse proxy pass-through behavior per RFC 2616 Section 13.5.1.
    Feature Value: Fixes Grafana dashboard loading failures resulting from erroneous chunked transfer encoding header pass-through by the reverse proxy, improving stability and compatibility when integrating external monitoring dashboards into the console and enhancing users’ observability experience.

  • Related PR: #609
    Contributor: @CH3CHO
    Change Log: Fixed an incorrect type definition for the name field in the Consumer interface, correcting it from boolean to string to ensure frontend data structures match actual backend responses and avoid runtime type errors and potential rendering anomalies.
    Feature Value: Prevents UI rendering failures, form submission errors, or type-checking warnings caused by field type mismatches, improving application stability and developer experience while ensuring accurate display and interaction with consumer information.

  • Related PR: #605
    Contributor: @SaladDay
    Change Log: Corrected the frontend form validation regex for AI route names to allow periods (.) and restrict characters to lowercase letters only; simultaneously updated Chinese and English error message texts to ensure UI prompts precisely reflect the underlying validation logic.
    Feature Value: Resolves cases where users incorrectly received rejection errors when creating AI routes with period-containing names, enhancing form UX consistency and accuracy; users can now legitimately use dot-delimited route names (e.g., api.v1) aligned with common naming conventions and business requirements.

📚 Documentation Updates (Documentation)

  • Related PR: #611
    Contributor: @qshuai
    Change Log: Fixed the OpenAPI documentation summary description for the @PostMapping endpoint in LlmProvidersController, correcting the inaccurate description 'Add a new route' to a more precise one, ensuring API documentation accurately reflects actual functionality and improves developers’ understanding of the LLM provider management interface.
    Feature Value: Correcting the API documentation title prevents front-end or third-party developers from misunderstanding the purpose of this endpoint, enhancing the professionalism and credibility of the console’s API documentation, lowering integration and debugging effort, and improving overall developer experience and system maintainability.

  • Related PR: #610
    Contributor: @heimanba
    Change Log: Updated mandatory-field annotations for rewrite, name, backendVersion, and enabled in the frontend-gray plugin documentation; revised the rules.name reference path to grayDeployments[].name; and synchronized field descriptions and terminology across Chinese/English READMEs and spec.yaml, improving configuration clarity and consistency.
    Feature Value: Helps users better understand the flexibility and interdependencies of gray-scale configuration fields, reducing configuration errors caused by outdated documentation; strengthens multilingual documentation consistency, improving collaboration efficiency for international teams and enhancing plugin adoption experience.


📊 Release Statistics

  • 🚀 New Features: 8
  • 🐛 Bug Fixes: 9
  • 📚 Documentation Updates: 2

Total: 19 changes

Thank you to all contributors for your hard work! 🎉


Upgrade notes

  • hmac-auth defaults to 2.0.2. It restores the gateway-asserted X-Mse-Consumer identity: the client-supplied value is removed first, then the resolved consumer is written, and the value is preserved for downstream consumers. 2.0.0 and 2.0.1 remain available through plugin-server 2.2.8 history for routes pinned to those versions.
  • All other plugin defaults are unchanged from 2.2.7 (basic-auth, bot-detect, custom-response, jwt-auth, key-auth, key-rate-limit, oauth, request-block remain on 2.0.1).
  • plugin-server is higress/plugin-server:2.2.8@sha256:507770387263dc53343abc16a95c649ab14f987904cc81e228c2ac53541ecde9; Console is higress/console:2.2.8 with chart higress-console:2.2.8.
  • The cpp-hotfix release mode is retired; the nine default C++ plugins follow the same managed prepare/validate/promote/snapshot chain as Go and Rust.

Don't miss a new higress release

NewReleases is sending notifications on new releases.