Skip to content

Commit 6ca2eb4

Browse files
Merge branch 'master' of github.com:apache/apisix into fix/jwt-auth-algo-mismatch
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
2 parents 53d4a7f + ac99cd8 commit 6ca2eb4

File tree

130 files changed

+10917
-1421
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+10917
-1421
lines changed

.github/workflows/check-changelog.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
- 'CHANGELOG.md'
1111
- 'ci/check_changelog_prs.ts'
1212

13+
14+
permissions:
15+
contents: read
16+
1317
jobs:
1418
check-changelog:
1519
runs-on: ubuntu-latest

.github/workflows/cli.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
- name: Linux launch common services
5454
run: |
5555
project_compose_ci=ci/pod/docker-compose.common.yml make ci-env-up
56+
./ci/prepare_filesystem_mcp.sh
5657
5758
- name: Linux Before install
5859
run: sudo ./ci/${{ matrix.job_name }}_runner.sh before_install

.github/workflows/license-checker.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ on:
2424
pull_request:
2525
branches: [master, 'release/**']
2626

27+
permissions:
28+
contents: read
29+
2730
jobs:
2831
check-license:
2932
runs-on: ubuntu-latest

.github/workflows/push-dev-image-on-commit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
- "**/*.md"
1212
workflow_dispatch:
1313

14+
permissions:
15+
contents: read
16+
1417
jobs:
1518
build-test-push:
1619
strategy:

.github/workflows/semantic.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- edited
88
- synchronize
99

10+
permissions:
11+
contents: read
12+
pull-requests: read
13+
1014
jobs:
1115
main:
1216
name: Validate PR title

CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ title: Changelog
2323

2424
## Table of Contents
2525

