liuxiran commented on a change in pull request #633: URL: https://github.com/apache/apisix-website/pull/633#discussion_r719019161
########## File path: website/blog/2021-09-29-release-apache-apisix-2.10-en.md ########## @@ -0,0 +1,112 @@ +--- +title: "Release Apache APISIX 2.10.0" +author: "Zexuan Luo" +authorURL: "https://github.com/spacewander" +authorImageURL: "https://avatars.githubusercontent.com/u/4161644?v=4" +keywords: +- Apache APISIX +- API Gateway +- Release Notes +- APISIX 2.10 +description: Apache APISIX 2.10 is released! +tags: [Release] +--- + +> Apache APISIX 2.10 is released! + +<!--truncate--> + +Apache APISIX 2.10 is officially released! 🎉 This is the first LTS release of Apache APISIX with support for 10+ new features and new plugins. Have a quick read to learn about the new features in version 2.10! + +## Milestone: The First LTS Release + +This 2.10.0 release is a milestone for Apache APISIX, as Apache APISIX 2.10.0 is our first LTS (Long Time Support) release. + +We will be releasing subsequent patch versions on top of Apache APISIX 2.10.0, i.e. 2.10.1, 2.10.2, etc. These releases will backport bugfixes from the main branch. + +In October, we plan to release the first patch for the first LTS version, Apache APISIX 2.10.1. + +We will then release alternating version lines 2.10.x (e.g. 2.10.2) and 2.x (e.g. 2.11.0) to keep the features iterative while ensuring that the LTS version gets the newer bugfixes. + +## New Feature: Add Hosts Attribute to Service + +In Apache APISIX 2.10.0, we added the `hosts` property to `service`. Like the other fields in `service`, `route` can inherit the `hosts` attribute from `service`. + +For example, the following configurations are equivalent in Apache APISIX 2.10.0: + +```json +# services/1 +{ + "hosts": ["bar.com"] +} +# routes/1 +{ + "upstream": { + "nodes": { + "127.0.0.1:1980": 1 + }, + "type": "roundrobin" + }, + "service_id": "1", + "uri": "/hello" +} +``` + +```json +# routes/1 +{ + "upstream": { + "nodes": { + "127.0.0.1:1980": 1 + }, + "type": "roundrobin" + }, + "hosts": ["bar.com"], + "uri": "/hello" +} +``` + +With this change, the relationship between `route` and `service` in Apache APISIX is becoming more and more similar to the relationship between `location` and `server` in Nginx. This change brings `service` back into the core Apache APISIX configuration: [Route](http://apisix.apache.org/docs/apisix/architecture-design/route), [Upstream](http://apisix.apache.org/docs/apisix/architecture-design/upstream), and [Service](http://apisix.apache.org/docs/apisix/architecture-design/service). + +## New Feature: Support Setting the Ratio of Mirror Requests + +The proxy-mirror plugin's support for setting the ratio of mirrored requests is a feature users have been waiting for, and we support it on Apache APISIX 2.10. Review comment: It would be better to be more rigorous -- 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]
