You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/07/30 05:27:21 UTC

[GitHub] [apisix-website] Serendipity96 opened a new pull request #433: docs: added 2.8 release English version blog

Serendipity96 opened a new pull request #433:
URL: https://github.com/apache/apisix-website/pull/433


   Changes:
   docs: added 2.8 release English version blog 


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] tokers commented on a change in pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
tokers commented on a change in pull request #433:
URL: https://github.com/apache/apisix-website/pull/433#discussion_r680906430



##########
File path: website/blog/2021-07-28-release-apache-apisix-2.8-en.md
##########
@@ -0,0 +1,143 @@
+---
+title: "Release Apache APISIX 2.8.0"
+author: Serendipity96
+authorURL: "https://github.com/Serendipity96"
+authorImageURL: "https://avatars.githubusercontent.com/u/23514812?v=4"
+---
+> [@Serendipity96](https://github.com/Serendipity96), Apache APISIX contributor from [Shenzhen Zhiliu Technology Co.](https://www.apiseven.com/)
+>
+<!--truncate-->
+
+Apache APISIX version 2.8 is released! πŸŽ‰ This version has 30+ developers participated, more than 100 PRs had been submitted, and supports **1 new feature, 1 new experience, 2 new plugins, and 2 new ways to develop**. Read and learn about the new features in version 2.8!
+πŸ‘‡πŸ‘‡πŸ‘‡
+
+## Release Notes
+
+### New feature: Independent Keepalive connection pool
+
+Starting with [version 2.7](https://apisix.apache.org/blog/2021/06/29/release-apache-apisix-2.7), we have added Apache APISIX's own patches and the Nginx C module to enhance the native Nginx, allowing dynamic setup of increasing number of Nginx configurations. In the latest release, Apache APISIX already supports the configuration of independent Keepalive connection pools at the Upstream level.
+
+The following features are currently included:
+
+- Dynamically set mTLS
+- Dynamically set client_max_body_size
+- Upstream keepalive (2.8 new featureοΌ‰
+- gzip (2.8 new Plug-inοΌ‰
+
+In future releases, we will continue to allow the following Nginx configurations to be set dynamically:
+
+- real_ip

Review comment:
       Fair enough.




-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] netlify[bot] commented on pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
netlify[bot] commented on pull request #433:
URL: https://github.com/apache/apisix-website/pull/433#issuecomment-889638410


   πŸ‘· Deploy Preview for *apisix* processing.
   
   
   πŸ”¨ Explore the source changes: f2e6471b3cf1b4debea43950958f01b2c2714166
   
   πŸ” Inspect the deploy log: [https://app.netlify.com/sites/apisix/deploys/61038dae29db670007200208](https://app.netlify.com/sites/apisix/deploys/61038dae29db670007200208?utm_source=github&utm_campaign=bot_dl)
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] Serendipity96 commented on a change in pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
Serendipity96 commented on a change in pull request #433:
URL: https://github.com/apache/apisix-website/pull/433#discussion_r680605231



##########
File path: website/blog/2021-07-28-release-apache-apisix-2.8-en.md
##########
@@ -0,0 +1,143 @@
+---
+title: "Release Apache APISIX 2.8.0"
+author: Serendipity96
+authorURL: "https://github.com/Serendipity96"
+authorImageURL: "https://avatars.githubusercontent.com/u/23514812?v=4"
+---
+> [@Serendipity96](https://github.com/Serendipity96), Apache APISIX contributor from [Shenzhen Zhiliu Technology Co.](https://www.apiseven.com/)
+>
+<!--truncate-->
+
+Apache APISIX version 2.8 is released! πŸŽ‰ This version has 30+ developers participated, more than 100 PRs had been submitted, and supports **1 new feature, 1 new experience, 2 new plugins, and 2 new ways to develop**. Read and learn about the new features in version 2.8!
+πŸ‘‡πŸ‘‡πŸ‘‡
+
+## Release Notes
+
+### New feature: Independent Keepalive connection pool
+
+Starting with [version 2.7](https://apisix.apache.org/blog/2021/06/29/release-apache-apisix-2.7), we have added Apache APISIX's own patches and the Nginx C module to enhance the native Nginx, allowing dynamic setup of increasing number of Nginx configurations. In the latest release, Apache APISIX already supports the configuration of independent Keepalive connection pools at the Upstream level.
+
+The following features are currently included:
+
+- Dynamically set mTLS
+- Dynamically set client_max_body_size
+- Upstream keepalive (2.8 new featureοΌ‰
+- gzip (2.8 new Plug-inοΌ‰
+
+In future releases, we will continue to allow the following Nginx configurations to be set dynamically:
+
+- real_ip

Review comment:
       Great! thanks
   




-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] Serendipity96 commented on a change in pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
Serendipity96 commented on a change in pull request #433:
URL: https://github.com/apache/apisix-website/pull/433#discussion_r680609615



##########
File path: website/blog/2021-07-28-release-apache-apisix-2.8-en.md
##########
@@ -0,0 +1,143 @@
+---
+title: "Release Apache APISIX 2.8.0"
+author: Serendipity96
+authorURL: "https://github.com/Serendipity96"
+authorImageURL: "https://avatars.githubusercontent.com/u/23514812?v=4"
+---
+> [@Serendipity96](https://github.com/Serendipity96), Apache APISIX contributor from [Shenzhen Zhiliu Technology Co.](https://www.apiseven.com/)
+>
+<!--truncate-->
+
+Apache APISIX version 2.8 is released! πŸŽ‰ This version has 30+ developers participated, more than 100 PRs had been submitted, and supports **1 new feature, 1 new experience, 2 new plugins, and 2 new ways to develop**. Read and learn about the new features in version 2.8!
+πŸ‘‡πŸ‘‡πŸ‘‡
+
+## Release Notes
+
+### New feature: Independent Keepalive connection pool
+
+Starting with [version 2.7](https://apisix.apache.org/blog/2021/06/29/release-apache-apisix-2.7), we have added Apache APISIX's own patches and the Nginx C module to enhance the native Nginx, allowing dynamic setup of increasing number of Nginx configurations. In the latest release, Apache APISIX already supports the configuration of independent Keepalive connection pools at the Upstream level.

Review comment:
       yes, the link is wrong




-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] Serendipity96 commented on a change in pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
Serendipity96 commented on a change in pull request #433:
URL: https://github.com/apache/apisix-website/pull/433#discussion_r680609615



##########
File path: website/blog/2021-07-28-release-apache-apisix-2.8-en.md
##########
@@ -0,0 +1,143 @@
+---
+title: "Release Apache APISIX 2.8.0"
+author: Serendipity96
+authorURL: "https://github.com/Serendipity96"
+authorImageURL: "https://avatars.githubusercontent.com/u/23514812?v=4"
+---
+> [@Serendipity96](https://github.com/Serendipity96), Apache APISIX contributor from [Shenzhen Zhiliu Technology Co.](https://www.apiseven.com/)
+>
+<!--truncate-->
+
+Apache APISIX version 2.8 is released! πŸŽ‰ This version has 30+ developers participated, more than 100 PRs had been submitted, and supports **1 new feature, 1 new experience, 2 new plugins, and 2 new ways to develop**. Read and learn about the new features in version 2.8!
+πŸ‘‡πŸ‘‡πŸ‘‡
+
+## Release Notes
+
+### New feature: Independent Keepalive connection pool
+
+Starting with [version 2.7](https://apisix.apache.org/blog/2021/06/29/release-apache-apisix-2.7), we have added Apache APISIX's own patches and the Nginx C module to enhance the native Nginx, allowing dynamic setup of increasing number of Nginx configurations. In the latest release, Apache APISIX already supports the configuration of independent Keepalive connection pools at the Upstream level.

Review comment:
       yes, the link is wrong




-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] netlify[bot] edited a comment on pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
netlify[bot] edited a comment on pull request #433:
URL: https://github.com/apache/apisix-website/pull/433#issuecomment-889638410


   βœ”οΈ Deploy Preview for *apisix* ready!
   
   
   πŸ”¨ Explore the source changes: 440f7eee5d368d226795fe3c06567cd7f0077096
   
   πŸ” Inspect the deploy log: [https://app.netlify.com/sites/apisix/deploys/61038e181ea44e0007afd5ba](https://app.netlify.com/sites/apisix/deploys/61038e181ea44e0007afd5ba?utm_source=github&utm_campaign=bot_dl)
   
   😎 Browse the preview: [https://deploy-preview-433--apisix.netlify.app](https://deploy-preview-433--apisix.netlify.app?utm_source=github&utm_campaign=bot_dp)
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] juzhiyuan commented on pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on pull request #433:
URL: https://github.com/apache/apisix-website/pull/433#issuecomment-890269801


   cc @yzeng25 to have a check


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] Serendipity96 commented on a change in pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
Serendipity96 commented on a change in pull request #433:
URL: https://github.com/apache/apisix-website/pull/433#discussion_r680606546



##########
File path: website/blog/2021-07-28-release-apache-apisix-2.8-en.md
##########
@@ -0,0 +1,143 @@
+---
+title: "Release Apache APISIX 2.8.0"
+author: Serendipity96
+authorURL: "https://github.com/Serendipity96"
+authorImageURL: "https://avatars.githubusercontent.com/u/23514812?v=4"
+---
+> [@Serendipity96](https://github.com/Serendipity96), Apache APISIX contributor from [Shenzhen Zhiliu Technology Co.](https://www.apiseven.com/)
+>
+<!--truncate-->
+
+Apache APISIX version 2.8 is released! πŸŽ‰ This version has 30+ developers participated, more than 100 PRs had been submitted, and supports **1 new feature, 1 new experience, 2 new plugins, and 2 new ways to develop**. Read and learn about the new features in version 2.8!
+πŸ‘‡πŸ‘‡πŸ‘‡
+
+## Release Notes
+
+### New feature: Independent Keepalive connection pool
+
+Starting with [version 2.7](https://apisix.apache.org/blog/2021/06/29/release-apache-apisix-2.7), we have added Apache APISIX's own patches and the Nginx C module to enhance the native Nginx, allowing dynamic setup of increasing number of Nginx configurations. In the latest release, Apache APISIX already supports the configuration of independent Keepalive connection pools at the Upstream level.
+
+The following features are currently included:
+
+- Dynamically set mTLS
+- Dynamically set client_max_body_size
+- Upstream keepalive (2.8 new featureοΌ‰
+- gzip (2.8 new Plug-inοΌ‰
+
+In future releases, we will continue to allow the following Nginx configurations to be set dynamically:
+
+- real_ip

Review comment:
       I think we should add the hyperlink for APISIX when APISIX supports the features. What do you think?




-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] yzeng25 commented on a change in pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
yzeng25 commented on a change in pull request #433:
URL: https://github.com/apache/apisix-website/pull/433#discussion_r680605775



##########
File path: website/blog/2021-07-28-release-apache-apisix-2.8-en.md
##########
@@ -0,0 +1,143 @@
+---
+title: "Release Apache APISIX 2.8.0"
+author: Serendipity96
+authorURL: "https://github.com/Serendipity96"
+authorImageURL: "https://avatars.githubusercontent.com/u/23514812?v=4"
+---
+> [@Serendipity96](https://github.com/Serendipity96), Apache APISIX contributor from [Shenzhen Zhiliu Technology Co.](https://www.apiseven.com/)
+>
+<!--truncate-->
+
+Apache APISIX version 2.8 is released! πŸŽ‰ This version has 30+ developers participated, more than 100 PRs had been submitted, and supports **1 new feature, 1 new experience, 2 new plugins, and 2 new ways to develop**. Read and learn about the new features in version 2.8!
+πŸ‘‡πŸ‘‡πŸ‘‡
+
+## Release Notes
+
+### New feature: Independent Keepalive connection pool
+
+Starting with [version 2.7](https://apisix.apache.org/blog/2021/06/29/release-apache-apisix-2.7), we have added Apache APISIX's own patches and the Nginx C module to enhance the native Nginx, allowing dynamic setup of increasing number of Nginx configurations. In the latest release, Apache APISIX already supports the configuration of independent Keepalive connection pools at the Upstream level.

Review comment:
       suggestion: 
   1. In the latest release -> in version 2.8
   2. already supports --> supports 

##########
File path: website/blog/2021-07-28-release-apache-apisix-2.8-en.md
##########
@@ -0,0 +1,143 @@
+---
+title: "Release Apache APISIX 2.8.0"
+author: Serendipity96
+authorURL: "https://github.com/Serendipity96"
+authorImageURL: "https://avatars.githubusercontent.com/u/23514812?v=4"
+---
+> [@Serendipity96](https://github.com/Serendipity96), Apache APISIX contributor from [Shenzhen Zhiliu Technology Co.](https://www.apiseven.com/)
+>
+<!--truncate-->
+
+Apache APISIX version 2.8 is released! πŸŽ‰ This version has 30+ developers participated, more than 100 PRs had been submitted, and supports **1 new feature, 1 new experience, 2 new plugins, and 2 new ways to develop**. Read and learn about the new features in version 2.8!
+πŸ‘‡πŸ‘‡πŸ‘‡
+
+## Release Notes
+
+### New feature: Independent Keepalive connection pool
+
+Starting with [version 2.7](https://apisix.apache.org/blog/2021/06/29/release-apache-apisix-2.7), we have added Apache APISIX's own patches and the Nginx C module to enhance the native Nginx, allowing dynamic setup of increasing number of Nginx configurations. In the latest release, Apache APISIX already supports the configuration of independent Keepalive connection pools at the Upstream level.
+
+The following features are currently included:
+
+- Dynamically set mTLS
+- Dynamically set client_max_body_size
+- Upstream keepalive (2.8 new featureοΌ‰
+- gzip (2.8 new Plug-inοΌ‰
+
+In future releases, we will continue to allow the following Nginx configurations to be set dynamically:
+
+- real_ip
+- proxy_max_temp_file_size
+- ……
+
+An example of Upstream configuration:
+
+```JSON
+{
+    "id": "backend",
+    "nodes": {"host:80": 100},
+    "type":"roundrobin",
+    "keepalive_pool": {
+        "size": 4,
+        "idle_timeout": 8,
+        "requests": 16
+    }
+}
+```
+
+### New experience: Enhance stream proxy
+
+In version 2.8, the [ip-restriction](http://apisix.apache.org/docs/apisix/plugins/ip-restriction/) and [limit-conn](http://apisix.apache.org/docs /apisix/plugins/limit-conn/) had been duplicated from the HTTP section to the stream section. The benefit of this way is to enhance gateway capabilities in the stream proxy and to increase the security of the upstream services.
+
+ip-restriction can be used to filter IP black and white list to ensure that only requests from a specific IP can access the backend service.
+
+limit-conn can be used to limit the number of simultaneous connections on a route, limiting the number of concurrent client accesses.
+
+### New plug-in: gzip
+
+Apache APISIX version 2.8 contains the gzip plug-in. Using the gzip plug-in, you can **dynamically set route-level gzip parameters**.
+
+An example of gzip configuration:
+
+```JSON
+{
+    "plugins": {
+        "gzip": {
+            "min_length": 20,
+            "http_version": 1.1,
+            "buffers": {
+                "number": 32,
+                "size": 4096
+            },
+            "types": [
+                "text/html"
+            ],
+            "comp_level": 1,
+            "vary": false
+        }
+    }
+}
+```
+
+### New plug-in: ua-restriction
+
+The `ua-restriction` plugin is used to check if the User-Agent is in the black and white list, which is a very common requirement and can be enabled by way of a plugin.
+
+An example of `ua-restriction` configuration:
+
+```JSON
+{
+    "plugins": {
+        "ua-restriction": {
+            "denylist": [
+                "my-bot1",
+                "(Baiduspider)/(\\d+)\\.(\\d+)"
+            ]
+        }
+    }
+}
+```
+
+### New way to develop: Support for executing specific logic by plug-ins
+
+Based on Apache APISIX architecture, many features are implemented by plug-ins. Starting from version 2.8, **Apache APISIX supports executing specific logic by plug-ins after selecting an upstream node.**
+
+Define the following method in the plug-in:
+
+```Lua
+function _M.balancer(conf, ctx)
+    core.log.notice("IP: ", ctx.balancer_ip, ", Port: ", ctx.balancer_port)
+end
+```
+
+In this example, the log will output the IP and Port of the upstream.
+
+**Which scenario will use the above method?**
+
+1. After selecting the upstream node and before accessing the upstream
+2. Before each retry
+
+For the best performance, the above method first runs in the access phase of OpenResty (APISIX actually selects the upstream node in the access phase) and the method does not overlap with the OpenResty phase of the same name.
+
+### New way to develop: Support for custom balancer
+
+In version 2.8, users can customize the balancer. **The balancer is loading with minimum number of connections, polling, consistency hash, etc.**
+
+Although Apache APISIX already provides a set of balancers, users may need to use balancers that are closely related to the business, such as: need to consider the server room, availability zone, etc. Supporting for custom balancer, users can develop their own balancer and load it via `require("apisix.balancer.your_balancer")`.
+
+Usually a custom balancer requires node to provide data which is from other than the host/port, you can put data in the metadata, for example:
+
+```JSON
+{
+    "nodes": [
+        { "host": "0.0.0.0", "port": 1980, "weight": 1, "metadata": {"b": 1} }
+    ]
+}
+```
+
+## Download
+
+Download Apache APISIX 2.8.0
+
+- Source code: please visit [download page](https://apisix.apache.org/downloads/)
+- Binary installation package: please visit [Installation Guide](https://apisix.apache.org/zh/docs/apisix/how-to-build/)

Review comment:
       I'd suggest  change `https://apisix.apache.org/zh/docs/apisix/how-to-build/` to `https://apisix.apache.org/docs/apisix/how-to-build/`, since this is an English doc, it should lead to another page in English as well.

##########
File path: website/blog/2021-07-28-release-apache-apisix-2.8-en.md
##########
@@ -0,0 +1,143 @@
+---
+title: "Release Apache APISIX 2.8.0"
+author: Serendipity96
+authorURL: "https://github.com/Serendipity96"
+authorImageURL: "https://avatars.githubusercontent.com/u/23514812?v=4"
+---
+> [@Serendipity96](https://github.com/Serendipity96), Apache APISIX contributor from [Shenzhen Zhiliu Technology Co.](https://www.apiseven.com/)
+>
+<!--truncate-->
+
+Apache APISIX version 2.8 is released! πŸŽ‰ This version has 30+ developers participated, more than 100 PRs had been submitted, and supports **1 new feature, 1 new experience, 2 new plugins, and 2 new ways to develop**. Read and learn about the new features in version 2.8!
+πŸ‘‡πŸ‘‡πŸ‘‡
+
+## Release Notes
+
+### New feature: Independent Keepalive connection pool
+
+Starting with [version 2.7](https://apisix.apache.org/blog/2021/06/29/release-apache-apisix-2.7), we have added Apache APISIX's own patches and the Nginx C module to enhance the native Nginx, allowing dynamic setup of increasing number of Nginx configurations. In the latest release, Apache APISIX already supports the configuration of independent Keepalive connection pools at the Upstream level.
+
+The following features are currently included:
+
+- Dynamically set mTLS
+- Dynamically set client_max_body_size
+- Upstream keepalive (2.8 new featureοΌ‰

Review comment:
       keepalive --> Keepalive ? I see in line 18, the K is capitalized.

##########
File path: website/blog/2021-07-28-release-apache-apisix-2.8-en.md
##########
@@ -0,0 +1,143 @@
+---
+title: "Release Apache APISIX 2.8.0"
+author: Serendipity96
+authorURL: "https://github.com/Serendipity96"
+authorImageURL: "https://avatars.githubusercontent.com/u/23514812?v=4"
+---
+> [@Serendipity96](https://github.com/Serendipity96), Apache APISIX contributor from [Shenzhen Zhiliu Technology Co.](https://www.apiseven.com/)
+>
+<!--truncate-->
+
+Apache APISIX version 2.8 is released! πŸŽ‰ This version has 30+ developers participated, more than 100 PRs had been submitted, and supports **1 new feature, 1 new experience, 2 new plugins, and 2 new ways to develop**. Read and learn about the new features in version 2.8!
+πŸ‘‡πŸ‘‡πŸ‘‡
+
+## Release Notes
+
+### New feature: Independent Keepalive connection pool
+
+Starting with [version 2.7](https://apisix.apache.org/blog/2021/06/29/release-apache-apisix-2.7), we have added Apache APISIX's own patches and the Nginx C module to enhance the native Nginx, allowing dynamic setup of increasing number of Nginx configurations. In the latest release, Apache APISIX already supports the configuration of independent Keepalive connection pools at the Upstream level.
+
+The following features are currently included:
+
+- Dynamically set mTLS
+- Dynamically set client_max_body_size
+- Upstream keepalive (2.8 new featureοΌ‰
+- gzip (2.8 new Plug-inοΌ‰
+
+In future releases, we will continue to allow the following Nginx configurations to be set dynamically:
+
+- real_ip
+- proxy_max_temp_file_size
+- ……
+
+An example of Upstream configuration:
+
+```JSON
+{
+    "id": "backend",
+    "nodes": {"host:80": 100},
+    "type":"roundrobin",
+    "keepalive_pool": {
+        "size": 4,
+        "idle_timeout": 8,
+        "requests": 16
+    }
+}
+```
+
+### New experience: Enhance stream proxy
+
+In version 2.8, the [ip-restriction](http://apisix.apache.org/docs/apisix/plugins/ip-restriction/) and [limit-conn](http://apisix.apache.org/docs /apisix/plugins/limit-conn/) had been duplicated from the HTTP section to the stream section. The benefit of this way is to enhance gateway capabilities in the stream proxy and to increase the security of the upstream services.
+
+ip-restriction can be used to filter IP black and white list to ensure that only requests from a specific IP can access the backend service.
+
+limit-conn can be used to limit the number of simultaneous connections on a route, limiting the number of concurrent client accesses.
+
+### New plug-in: gzip
+
+Apache APISIX version 2.8 contains the gzip plug-in. Using the gzip plug-in, you can **dynamically set route-level gzip parameters**.
+
+An example of gzip configuration:
+
+```JSON
+{
+    "plugins": {
+        "gzip": {
+            "min_length": 20,
+            "http_version": 1.1,
+            "buffers": {
+                "number": 32,
+                "size": 4096
+            },
+            "types": [
+                "text/html"
+            ],
+            "comp_level": 1,
+            "vary": false
+        }
+    }
+}
+```
+
+### New plug-in: ua-restriction
+
+The `ua-restriction` plugin is used to check if the User-Agent is in the black and white list, which is a very common requirement and can be enabled by way of a plugin.
+
+An example of `ua-restriction` configuration:
+
+```JSON
+{
+    "plugins": {
+        "ua-restriction": {
+            "denylist": [
+                "my-bot1",
+                "(Baiduspider)/(\\d+)\\.(\\d+)"
+            ]
+        }
+    }
+}
+```
+
+### New way to develop: Support for executing specific logic by plug-ins
+
+Based on Apache APISIX architecture, many features are implemented by plug-ins. Starting from version 2.8, **Apache APISIX supports executing specific logic by plug-ins after selecting an upstream node.**
+
+Define the following method in the plug-in:
+
+```Lua
+function _M.balancer(conf, ctx)
+    core.log.notice("IP: ", ctx.balancer_ip, ", Port: ", ctx.balancer_port)
+end
+```
+
+In this example, the log will output the IP and Port of the upstream.
+
+**Which scenario will use the above method?**

Review comment:
       scenario does not use the method.
   Suggestion: --> Which scenario does the above method apply to?




-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] Serendipity96 commented on a change in pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
Serendipity96 commented on a change in pull request #433:
URL: https://github.com/apache/apisix-website/pull/433#discussion_r680609546



##########
File path: website/blog/2021-07-28-release-apache-apisix-2.8-en.md
##########
@@ -0,0 +1,143 @@
+---
+title: "Release Apache APISIX 2.8.0"
+author: Serendipity96
+authorURL: "https://github.com/Serendipity96"
+authorImageURL: "https://avatars.githubusercontent.com/u/23514812?v=4"
+---
+> [@Serendipity96](https://github.com/Serendipity96), Apache APISIX contributor from [Shenzhen Zhiliu Technology Co.](https://www.apiseven.com/)
+>
+<!--truncate-->
+
+Apache APISIX version 2.8 is released! πŸŽ‰ This version has 30+ developers participated, more than 100 PRs had been submitted, and supports **1 new feature, 1 new experience, 2 new plugins, and 2 new ways to develop**. Read and learn about the new features in version 2.8!
+πŸ‘‡πŸ‘‡πŸ‘‡
+
+## Release Notes
+
+### New feature: Independent Keepalive connection pool
+
+Starting with [version 2.7](https://apisix.apache.org/blog/2021/06/29/release-apache-apisix-2.7), we have added Apache APISIX's own patches and the Nginx C module to enhance the native Nginx, allowing dynamic setup of increasing number of Nginx configurations. In the latest release, Apache APISIX already supports the configuration of independent Keepalive connection pools at the Upstream level.
+
+The following features are currently included:
+
+- Dynamically set mTLS
+- Dynamically set client_max_body_size
+- Upstream keepalive (2.8 new featureοΌ‰
+- gzip (2.8 new Plug-inοΌ‰
+
+In future releases, we will continue to allow the following Nginx configurations to be set dynamically:
+
+- real_ip
+- proxy_max_temp_file_size
+- ……
+
+An example of Upstream configuration:
+
+```JSON
+{
+    "id": "backend",
+    "nodes": {"host:80": 100},
+    "type":"roundrobin",
+    "keepalive_pool": {
+        "size": 4,
+        "idle_timeout": 8,
+        "requests": 16
+    }
+}
+```
+
+### New experience: Enhance stream proxy
+
+In version 2.8, the [ip-restriction](http://apisix.apache.org/docs/apisix/plugins/ip-restriction/) and [limit-conn](http://apisix.apache.org/docs /apisix/plugins/limit-conn/) had been duplicated from the HTTP section to the stream section. The benefit of this way is to enhance gateway capabilities in the stream proxy and to increase the security of the upstream services.
+
+ip-restriction can be used to filter IP black and white list to ensure that only requests from a specific IP can access the backend service.
+
+limit-conn can be used to limit the number of simultaneous connections on a route, limiting the number of concurrent client accesses.
+
+### New plug-in: gzip
+
+Apache APISIX version 2.8 contains the gzip plug-in. Using the gzip plug-in, you can **dynamically set route-level gzip parameters**.
+
+An example of gzip configuration:
+
+```JSON
+{
+    "plugins": {
+        "gzip": {
+            "min_length": 20,
+            "http_version": 1.1,
+            "buffers": {
+                "number": 32,
+                "size": 4096
+            },
+            "types": [
+                "text/html"
+            ],
+            "comp_level": 1,
+            "vary": false
+        }
+    }
+}
+```
+
+### New plug-in: ua-restriction
+
+The `ua-restriction` plugin is used to check if the User-Agent is in the black and white list, which is a very common requirement and can be enabled by way of a plugin.
+
+An example of `ua-restriction` configuration:
+
+```JSON
+{
+    "plugins": {
+        "ua-restriction": {
+            "denylist": [
+                "my-bot1",
+                "(Baiduspider)/(\\d+)\\.(\\d+)"
+            ]
+        }
+    }
+}
+```
+
+### New way to develop: Support for executing specific logic by plug-ins
+
+Based on Apache APISIX architecture, many features are implemented by plug-ins. Starting from version 2.8, **Apache APISIX supports executing specific logic by plug-ins after selecting an upstream node.**
+
+Define the following method in the plug-in:
+
+```Lua
+function _M.balancer(conf, ctx)
+    core.log.notice("IP: ", ctx.balancer_ip, ", Port: ", ctx.balancer_port)
+end
+```
+
+In this example, the log will output the IP and Port of the upstream.
+
+**Which scenario will use the above method?**
+
+1. After selecting the upstream node and before accessing the upstream
+2. Before each retry
+
+For the best performance, the above method first runs in the access phase of OpenResty (APISIX actually selects the upstream node in the access phase) and the method does not overlap with the OpenResty phase of the same name.
+
+### New way to develop: Support for custom balancer
+
+In version 2.8, users can customize the balancer. **The balancer is loading with minimum number of connections, polling, consistency hash, etc.**
+
+Although Apache APISIX already provides a set of balancers, users may need to use balancers that are closely related to the business, such as: need to consider the server room, availability zone, etc. Supporting for custom balancer, users can develop their own balancer and load it via `require("apisix.balancer.your_balancer")`.
+
+Usually a custom balancer requires node to provide data which is from other than the host/port, you can put data in the metadata, for example:
+
+```JSON
+{
+    "nodes": [
+        { "host": "0.0.0.0", "port": 1980, "weight": 1, "metadata": {"b": 1} }
+    ]
+}
+```
+
+## Download
+
+Download Apache APISIX 2.8.0
+
+- Source code: please visit [download page](https://apisix.apache.org/downloads/)
+- Binary installation package: please visit [Installation Guide](https://apisix.apache.org/zh/docs/apisix/how-to-build/)

Review comment:
       thanks




-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] netlify[bot] edited a comment on pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
netlify[bot] edited a comment on pull request #433:
URL: https://github.com/apache/apisix-website/pull/433#issuecomment-889638410


   βœ”οΈ Deploy Preview for *apisix* ready!
   
   
   πŸ”¨ Explore the source changes: 37ba75032892462bdb5479e79d589b34564b76e9
   
   πŸ” Inspect the deploy log: [https://app.netlify.com/sites/apisix/deploys/610755913082ed0008d6cc26](https://app.netlify.com/sites/apisix/deploys/610755913082ed0008d6cc26?utm_source=github&utm_campaign=bot_dl)
   
   😎 Browse the preview: [https://deploy-preview-433--apisix.netlify.app](https://deploy-preview-433--apisix.netlify.app?utm_source=github&utm_campaign=bot_dp)
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] netlify[bot] edited a comment on pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
netlify[bot] edited a comment on pull request #433:
URL: https://github.com/apache/apisix-website/pull/433#issuecomment-889638410


   πŸ‘· Deploy Preview for *apisix* processing.
   
   
   πŸ”¨ Explore the source changes: 37ba75032892462bdb5479e79d589b34564b76e9
   
   πŸ” Inspect the deploy log: [https://app.netlify.com/sites/apisix/deploys/610755913082ed0008d6cc26](https://app.netlify.com/sites/apisix/deploys/610755913082ed0008d6cc26?utm_source=github&utm_campaign=bot_dl)
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] tokers commented on a change in pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
tokers commented on a change in pull request #433:
URL: https://github.com/apache/apisix-website/pull/433#discussion_r680499970



##########
File path: website/blog/2021-07-28-release-apache-apisix-2.8-en.md
##########
@@ -0,0 +1,143 @@
+---
+title: "Release Apache APISIX 2.8.0"
+author: Serendipity96
+authorURL: "https://github.com/Serendipity96"
+authorImageURL: "https://avatars.githubusercontent.com/u/23514812?v=4"
+---
+> [@Serendipity96](https://github.com/Serendipity96), Apache APISIX contributor from [Shenzhen Zhiliu Technology Co.](https://www.apiseven.com/)
+>
+<!--truncate-->
+
+Apache APISIX version 2.8 is released! πŸŽ‰ This version has 30+ developers participated, more than 100 PRs had been submitted, and supports **1 new feature, 1 new experience, 2 new plugins, and 2 new ways to develop**. Read and learn about the new features in version 2.8!
+πŸ‘‡πŸ‘‡πŸ‘‡
+
+## Release Notes
+
+### New feature: Independent Keepalive connection pool
+
+Starting with [version 2.7](https://apisix.apache.org/blog/2021/06/29/release-apache-apisix-2.7), we have added Apache APISIX's own patches and the Nginx C module to enhance the native Nginx, allowing dynamic setup of increasing number of Nginx configurations. In the latest release, Apache APISIX already supports the configuration of independent Keepalive connection pools at the Upstream level.
+
+The following features are currently included:
+
+- Dynamically set mTLS
+- Dynamically set client_max_body_size
+- Upstream keepalive (2.8 new featureοΌ‰
+- gzip (2.8 new Plug-inοΌ‰
+
+In future releases, we will continue to allow the following Nginx configurations to be set dynamically:
+
+- real_ip

Review comment:
       Also, support the hyperlink?
   
   * http://nginx.org/en/docs/http/ngx_http_realip_module.html (indeed there is no `real_ip` directive in Nginx)
   * http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_max_temp_file_size




-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] Serendipity96 commented on a change in pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
Serendipity96 commented on a change in pull request #433:
URL: https://github.com/apache/apisix-website/pull/433#discussion_r680606546



##########
File path: website/blog/2021-07-28-release-apache-apisix-2.8-en.md
##########
@@ -0,0 +1,143 @@
+---
+title: "Release Apache APISIX 2.8.0"
+author: Serendipity96
+authorURL: "https://github.com/Serendipity96"
+authorImageURL: "https://avatars.githubusercontent.com/u/23514812?v=4"
+---
+> [@Serendipity96](https://github.com/Serendipity96), Apache APISIX contributor from [Shenzhen Zhiliu Technology Co.](https://www.apiseven.com/)
+>
+<!--truncate-->
+
+Apache APISIX version 2.8 is released! πŸŽ‰ This version has 30+ developers participated, more than 100 PRs had been submitted, and supports **1 new feature, 1 new experience, 2 new plugins, and 2 new ways to develop**. Read and learn about the new features in version 2.8!
+πŸ‘‡πŸ‘‡πŸ‘‡
+
+## Release Notes
+
+### New feature: Independent Keepalive connection pool
+
+Starting with [version 2.7](https://apisix.apache.org/blog/2021/06/29/release-apache-apisix-2.7), we have added Apache APISIX's own patches and the Nginx C module to enhance the native Nginx, allowing dynamic setup of increasing number of Nginx configurations. In the latest release, Apache APISIX already supports the configuration of independent Keepalive connection pools at the Upstream level.
+
+The following features are currently included:
+
+- Dynamically set mTLS
+- Dynamically set client_max_body_size
+- Upstream keepalive (2.8 new featureοΌ‰
+- gzip (2.8 new Plug-inοΌ‰
+
+In future releases, we will continue to allow the following Nginx configurations to be set dynamically:
+
+- real_ip

Review comment:
       I think we should add the hyperlink for PAISIX when APISIX supports the features. What do you think?




-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] netlify[bot] edited a comment on pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
netlify[bot] edited a comment on pull request #433:
URL: https://github.com/apache/apisix-website/pull/433#issuecomment-889638410






-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] juzhiyuan merged pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
juzhiyuan merged pull request #433:
URL: https://github.com/apache/apisix-website/pull/433


   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] yzeng25 commented on pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
yzeng25 commented on pull request #433:
URL: https://github.com/apache/apisix-website/pull/433#issuecomment-890658935


   review done cc @Serendipity96 @juzhiyuan 
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] 1502shivam-singh commented on a change in pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
1502shivam-singh commented on a change in pull request #433:
URL: https://github.com/apache/apisix-website/pull/433#discussion_r680512807



##########
File path: website/blog/2021-07-28-release-apache-apisix-2.8-en.md
##########
@@ -0,0 +1,143 @@
+---
+title: "Release Apache APISIX 2.8.0"
+author: Serendipity96
+authorURL: "https://github.com/Serendipity96"
+authorImageURL: "https://avatars.githubusercontent.com/u/23514812?v=4"
+---
+> [@Serendipity96](https://github.com/Serendipity96), Apache APISIX contributor from [Shenzhen Zhiliu Technology Co.](https://www.apiseven.com/)
+>
+<!--truncate-->
+
+Apache APISIX version 2.8 is released! πŸŽ‰ This version has 30+ developers participated, more than 100 PRs had been submitted, and supports **1 new feature, 1 new experience, 2 new plugins, and 2 new ways to develop**. Read and learn about the new features in version 2.8!

Review comment:
       ```suggestion
   Apache APISIX version 2.8 is released! πŸŽ‰ This version saw 30+ contributors and 100+ PR submissions, resulting in **1 new feature, 1 new experience, 2 new plugins, and 2 new ways to develop**. Read and learn about the new features in version 2.8!
   ```




-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] Serendipity96 commented on a change in pull request #433: docs: added 2.8 release English version blog

Posted by GitBox <gi...@apache.org>.
Serendipity96 commented on a change in pull request #433:
URL: https://github.com/apache/apisix-website/pull/433#discussion_r680610029



##########
File path: website/blog/2021-07-28-release-apache-apisix-2.8-en.md
##########
@@ -0,0 +1,143 @@
+---
+title: "Release Apache APISIX 2.8.0"
+author: Serendipity96
+authorURL: "https://github.com/Serendipity96"
+authorImageURL: "https://avatars.githubusercontent.com/u/23514812?v=4"
+---
+> [@Serendipity96](https://github.com/Serendipity96), Apache APISIX contributor from [Shenzhen Zhiliu Technology Co.](https://www.apiseven.com/)
+>
+<!--truncate-->
+
+Apache APISIX version 2.8 is released! πŸŽ‰ This version has 30+ developers participated, more than 100 PRs had been submitted, and supports **1 new feature, 1 new experience, 2 new plugins, and 2 new ways to develop**. Read and learn about the new features in version 2.8!
+πŸ‘‡πŸ‘‡πŸ‘‡
+
+## Release Notes
+
+### New feature: Independent Keepalive connection pool
+
+Starting with [version 2.7](https://apisix.apache.org/blog/2021/06/29/release-apache-apisix-2.7), we have added Apache APISIX's own patches and the Nginx C module to enhance the native Nginx, allowing dynamic setup of increasing number of Nginx configurations. In the latest release, Apache APISIX already supports the configuration of independent Keepalive connection pools at the Upstream level.
+
+The following features are currently included:
+
+- Dynamically set mTLS
+- Dynamically set client_max_body_size
+- Upstream keepalive (2.8 new featureοΌ‰

Review comment:
       Yes, K need to Capitalize




-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org