Skip to content

Commit 0daafc4

Browse files
authored
Merge pull request #1577 from tkan145/openresty-1.27.1
THREESCALE-14177 Bump openresty to 1.27.1.2
2 parents 3c6dd40 + 6e5f614 commit 0daafc4

9 files changed

Lines changed: 13 additions & 9 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ executors:
105105
openresty:
106106
working_directory: /opt/app-root/apicast
107107
docker:
108-
- image: quay.io/3scale/apicast-ci:openresty-1.21.4-5
108+
- image: quay.io/3scale/apicast-ci:openresty-1.27.1-1
109109
- image: mirror.gcr.io/library/redis
110110
environment:
111111
TEST_NGINX_BINARY: openresty

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2121
- Bump lua-resty-openssl to 1.7.1 [PR #1580](https://github.com/3scale/APIcast/pull/1580)
2222
- Lock lua-resty-jit-uuid to 0.0.7 [PR #1581](https://github.com/3scale/APIcast/pull/1581)
2323
- Bump busted to 2.3.0 [PR #1582](https://github.com/3scale/APIcast/pull/1582)
24+
- Bump openresty to 1.27.1.2 [PR #1577](https://github.com/3scale/APIcast/pull/1577) [THREESCALE-14177](https://issues.redhat.com/browse/THREESCALE-14177)
25+
- Bump pcre to pcre2 10.47 [PR #1577](https://github.com/3scale/APIcast/pull/1577) [THREESCALE-14541](https://redhat.atlassian.net/browse/THREESCALE-14541)
26+
- Bump zlib to 1.3.1 [PR #1577](https://github.com/3scale/APIcast/pull/1577) [THREESCALE-12242](https://redhat.atlassian.net/browse/THREESCALE-12242)
2427

2528
### Removed
2629

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM registry.access.redhat.com/ubi9/ubi-minimal
22

3-
ARG OPENRESTY_RPM_VERSION="1.21.4-4.el9"
3+
ARG OPENRESTY_RPM_VERSION="1.27.1-1.el9"
44
ARG LUAROCKS_VERSION="3.12.0"
55

66
LABEL summary="The 3scale API gateway (APIcast) is an OpenResty application, which consists of two parts: NGINX configuration and Lua files." \

Dockerfile.devel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM registry.access.redhat.com/ubi9/ubi-minimal
22

3-
ARG OPENRESTY_RPM_VERSION="1.21.4-4.el9"
3+
ARG OPENRESTY_RPM_VERSION="1.27.1-1.el9"
44
ARG LUAROCKS_VERSION="3.12.0"
55
ARG LUAROVER_VERSION="0.2.3"
66

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ NPROC ?= $(firstword $(shell nproc 2>/dev/null) 1)
1313

1414
SEPARATOR="\n=============================================\n"
1515

16-
DEVEL_IMAGE ?= quay.io/3scale/apicast-ci:openresty-1.21.4-5
16+
DEVEL_IMAGE ?= quay.io/3scale/apicast-ci:openresty-1.27.1-1
1717
DEVEL_DOCKERFILE ?= Dockerfile.devel
1818

1919
RUNTIME_IMAGE ?= quay.io/3scale/apicast:latest
@@ -69,7 +69,7 @@ export COMPOSE_PROJECT_NAME
6969
# docker push quay.io/3scale/apicast-ci:openresty-X.Y.Z-{release_number}
7070
# * update .circleci/config.yaml openresty executor with the image URL
7171
.PHONY: dev-build
72-
dev-build: export OPENRESTY_RPM_VERSION?=1.21.4
72+
dev-build: export OPENRESTY_RPM_VERSION?=1.27.1-1.el9
7373
dev-build: export LUAROCKS_VERSION?=3.12.0
7474
dev-build: IMAGE_NAME ?= apicast-development:latest
7575
dev-build: ## Build development image

docker-compose-devel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
version: '2.2'
33
services:
44
development:
5-
image: ${IMAGE:-quay.io/3scale/apicast-ci:openresty-1.21.4-5}
5+
image: ${IMAGE:-quay.io/3scale/apicast-ci:openresty-1.27.1-1}
66
platform: "linux/amd64"
77
depends_on:
88
- redis

gateway/http.d/apicast.conf.liquid

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ server {
7878
{% endif %}
7979

8080
{% if https_port -%}
81-
listen {{ https_port }} ssl http2 {% if https_proxy_protocol %}proxy_protocol{% endif %};
81+
listen {{ https_port }} ssl {% if https_proxy_protocol %}proxy_protocol{% endif %};
82+
http2 on;
8283

8384
ssl_protocols TLSv1.2 TLSv1.3;
8485
{%- assign https_certificate = env.APICAST_HTTPS_CERTIFICATE -%}

gateway/src/apicast/mapping_rule.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ local function regexpify(pattern)
4242

4343
pattern = re_gsub(pattern, [[\?.*]], '', 'oj')
4444
-- dollar sign is escaped by another $, see https://github.com/openresty/lua-nginx-module#ngxresub
45-
pattern = re_gsub(pattern, [[\{.+?\}]], [[([\w-.~%!$$&'()*+,;=@:]+)]], 'oj')
45+
pattern = re_gsub(pattern, [[\{.+?\}]], [[([\w\-.~%!$$&'()*+,;=@:]+)]], 'oj')
4646
pattern = re_gsub(pattern, [[\.]], [[\.]], 'oj')
4747
return pattern
4848
end

gateway/src/apicast/policy/rewrite_url_captures/named_args_matcher.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ local function transform_rule_to_regex(match_rule)
5353
return re_gsub(
5454
match_rule,
5555
[[\{.+?\}]],
56-
[[([\w-.~%!$$&'()*+,;=@:]+)]], -- Same as in the MappingRule module
56+
[[([\w\-.~%!$$&'()*+,;=@:]+)]], -- Same as in the MappingRule module
5757
'oj'
5858
)
5959
end

0 commit comments

Comments
 (0)