Skip to content

Update module github.com/stacklok/toolhive to v0.23.1 - #135

Merged
JAORMX merged 1 commit into
mainfrom
renovate/github.com-stacklok-toolhive-0.x
Apr 22, 2026
Merged

JAORMX merged 1 commit into
mainfrom
renovate/github.com-stacklok-toolhive-0.x

Conversation

@renovate

@renovate renovate Bot commented Apr 21, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/stacklok/toolhive v0.21.0 → v0.23.1 age confidence

Release Notes

stacklok/toolhive (github.com/stacklok/toolhive)

v0.23.1

Compare Source

What's Changed

Full Changelog: stacklok/toolhive@v0.23.0...v0.23.1

v0.23.0

Compare Source

🚀 Toolhive v0.23.0 is live!

A milestone release: ToolHive's CRD API graduates from v1alpha1 to v1beta1, signaling API stability — with a zero-downtime upgrade path that keeps existing v1alpha1 resources working untouched. Two targeted operator bug fixes round out the release.

🔄 Deprecations

  • toolhive.stacklok.dev/v1alpha1 deprecated in favour of toolhive.stacklok.dev/v1beta1 — will be removed in a future release (#​4849). Both versions are served simultaneously; existing resources continue to work untouched. kubectl now prints a deprecation warning on every access to a v1alpha1 resource — migrate manifests to apiVersion: toolhive.stacklok.dev/v1beta1 at your own pace.
Migration guide: CRD graduation to v1beta1

All 12 ToolHive CRD kinds (MCPServer, MCPGroup, MCPRegistry, MCPRemoteProxy, MCPToolConfig, MCPExternalAuthConfig, VirtualMCPServer, VirtualMCPGroup, VirtualMCPCompositeToolDefinition, and their peers) are now served at both v1alpha1 and v1beta1. The schemas are identical — only the version string differs — so there is no data-format migration to perform.

Who is affected: anyone with manifests pinned to apiVersion: toolhive.stacklok.dev/v1alpha1.

Before
apiVersion: toolhive.stacklok.dev/v1alpha1
kind: MCPServer
metadata:
  name: my-server
spec:
  # ...
After
apiVersion: toolhive.stacklok.dev/v1beta1
kind: MCPServer
metadata:
  name: my-server
spec:
  # ...
Migration steps
  1. Upgrade the operator and CRDs charts to v0.23.0 — no resource deletion or recreation is required. All existing v1alpha1 resources survive the upgrade with unchanged Deployment UIDs.
  2. Update your manifests to use apiVersion: toolhive.stacklok.dev/v1beta1 and re-apply them. Kubernetes stores the new version in etcd; the object's status.storedVersions will advance to include v1beta1.
  3. Once all stored objects have been re-applied at v1beta1, a future release will drop the v1alpha1 entry from the CRDs. Migrate at your convenience before then.

PR: #​4849 — Closes #​2556

🆕 New Features

  • CRDs now serve toolhive.stacklok.dev/v1beta1 as the storage version, with v1alpha1 kept served-and-deprecated for zero-downtime upgrades (#​4849).
  • Server-scoped Cedar policies like resource in MCP::"<server-name>" now work — resource entities (Tool, Prompt, Resource) carry the MCP server as a parent UID so Cedar's in operator can traverse the hierarchy (#​4965).

🐛 Bug Fixes

  • MCPExternalAuthConfig upstream providers with redirectUri omitted now get the documented {resourceUrl}/oauth/callback default applied by the operator, instead of failing at runtime with redirect_uri is required. Applies to both MCPServer and VirtualMCPServer flows (#​4905).
Full commit log

What's Changed

🔗 Full changelog: stacklok/toolhive@v0.22.0...v0.23.0

v0.22.0

Compare Source

🚀 Toolhive v0.22.0 is live!

This release lays the groundwork for the new thv vmcp command suite (serve / validate / init with optional TEI-backed semantic optimization — currently hidden while it stabilizes), expands identity coverage for Cedar authorization across Entra, Okta, Auth0, and Keycloak token shapes, and brings a wave of quality-of-life improvements to the skills, audit, secrets, and operator flows.

🆕 New Features

  • Upstream OAuth providers now accept additionalAuthorizationParams, enabling Google's access_type=offline and similar flows that require refresh tokens (#​4862).
  • Cedar group extraction handles dual-claim (Entra roles + groups) and dot-notation nested claims (realm_access.roles for Keycloak, URL-style claims for Auth0/Okta) (#​4911).
  • Resource entities in Cedar now expose a name attribute, letting policies match on the real (unsanitized) resource URI (#​4907).
  • POST /api/v1beta/workloads accepts optional registry and server fields, so clients can create a workload from a registry entry in a single call without fetching metadata first (#​4872).
  • New thv secret list --system and thv secret delete --system expose and clean up the internal __thv_* tokens (registry OAuth, workload auth, enterprise login) (#​4910).
  • Workloads stopped by a policy violation now surface a first-class policy_stopped status (🚫 in thv list/thv status), and restarts are gated by the active policy (#​4857).
  • thv skill install <skill> defaults to only installing into clients actually present on the system, with a clearer 400 error when no clients are detected (#​4899).
  • Empty parent directories are cleaned up when the last skill for a client is uninstalled (#​4895).
  • Proxy audit middleware now distinguishes JSON-RPC application errors from HTTP-level success, logging them as outcome=application_error with jsonrpc_error_code/message metadata (enabled by default; togglable via detectApplicationErrors) (#​4709).
  • Initial thv vmcp command scaffolding landed (currently hidden from --help): serve with zero-config quick mode via --group, validate, and init for generating starter configs, plus optional Tier 1/Tier 2 semantic optimization backed by an on-demand HuggingFace TEI container (#​4891, #​4900, #​4903, #​4912, #​4913, #​4939, #​4940).

🐛 Bug Fixes

  • vMCPs whose backends all require upstream OAuth no longer get stuck in PhaseFailed — unauthenticated backends are now treated as routable and report CRD status unauthenticated (#​4866).
  • partialFailureMode: best_effort now actually works — the validator was rejecting the CRD-defined enum value (#​4865).
  • Misconfigured OIDCConfigRef.Audience values that didn't match the embedded auth server's ResourceURL now fail fast with a clear reconciliation error instead of silently dropping every request at token validation (#​4904).
  • thv skill install io.github.stacklok/<skill> (and similar qualified namespace/name references) now fall back to the registry catalog when OCI pull fails, and first-time installs no longer fail to acquire the file lock when the skills directory doesn't yet exist (#​4841).
  • Deployment drift checks now account for embedded-auth env vars, so operator-generated MCPServer/MCPRemoteProxy deployments stop being incorrectly flagged as drifted (#​4878).
  • Failed TEI container starts in thv vmcp serve are now cleaned up instead of leaking a running container, and EmbeddingImage is defaulted consistently alongside EmbeddingModel (#​4948).
  • OCI skill pull failures now return 502 Bad Gateway (matching the git path) instead of 400 Bad Request, and registry entries without an installable package return 422 Unprocessable Entity instead of 404 Not Found (#​4956, #​4841).

🧹 Misc

  • Default builder images bumped to current stable releases: golang:1.26-alpine, python:3.14-slim, node:24-alpine. Existing --runtime-image or config overrides are unaffected (#​4955, #​4953, #​4954).
  • Cedar entity factory refactored so dynamic THVGroup entities no longer clobber static ones loaded from entities_json — parent relationships are now passed as variadic EntityUID values (#​4901).
  • pkg/skills/skillsvc monolithic file split into 13 per-concern files for production and matching test files — pure reorganisation, no API changes (#​4947).
  • thv vmcp command kept hidden from --help and shell completion while it stabilizes (#​4967).
  • Image verification mode now threaded through WorkloadService rather than hardcoded at two call sites (#​4966).
  • Additional tests for Cedar group-based authorization, pkg/vmcp/cli, and e2e coverage of the new thv vmcp command (#​4898, #​4941, #​4964).
  • Copilot review follow-ups on the embedding manager, plus a finish-up on defaultTEIImage rename (#​4938, #​4957).
  • Documentation updates: operator authServerRef architecture, category-based Redis ACLs, README, and the new 502 Bad Gateway OpenAPI annotation for skill install (#​4780, #​4915, #​4946, #​4960).

📦 Dependencies

Module Version
github.com/moby/spdystream v0.5.1
github.com/go-git/go-git/v5 v5.18.0
github.com/sigstore/timestamp-authority/v2 v2.0.6
github.com/stacklok/toolhive-catalog v0.20260421.0
alpine (Docker) v3.23.4
github/codeql-action digest 95e58e9
anthropics/claude-code-action digest 5d5c10a
actions/cache digest 27d5ce7

👋 Welcome to our newest contributor: @​SAY-5 🎉

Full commit log

What's Changed

New Contributors

🔗 Full changelog: stacklok/toolhive@v0.21.0...v0.22.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 16 additional dependencies were updated

Details:

Package Change
github.com/go-openapi/jsonpointer v0.22.4 -> v0.22.5
github.com/go-openapi/jsonreference v0.21.4 -> v0.21.5
github.com/go-openapi/swag v0.25.4 -> v0.25.5
github.com/go-openapi/swag/cmdutils v0.25.4 -> v0.25.5
github.com/go-openapi/swag/conv v0.25.4 -> v0.25.5
github.com/go-openapi/swag/fileutils v0.25.4 -> v0.25.5
github.com/go-openapi/swag/jsonname v0.25.4 -> v0.25.5
github.com/go-openapi/swag/jsonutils v0.25.4 -> v0.25.5
github.com/go-openapi/swag/loading v0.25.4 -> v0.25.5
github.com/go-openapi/swag/mangling v0.25.4 -> v0.25.5
github.com/go-openapi/swag/netutils v0.25.4 -> v0.25.5
github.com/go-openapi/swag/stringutils v0.25.4 -> v0.25.5
github.com/go-openapi/swag/typeutils v0.25.4 -> v0.25.5
github.com/go-openapi/swag/yamlutils v0.25.4 -> v0.25.5
github.com/go-viper/mapstructure/v2 v2.4.0 -> v2.5.0
github.com/moby/spdystream v0.5.0 -> v0.5.1

@renovate
renovate Bot force-pushed the renovate/github.com-stacklok-toolhive-0.x branch from 5fb7a6a to 9b75404 Compare April 21, 2026 22:02
@renovate renovate Bot changed the title Update module github.com/stacklok/toolhive to v0.22.0 Update module github.com/stacklok/toolhive to v0.23.1 Apr 21, 2026
@JAORMX
JAORMX merged commit 5089522 into main Apr 22, 2026
8 checks passed
@JAORMX
JAORMX deleted the renovate/github.com-stacklok-toolhive-0.x branch April 22, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant