API7 Gateway 3.10.10 Release Notes
Release Date: 2026-11-11
Breaking Changes
Plugins
-
Upgrade note
header_prefixis now configured on the route or service that uses the plugin, including Wolf RBAC configured inside Multi Auth, and is no longer supported on a consumer.appidis now required on a consumer: a consumer without it was previously accepted and matched tokens issued for the application IDunset. After the gateway is upgraded, it discards every consumer whose Wolf RBAC configuration sets aheader_prefixother than the defaultX-, loggingheader_prefix is no longer supported in consumer configuration, and every consumer that sets noappid, loggingproperty "appid" is required. Requests with tokens for such a consumer then fail authentication withHTTP 401. The Control Plane does not convert these consumers when it is upgraded, and saving one of them again is rejected withHTTP 400.Before upgrading, move each custom
header_prefixfrom the consumer to every route or service that uses Wolf RBAC and remove it from the consumer, and setappidon every consumer that has none; a consumer that relied on the previous default keeps accepting the same tokens withappidset tounset. A consumer whoseheader_prefixisX-needs no change. Gateway instances that have not been upgraded yet takeheader_prefixonly from the consumer and ignore it on a route or service, so from the moment a customheader_prefixis removed from a consumer until every instance of the gateway group is upgraded, those instances name the identity headers with the defaultX-prefix.
Upgrade Notes
The TLS protocol versions stored in the ssl_protocols of an SNI were never delivered to the gateway, so every SNI accepted the versions of the gateway's global apisix.ssl.ssl_protocols setting whatever it stored: an SNI limited to TLSv1.3 still completed TLS 1.2 handshakes. The /apisix/admin/ssls API ignored the field, stored TLSv1.2 and TLSv1.3 on every SNI it wrote, and did not return it. Both APIs now deliver the setting, and the gateway enforces it. The versions of an SNI replace the global setting rather than narrowing it, so an SNI can also allow a version the global setting does not. An SNI without ssl_protocols follows the global setting; the SNI API no longer fills in TLSv1.2 and TLSv1.3 when the field is omitted, and the field is left out of the responses of both APIs when it is not set. [] and lists that repeat a version, which were previously accepted, are now rejected with HTTP 400.
When the Control Plane is upgraded, it clears ssl_protocols on every SNI that stores [], or only TLSv1.2 and TLSv1.3 in any order, repeats included, so that these SNIs keep following the global setting, and it removes repeated versions from the other lists. Every other stored list is delivered to the gateways at once and is enforced from then on, also by gateway instances that have not been upgraded yet. Before upgrading, review the SNIs that store a different list, such as only TLSv1.3: a client that connects to them with a version the list does not include will fail the TLS handshake.
In the Dashboard, the edit form of an SNI without ssl_protocols, which after the upgrade includes most existing SNIs, cannot be saved until protocols are selected, and saving it stores the selected list on the SNI, which then no longer follows the global setting. To change such an SNI and keep it following the global setting, update it through the API without ssl_protocols. The Dashboard's create form also requires protocols, TLSv1.2 and TLSv1.3 by default, so an SNI created in the Dashboard stores an explicit list; create it through the API without ssl_protocols to have it follow the global setting.
The Control Plane now rejects some JSON Web Keys that it previously accepted, and a single rejected key makes the whole key set unusable:
- SSO login through OpenID Connect fails when the key set published at the identity provider's
jwks_uricontains an RSA key whose modulus is longer than 4096 bits or whose exponenteis out of range, or an Ed25519 key that is a low-order point, whether or not the identity provider signs with that key. - When the API Usage service runs with
jwks.enable: true, which is off by default, it rejects every request that carries a token withHTTP 401if the key set atjwks.urlcontains such a key, an Ed25519 key that is not 32 bytes long, or a member encoded in base64url with=padding.
Before upgrading, check the key set at the jwks_uri of each OpenID Connect identity provider used for SSO, and the key set at jwks.url if the API Usage service has JWKS enabled, and make sure that neither contains such keys.
The Control Plane images are now built on a Debian 13 base, whose CA bundle no longer contains the emSign ECC Root CA - G3 and AAA Certificate Services root certificates. A TLS connection that the Control Plane opens, such as to an identity provider, an SMTP server or a webhook, now fails certificate verification when the server certificate chains only to one of these roots. Time zone names under posix/ are also no longer available, so a TZ setting or database time zone that uses such a name must be changed to the name without the prefix. The gateway image is not affected.
When token introspection fails, the OpenID Connect plugin now answers HTTP 503 without a WWW-Authenticate challenge, instead of HTTP 401 with an invalid_token challenge. This covers an introspection endpoint that answers with an error status, times out or cannot be reached, and a response that is not JSON or whose active claim is missing or is not a boolean. HTTP 401 with invalid_token is now returned only when the identity provider reports the token as inactive. A client that took every HTTP 401 as a reason to obtain a new token now sees HTTP 503 while the identity provider is unavailable.
A response whose active claim is a string, such as "true", was previously taken as active and the request was forwarded. Such a response is now rejected. If your identity provider returns active as a string, fix it before upgrading.
The Forward Auth plugin now sends its requests to the authorization service through a different HTTP client, which uses less CPU per request. The authorization service may notice these differences:
- No
User-Agentheader is sent; previously it waslua-resty-http/<version>. - A
GETrequest carriesContent-Length: 0. Connection: keep-aliveis sent, also whenkeepaliveisfalse, in which case the connection is still closed after the request.- An empty
Hostset throughextra_headersis replaced with the address the gateway connects to. timeoutbounds reading the whole response instead of each read.
To restore the previous client, set plugin_attr.forward-auth.http_client to lua-resty-http in the gateway configuration file; the default is ngx_http_ffi_client.
last_retrieve_config_time removed from the gateway instance APIsGET /api/instances and GET /api/gateway_groups/{gateway_group_id}/instances no longer return last_retrieve_config_time. It recorded when a gateway instance started a configuration request, not when it received a configuration, and no product feature used it. Use last_heartbeat_time to see whether an instance is connected.
Configure upstream_headers in the OpenID Connect plugin only after every gateway instance of the gateway group has been upgraded to 3.10.10. A gateway instance of an earlier version ignores the field, so it does not set the headers and forwards headers that the client sent under the same names to the upstream unchanged.
Features
Plugins
- OpenID Connect
- The new
upstream_headersoption forwards selected claims of the verified token to the upstream as request headers, so that an upstream that does not parse tokens no longer needs a serverless function to decode the token again. Each entry names a header and the path of keys that leads to the claim, one key per nesting level, so claim names that contain/,.or://work as they are. Claims come from the verified token or the introspection response, and in the authorization code flow from the ID token, then from the user info for claims the ID token lacks. Strings are forwarded as they are, numbers andtrueas text, and arrays and objects as base64-encoded JSON; an empty array or object is forwarded as base64-encoded{}, and a claim that is missing,nullorfalsesets no header. Every header listed is removed from the request on every outcome, including unauthenticated requests passed on withunauth_action: pass, so it holds the verified claim or nothing.
- The new
- Wolf RBAC
header_prefixcan now be set on the route or service, so the identity headers of a route no longer depend on the consumer that a token matches. See the upgrade note above.
Control Plane
- Built-in users can now be required to change their password periodically, and prevented from reusing their recent passwords. In the Dashboard, the policy is managed under Organization > Settings > Login Options > Password Policy, or through
/api/system_settings/password_policy.password_max_age_dayssets the maximum password age, from 1 to 365 days;0, the default, turns the policy off.password_history_count, from 0 to 24 and 5 by default, sets how many previous passwords a user cannot reuse when changing their own password while the policy is on;0only refuses the current password. A password reset by an administrator is not checked against the history. Once a password is older than the maximum age, the user can still log in, but must change the password before doing anything else: other requests made with the user's session or Basic Auth are answered withHTTP 401andpassword expired, and the Dashboard asks for a new password. Access tokens and SSO users are not covered.GET /api/mereturns the expiry time inpassword_expires_at. When the Control Plane is upgraded, the age of every existing password starts at the time of the upgrade, so turning the policy on afterwards does not lock anyone out at once. - Two-factor authentication can now be required for every built-in user,
adminincluded, with a switch under Organization > Settings > Login Options in the Dashboard, or through/api/system_settings/two_factor_policy. The switch is off by default, and a built-in user can turn it on only after enabling two-factor authentication for their own account. While it is on, a built-in user without two-factor authentication can still log in with a password, but can then only enable two-factor authentication, which the Dashboard guides them through, or log out; any other request is answered withHTTP 401andtwo factor enrollment required. Basic Auth is refused in the same way for such users, and it was already refused for users with two-factor authentication, so it no longer works for any built-in user. Access tokens, Admin API keys and SSO sessions are not covered by the switch. To recover a built-in user who has lost both the authenticator and the recovery codes,adminincluded, run/usr/local/api7/api7-ee-dashboard two-factor reset --username <name>in the Dashboard container, for example withkubectl execordocker exec, adding-c <config file>when the configuration is not at/app/conf/config.yaml, as with Docker Compose (-c /usr/local/api7/conf/conf.yaml); the command clears the user's two-factor authentication and ends their sessions. - Setting up and enabling two-factor authentication for one's own account now also works while no valid license is activated. Previously these requests failed with
HTTP 404orHTTP 400, so a user who had to enable two-factor authentication could not do so before a license was uploaded. - The built-in plugin catalog and the schemas of built-in plugins can now be read without a gateway group.
GET /api/plugins,GET /apisix/admin/plugins/listandGET /apisix/admin/plugins/{plugin_name}withoutgateway_group_idreturn the built-in plugins; with it, or with a gateway group's Admin API key, they return the built-in plugins and the custom plugins of that gateway group, as before.GET /api/pluginspreviously answeredHTTP 400withoutgateway_group_id. An emptygateway_group_id=parameter onGET /apisix/admin/plugins/listis now rejected withHTTP 400. - The Docker Compose installation now also runs on Podman, including on hosts with SELinux enforcing, without manual relabeling or override files. When the Podman API socket is not running, the installation stops before changing anything and prints the
systemctlcommand that starts it. PostgreSQL, Prometheus and gateway containers started by the installation scripts, or by the Docker deployment command generated in the Dashboard, now restart automatically.
Data Plane
- Plugins now read up to
apisix.max_request_headers_readablerequest headers, set in the gateway configuration file. The default,100, keeps the previous limit, and0removes it. Previously, plugins such as Request Validation, OPA and Forward Auth saw only the first 100 headers of a request. Headers past the limit are still forwarded to the upstream. - The gateway uses less CPU per request on routes with the Forward Auth, Request ID and Prometheus plugins, and with Limit Count and Limit Count Advanced configurations whose
keyorcountcontain variables.
Fixes
Plugins
- Forward Auth
- Fixed issue: With
allow_degradationset totrue, when the authorization service could not be reached, a header that the client sent under a name listed inupstream_headerswas passed to the upstream unchanged, so a client could set a value, such as a user ID, that the upstream takes as coming from the authorization service. Such headers are now removed before the request is forwarded.
- Fixed issue: With
- JWE Decrypt
- Fixed issue: With
strictset tofalse, a request without a token was forwarded with the header named inforward_headeras the client sent it, so a client could pass a value that the upstream takes as the decrypted token. The header is now removed when the request has no token.
- Fixed issue: With
- Wolf RBAC
- Fixed issue: When Wolf RBAC was configured in Multi Auth and another plugin authenticated the request, the
X-UserId,X-UsernameandX-Nicknameheaders that the client sent were passed to the upstream unchanged, so a client could set the identity that the upstream takes as verified by Wolf. These headers are now removed from every request and set only after Wolf authorization succeeds.
- Fixed issue: When Wolf RBAC was configured in Multi Auth and another plugin authenticated the request, the
- OpenID Connect
- Fixed issue: Concurrent requests that carried the same token not yet cached each called the introspection endpoint. They now share a single introspection request.
- Prometheus
- Fixed issue: To avoid CPU spikes when
expirewas set for metrics, 3.10.8 rolled the metrics library back to an earlier version, which brought back two problems: when the shared dictionary used for metrics filled up, a worker could enter a loop that held it at 100% CPU and did not recover after traffic stopped, and expired entries in that dictionary were not reclaimed. The library is now upgraded to version 1.1.1, which fixes both problems and reduces the cleanup of expired entries that caused the CPU spikes.
- Fixed issue: To avoid CPU spikes when
- Limit Count, Limit Count Advanced, GraphQL Limit Count, AI Rate Limiting, Limit Req and Limit Conn
- Fixed issue: With the
redis-clusterpolicy andredis_cluster_sslorredis_passwordset, a Redis Cluster node that had failed stayed marked as unhealthy after it recovered, because its health check connected without TLS and without the password. Requests whose counters were stored on that node kept failing, withHTTP 500in Limit Count, until the gateway was restarted.
- Fixed issue: With the
Data Plane
- Fixed issue: With
apisix.match_uri_encoded_slashenabled in the gateway configuration, a request could skip the client certificate check of an SNI with mTLS by encoding a slash in its path. Theskip_mtls_uri_regexpatterns were checked against the decoded path, while routes were matched on the path with%2Fkept inside a segment, so a request for/public%2Fstatuswas exempted by a pattern such as^/public/status$but could be routed to a different route, such as one for/:resource, without a client certificate. A request now skips the check only when both forms of its path match a pattern, and such a request without a client certificate is rejected withHTTP 400. - Fixed issue: With the
gzipplugin'sbuffers.sizeset smaller than the memory page size, 4 KiB on most systems, compressing a response that did not fit in one buffer crashed the gateway worker, and the client received no response. - Fixed issue: The
dubbo-proxyplugin could answerHTTP 500when a request reused a multiplexed upstream connection that was still being established.
Control Plane
- Fixed issue: Once the password of a user with two-factor authentication was known, verification codes could be tried without limit, and an accepted code could be used again for as long as it remained valid, including by concurrent requests. After five consecutive wrong verification or recovery codes, the second factor of the user is now locked for 15 minutes, during which every code is refused with
HTTP 400andtoo many failed login attempts, this account is temporarily locked; please try again in about N minute(s), the correct one included, and recovery codes are not consumed. Each lock is recorded in the audit log. A code that has already been accepted, or an earlier one, is now refused, so disabling two-factor authentication right after logging in, for example, needs the next code. Wrong codes entered when disabling two-factor authentication count toward the same limit. - Fixed issue: A request with a session cookie that could not be decoded, such as an empty, truncated or tampered one, was answered with
HTTP 500instead ofHTTP 401, and logging in with such a cookie failed too. A browser sends one back after its password is changed, so the Dashboard showed an error instead of the login page. Such a cookie is now ignored: the request is answered withHTTP 401anduser not logged in, and logging in works. - Fixed issue: Every configuration request from a gateway instance also updated the instance's row in the database, so the configuration was delivered only after any transaction holding that row, such as a heartbeat, finished, or after the database timeout, 5 seconds by default. Configuration requests no longer write to the database.
- Fixed issue: Without a gateway group,
GET /apisix/admin/plugins/{plugin_name},POST /apisix/admin/configs/validateandGET /apisix/admin/plugin_metadata/{plugin_name}/defaultlooked up custom plugins in all gateway groups, so they returned the schema or the metadata defaults of another gateway group's custom plugin, and a configuration that used it passed validation. Without a gateway group, custom plugins are now answered for exactly like plugins that do not exist. - Fixed issue: The Docker Compose installation reported
API7-EE is ready!and exited with status0when a step had failed, for example whendocker compose upcould not start a service. It now exits with a non-zero status and prints the cause,docker compose ps -aand the latest logs of each service. When the installation package was extracted with a restrictiveumask, such as027, the Dashboard and the gateway could not read their configuration files and did not start; the files are now made readable before starting. Files in the installation packages are now owned byroot. A gateway container started by an earlier installation package does not restart automatically; runbash run.sh stopand thenbash run.shto recreate it.
Console (Dashboard)
- Fixed issue: The confirmation dialog for deleting an SNI showed an unresolved
{{name}}placeholder instead of the name of the SNI to type.