26+
- [3.16.0](#3160)
2627
- [3.15.0](#3150)
2728
- [3.14.1](#3141)
2829
- [3.14.0](#3140)
@@ -83,6 +84,57 @@ title: Changelog
8384
- [0.7.0](#070)
8485
- [0.6.0](#060)
8586

87+
## 3.16.0
88+
89+
**The changes marked with :warning: are not backward compatible.**
90+
91+
### Change
92+
93+
- :warning: set default value of ssl_verify in openid-connect plugin to true [#13010](https://github.com/apache/apisix/pull/13010)
94+
- :warning: make tencent-cloud-cls scheme configurable with default set to https [#13009](https://github.com/apache/apisix/pull/13009)
95+
96+
### Core
97+
98+
- feat(standalone): reject configurations when configured with unknown plugin [#13046](https://github.com/apache/apisix/pull/13046)
99+
- feat: allow fetching stream healthcheck data through control api [#12996](https://github.com/apache/apisix/pull/12996)
100+
- feat: support set default value in resolve_var [#12963](https://github.com/apache/apisix/pull/12963)
101+
- feat(eureka): allow domain named nodes [#12993](https://github.com/apache/apisix/pull/12993)
102+
- fix(admin): allow bidirectional format conversion for upstream.nodes in PATCH requests [#13065](https://github.com/apache/apisix/pull/13065)
103+
- fix: use shdict instead of events module for nodes data exchange [#13066](https://github.com/apache/apisix/pull/13066)
104+
- fix: preserve uri args if path has not been modified [#13080](https://github.com/apache/apisix/pull/13080)
105+
- fix: avoid initialising stream plugins in http subsystem [#13064](https://github.com/apache/apisix/pull/13064)
106+
- fix(schema): correct minLength type for anonymous consumer [#13022](https://github.com/apache/apisix/pull/13022)
107+
- fix: use apisix_request_id only in http subsystem log format [#13006](https://github.com/apache/apisix/pull/13006)
108+
- fix: treat default value in variable as resolved [#13007](https://github.com/apache/apisix/pull/13007)
109+
- fix(plugin): merge consumer group plugins when consumer has no direct plugins [#12998](https://github.com/apache/apisix/pull/12998)
110+
- fix: control api return wrong status data for passive health check [#12975](https://github.com/apache/apisix/pull/12975)
111+
- chore: upgrade lua-resty-prometheus [#13058](https://github.com/apache/apisix/pull/13058)
112+
- chore: update version of dependency lua-casbin to 1.46.0 [#12985](https://github.com/apache/apisix/pull/12985)
113+
- chore: add ngx.flush after ngx.print [#12988](https://github.com/apache/apisix/pull/12988)
114+
115+
### Plugins
116+
117+
- feat: allow to use secrets in clickhouse-logger plugin [#12951](https://github.com/apache/apisix/pull/12951)
118+
- feat: added max/resp_body_bytes attr to logger plugins [#13034](https://github.com/apache/apisix/pull/13034)
119+
- feat(jwt): support more algorithms [#12944](https://github.com/apache/apisix/pull/12944)
120+
- feat(openidc): support redis for session storage [#12986](https://github.com/apache/apisix/pull/12986)
121+
- feat(limit-count): support configuring multiple rules [#12977](https://github.com/apache/apisix/pull/12977)
122+
- feat: support configuring variables in limit-conn, limit-count and ai-rate-limiting [#12967](https://github.com/apache/apisix/pull/12967)
123+
- feat: support rules in limit-conn and ai-rate-limiting [#13000](https://github.com/apache/apisix/pull/13000)
124+
- feat: support header prefix in limit-count rules [#13004](https://github.com/apache/apisix/pull/13004)
125+
- feat: support authentication via headers [#12994](https://github.com/apache/apisix/pull/12994)
126+
- feat: add more spans to opentelemetry plugin [#12686](https://github.com/apache/apisix/pull/12686)
127+
- fix(fw-auth): disallow control characters in headers [#13057](https://github.com/apache/apisix/pull/13057)
128+
- fix(limit-req): use parent resource key for consumer isolation [#13019](https://github.com/apache/apisix/pull/13019)
129+
- fix: correct span handling in tracing logic [#13008](https://github.com/apache/apisix/pull/13008)
130+
- fix: remove redundant field for rate limit plugins [#12959](https://github.com/apache/apisix/pull/12959)
131+
- refactor(limit-count): throw panic error upon invalid parent [#13030](https://github.com/apache/apisix/pull/13030)
132+
133+
### Bugfixes
134+
135+
- fix(docker): support valid YAML variations in standalone mode [#12949](https://github.com/apache/apisix/pull/12949)
136+
- fix(conf): correct AI plugin priority comments in config.yaml.example [#12926](https://github.com/apache/apisix/pull/12926)
137+
86138
## 3.15.0
87139

88140
**The changes marked with :warning: are not backward compatible.**

Makefile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,16 @@ install: runtime
377377
$(ENV_INSTALL) -d $(ENV_INST_LUADIR)/apisix/plugins/ai-proxy
378378
$(ENV_INSTALL) apisix/plugins/ai-proxy/*.lua $(ENV_INST_LUADIR)/apisix/plugins/ai-proxy
379379

380-
$(ENV_INSTALL) -d $(ENV_INST_LUADIR)/apisix/plugins/ai-drivers
381-
$(ENV_INSTALL) apisix/plugins/ai-drivers/*.lua $(ENV_INST_LUADIR)/apisix/plugins/ai-drivers
380+
$(ENV_INSTALL) -d $(ENV_INST_LUADIR)/apisix/plugins/ai-providers
381+
$(ENV_INSTALL) apisix/plugins/ai-providers/*.lua $(ENV_INST_LUADIR)/apisix/plugins/ai-providers
382+
383+
$(ENV_INSTALL) -d $(ENV_INST_LUADIR)/apisix/plugins/ai-protocols
384+
$(ENV_INSTALL) apisix/plugins/ai-protocols/*.lua $(ENV_INST_LUADIR)/apisix/plugins/ai-protocols
385+
$(ENV_INSTALL) -d $(ENV_INST_LUADIR)/apisix/plugins/ai-protocols/converters
386+
$(ENV_INSTALL) apisix/plugins/ai-protocols/converters/*.lua $(ENV_INST_LUADIR)/apisix/plugins/ai-protocols/converters
387+
388+
$(ENV_INSTALL) -d $(ENV_INST_LUADIR)/apisix/plugins/ai-transport
389+
$(ENV_INSTALL) apisix/plugins/ai-transport/*.lua $(ENV_INST_LUADIR)/apisix/plugins/ai-transport
382390

383391
$(ENV_INSTALL) -d $(ENV_INST_LUADIR)/apisix/plugins/ai-rag/embeddings
384392
$(ENV_INSTALL) apisix/plugins/ai-rag/embeddings/*.lua $(ENV_INST_LUADIR)/apisix/plugins/ai-rag/embeddings

apisix-master-0.rockspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ description = {
3333
dependencies = {
3434
"lua-resty-ctxdump = 0.1-0",
3535
"lyaml = 6.2.8-1",
36-
"api7-lua-resty-dns-client = 7.1.0-0",
36+
"api7-lua-resty-dns-client = 7.1.1-0",
3737
"lua-resty-template = 2.0-1",
3838
"lua-resty-etcd = 1.10.6-0",
3939
"api7-lua-resty-http = 0.2.3-0",

apisix/admin/global_rules.lua

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,28 @@ local pairs = pairs
2323
local ipairs = ipairs
2424
local tostring = tostring
2525

26+
local function is_local_config_provider()
27+
return core.config.type ~= "etcd"
28+
end
29+
30+
2631
local function get_global_rules()
32+
if is_local_config_provider() then
33+
local obj = core.config.fetch_created_obj("/global_rules")
34+
if not obj then
35+
return nil
36+
end
37+
return obj.values
38+
end
39+
2740
local g = core.etcd.get("/global_rules", true)
2841
if not g then
2942
return nil
3043
end
3144
return core.table.try_read_attr(g, "body", "list")
3245
end
3346

47+
3448
local function check_conf(id, conf, need_id, schema)
3549
local ok, err = core.schema.check(schema, conf)
3650
if not ok then

apisix/cli/ngx_tpl.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,8 @@ http {
752752
{% end %}
753753
# zipkin_set_ngx_var ends
754754
755+
set $rate_limiting_info '';
756+
755757
# http server configuration snippet starts
756758
{% if http_server_configuration_snippet then %}
757759
{* http_server_configuration_snippet *}

0 commit comments

Comments
 (0)