From 7db31a1a7186b966bc0f066539d4de8011871012 Mon Sep 17 00:00:00 2001 From: Zeping Bai Date: Sun, 9 Jan 2022 23:57:10 +0800 Subject: [PATCH] feat: release 2.10.3 (#5985) --- CHANGELOG.md | 30 ++++------ docs/zh/latest/CHANGELOG.md | 30 ++++------ rockspec/apisix-2.10.3-0.rockspec | 95 +++++++++++++++++++++++++++++++ 3 files changed, 115 insertions(+), 40 deletions(-) create mode 100644 rockspec/apisix-2.10.3-0.rockspec diff --git a/CHANGELOG.md b/CHANGELOG.md index dc4f86aab636..6cb14bb5152e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ title: Changelog ## Table of Contents - [2.11.0](#2110) +- [2.10.3](#2103) - [2.10.2](#2102) - [2.10.1](#2101) - [2.10.0](#2100) @@ -79,34 +80,23 @@ title: Changelog - :sunrise: feat(ext-plugin): avoid sending conf request more times [#5183](https://github.com/apache/apisix/pull/5183) - :sunrise: feat: Add ldap-auth plugin [#3894](https://github.com/apache/apisix/pull/3894) -## 2.10.2 +## 2.10.3 -### Bugfix +**This is an LTS maintenance release and you can see the CHANGELOG in `release/2.10` branch.** -- fix: response.set_header should remove header like request.set_header [#5499](https://github.com/apache/apisix/pull/5499) -- fix(batch-requests): correct the client ip in the pipeline [#5476](https://github.com/apache/apisix/pull/5476) -- fix(upstream): load imbalance when it's referred by multiple routes [#5462](https://github.com/apache/apisix/pull/5462) -- fix(hmac-auth): check if the X-HMAC-ALGORITHM header is missing [#5467](https://github.com/apache/apisix/pull/5467) -- fix: prevent being hacked by untrusted request_uri [#5458](https://github.com/apache/apisix/pull/5458) -- fix(admin): modify boolean parameters with PATCH [#5434](https://github.com/apache/apisix/pull/5432) -- fix(traffic-split): multiple rules with multiple weighted_upstreams under each rule cause upstream_key duplicate [#5414](https://github.com/apache/apisix/pull/5414) -- fix: add handler for invalid basic auth header values [#5419](https://github.com/apache/apisix/pull/5419) +[https://github.com/apache/apisix/blob/release/2.10/CHANGELOG.md#2103](https://github.com/apache/apisix/blob/release/2.10/CHANGELOG.md#2103) -### Change +## 2.10.2 + +**This is an LTS maintenance release and you can see the CHANGELOG in `release/2.10` branch.** -- change: log insensitive consumer info only [#5445](https://github.com/apache/apisix/pull/5445) +[https://github.com/apache/apisix/blob/release/2.10/CHANGELOG.md#2102](https://github.com/apache/apisix/blob/release/2.10/CHANGELOG.md#2102) ## 2.10.1 -### Bugfix +**This is an LTS maintenance release and you can see the CHANGELOG in `release/2.10` branch.** -- fix(zipkin): response_span doesn't have correct start time [#5295](https://github.com/apache/apisix/pull/5295) -- fix(ext-plugin): don't use stale key [#5309](https://github.com/apache/apisix/pull/5309) -- fix: route's timeout should not be overwrittern by service [#5219](https://github.com/apache/apisix/pull/5219) -- fix: filter nil plugin conf triggered by etcd dir init [#5204](https://github.com/apache/apisix/pull/5204) -- fix: pass correct host header to health checker target nodes [#5175](https://github.com/apache/apisix/pull/5175) -- fix: upgrade lua-resty-balancer to 0.04 [#5144](https://github.com/apache/apisix/pull/5144) -- fix(prometheus): avoid negative latency caused by inconsistent Nginx metrics [#5150](https://github.com/apache/apisix/pull/5150) +[https://github.com/apache/apisix/blob/release/2.10/CHANGELOG.md#2101](https://github.com/apache/apisix/blob/release/2.10/CHANGELOG.md#2101) ## 2.10.0 diff --git a/docs/zh/latest/CHANGELOG.md b/docs/zh/latest/CHANGELOG.md index 1de0c071b2e3..f97ba2da36b5 100644 --- a/docs/zh/latest/CHANGELOG.md +++ b/docs/zh/latest/CHANGELOG.md @@ -24,6 +24,7 @@ title: CHANGELOG ## Table of Contents - [2.11.0](#2110) +- [2.10.3](#2103) - [2.10.2](#2102) - [2.10.1](#2101) - [2.10.0](#2100) @@ -79,34 +80,23 @@ title: CHANGELOG - :sunrise: ext-plugin 避免发送重复的 conf 请求 [#5183](https://github.com/apache/apisix/pull/5183) - :sunrise: 新增 ldap-auth 插件 [#3894](https://github.com/apache/apisix/pull/3894) -## 2.10.2 +## 2.10.3 -### Bugfix +**这是一个 LTS 维护版本,您可以在 `release/2.10` 分支中看到 CHANGELOG。** -- 更正 response.set_header 行为,与 request.set_header 保持一致 [#5499](https://github.com/apache/apisix/pull/5499) -- 修复 batch-requests 插件中 client ip 的问题 [#5476](https://github.com/apache/apisix/pull/5476) -- 修复 upstream 被多条 routes 绑定时,负载不平衡的问题 [#5462](https://github.com/apache/apisix/pull/5462) -- hmac-auth 插件检查是否缺少 X-HMAC-ALGORITHM header [#5467](https://github.com/apache/apisix/pull/5467) -- 防止不可信的 request_uri [#5458](https://github.com/apache/apisix/pull/5458) -- 修复用 PATCH 方法修改 boolean 参数的问题 [#5434](https://github.com/apache/apisix/pull/5432) -- 修复 traffic-split 插件 upstream_key 重复的问题 [#5414](https://github.com/apache/apisix/pull/5414) -- basic-auth 插件处理无效的 Authorization header [#5419](https://github.com/apache/apisix/pull/5419) +[https://github.com/apache/apisix/blob/release/2.10/CHANGELOG.md#2103](https://github.com/apache/apisix/blob/release/2.10/CHANGELOG.md#2103) -### Change +## 2.10.2 + +**这是一个 LTS 维护版本,您可以在 `release/2.10` 分支中看到 CHANGELOG。** -- 只记录不敏感的 consumer 信息 [#5445](https://github.com/apache/apisix/pull/5445) +[https://github.com/apache/apisix/blob/release/2.10/CHANGELOG.md#2102](https://github.com/apache/apisix/blob/release/2.10/CHANGELOG.md#2102) ## 2.10.1 -### Bugfix +**这是一个 LTS 维护版本,您可以在 `release/2.10` 分支中看到 CHANGELOG。** -- 更正 zipkin 插件 response_span 的开始时间 [#5295](https://github.com/apache/apisix/pull/5295) -- 避免发送过期 key 给 plugin runner [#5309](https://github.com/apache/apisix/pull/5309) -- 更正 route 的 timeout 被 service 覆盖的问题 [#5219](https://github.com/apache/apisix/pull/5219) -- 过滤掉初始化 etcd 数据时产生的空 plugin conf [#5204](https://github.com/apache/apisix/pull/5204) -- 健康检查特定情况下会发送错误的 Host header [#5175](https://github.com/apache/apisix/pull/5175) -- 升级 lua-resty-balancer 到 0.04 [#5144](https://github.com/apache/apisix/pull/5144) -- prometheus 插件修复偶发的 latency 为负数的问题 [#5150](https://github.com/apache/apisix/pull/5150) +[https://github.com/apache/apisix/blob/release/2.10/CHANGELOG.md#2101](https://github.com/apache/apisix/blob/release/2.10/CHANGELOG.md#2101) ## 2.10.0 diff --git a/rockspec/apisix-2.10.3-0.rockspec b/rockspec/apisix-2.10.3-0.rockspec new file mode 100644 index 000000000000..1823cae3d525 --- /dev/null +++ b/rockspec/apisix-2.10.3-0.rockspec @@ -0,0 +1,95 @@ +-- +-- 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.10.3-0" +supported_platforms = {"linux", "macosx"} + +source = { + url = "git://github.com/apache/apisix", + branch = "2.10.3", +} + +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.4", + "api7-lua-resty-http = 0.2.0", + "lua-resty-balancer = 0.04", + "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.3", + "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", + "inspect == 3.1.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)", + }, +}