Skip to content

release: 0.10.4#338

Merged
stainless-app[bot] merged 5 commits intomainfrom
release-please--branches--main--changes--next
May 4, 2026
Merged

release: 0.10.4#338
stainless-app[bot] merged 5 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app Bot commented Apr 30, 2026

Automated Release PR

0.10.4 (2026-05-04)

Full Changelog: v0.10.3...v0.10.4

Features

  • add service account id option for registering agentex agents (8365771)

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

Greptile Summary

This PR bumps the SDK version from 0.10.3 to 0.10.4 and introduces a service_account_id alternative to user_id in the auth principal configuration. The validation logic in validation.py is updated to enforce an XOR constraint (exactly one of the two fields must be set), the docstring in environment_config.py is updated with an example, and a new test file covers all four principal-shape cases.

Confidence Score: 5/5

Safe to merge — changes are well-scoped, correctly implemented, and covered by tests.

The logic change is simple, correct, and backward-compatible (existing user_id-only configs continue to work). All four principal-shape cases are tested. No security concerns or edge cases left unhandled.

No files require special attention.

Important Files Changed

Filename Overview
src/agentex/lib/sdk/config/validation.py Validation logic updated to accept either user_id or service_account_id (XOR) in the auth principal; error messages and helper tips updated accordingly
tests/lib/cli/test_validation.py New test file covering all four principal shape cases: user_id-only, service_account_id-only, neither, and both — good coverage of the XOR constraint
src/agentex/lib/sdk/config/environment_config.py Docstring updated to document the new service_account_id option with a YAML example; follows the existing docstring style
pyproject.toml Version bumped from 0.10.3 to 0.10.4
src/agentex/_version.py Version string updated to 0.10.4
CHANGELOG.md Release notes added for 0.10.4 documenting the new service account id feature
.release-please-manifest.json Release manifest updated to 0.10.4

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Auth Principal dict] --> B{user_id present?}
    A --> C{service_account_id present?}
    B -- No --> D{service_account_id present?}
    D -- No --> E[❌ ValueError: must contain one of user_id or service_account_id]
    D -- Yes --> F[✅ Valid: service_account_id-only principal]
    B -- Yes --> G{service_account_id also present?}
    G -- Yes --> H[❌ ValueError: must not contain both]
    G -- No --> I[✅ Valid: user_id-only principal]
    I --> J{user_id matches env indicator?}
    J -- No --> K[⚠️ logger.warning: consider including env name]
    J -- Yes --> L[Validation passed]
    K --> L
Loading

Reviews (3): Last reviewed commit: "release: 0.10.4" | Re-trigger Greptile

Retroactive conventional commit for PR #332, which was merged without a conventional commit message. Documents the change for release-please changelog generation.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 723e9e4 to 3f8256a Compare May 4, 2026 16:12
@stainless-app stainless-app Bot changed the title release: 0.10.4 release: 0.11.0 May 4, 2026
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 3f8256a to 9ed75a9 Compare May 4, 2026 16:13
@declan-scale declan-scale changed the title release: 0.11.0 release: 0.10.4 May 4, 2026
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented May 4, 2026

Release version edited manually

The Pull Request version has been manually set to 0.10.4 and will be used for the release.

If you instead want to use the version number 0.11.0 generated from conventional commits, just remove the label autorelease: custom version from this Pull Request.

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 9ed75a9 to 3f24d83 Compare May 4, 2026 16:16
@stainless-app stainless-app Bot merged commit ed6fd5e into main May 4, 2026
32 checks passed
@stainless-app stainless-app Bot deleted the release-please--branches--main--changes--next branch May 4, 2026 16:25
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented May 4, 2026

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.

2 participants