This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new c924eb1 feat: release 2.9 (#4883)
c924eb1 is described below
commit c924eb1cded079ec0d6279b211466b7d84a91ec2
Author: 罗泽轩 <[email protected]>
AuthorDate: Fri Aug 27 16:08:42 2021 +0800
feat: release 2.9 (#4883)
---
.asf.yaml | 4 ++
CHANGELOG.md | 37 +++++++++++++++++
apisix/core/version.lua | 2 +-
docs/ar/README.md | 8 ++--
docs/en/latest/config.json | 2 +-
docs/en/latest/how-to-build.md | 14 +++----
docs/es/latest/README.md | 8 ++--
docs/es/latest/config.json | 2 +-
docs/zh/latest/CHANGELOG.md | 37 +++++++++++++++++
docs/zh/latest/config.json | 2 +-
docs/zh/latest/how-to-build.md | 14 +++----
rockspec/apisix-2.9-0.rockspec | 93 ++++++++++++++++++++++++++++++++++++++++++
12 files changed, 197 insertions(+), 26 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 268c19d..b7af3ec 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -47,6 +47,10 @@ github:
required_pull_request_reviews:
require_code_owner_reviews: true
required_approving_review_count: 2
+ release/2.9:
+ required_pull_request_reviews:
+ require_code_owner_reviews: true
+ required_approving_review_count: 2
release/2.8:
required_pull_request_reviews:
require_code_owner_reviews: true
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 43f36cc..2b7e4db 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -23,6 +23,7 @@ title: Changelog
## Table of Contents
+- [2.9.0](#290)
- [2.8.0](#280)
- [2.7.0](#270)
- [2.6.0](#260)
@@ -44,6 +45,42 @@ title: Changelog
- [0.7.0](#070)
- [0.6.0](#060)
+## 2.9.0
+
+### Change
+
+- change: rename plugin's balancer method to before_proxy
[#4697](https://github.com/apache/apisix/pull/4697)
+
+### Core
+
+- :sunrise: feat: increase timers limitation
[#4843](https://github.com/apache/apisix/pull/4843)
+- :sunrise: feat: make A/B test APISIX easier by removing
"additionalProperties = false"
[#4797](https://github.com/apache/apisix/pull/4797)
+- :sunrise: feat: support dash in args (#4519)
[#4676](https://github.com/apache/apisix/pull/4676)
+- :sunrise: feat(admin): reject invalid proto
[#4750](https://github.com/apache/apisix/pull/4750)
+
+### Plugin
+
+- :sunrise: feat(ext-plugin): support ExtraInfo
[#4835](https://github.com/apache/apisix/pull/4835)
+- :sunrise: feat(gzip): support special * to match any type
[#4817](https://github.com/apache/apisix/pull/4817)
+- :sunrise: feat(real-ip): implement the first version
[#4813](https://github.com/apache/apisix/pull/4813)
+- :sunrise: feat(limit-*): add custom reject-message for traffic control
[#4808](https://github.com/apache/apisix/pull/4808)
+- :sunrise: feat: Request-ID plugin add snowflake algorithm
[#4559](https://github.com/apache/apisix/pull/4559)
+- :sunrise: feat: Added authz-casbin plugin and doc and tests for it
[#4710](https://github.com/apache/apisix/pull/4710)
+- :sunrise: feat: add error log skywalking reporter
[#4633](https://github.com/apache/apisix/pull/4633)
+- :sunrise: feat(ext-plugin): send the idempotent key when preparing conf
[#4736](https://github.com/apache/apisix/pull/4736)
+
+### Bugfix
+
+- fix: the issue that plugins in global rule may be cached to route
[#4867](https://github.com/apache/apisix/pull/4867)
+- fix(grpc-transcode): support converting nested message
[#4859](https://github.com/apache/apisix/pull/4859)
+- fix(authz-keycloak): set permissions as empty table when lazy_load_path is
false [#4845](https://github.com/apache/apisix/pull/4845)
+- fix(proxy-cache): keep cache_method same with nginx's proxy_cache_methods
[#4814](https://github.com/apache/apisix/pull/4814)
+- fix(admin): inject updatetime when the requst is PATCH with sub path
[#4765](https://github.com/apache/apisix/pull/4765)
+- fix(admin): check username for updating consumer
[#4756](https://github.com/apache/apisix/pull/4756)
+- fix(error-log-logger): avoid sending stale error log
[#4690](https://github.com/apache/apisix/pull/4690)
+- fix(grpc-transcode): handle enum type
[#4706](https://github.com/apache/apisix/pull/4706)
+- fix: when a request caused a 500 error, the status was converted to 405
[#4696](https://github.com/apache/apisix/pull/4696)
+
## 2.8.0
### Change
diff --git a/apisix/core/version.lua b/apisix/core/version.lua
index 733c7a6..b448475 100644
--- a/apisix/core/version.lua
+++ b/apisix/core/version.lua
@@ -15,5 +15,5 @@
-- limitations under the License.
--
return {
- VERSION = "2.8"
+ VERSION = "2.9"
}
diff --git a/docs/ar/README.md b/docs/ar/README.md
index c3904d6..979d3f3 100644
--- a/docs/ar/README.md
+++ b/docs/ar/README.md
@@ -158,9 +158,9 @@ CentOS 7, Ubuntu 16.04, Ubuntu 18.04, Debian 9, Debian 10,
macOS, **ARM64** Ubun
- قم بتنزيل أحدث حزمة إصدار لشفرة المصدر:
```shell
- $ mkdir apisix-2.8
- $ wget https://downloads.apache.org/apisix/2.8/apache-apisix-2.8-src.tgz
- $ tar zxvf apache-apisix-2.8-src.tgz -C apisix-2.8
+ $ mkdir apisix-2.9
+ $ wget https://downloads.apache.org/apisix/2.9/apache-apisix-2.9-src.tgz
+ $ tar zxvf apache-apisix-2.9-src.tgz -C apisix-2.9
```
- تثبيت التبعيات :
@@ -197,7 +197,7 @@ CentOS 7, Ubuntu 16.04, Ubuntu 18.04, Debian 9, Debian 10,
macOS, **ARM64** Ubun
- تثبيت أبيسكس:
```shell
- $ sudo yum install -y
https://github.com/apache/apisix/releases/download/2.8/apisix-2.8-0.x86_64.rpm
+ $ sudo yum install -y
https://github.com/apache/apisix/releases/download/2.9/apisix-2.9-0.el7.x86_64.rpm
```
- تحقق من إصدار أبيسكس:
diff --git a/docs/en/latest/config.json b/docs/en/latest/config.json
index a7135c2..d609c35 100644
--- a/docs/en/latest/config.json
+++ b/docs/en/latest/config.json
@@ -1,5 +1,5 @@
{
- "version": 2.8,
+ "version": 2.9,
"sidebar": [
{
"type": "category",
diff --git a/docs/en/latest/how-to-build.md b/docs/en/latest/how-to-build.md
index fafa13c..4c83644 100644
--- a/docs/en/latest/how-to-build.md
+++ b/docs/en/latest/how-to-build.md
@@ -36,7 +36,7 @@ You can install Apache APISIX via RPM package, Docker, Helm
Chart, and source re
This installation method is suitable for CentOS 7, please run the following
command to install Apache APISIX.
```shell
-sudo yum install -y
https://github.com/apache/apisix/releases/download/2.8/apisix-2.8-0.x86_64.rpm
+sudo yum install -y
https://github.com/apache/apisix/releases/download/2.9/apisix-2.9-0.el7.x86_64.rpm
```
### Installation via Docker
@@ -49,16 +49,16 @@ Please refer to: [Installing Apache APISIX with Helm
Chart](https://github.com/a
### Installation via Source Release Package
-1. Create a directory named `apisix-2.8`.
+1. Create a directory named `apisix-2.9`.
```shell
- mkdir apisix-2.8
+ mkdir apisix-2.9
```
2. Download Apache APISIX Release source package.
```shell
- wget https://downloads.apache.org/apisix/2.8/apache-apisix-2.8-src.tgz
+ wget https://downloads.apache.org/apisix/2.9/apache-apisix-2.9-src.tgz
```
You can also download the Apache APISIX Release source package from the
Apache APISIX website. The [Apache APISIX Official Website - Download
Page](https://apisix.apache.org/downloads/) also provides source packages for
Apache APISIX, APISIX Dashboard and APISIX Ingress Controller.
@@ -66,14 +66,14 @@ Please refer to: [Installing Apache APISIX with Helm
Chart](https://github.com/a
3. Unzip the Apache APISIX Release source package.
```shell
- tar zxvf apache-apisix-2.8-src.tgz -C apisix-2.8
+ tar zxvf apache-apisix-2.9-src.tgz -C apisix-2.9
```
4. Install the runtime dependent Lua libraries.
```shell
- # Switch to the apisix-2.8 directory
- cd apisix-2.8
+ # Switch to the apisix-2.9 directory
+ cd apisix-2.9
# Create dependencies
make deps
```
diff --git a/docs/es/latest/README.md b/docs/es/latest/README.md
index d5990e5..b8fac21 100644
--- a/docs/es/latest/README.md
+++ b/docs/es/latest/README.md
@@ -155,9 +155,9 @@ Hay varias maneras de instalar la versión publicada Apache
de APISIX:
- Bajar el paquete de publicación más reciente de código fuente:
```shell
- $ mkdir apisix-2.8
- $ wget https://downloads.apache.org/apisix/2.8/apache-apisix-2.8-src.tgz
- $ tar zxvf apache-apisix-2.8-src.tgz -C apisix-2.8
+ $ mkdir apisix-2.9
+ $ wget https://downloads.apache.org/apisix/2.9/apache-apisix-2.9-src.tgz
+ $ tar zxvf apache-apisix-2.9-src.tgz -C apisix-2.9
```
- Instalar las dependencias:
@@ -194,7 +194,7 @@ Hay varias maneras de instalar la versión publicada Apache
de APISIX:
- Instalar APISIX:
```shell
- $ sudo yum install -y
https://github.com/apache/apisix/releases/download/2.8/apisix-2.8-0.x86_64.rpm
+ $ sudo yum install -y
https://github.com/apache/apisix/releases/download/2.9/apisix-2.9-0.el7.x86_64.rpm
```
- Chequear versión de APISIX:
diff --git a/docs/es/latest/config.json b/docs/es/latest/config.json
index a5d1916..ec65458 100644
--- a/docs/es/latest/config.json
+++ b/docs/es/latest/config.json
@@ -1,4 +1,4 @@
{
- "version": 2.8,
+ "version": 2.9,
"sidebar": []
}
diff --git a/docs/zh/latest/CHANGELOG.md b/docs/zh/latest/CHANGELOG.md
index c221467..34b111f 100644
--- a/docs/zh/latest/CHANGELOG.md
+++ b/docs/zh/latest/CHANGELOG.md
@@ -23,6 +23,7 @@ title: CHANGELOG
## Table of Contents
+- [2.9.0](#290)
- [2.8.0](#280)
- [2.7.0](#270)
- [2.6.0](#260)
@@ -44,6 +45,42 @@ title: CHANGELOG
- [0.7.0](#070)
- [0.6.0](#060)
+## 2.9.0
+
+### Change
+
+- 为避免误解,将插件中的 balancer 方法改成 before_proxy
[#4697](https://github.com/apache/apisix/pull/4697)
+
+### Core
+
+- :sunrise: 增大总 timer 数的限制 [#4843](https://github.com/apache/apisix/pull/4843)
+- :sunrise: 移除禁止额外字段的检验,方便给 APISIX 做 A/B 测试
[#4797](https://github.com/apache/apisix/pull/4797)
+- :sunrise: 支持在 arg 变量中使用 '-' (#4519)
[#4676](https://github.com/apache/apisix/pull/4676)
+- :sunrise: Admin API 拒绝错误的 proto 文件内容
[#4750](https://github.com/apache/apisix/pull/4750)
+
+### Plugin
+
+- :sunrise: ext-plugin 插件允许 Runner 查询请求信息
[#4835](https://github.com/apache/apisix/pull/4835)
+- :sunrise: gzip 插件支持通过 * 匹配任意类型
[#4817](https://github.com/apache/apisix/pull/4817)
+- :sunrise: 增加 real-ip 插件 [#4813](https://github.com/apache/apisix/pull/4813)
+- :sunrise: limit-* 系列插件允许自定义请求拒绝信息
[#4808](https://github.com/apache/apisix/pull/4808)
+- :sunrise: request-id 插件增加 snowflake 算法支持
[#4559](https://github.com/apache/apisix/pull/4559)
+- :sunrise: 增加 authz-casbin 插件
[#4710](https://github.com/apache/apisix/pull/4710)
+- :sunrise: error-log-logger 插件增加 skywalking 后端
[#4633](https://github.com/apache/apisix/pull/4633)
+- :sunrise: ext-plugin 插件在发送配置时会额外发送一个 idempotent key
[#4736](https://github.com/apache/apisix/pull/4736)
+
+### Bugfix
+
+- 避免特定条件下缓存过期的全局规则 [#4867](https://github.com/apache/apisix/pull/4867)
+- grpc-transcode 插件支持嵌套信息 [#4859](https://github.com/apache/apisix/pull/4859)
+- authz-keycloak 插件避免当 lazy_load_path 为 false 且没有配置 permissions 时出错
[#4845](https://github.com/apache/apisix/pull/4845)
+- proxy-cache 插件保持 cache_method 配置和 nginx's proxy_cache_methods 一致
[#4814](https://github.com/apache/apisix/pull/4814)
+- Admin API 确保 PATCH with sub path 时也能注入 updatetime
[#4765](https://github.com/apache/apisix/pull/4765)
+- Admin API 更新 consumer 时校验 username
[#4756](https://github.com/apache/apisix/pull/4756)
+- error-log-logger 插件避免发送过期的错误日志
[#4690](https://github.com/apache/apisix/pull/4690)
+- grpc-transcode 插件支持 enum 类型
[#4706](https://github.com/apache/apisix/pull/4706)
+- 当非 HEAD/GET 请求触发 500 错误时,会被错误转成 405
[#4696](https://github.com/apache/apisix/pull/4696)
+
## 2.8.0
### Change
diff --git a/docs/zh/latest/config.json b/docs/zh/latest/config.json
index 5ce67a1..051dd71 100644
--- a/docs/zh/latest/config.json
+++ b/docs/zh/latest/config.json
@@ -1,5 +1,5 @@
{
- "version": 2.8,
+ "version": 2.9,
"sidebar": [
{
"type": "category",
diff --git a/docs/zh/latest/how-to-build.md b/docs/zh/latest/how-to-build.md
index 6ba5930..059423f 100644
--- a/docs/zh/latest/how-to-build.md
+++ b/docs/zh/latest/how-to-build.md
@@ -36,7 +36,7 @@ Apache APISIX 的运行环境需要依赖 NGINX 和 etcd,所以在安装 Apach
这种安装方式适用于 CentOS 7 操作系统,请运行以下命令安装 Apache APISIX。
```shell
-sudo yum install -y
https://github.com/apache/apisix/releases/download/2.8/apisix-2.8-0.x86_64.rpm
+sudo yum install -y
https://github.com/apache/apisix/releases/download/2.9/apisix-2.9-0.el7.x86_64.rpm
```
### 通过 Docker 安装
@@ -49,16 +49,16 @@ sudo yum install -y
https://github.com/apache/apisix/releases/download/2.8/apisi
### 通过源码包安装
-1. 创建一个名为 `apisix-2.8` 的目录。
+1. 创建一个名为 `apisix-2.9` 的目录。
```shell
- mkdir apisix-2.8
+ mkdir apisix-2.9
```
2. 下载 Apache APISIX Release 源码包:
```shell
- wget https://downloads.apache.org/apisix/2.8/apache-apisix-2.8-src.tgz
+ wget https://downloads.apache.org/apisix/2.9/apache-apisix-2.9-src.tgz
```
您也可以通过 Apache APISIX 官网下载 Apache APISIX Release 源码包。 Apache APISIX 官网也提供了
Apache APISIX、APISIX Dashboard 和 APISIX Ingress Controller 的源码包,详情请参考[Apache
APISIX 官网-下载页](https://apisix.apache.org/zh/downloads)。
@@ -66,14 +66,14 @@ sudo yum install -y
https://github.com/apache/apisix/releases/download/2.8/apisi
3. 解压 Apache APISIX Release 源码包:
```shell
- tar zxvf apache-apisix-2.8-src.tgz -C apisix-2.8
+ tar zxvf apache-apisix-2.9-src.tgz -C apisix-2.9
```
4. 安装运行时依赖的 Lua 库:
```shell
- # 切换到 apisix-2.8 目录
- cd apisix-2.8
+ # 切换到 apisix-2.9 目录
+ cd apisix-2.9
# 创建依赖
make deps
```
diff --git a/rockspec/apisix-2.9-0.rockspec b/rockspec/apisix-2.9-0.rockspec
new file mode 100644
index 0000000..aa62c4e
--- /dev/null
+++ b/rockspec/apisix-2.9-0.rockspec
@@ -0,0 +1,93 @@
+--
+-- Licensed to the Apache Software Foundation (ASF) under one or more
+-- contributor license agreements. See the NOTICE file distributed with
+-- this work for additional information regarding copyright ownership.
+-- The ASF licenses this file to You under the Apache License, Version 2.0
+-- (the "License"); you may not use this file except in compliance with
+-- the License. You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
+
+package = "apisix"
+version = "2.9-0"
+supported_platforms = {"linux", "macosx"}
+
+source = {
+ url = "git://github.com/apache/apisix",
+ branch = "2.9",
+}
+
+description = {
+ summary = "Apache APISIX is a cloud-native microservices API gateway,
delivering the ultimate performance, security, open source and scalable
platform for all your APIs and microservices.",
+ homepage = "https://github.com/apache/apisix",
+ license = "Apache License 2.0",
+}
+
+dependencies = {
+ "lua-resty-ctxdump = 0.1-0",
+ "lua-resty-dns-client = 5.2.0",
+ "lua-resty-template = 2.0",
+ "lua-resty-etcd = 1.5.3",
+ "lua-resty-balancer = 0.02rc5",
+ "lua-resty-ngxvar = 0.5.2",
+ "lua-resty-jit-uuid = 0.0.7",
+ "lua-resty-healthcheck-api7 = 2.2.0",
+ "lua-resty-jwt = 0.2.0",
+ "lua-resty-hmac-ffi = 0.05",
+ "lua-resty-cookie = 0.1.0",
+ "lua-resty-session = 2.24",
+ "opentracing-openresty = 0.1",
+ "lua-resty-radixtree = 2.8.1",
+ "lua-protobuf = 0.3.2",
+ "lua-resty-openidc = 1.7.2-1",
+ "luafilesystem = 1.7.0-2",
+ "api7-lua-tinyyaml = 0.3.0",
+ "nginx-lua-prometheus = 0.20210206",
+ "jsonschema = 0.9.5",
+ "lua-resty-ipmatcher = 0.6.1",
+ "lua-resty-kafka = 0.07",
+ "lua-resty-logger-socket = 2.0-0",
+ "skywalking-nginx-lua = 0.4-1",
+ "base64 = 1.5-2",
+ "binaryheap = 0.4",
+ "dkjson = 2.5-2",
+ "resty-redis-cluster = 1.02-4",
+ "lua-resty-expr = 1.3.1",
+ "graphql = 0.0.2",
+ "argparse = 0.7.1-1",
+ "luasocket = 3.0rc1-2",
+ "luasec = 0.9-1",
+ "lua-resty-consul = 0.3-2",
+ "penlight = 1.9.2-1",
+ "ext-plugin-proto = 0.3.0",
+ "casbin = 1.26.0",
+ "api7-snowflake = 2.0-1",
+}
+
+build = {
+ type = "make",
+ build_variables = {
+ CFLAGS="$(CFLAGS)",
+ LIBFLAG="$(LIBFLAG)",
+ LUA_LIBDIR="$(LUA_LIBDIR)",
+ LUA_BINDIR="$(LUA_BINDIR)",
+ LUA_INCDIR="$(LUA_INCDIR)",
+ LUA="$(LUA)",
+ OPENSSL_INCDIR="$(OPENSSL_INCDIR)",
+ OPENSSL_LIBDIR="$(OPENSSL_LIBDIR)",
+ },
+ install_variables = {
+ INST_PREFIX="$(PREFIX)",
+ INST_BINDIR="$(BINDIR)",
+ INST_LIBDIR="$(LIBDIR)",
+ INST_LUADIR="$(LUADIR)",
+ INST_CONFDIR="$(CONFDIR)",
+ },
+}