Skip to content

chameleon 4.4.36

Choose a tag to compare

@github-actions github-actions released this 19 Jul 22:12

Fixed

  • Inheritance and class-contract derivation now normalize generic-parameterized
    base classes. A typed cohort subclasses the SAME base parameterized per model
    (BaseRepository[User], BaseRepository[Order], ... in Python, or
    Repository<User> in TypeScript), and the extractors counted the raw
    subscripted strings as distinct bases, so N classes sharing one generic base
    produced N single-count bases that never cleared the dominance floor -- the
    shared base and its class contract were silently missed, exactly on the typed
    repository / DRF generic-view layers where the convention is strongest. Base
    names are now cut at the first [ or < (_strip_type_params) before the
    dominance count, so every BaseRepository[X] normalizes to BaseRepository.
    Surfaced by the full-matrix execution on a typed Python (Flask) column.