1.38.0 (Pending)
Incompatible behavior changes
Changes that are expected to cause an incompatibility if applicable; deployment changes are likely required
on_demand: The on_demand filter, when doing On Demand CDS, will no longer do internal redirects after CDS is successful. Filters appearing in the filter chain before the On Demand Filter will no longer be invoked twice. This behavior can be temporarily reverted by setting the runtime guard
envoy.reloadable_features.on_demand_cluster_no_recreate_streamtofalse.tcp_proxy: The TCP proxy filter now requires max_early_data_bytes to be explicitly set when using upstream_connect_mode modes other than
IMMEDIATE(i.e.,ON_DOWNSTREAM_DATAorON_DOWNSTREAM_TLS_HANDSHAKE). The field can be set to0to disable early data buffering while still using delayed connection modes. Configurations using these modes withoutmax_early_data_byteswill now fail validation at startup.
Minor behavior changes
Changes that may cause incompatibilities for some users, but should not for most
ext_authz: Changed the behavior of
timeout: 0sin the HTTP ext_authz filter to mean “no timeout” (infinite) instead of immediate timeout. Previously,timeout: 0swould cause requests to fail immediately. This aligns with other Envoy timeout configurations where0means disabled or infinite.histograms: Updated libcircllhist to 0.3.2, which changes how bucket bounds are interpreted. This should not impact production monitoring if the number of samples in the histograms is high. Affected tests were adjusted to account for histogram changes.
mcp: Changed the default metadata namespace for the MCP filter from
mcp_proxytoenvoy.filters.http.mcp. This change can be reverted by setting the runtime guardenvoy.reloadable_features.mcp_filter_use_new_metadata_namespacetofalse.ratelimit: Changed the behavior of
timeout: 0sin the HTTP rate limit filter to mean “no timeout” (infinite) instead of immediate timeout. Previously,timeout: 0swould cause requests to fail immediately. This aligns with other Envoy timeout configurations where0means disabled or infinite.
Bug fixes
Changes expected to improve the state of the world and are unlikely to have negative effects
drop_overload: Fixed a bug where
drop_overloadfailed to use cached EDS resources.ext_authz: Added support for the
append_actionenum in gRPC ext_authzOkHttpResponse.headersfor upstream request header mutations. Previously, only the deprecatedappendboolean was checked. NowAPPEND_IF_EXISTS_OR_ADD,ADD_IF_ABSENT,OVERWRITE_IF_EXISTS, andOVERWRITE_IF_EXISTS_OR_ADDactions are fully supported, providing parity withresponse_headers_to_addhandling.ext_authz: Fixed a bug where headers from a denied authorization response (non-200) were not properly propagated to the client.
formatter: Fixed the log formatter in HTTP router upstream logs by correctly setting the downstream connection’s
ConnectionInfoProviderin theStreamInfo.http: Fixed a potential file descriptor leak where HTTP/1.1 connections with zombie streams (waiting for codec completion) would not be properly closed when in draining state. This could occur when a response was sent before the request was fully received, causing connections to remain open indefinitely. This change can be reverted by setting the runtime guard
envoy.reloadable_features.http1_close_connection_on_zombie_stream_completetofalse.http: Fixed upstream client to not close connection when idle timeout fires before the connection is established. This change can be reverted by setting the runtime guard
envoy.reloadable_features.codec_client_enable_idle_timer_only_when_connectedtofalse.load_report: Fixed an issue upon load-report shutdown race with ADS stream. Introduced proper cleanup of the gRPC stream.
oauth2: Fixed OAuth2 refresh requests so host rewriting no longer overrides the original
Hostheader value.overload_manager: Fixed a resource leak in global connection limit tracking that caused permanent connection rejections when using load shedding (e.g.,
envoy.load_shed_points.tcp_listener_accept). When connections were rejected due to load shedding after passing the global connection limit check, the allocated connection limit resource was not released, causing the connection counter to become incorrect and leading tofailed_updatesin the resource monitor. This resulted in permanent connection rejections even after load subsided. The fix ensures that connection limit resources are properly released when connections are rejected due to load shedding. Also added defensive resource cleanup for edge cases where address processing fails (e.g.,localAddress()orpeerAddress()errors).tls: Fix on-demand TLS selector to enforce session resumption settings.
New features
config: Added support for set_node_on_first_message_only to Delta-xDS. Guarded by runtime flag
envoy.reloadable_features.xds_legacy_delta_skip_subsequent_node.formatter: Added
%UPSTREAM_DETECTED_CLOSE_TYPE%and%DOWNSTREAM_DETECTED_CLOSE_TYPE%to expose the detected close type of downstream and upstream connections. The possible values areNormal,LocalReset, andRemoteReset.formatter: Added the new access log formatter
DOWNSTREAM_LOCAL_CLOSE_REASON.formatter: Extended
*_WITHOUT_PORTaddress formatters to accept an optionalMASK_PREFIX_LENparameter that masks IP addresses and returns them in CIDR notation (e.g.,%DOWNSTREAM_REMOTE_ADDRESS_WITHOUT_PORT(16)%returns10.1.0.0/16for client IP10.1.10.23).mcp_router: Added support for MCP client-to-server notification methods
notifications/cancelledandnotifications/roots/list_changed.mcp_router: Added support for MCP completion method
completion/completewith routing based onref/promptorref/resource.mcp_router: Added support for MCP logging method
logging/setLevel.mcp_router: Added support for MCP prompt methods
prompts/listandprompts/get.mcp_router: Added support for MCP resource methods
resources/list,resources/read,resources/subscribe, andresources/unsubscribe.ratelimit: Added per-descriptor
x-ratelimit-*headers support. See the x_ratelimit_option field documentation for more details.ratelimit: Added support for shadow mode in the local rate limit filter.
resource_monitors: Added cgroup v2 support to the CPU utilization resource monitor. The monitor now automatically detects and selects between cgroup v1 and v2 at runtime by checking available cgroup files on the system. This enables the resource monitor to work correctly in both cgroup v1 and v2 environments without configuration changes.
sse_parser: Extended the SSE parser utility to support all standard SSE fields:
id,event(asevent_type), andretry, in addition to the existingdatafield. Theretryfield is parsed as auint32_tand only accepts values consisting of ASCII digits per the SSE specification.stats: Added support to limit the number of stats stored in each stats scope in the stats library.
tcp_proxy: Added an option to emit a log entry when the connection is accepted.
tls: Added support for fetching certificates on-demand via SDS in the upstream TLS transport socket using the extension on-demand certificate selector.