From 2aeee41befad4d931514bfa1f5500330613c7fc4 Mon Sep 17 00:00:00 2001 From: AlinsRan Date: Tue, 28 Jul 2026 15:21:22 +0800 Subject: [PATCH] fix(prometheus): bump nginx-lua-prometheus-api7 to 1.0.0 The 0.20260716 pin predates the fix for the shared-dict step-down: on a full metric dict, remove_expired_keys() did not reclaim expired entries, so usage ratcheted down until the dict filled and stayed full. 1.0.0 calls dict:flush_expired() to actually reclaim them. The dependency also switched to semantic versioning starting at 1.0.0 (its upstream is dormant and it is now maintained independently as a fork). Fixes #13658 --- apisix-master-0.rockspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apisix-master-0.rockspec b/apisix-master-0.rockspec index 314b7403e9c5..a15b57290fcb 100644 --- a/apisix-master-0.rockspec +++ b/apisix-master-0.rockspec @@ -54,7 +54,7 @@ dependencies = { "lua-resty-openidc = 1.8.0-1", "lua-resty-saml = 0.2.5", "luafilesystem = 1.8.0-1", - "nginx-lua-prometheus-api7 = 0.20260716-1", + "nginx-lua-prometheus-api7 = 1.0.0-1", "jsonschema = 0.9.13-0", "lua-resty-ipmatcher = 0.6.1-0", "lua-resty-kafka = 0.23-0",