Refactored Project Structure and Enhanced SDK Operations
Pre-release
Pre-release
Summary:
This release (v2.0.0) introduces a significant refactoring of the project structure and enhancements to SDK operations.
Key Features:
-
Improved Project Structure:
- Split
core/exceptions.py
into modular components:api.py
,decorators.py
, andresource.py
. - Updated directory structure for better alignment with OpenAPI and best practices.
- Split
-
Enhanced SDK Error Handling:
- Robust handling for
ContactNotFoundError
andMessageNotFoundError
. - Refactored
handle_404_error
for dynamic resource type support.
- Robust handling for
-
Testing Enhancements:
- Improved unit tests for
contacts
andmessages
modules. - Verified test coverage exceeds 93% across all components.
- Improved unit tests for
-
Documentation Updates:
- Reflected refactoring changes in
README.md
. - Added detailed directory structure for improved developer onboarding.
- Reflected refactoring changes in
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.