File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33All notable changes to ArchiPy are documented in this changelog, organized by version.
44
5+ ## [ 3.5.1] - 2025-07-28
6+
7+ ### Bug Fixes
8+
9+ #### HTTP Status Code Handling
10+
11+ - ** Status Code Name Mismatch** - Fixed critical issue in FastAPIExceptionHandler where ` http_status_code ` was incorrectly referenced
12+ - Changed from ` exception.http_status_code ` to ` exception.http_status_code_value ` for proper status code retrieval
13+ - Resolved HTTP status code name mismatch that was causing incorrect error responses
14+ - Improved error handling consistency in FastAPI exception processing
15+
16+ ### Improvements
17+
18+ #### Protobuf DTO Runtime Type Safety
19+
20+ - ** Runtime Type Checking** - Enhanced BaseProtobufDTO with comprehensive runtime type validation
21+ - Added runtime type checking in ` from_proto() ` method to validate input parameter types
22+ - Implemented proper type validation before protobuf message processing
23+ - Enhanced error messages with clear type mismatch information
24+
25+ #### Custom Exception Integration
26+
27+ - ** Custom Exception Handling** - Replaced generic TypeError with domain-specific InvalidEntityTypeError
28+ - Updated protobuf DTO type validation to use ` InvalidEntityTypeError ` for better error categorization
29+ - Improved error context with expected and actual type information
30+ - Enhanced error handling consistency across the protobuf DTO system
31+
32+ ### Code Quality Enhancements
33+
34+ - ** Error Handling Consistency** - Standardized error handling patterns across protobuf DTO operations
35+ - Improved error message clarity and debugging capabilities
36+ - Enhanced type safety with proper exception chaining
37+ - Maintained backward compatibility while improving error reporting
38+
539## [ 3.5.0] - 2025-07-26
640
741### New Features
You can’t perform that action at this time.
0 commit comments