TrueFoundryChangelog
← All releases

0.166

Unsupported
Helm chart
0.166.17
Gateway chart
0.166.5
Aug 13, 2026 · 1 patch

LLM Gateway

  • Vertex model accounts accept an optional base URL, and native Vertex inference uses it, so traffic can go to a private endpoint or through Private Service Connect. Read more

  • AWS Bedrock Mantle model accounts and models accept an optional project, sent as the OpenAI-Project header so requests are attributed to that Bedrock project for isolation and cost tracking. Left empty, the AWS account's default project is used. Read more

  • Complexity-based routing for virtual models is now available to all tenants without a feature flag; weight-based routing stays the default. The LLM classification strategy now requires fallback_strategy, so configs created outside the console must set one, and {"type": "heuristic"} keeps the previous behavior. Read more

  • Guardrail hooks now work with Cursor as well as Claude Code. Read more

  • F5 is now available as a guardrail integration. Read more

  • Guardrail scanning scope can be set per request with the x-tfy-guardrails-scope header: all, last, or a number for the last N turns, so multi-message agent turns are scanned without rechecking the whole conversation. Read more

  • Gateway operators can leave sensitive labels such as username out of exported metrics by listing them in the METRICS_LABELS_TO_DROP environment variable.

  • A new Anthropic Inference Hooks endpoint lets guardrails check prompts, attachments, tool calls and tool results on Anthropic inference traffic. It fails closed, denying the request on auth or evaluation errors. Read more

  • Chat completions on OpenAI and Azure OpenAI can now be served through the provider's Responses API, so reasoning on gpt-5.x models works while your client stays on Chat Completions. This happens for responses-only models, when the request asks for reasoning with reasoning_effort or thinking, or when you send the x-tfy-openai-use-responses-api header, and the model's thinking comes back as thinking_blocks and is replayed on the next turn. Read more

  • The Budget V2 enforcement mode enforce_with_low_priority is renamed Soft Enforce, and the console text for budget modes is updated to match. Read more

  • Errors from the proxy, Bedrock proxy, text-to-speech and speech-to-text routes now keep the provider's original status code and message instead of becoming a generic proxy error.

  • Noma Security guardrail requests now include a session ID and the updated tool format, and take the Noma user ID from the signed-in caller, so the User ID field is removed from the guardrail form. Read more

  • Requests cancelled mid-stream now have their cost recorded instead of being dropped. Read more

  • On the TrueFoundry-hosted gateway, AWS model accounts (Bedrock, Bedrock Mantle, SageMaker, Claude on AWS) and the Bedrock guardrail now need explicit credentials in the account, and Vertex workload identity settings are checked when the account is saved. Self-hosted gateways are unchanged.

  • Provider validation errors now begin with the provider's name followed by "error:", matching the wording of the gateway's other provider errors.

  • Cache-write tokens reported by OpenAI are now included in request cost.

  • The Azure managed auth mode is removed, along with the azureManagedClientId field and the x-tfy-azure-managed-client-id header. Azure model accounts still support API key, client secret, certificate and workload identity auth.

  • Breaking change: the legacy llm_gateway_* Prometheus metrics are removed. The gateway now publishes application metrics only as the OpenTelemetry ai_gateway_* series, and the ENABLE_DOUBLE_WRITE_FOR_METRICS flag and its /metrics path are gone, so move any dashboards or alerts still using the old names before upgrading. Read more

  • Fix

    Noma Security guardrails now use the configured base URL and apply content changes correctly. Read more

  • Fix

    Azure Content Safety and Prompt Shields no longer fail on large inputs: text is split into chunks under Azure's limit and scanned in parallel, the worst severity and blocklist hits are kept, and temporary 429 or 503 responses are retried. Read more

  • Fix

    Vertex AI model accounts that use Application Default Credentials now cache each access token only until Google's own expiry and only on the pod that fetched it, so requests no longer fail with expired tokens shared across pods.

  • Fix

    When a provider accepts a streamed Responses API request and then reports a failure inside the stream, the gateway now treats it as an error and falls back to the next target in your load-balancing config. Before, the client got a broken stream with a 200 status.

  • Fix

    Streaming responses no longer break when a provider sends SSE keepalive comments, such as xAI's : keepalive. Before, the stream ended with a JSON parse error before any content arrived.

  • Fix

    Codex 0.147 and later now works against AWS Bedrock Mantle models through the gateway without 400 errors, and Codex web search works end to end. Opening a page or finding text in a page after a web search is no longer billed as an extra search.

  • Fix

    Responses requests to Bedrock Mantle no longer fail with a 400 when they include Codex sub-agent agent_message items; the gateway now removes those items before sending the request.

  • Fix

    Semantic caching now works on Valkey and Amazon ElastiCache for Valkey. Vector indexes are created at startup, so lookups no longer all return X-Tfy-Cache-Status: error. Read more

  • Fix

    Stateless Responses API turns on a virtual model now stay on the backend that created the encrypted_content, so store: false follow-ups no longer fail with invalid_encrypted_content. Read more

