Copilot commented on code in PR #1983: URL: https://github.com/apache/apisix-website/pull/1983#discussion_r2752643736
########## blog/en/blog/2026/01/31/2026-jan-monthly-report.md: ########## @@ -0,0 +1,105 @@ +--- +title: "2026 Monthly Report (January 01 - January 31)" +keywords: ["Apache APISIX", "API Gateway", "Monthly Report", "Contributor"] +description: Our monthly Apache APISIX community report generates insights into the project's monthly developments. The reports provide a pathway into the Apache APISIX community, ensuring that you stay well-informed and actively involved. +tags: [Community] +image: https://static.api7.ai/uploads/2026/01/30/BhvatY9K_2026-jan-monthly-report-cover-en.webp +--- + +> Recently, we've introduced and updated some new features, including supporting Redis Keepalive for rate limiting plugins, and supporting Google Vertex AI, Gemini, Anthropic, and OpenRouter, etc. For more details, please read this month's newsletter. + +<!--truncate--> + +## Introduction + +From its inception, the Apache APISIX project has embraced the ethos of open-source community collaboration, propelling it into the ranks of the most active global open-source API gateway projects. The proverbial wisdom of 'teamwork makes the dream work' rings true in our way and is made possible by the collective effort of our community. + +From January 1st to January 31st, 13 contributors made 48 commits to Apache APISIX. We sincerely appreciate your contributions to Apache APISIX. + +## Contributor Statistics + + + + + +## Good First Issue + +### Issue #12932 + +**Link**: https://github.com/apache/apisix/issues/12932 + +**Description**: In APISIX's standalone mode, when an environment variable is set in the `apisix.yaml` file, if the value is numeric, it is automatically converted to a number. This can cause errors when the number exceeds Lua's double precision limits. Even with double quotes, such values are not treated as strings. + +**Expected Behavior**: Values passed as `${{VAR}}` in `apisix.yaml` should be treated as strings, preserving the exact value even if it looks numeric. + +## Feature Highlights + +### 1. Support Redis Keepalive for Rate Limiting Plugins + +PR: https://github.com/apache/apisix/pull/12861 + +Contributor: [ChuanFF](https://github.com/ChuanFF) + +This PR adds support for Redis connection keepalive settings in the `limit-count`, `limit-conn`, and `limit-req` plugins, improving connection reuse and performance. It improves timeout handling in the redis-cluster policy by aligning `connect_timeout` and `send_timeout` with the `redis_timeout` configuration, ensuring consistent timeout behavior. + +### 2. Support `apisix_request_id` Variable in `request-id` Plugin + +PR: https://github.com/apache/apisix/pull/12931 + +Contributor: [shreemaan-abhishek](https://github.com/shreemaan-abhishek) + +This PR adds support for the `apisix_request_id` variable when using the `request-id` plugin, and records the generated `request_id` in error logs to help users quickly locate and diagnose request-related issues. + +### 3. Support Google Vertex AI + +PR: https://github.com/apache/apisix/pull/12933 + +Contributor: [SkyeYoung](https://github.com/SkyeYoung) + +This PR adds support for Google Vertex AI by aligning with and extending the implementation introduced in [#12565](https://github.com/apache/apisix/pull/12565), allowing users to route requests to Vertex AI through APISIX. + +### 4. Support Gemini OpenAI API + +PR: https://github.com/apache/apisix/pull/12883 + +Contributor: [SkyeYoung](https://github.com/SkyeYoung) + +This PR adds support for Gemini OpenAI API by aligning with and extending the implementation introduced in [#12565](https://github.com/apache/apisix/pull/12565), allowing users to route requests to Gemini through APISIX. + +### 5. Support Anthropic OpenAI API + +PR: https://github.com/apache/apisix/pull/12881 + +Contributor: [SkyeYoung](https://github.com/SkyeYoung) + +This PR adds support for Anthropic by aligning with and extending the implementation introduced in [#12565](https://github.com/apache/apisix/pull/12565), allowing users to route requests to Anthropic through APISIX. + +### 6. Support OpenRouter + +PR: https://github.com/apache/apisix/pull/12878 + +Contributor: [SkyeYoung](https://github.com/SkyeYoung) + +This PR adds support for OpenRouter by aligning with and extending the implementation introduced in [#12565](https://github.com/apache/apisix/pull/12565), allowing users to route requests to OpenRouter through APISIX. + +### 7. Add `Realm` in `WWW-Authenticate` Response Headers for Auth Plugins + +PR: https://github.com/apache/apisix/pull/12864 + +Contributor: [shreemaan-abhishek](https://github.com/shreemaan-abhishek) + +This PR adds a `realm` configuration option to to the following authentication plugins: `basic-auth`, `key-auth`, `hmac-auth`, `jwt-auth`, and `ldap-auth`. This allows users to customize the realm value returned in the `WWW-Authenticate` response header for `401 Unauthorized` failures. Review Comment: There is a duplicate word "to to" in this sentence. It should be "This PR adds a `realm` configuration option to the following authentication plugins:" ```suggestion This PR adds a `realm` configuration option to the following authentication plugins: `basic-auth`, `key-auth`, `hmac-auth`, `jwt-auth`, and `ldap-auth`. This allows users to customize the realm value returned in the `WWW-Authenticate` response header for `401 Unauthorized` failures. ``` ########## blog/zh/blog/2026/01/31/2026-jan-monthly-report.md: ########## @@ -0,0 +1,101 @@ +--- +title: "2026 社区月报 (01.01 - 01.31)" +keywords: ["Apache APISIX", "API 网关", "社区月报", "贡献者"] +description: Apache APISIX 社区的月报旨在帮助社区成员更全面地了解社区的最新动态,方便大家参与到 Apache APISIX 社区中来。 +tags: [Community] +image: https://static.api7.ai/uploads/2026/01/30/ZkUprAVf_2026-jan-monthly-report-cover-cn.webp +--- + +> 最近,我们引入并更新了一些新功能,包括为限流插件支持 Redis Keepalive,以及支持 Google Vertex AI、Gemini、Anthropic 和 OpenRouter 等。有关更多细节,请阅读本期月报。 + +<!--truncate--> + +## 导语 + +Apache APISIX 项目始终秉承着开源社区协作的精神,自问世起便崭露头角,如今已经成为全球最活跃的开源 API 网关项目之一。正如谚语所言,“众人拾柴火焰高”,这一辉煌成就,得益于整个社区伙伴的协同努力。 + +从 2026.01.01 至 2026.01.31,有 13 名开发者提交了 48 个 commits,为 Apache APISIX 做出了重要贡献。感谢这些伙伴们对 Apache APISIX 的无私支持!正是因为你们的付出,才能让 Apache APISIX 项目不断改进、提升和壮大。 + +## 贡献者统计 + + + + + +### Issue #12932 + +**链接**:https://github.com/apache/apisix/issues/12932 + +**问题描述**:APISIX 以 Standalone 模式运行时,在 `apisix.yaml` 文件中设置环境变量,如果变量值是数字,则会被自动转换为数字。对于非常大的数字(超过 Lua 双精度浮点数可精确表示的范围),会出现精度丢失。例如,原本想作为字符串的数字 `356002209726529540` 被解析后变为 `3.5600220972653e+17`,导致实际值不正确。即使变量值使用双引号,也不会被当作字符串处理。 Review Comment: The Chinese translation "如果变量值是数字" (if the value is a number) doesn't quite capture the intended meaning. The English says "if the value is numeric" which means "if it looks like a number" or "appears numeric". A better translation would be "如果变量值看起来像数字" or "如果变量值的格式是数字格式" to clarify that string values that appear numeric are being converted. ```suggestion **问题描述**:APISIX 以 Standalone 模式运行时,在 `apisix.yaml` 文件中设置环境变量,如果变量值看起来像数字,则会被自动转换为数字。对于非常大的数字(超过 Lua 双精度浮点数可精确表示的范围),会出现精度丢失。例如,原本想作为字符串的数字 `356002209726529540` 被解析后变为 `3.5600220972653e+17`,导致实际值不正确。即使变量值使用双引号,也不会被当作字符串处理。 ``` ########## blog/zh/blog/2026/01/31/2026-jan-monthly-report.md: ########## @@ -0,0 +1,101 @@ +--- +title: "2026 社区月报 (01.01 - 01.31)" +keywords: ["Apache APISIX", "API 网关", "社区月报", "贡献者"] +description: Apache APISIX 社区的月报旨在帮助社区成员更全面地了解社区的最新动态,方便大家参与到 Apache APISIX 社区中来。 +tags: [Community] +image: https://static.api7.ai/uploads/2026/01/30/ZkUprAVf_2026-jan-monthly-report-cover-cn.webp +--- + +> 最近,我们引入并更新了一些新功能,包括为限流插件支持 Redis Keepalive,以及支持 Google Vertex AI、Gemini、Anthropic 和 OpenRouter 等。有关更多细节,请阅读本期月报。 + +<!--truncate--> + +## 导语 + +Apache APISIX 项目始终秉承着开源社区协作的精神,自问世起便崭露头角,如今已经成为全球最活跃的开源 API 网关项目之一。正如谚语所言,“众人拾柴火焰高”,这一辉煌成就,得益于整个社区伙伴的协同努力。 + +从 2026.01.01 至 2026.01.31,有 13 名开发者提交了 48 个 commits,为 Apache APISIX 做出了重要贡献。感谢这些伙伴们对 Apache APISIX 的无私支持!正是因为你们的付出,才能让 Apache APISIX 项目不断改进、提升和壮大。 + +## 贡献者统计 + + + + + +### Issue #12932 + +**链接**:https://github.com/apache/apisix/issues/12932 + Review Comment: The label "相关 RP:" appears to be a typo. Since this links to an Issue (not a Pull Request), it should be "相关 Issue:" or simply "链接:" to match the English version's "Link:". ########## blog/en/blog/2026/01/31/2026-jan-monthly-report.md: ########## @@ -0,0 +1,105 @@ +--- +title: "2026 Monthly Report (January 01 - January 31)" +keywords: ["Apache APISIX", "API Gateway", "Monthly Report", "Contributor"] +description: Our monthly Apache APISIX community report generates insights into the project's monthly developments. The reports provide a pathway into the Apache APISIX community, ensuring that you stay well-informed and actively involved. +tags: [Community] +image: https://static.api7.ai/uploads/2026/01/30/BhvatY9K_2026-jan-monthly-report-cover-en.webp +--- + +> Recently, we've introduced and updated some new features, including supporting Redis Keepalive for rate limiting plugins, and supporting Google Vertex AI, Gemini, Anthropic, and OpenRouter, etc. For more details, please read this month's newsletter. + +<!--truncate--> + +## Introduction + +From its inception, the Apache APISIX project has embraced the ethos of open-source community collaboration, propelling it into the ranks of the most active global open-source API gateway projects. The proverbial wisdom of 'teamwork makes the dream work' rings true in our way and is made possible by the collective effort of our community. + +From January 1st to January 31st, 13 contributors made 48 commits to Apache APISIX. We sincerely appreciate your contributions to Apache APISIX. + +## Contributor Statistics + + + + + +## Good First Issue + +### Issue #12932 + +**Link**: https://github.com/apache/apisix/issues/12932 + +**Description**: In APISIX's standalone mode, when an environment variable is set in the `apisix.yaml` file, if the value is numeric, it is automatically converted to a number. This can cause errors when the number exceeds Lua's double precision limits. Even with double quotes, such values are not treated as strings. + +**Expected Behavior**: Values passed as `${{VAR}}` in `apisix.yaml` should be treated as strings, preserving the exact value even if it looks numeric. + +## Feature Highlights + +### 1. Support Redis Keepalive for Rate Limiting Plugins + +PR: https://github.com/apache/apisix/pull/12861 + +Contributor: [ChuanFF](https://github.com/ChuanFF) + +This PR adds support for Redis connection keepalive settings in the `limit-count`, `limit-conn`, and `limit-req` plugins, improving connection reuse and performance. It improves timeout handling in the redis-cluster policy by aligning `connect_timeout` and `send_timeout` with the `redis_timeout` configuration, ensuring consistent timeout behavior. + +### 2. Support `apisix_request_id` Variable in `request-id` Plugin + +PR: https://github.com/apache/apisix/pull/12931 + +Contributor: [shreemaan-abhishek](https://github.com/shreemaan-abhishek) + +This PR adds support for the `apisix_request_id` variable when using the `request-id` plugin, and records the generated `request_id` in error logs to help users quickly locate and diagnose request-related issues. + +### 3. Support Google Vertex AI + +PR: https://github.com/apache/apisix/pull/12933 + +Contributor: [SkyeYoung](https://github.com/SkyeYoung) + +This PR adds support for Google Vertex AI by aligning with and extending the implementation introduced in [#12565](https://github.com/apache/apisix/pull/12565), allowing users to route requests to Vertex AI through APISIX. + +### 4. Support Gemini OpenAI API + +PR: https://github.com/apache/apisix/pull/12883 + +Contributor: [SkyeYoung](https://github.com/SkyeYoung) + +This PR adds support for Gemini OpenAI API by aligning with and extending the implementation introduced in [#12565](https://github.com/apache/apisix/pull/12565), allowing users to route requests to Gemini through APISIX. + +### 5. Support Anthropic OpenAI API + +PR: https://github.com/apache/apisix/pull/12881 + +Contributor: [SkyeYoung](https://github.com/SkyeYoung) + +This PR adds support for Anthropic by aligning with and extending the implementation introduced in [#12565](https://github.com/apache/apisix/pull/12565), allowing users to route requests to Anthropic through APISIX. + +### 6. Support OpenRouter + +PR: https://github.com/apache/apisix/pull/12878 + +Contributor: [SkyeYoung](https://github.com/SkyeYoung) + +This PR adds support for OpenRouter by aligning with and extending the implementation introduced in [#12565](https://github.com/apache/apisix/pull/12565), allowing users to route requests to OpenRouter through APISIX. + +### 7. Add `Realm` in `WWW-Authenticate` Response Headers for Auth Plugins Review Comment: The title uses `Realm` (capitalized and in backticks) when referring to the concept, but it should be lowercase `realm` if referring to the configuration parameter name, or without backticks if referring to the concept. The Chinese version uses "Realm" without backticks, which is more appropriate for a title describing the feature concept. ```suggestion ### 7. Add Realm in `WWW-Authenticate` Response Headers for Auth Plugins ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
