Skip to content

Release v0.69.0 - #7288

Merged
rdimitrov merged 1 commit into
mainfrom
release/v0.69.0
Nov 24, 2026
Merged

rdimitrov merged 1 commit into
mainfrom
release/v0.69.0

Conversation

@toolhive-release-app

Copy link
Copy Markdown
Contributor

Release v0.69.0

Version Bump

minor release

Files Updated

  • VERSION
  • deploy/charts/operator-crds/Chart.yaml (path: version)
  • deploy/charts/operator-crds/Chart.yaml (path: appVersion)
  • deploy/charts/operator/Chart.yaml (path: version)
  • deploy/charts/operator/Chart.yaml (path: appVersion)
  • deploy/charts/operator/values.yaml (path: operator.image)
  • deploy/charts/operator/values.yaml (path: operator.toolhiveRunnerImage)
  • deploy/charts/operator/values.yaml (path: operator.vmcpImage)
  • Helm chart docs (via helm-docs)

Next Steps

  1. Review this PR
  2. Merge to main
  3. Release automation will handle the rest

Checklist

  • Version bump is correct
  • All CI checks pass

Release-Triggered-By: rdimitrov
@github-actions github-actions Bot added the size/XS Extra small PR: < 100 lines changed label Nov 24, 2026
@codecov

codecov Bot commented Nov 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.88%. Comparing base (a4dc984) to head (1be5b1b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7288      +/-   ##
==========================================
+ Coverage   81.87%   81.88%   +0.01%     
==========================================
  Files         919      919              
  Lines       93106    93106              
==========================================
+ Hits        76232    76244      +12     
+ Misses      16869    16857      -12     
  Partials        5        5              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rdimitrov rdimitrov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving the v0.69.0 release: main's build at 3be89fa passed and this PR's CI is green.

@rdimitrov
rdimitrov merged commit 3b6fe79 into main Nov 24, 2026
44 checks passed
@rdimitrov
rdimitrov deleted the release/v0.69.0 branch November 24, 2026 22:53
@github-actions

Copy link
Copy Markdown
Contributor

📝 Generated release notes for v0.69.0

Auto-generated by the release-notes skill. Review and, if good, apply with:

gh release edit v0.69.0 --notes-file <paste-below>.md
Click to expand release notes

🚀 Toolhive v0.69.0 is live!

Entra on-behalf-of (OBO) backend authentication now works in the open-source build, for MCPServer, MCPRemoteProxy and VirtualMCPServer. vMCP code mode now has its own metrics, traces and logs, and vMCP holds less memory for idle sessions. This release also tightens auth in several places: the Kubernetes service-account token is sent to fewer hosts, token-file clients follow fewer redirects, and tokens that carry authorization_details are refused. Groundwork for ID-JAG delegated access continues behind a closed gate.

⚠️ Breaking Changes

  • The service-account token is sent only to the in-cluster API server by default. If a kubernetesServiceAccount MCPOIDCConfig leaves useClusterAuth unset, the pod's token is now attached only when the fetched URL is https://kubernetes.default.svc or https://kubernetes.default.svc.cluster.local. Issuers that need the token but are reached under another name (a custom cluster domain, an IP, an http URL) must now set useClusterAuth: true. (migration guide)
  • Token-file HTTP clients refuse cross-host redirects. When an auth token file is configured (--jwks-auth-token-file, jwksAuthTokenPath, or a kubernetesServiceAccount config), discovery, JWKS and introspection requests no longer follow redirects to another host or port, or from HTTPS to HTTP. Configure the final URL instead. (migration guide)
  • The embedded auth server refuses tokens and assertions that carry authorization_details. RFC 8693 subject or actor tokens with the claim, including tokens from trusted external issuers, now get 400 invalid_request. JWT-bearer and ID-JAG assertions with the claim now get 400 invalid_grant. Before, these were accepted and the claim was silently dropped. (migration guide)

Migration guide: The service-account token is sent only to the in-cluster API server by default

Who is affected: MCPServer, MCPRemoteProxy and VirtualMCPServer workloads that reference a kubernetesServiceAccount MCPOIDCConfig with useClusterAuth unset, where the checked URL needs the service-account token but its host is not exactly kubernetes.default.svc or kubernetes.default.svc.cluster.local. The checked URL is jwksUrl if set, otherwise issuer. This covers custom cluster domains, the API server reached by IP or another DNS name, and plain-http URLs. These workloads now fail OIDC discovery or JWKS with 401/403 and reject every caller.

No change for default in-cluster issuers, external issuers with an in-cluster jwksUrl, or public external issuers such as EKS or GKE OIDC. Public issuers simply stop receiving the token. inline configs are unchanged, and so are the CA bundle and the private-IP allowance.

Before

apiVersion: toolhive.stacklok.dev/v1beta1
kind: MCPOIDCConfig
spec:
  type: kubernetesServiceAccount
  kubernetesServiceAccount:
    issuer: https://kubernetes.default.svc.mycorp.local
    # useClusterAuth unset -> token was always sent

After

apiVersion: toolhive.stacklok.dev/v1beta1
kind: MCPOIDCConfig
spec:
  type: kubernetesServiceAccount
  kubernetesServiceAccount:
    issuer: https://kubernetes.default.svc.mycorp.local
    useClusterAuth: true   # explicit opt-in: always send the token

Migration steps

  1. Find kubernetesServiceAccount MCPOIDCConfigs whose jwksUrl, or issuer when jwksUrl is unset, is not https://kubernetes.default.svc[.cluster.local].
  2. If that endpoint needs service-account authentication, either point the URL at https://kubernetes.default.svc or set useClusterAuth: true explicitly.
  3. If the endpoint is public, no action is needed.

PR: #7248

Migration guide: Token-file HTTP clients refuse cross-host redirects

Who is affected: Deployments that set an auth token file for OIDC discovery, JWKS or RFC 7662 introspection requests, where one of those endpoints redirects to a different host or port, or from HTTPS to HTTP. A vanity issuer that answers with a 302 to the real IdP is a typical example. Same-host redirects still work, up to 10 hops. Any other redirect fails with redirect refused, and token validation then fails with 401. Clients built without a token file are unchanged.

Before

# Discovery at a vanity host that 302-redirects to the real IdP
issuer: https://auth.example.com          # -> 302 https://idp.example.net/...
jwksAuthTokenPath: /var/run/secrets/kubernetes.io/serviceaccount/token

After

# Configure the final URLs directly
issuer: https://idp.example.net
jwksUrl: https://idp.example.net/.well-known/jwks.json
jwksAuthTokenPath: /var/run/secrets/kubernetes.io/serviceaccount/token

Migration steps

  1. Check each configured discovery, JWKS and introspection URL (for example with curl -sI) for a 3xx response that points to a different host or port.
  2. Replace the configured URL with the final URL (issuer, jwksUrl / --jwks-url, introspectionUrl).
  3. Restart the workload and confirm that token validation succeeds.

PR: #7252

Migration guide: The embedded auth server refuses tokens and assertions that carry authorization_details

Who is affected: Deployments of the embedded authorization server that receive tokens or assertions carrying an RFC 9396 authorization_details claim, with any value, including null or []. A trusted external IdP that puts the claim into tokens it sends for exchange or redemption is the main case. Such tokens are now terminal, so a token narrowed to one call can't be swapped for an unrestricted one. Tokens without the claim behave exactly as before. Client-side token exchange, CLI flags and the OIDC/JWKS validator are unaffected.

Before

POST /oauth/token  grant_type=urn:ietf:params:oauth:grant-type:token-exchange
  subject_token=<JWT with "authorization_details": [...]>
-> 200, new token issued without authorization_details

After

POST /oauth/token  grant_type=urn:ietf:params:oauth:grant-type:token-exchange
  subject_token=<JWT with "authorization_details": [...]>
-> 400 invalid_request
   "The subject token carries authorization_details and cannot be exchanged."

JWT-bearer / ID-JAG redemption with the claim
-> 400 invalid_grant
   "invalid_assertion: The assertion must not carry an 'authorization_details' claim."
   (the assertion is not consumed)

Migration steps

  1. After upgrading, watch the auth server logs for Subject token refused, Actor token refused or Assertion refused with an authorization_details reason. The redemption log line names the issuer.
  2. Configure the upstream IdP or client so tokens sent to ToolHive's auth server for exchange or redemption don't include authorization_details.
  3. There is no opt-out. Flows that relied on the claim being dropped must get an unrestricted token directly from their IdP.

PR: #7282

🔄 Deprecations

  • RegisterOBOHandler, obo.RegisterFactory, auth.RegisterOBOStrategy, ErrEnterpriseRequired and ConditionReasonEnterpriseRequired are deprecated now that OBO is built in. They still work as overrides of the built-in strategy, and their removal is tracked in #7200. The operator no longer emits Reason=EnterpriseRequired, so switch any checks to Valid=True / InvalidConfig. (#7201)

🆕 New Features

  • Entra on-behalf-of (OBO) backend auth now works in OSS for MCPServer, MCPRemoteProxy, VirtualMCPServer and MCPServerEntry backends. A well-formed obo MCPExternalAuthConfig reconciles to Valid=True, and an MCPServer or MCPRemoteProxy that references one without an oidcConfigRef is rejected with InvalidConfig. Note that the mirrored ExternalAuthConfigValidated message on MCPServer and MCPRemoteProxy now starts with Referenced MCPExternalAuthConfig '<name>' is invalid: for every external auth type, so update any automation that matches the exact text. (#7201)
  • vMCP code mode has OTel observability: script metrics (toolhive_vmcp_script_executions, _duration, _tool_calls, _parallel_tasks), a toolhive_vmcp_code_mode_enabled gauge, codemode.ExecuteToolScript / codemode.CallTool spans, and start and finish logs that never include the script body. The DEBUG log line codemode: executing script is now codemode: script started. (#7275)
  • The anonymous usage report now counts code mode usage with two new optional fields: code_mode_calls, which includes calls made through the optimizer's call_tool, and code_mode_tool_calls. count and calls_by_client are unchanged. (#7274, #7275)
  • ID-JAG delegated access groundwork for Go embedders. This adds a per-issuer subject_mode / actor_issuers setting, actor checks at redemption (refused with the new actor_denied reason), and subject resolution that issues delegated-access tokens. All of it is behind a closed code gate, so no HTTP behavior changes yet. Embedders: tokenexchange.IDJAGIssuanceFactory now takes a required subject.Resolver argument; pass nil if no issuer uses resolve. (#7254, #7255, #7262)
  • Added the vMCP call-binding argument hash: an RFC 8785 canonical SHA-256 that refuses input that isn't I-JSON, plus shared test vectors. It lays the groundwork for access tokens bound to a single MCP call. (#7285)

🐛 Bug Fixes

  • A VirtualMCPServer that uses a kubernetesServiceAccount MCPOIDCConfig, or an inline one with jwksAuthTokenPath, no longer rejects every caller with 401. vMCP now sends the token on discovery and JWKS requests. A relative jwksAuthTokenPath, or one containing .., now puts the VirtualMCPServer into Failed (AuthInvalid), and a token file missing from the vMCP pod stops vMCP at startup. (#7221)
  • The token validator used by the proxy and vMCP now accepts EdDSA (Ed25519) tokens. Tokens from an Ed25519-keyed embedded auth server, or from an IdP with OKP keys, no longer fail with 401. (#7253)
  • vMCP now reclaims sessions terminated on another replica from its node-local cache, by default every minute (SweepInterval). Before, their backend connections leaked until LRU eviction. (#7259)
  • vMCP releases memory held by abandoned sessions: backend health changes and list_changed notifications no longer keep idle sessions alive. Concurrent capability-cache misses from the same caller now share one backend sweep. (#7265)

🧹 Misc

  • Moved the redemption steps shared by the JWT-bearer and ID-JAG handlers into one internal redeemer, with no behavior change. (#7249)
  • Put the rule for when the authorization_details registry is reachable in one place, and added the sentinel ErrAuthorizationDetailsRegistryUnreachable. (#7281)
  • Added an opt-in e2e suite that tests Entra OBO against a real tenant (task thv-operator-e2e-test-entra). (#7251)
  • Skills are now built and published in CI with the toolhive-actions skills-publish action, which also fails CI when a skill has validation errors. (#7273)
  • Strengthened tests that show Modern (2026-07-28) vMCP list calls ignore a foreign Mcp-Session-Id. (#7276)

👋 Welcome to our newest contributor: @HankGrimm 🎉

Full commit log

What's Changed

New Contributors

Full Changelog: v0.68.0...v0.69.0

🔗 Full changelog: v0.68.0...v0.69.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release size/XS Extra small PR: < 100 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant