Repository navigation
v0.8.3
Pre-release
Pre-release
v0.8.3 (2025-03-25)
Pydantic Model Migration
This release introduces a significant architectural improvement by migrating from using **kwargs to explicit Pydantic parameter models for API requests. This change provides better type safety, IDE support, and code maintainability.
Completed Migrations
- Workspace Management: All workspace management tools have been migrated to use the new Pydantic pattern
- Organization Management: Organization tools updated to use the same pattern for consistency
New Models
WorkspaceParams: Parameter model for workspace operationsOrganizationParams: Parameter model for organization operationsVcsRepoConfig: Strongly typed model for VCS repository configurationsExecutionMode: Enum for workspace execution modes
API Changes
- Function signatures now accept an optional
paramsparameter instead of**kwargs - More consistent parameter validation and error handling
- Improved type hints with
APIResponsereturn type - More detailed docstrings that reflect all available parameters
Documentation Updates
- Updated development guidelines to reflect the new Pydantic pattern
- Added migration roadmap for remaining modules
- Enhanced code examples in documentation
Developer Benefits
- Better IDE autocomplete for parameter options
- Improved type checking and validation
- More consistent API interface
- Less hidden behavior with explicit parameter models
Notes
Future releases will continue this migration pattern for the remaining API modules (Runs, Variables, State Versions, etc.).
Full Changelog: v0.8.2...v0.8.3