Skip to content

Refactored Project Structure and Enhanced SDK Operations

Pre-release
Pre-release
Compare
Choose a tag to compare
@shiningflash shiningflash released this 05 Dec 19:25
· 14 commits to main since this release
b8a7539

Summary:

This release (v2.0.0) introduces a significant refactoring of the project structure and enhancements to SDK operations.

Key Features:

  1. Improved Project Structure:

    • Split core/exceptions.py into modular components: api.py, decorators.py, and resource.py.
    • Updated directory structure for better alignment with OpenAPI and best practices.
  2. Enhanced SDK Error Handling:

    • Robust handling for ContactNotFoundError and MessageNotFoundError.
    • Refactored handle_404_error for dynamic resource type support.
  3. Testing Enhancements:

    • Improved unit tests for contacts and messages modules.
    • Verified test coverage exceeds 93% across all components.
  4. Documentation Updates:

    • Reflected refactoring changes in README.md.
    • Added detailed directory structure for improved developer onboarding.

Release Notes:

  • Version: 2.0.0

Instructions:

  • Ensure .env is configured correctly using .env.example.
  • Verify CI/CD workflows and test coverage remain stable post-release.