Kubeflow Pipelines SDK 2.18.1 fixes compilation of nested conditional pipelines, makes local condition evaluation safer, and gives explicitly configured credentials precedence when connecting to a KFP server.
What changes for pipeline authors
- Compile nested conditional pipelines. A pipeline that uses
dsl.Ifcan now call a pipeline component that also usesdsl.If. Upgrade the compiler and regenerate the pipeline specification for affected definitions. Compiler fix - Evaluate conditions safely during local runs. Task-output text used in a condition is now treated as data during local evaluation. The runner no longer executes that text as Python code. Local runner fix
- Use the credentials you supplied. Explicit credentials take precedence when Google Application Default Credentials are also available. The client validates the HTTPS authority before automatically selecting Google credentials, preserves the selected credential source on refresh, and limits authentication-refresh retries during polling. Credential selection · Explicit credentials fix
Installation and compatibility
Install the matching SDK distributions in your authoring environment:
python -m pip install kfp==2.18.1 kfp-server-api==2.18.1 kfp-pipeline-spec==2.18.1For pipelines that use the Kubernetes extension, also install:
python -m pip install kfp-kubernetes==2.18.1Python 3.9 remains supported through interpreter-specific dependency selections. Older dependency branches retain known security limitations. Refresh your dependency lock and rebuild component images that install the SDK when adopting the update. SDK changelog
Legacy visualization removal
Legacy Python visualization will be removed completely in the next 2.18 release. This concerns the server-side API that generates legacy visualizations, including TABLE and CUSTOM. If your integration calls that API, plan its migration now. The SDK’s local HTML/Mermaid pipeline diagrams and the V2 Run Details artifact viewers are separate features. Backend release notes · Migration guidance
Versioned SDK documentation · Kubernetes SDK reference · Full changelog from SDK 2.18.0 to 2.18.1
Contributors
Release contributors
cbartram, dependabot[bot], Gregory Tan, Grg0rry, Helber Belmiro, Herik Webb, Humair Khan, Jeff Spahr, JerT33, Sathish
Assets
Source archives (available after tag publication): ZIP · tar.gz.
See the release assets for published downloads.