Skip to content

v0.8.3

Pre-release
Pre-release

Choose a tag to compare

@severity1 severity1 released this 25 Mar 02:22
· 44 commits to main since this release
4b53cfe

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 operations
  • OrganizationParams: Parameter model for organization operations
  • VcsRepoConfig: Strongly typed model for VCS repository configurations
  • ExecutionMode: Enum for workspace execution modes

API Changes

  • Function signatures now accept an optional params parameter instead of **kwargs
  • More consistent parameter validation and error handling
  • Improved type hints with APIResponse return 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