This is an automated email from the ASF dual-hosted git repository.
shreemaan-abhishek 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 f4a4cb4fd0 chore: bump brotli to 1.2.1 (#14138)
f4a4cb4fd0 is described below
commit f4a4cb4fd0f3563130c9f36fa7a933018773b4ec
Author: Shreemaan Abhishek <[email protected]>
AuthorDate: Wed Nov 4 14:25:10 2026 +0800
chore: bump brotli to 1.2.1 (#14138)
---
ci/common.sh | 2 +-
docker/debian-dev/install-brotli.sh | 2 +-
docs/en/latest/plugins/brotli.md | 6 +++---
docs/zh/latest/plugins/brotli.md | 6 +++---
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/ci/common.sh b/ci/common.sh
index 2dd78befec..bef22544ca 100644
--- a/ci/common.sh
+++ b/ci/common.sh
@@ -134,7 +134,7 @@ install_nodejs () {
}
install_brotli () {
- local BORTLI_VERSION="1.1.0"
+ local BORTLI_VERSION="1.2.1"
wget -q
https://github.com/google/brotli/archive/refs/tags/v${BORTLI_VERSION}.zip
unzip v${BORTLI_VERSION}.zip && cd ./brotli-${BORTLI_VERSION} && mkdir
build && cd build
local CMAKE=$(command -v cmake3 > /dev/null 2>&1 && echo cmake3 || echo
cmake)
diff --git a/docker/debian-dev/install-brotli.sh
b/docker/debian-dev/install-brotli.sh
index 679254e966..e793dbc656 100644
--- a/docker/debian-dev/install-brotli.sh
+++ b/docker/debian-dev/install-brotli.sh
@@ -19,7 +19,7 @@
install_brotli() {
apt-get -qy update
apt-get install -y sudo cmake wget unzip
- local BORTLI_VERSION="1.1.0"
+ local BORTLI_VERSION="1.2.1"
wget -q
https://github.com/google/brotli/archive/refs/tags/v${BORTLI_VERSION}.zip ||
exit 1
unzip v${BORTLI_VERSION}.zip && cd ./brotli-${BORTLI_VERSION} && mkdir
build && cd build || exit 1
local CMAKE=$(command -v cmake3 >/dev/null 2>&1 && echo cmake3 || echo
cmake) || exit 1
diff --git a/docs/en/latest/plugins/brotli.md b/docs/en/latest/plugins/brotli.md
index 602115a186..ca2f59625e 100644
--- a/docs/en/latest/plugins/brotli.md
+++ b/docs/en/latest/plugins/brotli.md
@@ -38,9 +38,9 @@ This Plugin requires brotli shared libraries.
The example commands to build and install brotli shared libraries:
``` shell
-wget https://github.com/google/brotli/archive/refs/tags/v1.1.0.zip
-unzip v1.1.0.zip
-cd brotli-1.1.0 && mkdir build && cd build
+wget https://github.com/google/brotli/archive/refs/tags/v1.2.1.zip
+unzip v1.2.1.zip
+cd brotli-1.2.1 && mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local/brotli ..
sudo cmake --build . --config Release --target install
sudo sh -c "echo /usr/local/brotli/lib >> /etc/ld.so.conf.d/brotli.conf"
diff --git a/docs/zh/latest/plugins/brotli.md b/docs/zh/latest/plugins/brotli.md
index be13d1a95f..32ab45243b 100644
--- a/docs/zh/latest/plugins/brotli.md
+++ b/docs/zh/latest/plugins/brotli.md
@@ -38,9 +38,9 @@ description: 这个文档包含有关 Apache APISIX brotli 插件的相关信息
如下是构建和安装 brotli 共享库的示例脚本:
``` shell
-wget https://github.com/google/brotli/archive/refs/tags/v1.1.0.zip
-unzip v1.1.0.zip
-cd brotli-1.1.0 && mkdir build && cd build
+wget https://github.com/google/brotli/archive/refs/tags/v1.2.1.zip
+unzip v1.2.1.zip
+cd brotli-1.2.1 && mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local/brotli ..
sudo cmake --build . --config Release --target install
sudo sh -c "echo /usr/local/brotli/lib >> /etc/ld.so.conf.d/brotli.conf"