MCP

  • MCP servers now support AWS SigV4 authentication end to end: set the auth type on the server and the gateway signs upstream MCP requests with SigV4, using either an assumed IAM role or a static access key pair. Read more

  • Individual-credential auth for MCP servers supports more than one placeholder in a single header value, so a server can ask each user for several values.

  • Fix

    OAuth tokens issued by the MCP gateway no longer fail with 401 errors when external OIDC is set up with a custom user claim key.

Agent Gateway

  • Remote agents can now authenticate with OAuth2 client credentials, so the gateway presents an access token from the agent's identity provider instead of only static headers or passthrough. The token endpoint's auth method is detected automatically, including client_secret_basic.

Metrics & Traces

  • Horizontal stacked bar charts show a tooltip with each series' value, color and unit.

  • Model Metrics shows line charts instead of stacked area charts, with consistent headings across the page.

  • The Config Metrics tab in LLM Gateway metrics is renamed Quota Metrics.

  • The Overall Metrics page loads faster.

  • Triggered guardrails, including error and ignored-error outcomes, are now recorded on chat completion, agent response and MCP gateway spans, not only on model request spans. Read more

AI Deploy

  • Policies can now be applied to Spark jobs.

  • Spark jobs accept an optional Kustomize patch on driver and executor config to set pod fields such as tolerations, node selectors, affinity, labels, annotations and environment variables. Patches are merged with platform defaults instead of replacing them. Read more

  • Labels on service and job manifests are checked at deploy time and copied onto every Kubernetes resource created for them. Keys under the reserved truefoundry.com/ prefix and values that break Kubernetes label rules are rejected with a clear error.

  • Fix

    Scheduled Spark jobs now wait for the Spark application to finish and clean it up afterwards, and the Replace concurrency policy removes the previous run before starting a new one.

  • Fix

    The volume browser can read its password again on clusters with External Secrets Operator enabled, instead of failing with a 403.

  • Fix

    Log queries that filter pods by pattern, such as Spark executor logs, return results again.

  • Fix

    Fixed a problem in 0.166.4 where control plane requests from cluster agents could fail because the authenticated cluster was not passed to them.

