Skip to content

release: 0.151.0 - #222

Merged
rgarcia merged 3 commits into
mainfrom
release-please--branches--main--changes--next
Nov 19, 2026
Merged

rgarcia merged 3 commits into
mainfrom
release-please--branches--main--changes--next

Conversation

@kernel-internal

@kernel-internal kernel-internal Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Automated Release PR

0.151.0 (2026-11-19)

Features

  • Implement workload identity federation and service account credentials (a6dd0c4)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions


Note

High Risk
Expands auth/credential APIs with new federation resources, session-only access rules, and a breaking type rename plus changed default API key list filtering.

Overview
Release 0.151.0 adds organization workload identity and service account APIs to the Python client, wired through sync/async Kernel clients plus raw and streaming response helpers.

New client surfaces include service_accounts (CRUD), workload_identity_issuers (CRUD plus verify), workload_identity_federation_rules (CRUD), and workload_identity_authentication_events (list). Supporting Pydantic types and list/create/update params ship alongside generated API tests. Signed-in sessions are required for these endpoints; API keys receive 403.

API key listing gains filters created_by, principal_type, project_id, service_account_id, and a status=expired value. Default status=active no longer includes expired keys (behavior change vs prior default semantics).

Breaking rename from 0.150.0: kernel.types.api_key.Principal → APIKeyPrincipal, and auth context WorkloadIdentity → AuthContextWorkloadIdentity (moved to dedicated modules and public exports).

Reviewed by Cursor Bugbot for commit 1101925. Bugbot is set up for automated code reviews on this repo. Configure here.

…entials

Stainless-Generated-From: 31fab83940114fff242ca82b5d35428d06586d60

@rgarcia rgarcia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Generated output matches the API (17 new management operations, the API key list filters and the expired status). Changelog now lists the API changes, including the change to status=active.

@rgarcia
rgarcia merged commit b8c5617 into main Nov 19, 2026
11 checks passed
@kernel-internal

Copy link
Copy Markdown
Contributor Author

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant