4.0.4 — 2026-01-31¶
← 4.1.0 | 4.0.3 → | ↑ 4.x series
Changed¶
Helpers - Decorators¶
- Enhanced Exception Handling - Improved exception handling in SQLAlchemy atomic decorators
- Changed exception handling from
ExceptiontoBaseExceptionfor comprehensive error catching - Updated
_handle_db_exception()function signature to acceptBaseExceptioninstead ofException - Enhanced error handling in both sync and async atomic decorator implementations
- Ensures all exceptions (including system exceptions) are properly caught and handled
- Changed exception handling from
Models - Types¶
- Enum Value Standardization - Standardized all enum values to uppercase format for consistency
- SortOrderType: Changed
ASCENDINGandDESCENDINGfrom lowercase to uppercase - FilterOperationType: Changed all 15 operation types to uppercase (EQUAL, NOT_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, IN_LIST, NOT_IN_LIST, LIKE, ILIKE, STARTS_WITH, ENDS_WITH, CONTAINS, IS_NULL, IS_NOT_NULL)
- EmailAttachmentDispositionType: Changed
ATTACHMENTandINLINEfrom lowercase to uppercase - TimeIntervalUnitType: Changed all 7 unit types to uppercase (SECONDS, MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEAR)
- Improved consistency with other enum patterns in the codebase
- Enhanced code readability and standardization across all type definitions
- SortOrderType: Changed
Fixed¶
Adapters - StarRocks¶
- Docstring Formatting - Fixed docstring formatting in StarRocks session manager
- Corrected docstring formatting in
get_connection_args()method - Improved code documentation consistency
- Corrected docstring formatting in
Chore¶
Dependencies¶
- Comprehensive Dependency Updates - Updated multiple dependencies to latest versions
- Updated
cachetoolsfrom>=6.2.4to>=6.2.6(cache, keycloak, minio, scylladb extras) - Updated
cryptographyfrom46.0.3to46.0.4for enhanced security - Updated
protobuffrom>=6.33.4to>=6.33.5(grpc extra) - Updated
pyjwtfrom>=2.10.1to>=2.11.0(jwt extra) - Updated
python-keycloakfrom>=7.0.2to>=7.0.3(keycloak extra) - Updated
python-multipartfrom0.0.21to0.0.22 - Updated
richfrom14.3.0to14.3.1 - Updated
rich-toolkitfrom0.17.1to0.17.2 - Updated
sentry-sdkfrom>=2.50.0to>=2.51.0(sentry extra) - Updated
tyfrom>=0.0.13to>=0.0.14(dev dependency) - Updated
mkdocstringsfrom>=1.0.1to>=1.0.2(docs dependency) - Updated
pathspecfrom1.0.3to1.0.4 - Updated
orjsonfrom3.11.5to3.11.6
- Updated