Platform

  • Tenant admins can create personal access tokens for users in their organization with the public POST /personal-access-tokens/for-user API, optionally passing teamName to attribute usage to a team. It returns 403 if the caller is not an admin or the user is not in that team.

  • Secret fields across forms can point directly to a secret in an integrated secret store using the tfy-secret-ref://<secret-store-fqn>::<path> format, without first adding the secret to TrueFoundry. The existing TrueFoundry secret option still works. Read more

  • The profile menu in the sidebar can show a Privacy Policy link, which opens in a new tab. It appears once the operator sets FE_PRIVACY_POLICY_URL on the control plane.

  • A default team-member role with read-only access to virtual accounts is added. New teams get it automatically, and existing teams and accounts are updated during the upgrade.

  • Tenant admins can revoke all personal access tokens in the organization in one action from the Settings page, including system-owned and orphaned tokens. This cannot be undone and needs a typed confirmation. Read more

  • MCP servers can have a readable display name, set when creating or editing the server, and shown across the MCP registry, including the MCP servers page and the tool selector, instead of the internal name. Read more

  • Tool approval policies can now require approval once or for a set period, such as 15 minutes, hours or days, and can cover all tools or all destructive tools in one step. Read more

  • Tenant admins can revoke every stored auth token and auth override on an MCP server in one action, and the gateway stops using the cached credentials right away. Read more

  • Deprecation: truefoundry below 0.17.0 and truefoundry-sdk below 0.4.0 are deprecated, and the Repositories APIs have moved from the /api/ml prefix to /api/svc. Install truefoundry>=0.17.0 and truefoundry-sdk>=0.4.0 and update custom HTTP clients; older packages are rejected and the /api/ml prefix is removed in 0.188.x. Read more

  • Breaking change: the truefoundry CLI and SDK require Python 3.10 or later from v0.17.0; Python 3.8 and 3.9 are no longer supported, so upgrade your Python runtime before installing the new CLI. Read more

  • YAML generated in form views, including Edit as YAML, lists type and name first instead of sorting fields alphabetically.

  • The teams list loads faster because it no longer fetches full member and manager lists; the edit drawer loads them when opened, and the team members and managers APIs no longer apply a default limit of 100.

  • ElevenLabs public pricing is now shown in the model cost screen.

  • Budget Limiting V2 has clearer wording on budget rules and a refreshed usage progress bar.

  • Viewing a secret value is now recorded in audit logs as a VIEW_SECRET activity, one entry per secret read.

  • New service account and virtual account tokens are issued as opaque tokens by default instead of JWTs, in the format tfy_va_{virtual_account_name}_{team_name}.

  • Self-hosted operators can now turn off the control plane's /api/proxy-server routes to compute-plane clusters by setting global.proxy.proxyServerControlPlaneToComputePlaneRoutesEnabled to false in the truefoundry Helm chart. The default is true, so nothing changes unless you set it, and clusters can still connect to the control plane when it is off.

  • Personal access tokens can again be used to create other personal access tokens. Operators who want to block this can set REJECT_PAT_CREATION_FOR_PAT_OWNERS to true on the control plane.

  • Personal access tokens can no longer be used to create other personal access tokens.

  • External SAML logins now create new users only when just-in-time (JIT) provisioning is turned on for the tenant in org settings, the same as OAuth and JWT logins.

  • The deprecated ListExternalIdentities and ManageExternalIdentities permissions are removed from roles and account scopes, and existing grants are cleared during the upgrade. Permissions for external identity providers are unchanged.

  • URLs entered on agent, MCP server, OpenAPI and model account forms are now checked before the control plane fetches them. Only public http and https addresses are allowed; private, link-local, metadata and cluster-internal addresses are rejected with a 400.

  • When regenerating a virtual account token, you can keep the old token valid for 10 minutes up to 365 days (30 days by default), or choose Immediate to revoke it right away.

  • APIs for model accounts, MCP servers, agents, identity providers and other resources now hide sensitive auth_data values in responses and activity logs. When you save edits, hidden values are restored from the stored manifest so credentials are not cleared, and secret-store references are left as they are.

  • Fix

    Sign-out now completes reliably, because logout waits for the server call to finish before leaving the page.

  • Fix

    Budget alerts no longer round limits smaller than 0.0001 down to zero in the Budget Limit line.

  • Fix

    Operators in data access rule filters are shown in uppercase, so rules like NOT IN read correctly.

  • Fix

    Age columns in the console now show a dash instead of failing when a resource has a missing or invalid date.

  • Fix

    Budget and other gateway config changes now reach the gateway after the controller reconnects to NATS. Before, they could stay stale until the pod was restarted.

  • Fix

    ML repository APIs for experiments, runs, models, prompts, artifacts, data directories and agent skills are served again by the ML server.

  • Fix

    Testing a model account from the edit form no longer fails because its saved credentials are hidden in the form. The stored credentials are now used for the test.

  • Fix

    Minor security fixes. Upgrade to 0.166.17.

  • Fix

    The sticky routing field now appears for every routing type that supports it in the virtual model and model account forms.

