4.1.0 — 2026-02-09¶
← 4.2.0 | 4.0.4 → | ↑ 4.x series
Added¶
Adapters - Keycloak¶
-
Organization Management - Implemented comprehensive organization management functionality
- Added
create_organization()method for creating new organizations - Added
update_organization()method for updating existing organizations - Added
delete_organization()method for removing organizations - Added
add_organization_member()method for adding members to organizations - Added
remove_organization_member()method for removing members from organizations - Added
get_organization_members()method for retrieving organization member lists - Implemented both sync (
KeycloakAdapter) and async (AsyncKeycloakAdapter) versions - Enhanced feature tests to cover all organization operations
- Added
-
Realm Configuration - Added realm update functionality
- Implemented
update_realm()method to enable organization support - Added configuration options for organization features in realms
- Updated test containers to support organization feature in Keycloak
- Implemented
Tests¶
-
StarRocks TestContainer - Added TestContainer support for StarRocks database
- Integrated StarRocks container for integration testing
- Enhanced test coverage for StarRocks adapter functionality
-
Atomic Transaction Tests - Expanded test coverage for atomic decorators
- Added PostgreSQL support for atomic transaction tests
- Added SQLite support for atomic transaction tests
- Improved test reliability across different database backends
Changed¶
Development Tools¶
- Formatter Migration - Replaced Black with Ruff formatter
- Migrated from Black to Ruff formatter for code formatting
- Applied Ruff formatting fixes across entire codebase
- Updated CI/CD workflows to use Ruff formatter
- Maintained 120 character line length standard
CI/CD¶
- Workflow Improvements - Enhanced GitHub Actions workflows
- Separated Ruff and Ty linting into dedicated workflows
- Refactored Ty workflow for better performance
- Bumped
actions/cachefrom version 4 to 5 - Improved workflow reliability and execution speed
Fixed¶
Configuration¶
- Type Safety - Resolved type checker errors
- Fixed type errors in
base_config.py - Fixed type errors in
keycloak_utils.py - Improved type hint accuracy across configuration modules
- Fixed type errors in
Documentation¶
- Module References - Fixed documentation issues
- Removed reference to non-existent
error_message_typesmodule - Updated documentation to reflect current module structure
- Removed reference to non-existent
Chore¶
Dependencies¶
-
Python Version - Updated to Python 3.14
- Added
.python-versionfile with Python 3.14 - Updated all Python version references to 3.14
- Ensured compatibility with Python 3.14 features
- Added
-
Core Dependencies - Updated multiple dependencies to latest versions
- Updated
cachetoolsfrom>=6.2.6to>=7.0.0(cache, keycloak, minio, scylladb extras) - Updated
elasticsearchfrom>=9.2.1to>=9.3.0(elasticsearch and elasticsearch-async extras) - Updated
fastapifrom>=0.128.0to>=0.128.5(fastapi extra) - Updated
grpciofrom>=1.76.0to>=1.78.0(grpc extra) - Updated
grpcio-health-checkingfrom>=1.76.0to>=1.78.0(grpc extra) - Updated
sentry-sdkfrom>=2.51.0to>=2.52.0(sentry extra) - Updated
temporaliofrom>=1.21.1to>=1.22.0(temporalio extra) - Updated
testcontainersfrom>=4.14.0to>=4.14.1(testcontainers extra)
- Updated
-
Development Dependencies - Updated development tools
- Updated
tyfrom>=0.0.14to>=0.0.15(type checker) - Updated
rufffrom>=0.14.14to>=0.15.0(linter and formatter) - Updated
validate-pyprojectfrom>=0.24.1to>=0.25
- Updated
-
Documentation Dependencies - Updated documentation tools
- Updated
mkdocstringsfrom>=1.0.2to>=1.0.3¶ - Test Environment - Updated test configuration
- Updated Elasticsearch test image from
9.2.1to9.3.0in.env.test
- Updated Elasticsearch test image from