Skip to main content
Version: 3.10.x

API7 Gateway 3.10.10 Release Notes

Release Date: 2026-11-11

Breaking Changes​

Plugins​

  • Wolf RBAC

    Upgrade note

    header_prefix is 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. appid is now required on a consumer: a consumer without it was previously accepted and matched tokens issued for the application ID unset. After the gateway is upgraded, it discards every consumer whose Wolf RBAC configuration sets a header_prefix other than the default X-, logging header_prefix is no longer supported in consumer configuration, and every consumer that sets no appid, logging property "appid" is required. Requests with tokens for such a consumer then fail authentication with HTTP 401. The Control Plane does not convert these consumers when it is upgraded, and saving one of them again is rejected with HTTP 400.

    Before upgrading, move each custom header_prefix from the consumer to every route or service that uses Wolf RBAC and remove it from the consumer, and set appid on every consumer that has none; a consumer that relied on the previous default keeps accepting the same tokens with appid set to unset. A consumer whose header_prefix is X- needs no change. Gateway instances that have not been upgraded yet take header_prefix only from the consumer and ignore it on a route or service, so from the moment a custom header_prefix is removed from a consumer until every instance of the gateway group is upgraded, those instances name the identity headers with the default X- prefix.

Upgrade Notes​

Upgrade note — SNI TLS protocol settings now take effect

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.

Upgrade note — stricter checks of JSON Web Key Sets in the Control Plane

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_uri contains an RSA key whose modulus is longer than 4096 bits or whose exponent e is 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 with HTTP 401 if the key set at jwks.url contains 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.

Upgrade note — Control Plane images trust two fewer root certificates

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.

Upgrade note — OpenID Connect token introspection failures

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.

Upgrade note — Forward Auth uses a new HTTP client

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-Agent header is sent; previously it was lua-resty-http/<version>.
  • A GET request carries Content-Length: 0.
  • Connection: keep-alive is sent, also when keepalive is false, in which case the connection is still closed after the request.
  • An empty Host set through extra_headers is replaced with the address the gateway connects to.
  • timeout bounds 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.

Upgrade note — last_retrieve_config_time removed from the gateway instance APIs

GET /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.

Upgrade note — new Data Plane capabilities during the upgrade window

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_headers option 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 and true as 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, null or false sets no header. Every header listed is removed from the request on every outcome, including unauthenticated requests passed on with unauth_action: pass, so it holds the verified claim or nothing.
  • Wolf RBAC
    • header_prefix can 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_days sets 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; 0 only 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 with HTTP 401 and password expired, and the Dashboard asks for a new password. Access tokens and SSO users are not covered. GET /api/me returns the expiry time in password_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, admin included, 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 with HTTP 401 and two 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, admin included, run /usr/local/api7/api7-ee-dashboard two-factor reset --username <name> in the Dashboard container, for example with kubectl exec or docker 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 404 or HTTP 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/list and GET /apisix/admin/plugins/{plugin_name} without gateway_group_id return 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/plugins previously answered HTTP 400 without gateway_group_id. An empty gateway_group_id= parameter on GET /apisix/admin/plugins/list is now rejected with HTTP 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 systemctl command 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_readable request headers, set in the gateway configuration file. The default, 100, keeps the previous limit, and 0 removes 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 key or count contain variables.

Fixes​

Plugins​

  • Forward Auth
    • Fixed issue: With allow_degradation set to true, when the authorization service could not be reached, a header that the client sent under a name listed in upstream_headers was 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.
  • JWE Decrypt
    • Fixed issue: With strict set to false, a request without a token was forwarded with the header named in forward_header as 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.
  • Wolf RBAC
    • Fixed issue: When Wolf RBAC was configured in Multi Auth and another plugin authenticated the request, the X-UserId, X-Username and X-Nickname headers 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.
  • 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 expire was 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.
  • Limit Count, Limit Count Advanced, GraphQL Limit Count, AI Rate Limiting, Limit Req and Limit Conn
    • Fixed issue: With the redis-cluster policy and redis_cluster_ssl or redis_password set, 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, with HTTP 500 in Limit Count, until the gateway was restarted.

Data Plane​

  • Fixed issue: With apisix.match_uri_encoded_slash enabled in the gateway configuration, a request could skip the client certificate check of an SNI with mTLS by encoding a slash in its path. The skip_mtls_uri_regex patterns were checked against the decoded path, while routes were matched on the path with %2F kept inside a segment, so a request for /public%2Fstatus was 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 with HTTP 400.
  • Fixed issue: With the gzip plugin's buffers.size set 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-proxy plugin could answer HTTP 500 when 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 400 and too 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 500 instead of HTTP 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 with HTTP 401 and user 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/validate and GET /apisix/admin/plugin_metadata/{plugin_name}/default looked 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 status 0 when a step had failed, for example when docker compose up could not start a service. It now exits with a non-zero status and prints the cause, docker compose ps -a and the latest logs of each service. When the installation package was extracted with a restrictive umask, such as 027, 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 by root. A gateway container started by an earlier installation package does not restart automatically; run bash run.sh stop and then bash run.sh to 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.