Aug 13, 2026

LLM Gateway

  • Chat completions on OpenAI and Azure OpenAI can now be served through the provider's Responses API, so reasoning on gpt-5.x models works while your client stays on Chat Completions. This happens for responses-only models, when the request asks for reasoning with reasoning_effort or thinking, or when you send the x-tfy-openai-use-responses-api header, and the model's thinking comes back as thinking_blocks and is replayed on the next turn. Read more

  • A new Anthropic Inference Hooks endpoint lets guardrails check prompts, attachments, tool calls and tool results on Anthropic inference traffic. It fails closed, denying the request on auth or evaluation errors. Read more

  • Gateway operators can leave sensitive labels such as username out of exported metrics by listing them in the METRICS_LABELS_TO_DROP environment variable.

  • Guardrail scanning scope can be set per request with the x-tfy-guardrails-scope header: all, last, or a number for the last N turns, so multi-message agent turns are scanned without rechecking the whole conversation. Read more

  • F5 is now available as a guardrail integration. Read more

  • Guardrail hooks now work with Cursor as well as Claude Code. Read more

  • Complexity-based routing for virtual models is now available to all tenants without a feature flag; weight-based routing stays the default. The LLM classification strategy now requires fallback_strategy, so configs created outside the console must set one, and {"type": "heuristic"} keeps the previous behavior. Read more

  • AWS Bedrock Mantle model accounts and models accept an optional project, sent as the OpenAI-Project header so requests are attributed to that Bedrock project for isolation and cost tracking. Left empty, the AWS account's default project is used. Read more

  • Vertex model accounts accept an optional base URL, and native Vertex inference uses it, so traffic can go to a private endpoint or through Private Service Connect. Read more

  • Breaking change: the legacy llm_gateway_* Prometheus metrics are removed. The gateway now publishes application metrics only as the OpenTelemetry ai_gateway_* series, and the ENABLE_DOUBLE_WRITE_FOR_METRICS flag and its /metrics path are gone, so move any dashboards or alerts still using the old names before upgrading. Read more

  • The Azure managed auth mode is removed, along with the azureManagedClientId field and the x-tfy-azure-managed-client-id header. Azure model accounts still support API key, client secret, certificate and workload identity auth.

  • Cache-write tokens reported by OpenAI are now included in request cost.

  • Provider validation errors now begin with the provider's name followed by "error:", matching the wording of the gateway's other provider errors.

  • On the TrueFoundry-hosted gateway, AWS model accounts (Bedrock, Bedrock Mantle, SageMaker, Claude on AWS) and the Bedrock guardrail now need explicit credentials in the account, and Vertex workload identity settings are checked when the account is saved. Self-hosted gateways are unchanged.

  • Requests cancelled mid-stream now have their cost recorded instead of being dropped. Read more

  • Noma Security guardrail requests now include a session ID and the updated tool format, and take the Noma user ID from the signed-in caller, so the User ID field is removed from the guardrail form. Read more

  • Errors from the proxy, Bedrock proxy, text-to-speech and speech-to-text routes now keep the provider's original status code and message instead of becoming a generic proxy error.

  • The Budget V2 enforcement mode enforce_with_low_priority is renamed Soft Enforce, and the console text for budget modes is updated to match. Read more

  • Fix

    Stateless Responses API turns on a virtual model now stay on the backend that created the encrypted_content, so store: false follow-ups no longer fail with invalid_encrypted_content. Read more

  • Fix

    Semantic caching now works on Valkey and Amazon ElastiCache for Valkey. Vector indexes are created at startup, so lookups no longer all return X-Tfy-Cache-Status: error. Read more

  • Fix

    Responses requests to Bedrock Mantle no longer fail with a 400 when they include Codex sub-agent agent_message items; the gateway now removes those items before sending the request.

  • Fix

    Codex 0.147 and later now works against AWS Bedrock Mantle models through the gateway without 400 errors, and Codex web search works end to end. Opening a page or finding text in a page after a web search is no longer billed as an extra search.

  • Fix

    Streaming responses no longer break when a provider sends SSE keepalive comments, such as xAI's : keepalive. Before, the stream ended with a JSON parse error before any content arrived.

  • Fix

    When a provider accepts a streamed Responses API request and then reports a failure inside the stream, the gateway now treats it as an error and falls back to the next target in your load-balancing config. Before, the client got a broken stream with a 200 status.

  • Fix

    Vertex AI model accounts that use Application Default Credentials now cache each access token only until Google's own expiry and only on the pod that fetched it, so requests no longer fail with expired tokens shared across pods.

  • Fix

    Azure Content Safety and Prompt Shields no longer fail on large inputs: text is split into chunks under Azure's limit and scanned in parallel, the worst severity and blocklist hits are kept, and temporary 429 or 503 responses are retried. Read more

  • Fix

    Noma Security guardrails now use the configured base URL and apply content changes correctly. Read more

