Skip to content

v0.2.0-alpha.14

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Dec 13:43
· 83 commits to main since this release

Integrations replace workspace secrets across the API, SDKs, CLI and web UI. One additive migration (0026) turns referenced secrets into integrations; a secret's credentials carry over only to hosts it was allowed to reach. Roll forward only: a release before 0026 can't read integration credentials set after it. Gradiated Cloud keeps grad's own store until GRAD_CLOUD_INTEGRATIONS is switched on (see docs/CLOUD_MODE.md, Integrations: not a rolling update).

  • Integrations replace workspace secrets (breaking):
    • Added /v1/integrations (create, list, get, update, delete, test): account-level connections to Langfuse, LangSmith, Braintrust, PostHog, Phoenix, Hugging Face, W&B and MLflow with typed, write-only credentials (Langfuse public_key + secret_key, never PK:SK), a server-derived host binding, a connection status (ok, failing, untested) and used_by. Deleting one in use is 409 integration_in_use with used_by.
    • Sources, Hugging Face dataset and artifact imports, and W&B/MLflow loggers take integration instead of secret; it may be left out when the workspace has exactly one integration of that provider (422 integration_ambiguous lists several). Source providers and loggers lose host, secret and tracking_uri (they live on the integration). Rotating an integration's credentials resumes its paused sources.
    • Removed /v1/secrets, grad secrets, the SDKs' secrets resources (SecretRef, SecretLike, secretName) and allowed_hosts. The secrets:read/secrets:write scopes are now integrations:read/integrations:write.
    • CLI: grad integrations add|list|get|test|update|rm (hidden prompts, stdin or --from-env with each provider's own variables; add tests the connection) and grad sources add DATASET --from INTEGRATION.
    • The migration turns every referenced workspace secret into an integration and rewrites the references; unreferenced secrets are reported, not guessed. On Gradiated Cloud (GRAD_CLOUD_INTEGRATIONS=true), integrations live in the main API and grad keeps no credentials.
    • The web UI's Settings page manages integrations (test, rotate, delete while unused) instead of secrets.