Skip to content

Commit 0b0d528

Browse files
authored
feat: upgrade to openresty-1.25.3.1 (api7#367)
1 parent 6f1a404 commit 0b0d528

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

build-apisix-base.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ set -x
44

55
version=${version:-0.0.0}
66

7-
OPENRESTY_VERSION=${OPENRESTY_VERSION:-1.21.4.2}
7+
OPENRESTY_VERSION=${OPENRESTY_VERSION:-1.25.3.1}
88
if [ "$OPENRESTY_VERSION" == "source" ] || [ "$OPENRESTY_VERSION" == "default" ]; then
9-
OPENRESTY_VERSION="1.21.4.2"
9+
OPENRESTY_VERSION="1.25.3.1"
1010
fi
1111

1212
if ([ $# -gt 0 ] && [ "$1" == "latest" ]) || [ "$version" == "latest" ]; then
@@ -19,10 +19,10 @@ if ([ $# -gt 0 ] && [ "$1" == "latest" ]) || [ "$version" == "latest" ]; then
1919
debug_args="--with-debug"
2020
OR_PREFIX=${OR_PREFIX:="/usr/local/openresty-debug"}
2121
else
22-
ngx_multi_upstream_module_ver="1.1.1"
22+
ngx_multi_upstream_module_ver="1.2.0"
2323
mod_dubbo_ver="1.0.2"
24-
apisix_nginx_module_ver="1.15.0"
25-
wasm_nginx_module_ver="0.6.5"
24+
apisix_nginx_module_ver="1.16.0"
25+
wasm_nginx_module_ver="0.7.0"
2626
lua_var_nginx_module_ver="v0.5.3"
2727
lua_resty_events_ver="0.2.0"
2828
debug_args=${debug_args:-}
@@ -113,7 +113,7 @@ tar -xzf LuaJIT-$lj_ver.tar.gz
113113
mv luajit2-* bundle/LuaJIT-2.1-20220411
114114
fi
115115

116-
or_limit_ver=0.08
116+
or_limit_ver=0.09
117117
if [ ! -d "bundle/lua-resty-limit-traffic-$or_limit_ver" ]; then
118118
echo "ERROR: the official repository of lua-resty-limit-traffic has been updated, please sync to API7's repository." >&2
119119
exit 1
@@ -146,6 +146,7 @@ fi
146146
--with-stream_ssl_module \
147147
--with-stream_ssl_preread_module \
148148
--with-http_v2_module \
149+
--with-http_v3_module \
149150
--without-mail_pop3_module \
150151
--without-mail_imap_module \
151152
--without-mail_smtp_module \

build-apisix-runtime.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ ld_opt=${ld_opt:-"-L$zlib_prefix/lib -L$pcre_prefix/lib -L$OPENSSL_PREFIX/lib -W
2121

2222
# dependencies for building openresty
2323
OPENSSL_VERSION=${OPENSSL_VERSION:-"3.2.0"}
24-
OPENRESTY_VERSION="1.21.4.2"
25-
ngx_multi_upstream_module_ver="1.1.1"
24+
OPENRESTY_VERSION="1.25.3.1"
25+
ngx_multi_upstream_module_ver="1.2.0"
2626
mod_dubbo_ver="1.0.2"
27-
apisix_nginx_module_ver="1.15.0"
28-
wasm_nginx_module_ver="0.6.5"
27+
apisix_nginx_module_ver="1.16.0"
28+
wasm_nginx_module_ver="0.7.0"
2929
lua_var_nginx_module_ver="v0.5.3"
3030
lua_resty_events_ver="0.2.0"
3131

@@ -145,7 +145,7 @@ no_pool_patch=${no_pool_patch:-}
145145

146146
cd openresty-${OPENRESTY_VERSION} || exit 1
147147

148-
or_limit_ver=0.08
148+
or_limit_ver=0.09
149149
if [ ! -d "bundle/lua-resty-limit-traffic-$or_limit_ver" ]; then
150150
echo "ERROR: the official repository of lua-resty-limit-traffic has been updated, please sync to API7's repository." >&2
151151
exit 1
@@ -179,6 +179,7 @@ fi
179179
--with-stream_ssl_module \
180180
--with-stream_ssl_preread_module \
181181
--with-http_v2_module \
182+
--with-http_v3_module \
182183
--without-mail_pop3_module \
183184
--without-mail_imap_module \
184185
--without-mail_smtp_module \

0 commit comments

Comments
 (0)