MCP

  • MCP servers now support AWS SigV4 authentication end to end: set the auth type on the server and the gateway signs upstream MCP requests with SigV4, using either an assumed IAM role or a static access key pair. Read more

  • Individual-credential auth for MCP servers supports more than one placeholder in a single header value, so a server can ask each user for several values.

  • Fix

    OAuth tokens issued by the MCP gateway no longer fail with 401 errors when external OIDC is set up with a custom user claim key.

Agent Gateway

  • Remote agents can now authenticate with OAuth2 client credentials, so the gateway presents an access token from the agent's identity provider instead of only static headers or passthrough. The token endpoint's auth method is detected automatically, including client_secret_basic.

Metrics & Traces

  • Triggered guardrails, including error and ignored-error outcomes, are now recorded on chat completion, agent response and MCP gateway spans, not only on model request spans. Read more

  • The Overall Metrics page loads faster.

  • The Config Metrics tab in LLM Gateway metrics is renamed Quota Metrics.

  • Model Metrics shows line charts instead of stacked area charts, with consistent headings across the page.

  • Horizontal stacked bar charts show a tooltip with each series' value, color and unit.

AI Deploy

  • Spark jobs accept an optional Kustomize patch on driver and executor config to set pod fields such as tolerations, node selectors, affinity, labels, annotations and environment variables. Patches are merged with platform defaults instead of replacing them. Read more

  • Policies can now be applied to Spark jobs.

  • Labels on service and job manifests are checked at deploy time and copied onto every Kubernetes resource created for them. Keys under the reserved truefoundry.com/ prefix and values that break Kubernetes label rules are rejected with a clear error.

  • Fix

    Fixed a problem in 0.166.4 where control plane requests from cluster agents could fail because the authenticated cluster was not passed to them.

  • Fix

    Log queries that filter pods by pattern, such as Spark executor logs, return results again.

  • Fix

    The volume browser can read its password again on clusters with External Secrets Operator enabled, instead of failing with a 403.

  • Fix

    Scheduled Spark jobs now wait for the Spark application to finish and clean it up afterwards, and the Replace concurrency policy removes the previous run before starting a new one.

Platform

  • Tenant admins can revoke every stored auth token and auth override on an MCP server in one action, and the gateway stops using the cached credentials right away. Read more

  • Tool approval policies can now require approval once or for a set period, such as 15 minutes, hours or days, and can cover all tools or all destructive tools in one step. Read more

  • MCP servers can have a readable display name, set when creating or editing the server, and shown across the MCP registry, including the MCP servers page and the tool selector, instead of the internal name. Read more

  • Tenant admins can revoke all personal access tokens in the organization in one action from the Settings page, including system-owned and orphaned tokens. This cannot be undone and needs a typed confirmation. Read more

  • A default team-member role with read-only access to virtual accounts is added. New teams get it automatically, and existing teams and accounts are updated during the upgrade.

  • The profile menu in the sidebar can show a Privacy Policy link, which opens in a new tab. It appears once the operator sets FE_PRIVACY_POLICY_URL on the control plane.

  • Secret fields across forms can point directly to a secret in an integrated secret store using the tfy-secret-ref://<secret-store-fqn>::<path> format, without first adding the secret to TrueFoundry. The existing TrueFoundry secret option still works. Read more

  • Tenant admins can create personal access tokens for users in their organization with the public POST /personal-access-tokens/for-user API, optionally passing teamName to attribute usage to a team. It returns 403 if the caller is not an admin or the user is not in that team.

  • APIs for model accounts, MCP servers, agents, identity providers and other resources now hide sensitive auth_data values in responses and activity logs. When you save edits, hidden values are restored from the stored manifest so credentials are not cleared, and secret-store references are left as they are.

  • When regenerating a virtual account token, you can keep the old token valid for 10 minutes up to 365 days (30 days by default), or choose Immediate to revoke it right away.

  • URLs entered on agent, MCP server, OpenAPI and model account forms are now checked before the control plane fetches them. Only public http and https addresses are allowed; private, link-local, metadata and cluster-internal addresses are rejected with a 400.

  • The deprecated ListExternalIdentities and ManageExternalIdentities permissions are removed from roles and account scopes, and existing grants are cleared during the upgrade. Permissions for external identity providers are unchanged.

  • External SAML logins now create new users only when just-in-time (JIT) provisioning is turned on for the tenant in org settings, the same as OAuth and JWT logins.

  • Personal access tokens can no longer be used to create other personal access tokens.

  • Personal access tokens can again be used to create other personal access tokens. Operators who want to block this can set REJECT_PAT_CREATION_FOR_PAT_OWNERS to true on the control plane.

  • Self-hosted operators can now turn off the control plane's /api/proxy-server routes to compute-plane clusters by setting global.proxy.proxyServerControlPlaneToComputePlaneRoutesEnabled to false in the truefoundry Helm chart. The default is true, so nothing changes unless you set it, and clusters can still connect to the control plane when it is off.

  • New service account and virtual account tokens are issued as opaque tokens by default instead of JWTs, in the format tfy_va_{virtual_account_name}_{team_name}.

  • Viewing a secret value is now recorded in audit logs as a VIEW_SECRET activity, one entry per secret read.

  • Budget Limiting V2 has clearer wording on budget rules and a refreshed usage progress bar.

  • ElevenLabs public pricing is now shown in the model cost screen.

  • The teams list loads faster because it no longer fetches full member and manager lists; the edit drawer loads them when opened, and the team members and managers APIs no longer apply a default limit of 100.

  • YAML generated in form views, including Edit as YAML, lists type and name first instead of sorting fields alphabetically.

  • Breaking change: the truefoundry CLI and SDK require Python 3.10 or later from v0.17.0; Python 3.8 and 3.9 are no longer supported, so upgrade your Python runtime before installing the new CLI. Read more

  • Deprecation: truefoundry below 0.17.0 and truefoundry-sdk below 0.4.0 are deprecated, and the Repositories APIs have moved from the /api/ml prefix to /api/svc. Install truefoundry>=0.17.0 and truefoundry-sdk>=0.4.0 and update custom HTTP clients; older packages are rejected and the /api/ml prefix is removed in 0.188.x. Read more

  • Fix

    The sticky routing field now appears for every routing type that supports it in the virtual model and model account forms.

  • Fix

    Minor security fixes. Upgrade to 0.166.17.

  • Fix

    Testing a model account from the edit form no longer fails because its saved credentials are hidden in the form. The stored credentials are now used for the test.

  • Fix

    ML repository APIs for experiments, runs, models, prompts, artifacts, data directories and agent skills are served again by the ML server.

  • Fix

    Budget and other gateway config changes now reach the gateway after the controller reconnects to NATS. Before, they could stay stale until the pod was restarted.

  • Fix

    Age columns in the console now show a dash instead of failing when a resource has a missing or invalid date.

  • Fix

    Operators in data access rule filters are shown in uppercase, so rules like NOT IN read correctly.

  • Fix

    Budget alerts no longer round limits smaller than 0.0001 down to zero in the Budget Limit line.

  • Fix

    Sign-out now completes reliably, because logout waits for the server call to finish before leaving the page.

Release instructions

  • Update the truefoundry Helm chart to version 0.166.17.
  • Update the tfy-llm-gateway Helm chart to version 0.166.5.