Skip to content

Commit 35e805c

Browse files
update changelogs
1 parent 73b3581 commit 35e805c

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

docs/changelog.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,40 @@
22

33
All 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

0 commit comments

Comments
 (0)