Skip to content

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
  • 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

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/cache from 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

Documentation

  • Module References - Fixed documentation issues
    • Removed reference to non-existent error_message_types module
    • Updated documentation to reflect current module structure

Chore

Dependencies

  • Python Version - Updated to Python 3.14

    • Added .python-version file with Python 3.14
    • Updated all Python version references to 3.14
    • Ensured compatibility with Python 3.14 features
  • Core Dependencies - Updated multiple dependencies to latest versions

    • Updated cachetools from >=6.2.6 to >=7.0.0 (cache, keycloak, minio, scylladb extras)
    • Updated elasticsearch from >=9.2.1 to >=9.3.0 (elasticsearch and elasticsearch-async extras)
    • Updated fastapi from >=0.128.0 to >=0.128.5 (fastapi extra)
    • Updated grpcio from >=1.76.0 to >=1.78.0 (grpc extra)
    • Updated grpcio-health-checking from >=1.76.0 to >=1.78.0 (grpc extra)
    • Updated sentry-sdk from >=2.51.0 to >=2.52.0 (sentry extra)
    • Updated temporalio from >=1.21.1 to >=1.22.0 (temporalio extra)
    • Updated testcontainers from >=4.14.0 to >=4.14.1 (testcontainers extra)
  • Development Dependencies - Updated development tools

    • Updated ty from >=0.0.14 to >=0.0.15 (type checker)
    • Updated ruff from >=0.14.14 to >=0.15.0 (linter and formatter)
    • Updated validate-pyproject from >=0.24.1 to >=0.25
  • Documentation Dependencies - Updated documentation tools

    - Updated mkdocstrings from >=1.0.2 to >=1.0.3

  • Test Environment - Updated test configuration
    • Updated Elasticsearch test image from 9.2.1 to 9.3.0 in .env.test