Release date 2025/10/01
Feature
-
The plugin now supports dynamic request URLs in the form of Lua expressions
$(some_lua_expression).
Bugfix
-
Fixed an issue where
untrusted_lua_sandbox_requiresoption was not respected. -
Fixed regression where the upstream request body would not be forwarded if
upstream.body.customwas empty. -
request.by_luacode will now run before a request is made or a cached callout is fetched. Previously, it did not run before an attempt to fetch from cache, which did not allow for cache key customization. -
The plugin now uses additional components to generate the cache key: request consumer, consumer groups, plugin ID, route ID; callout request method, URL, query params, headers, and body.
-
Fixed an issue where expressions could not read headers, query, and URI captures via shortcuts of the form
$(headers.some_header).