GitHub
07/31/2026, 8:33 PMtyping.TypeAlias) type aliases (#27092)
• Allow equality narrowing across non-final classes (#27031)
• Allow interpolated string literals to be promoted to str (#27104)
• Fix double specialization of generic type aliases (#27058)
• Fix intersections of type and TypeForm (#27099)
• When narrowing from a match statement leads a variable x to be inferred as A & B, infer the type of x.attr as <type of A.attr> & <type of B.attr> (#27103)
Library support
• Pydantic: Stricter validation of sub-model fields in lax mode (#27091)
• Pydantic: Support special underscore parameters in BaseSettings models (#27098)
Performance
• Avoid exponential narrowing of optional dynamic match subjects (#27100)
• Avoid normalizing cached absolute file paths (#26998)
Contributors
• @sharkdp
• @charliermarsh
• @ibraheemdev
• @carljm
`v0.0.62`
Compare Source
Released on 2026-07-21.
Bug fixes
• Guard recursive Protocol and TypedDict relations (#26990)
• Prevent stack overflows in recursive type relation checks (#26503)
• Recover from cancelled file indexing (#26876)
Diagnostics
• Avoid editing ignore comments with trailing reasons (#26939)
• Prefer innermost inline suppressions (#26940)
• Remove unused own-line ignore comments (#27013)
• Reuse applicable own-line suppressions in --add-ignore (#26925)
Configuration
• Respect rules and analysis in PEP 723 script metadata configurations (#26671)
Core type checking
• Accept gradual constrained TypeVar solutions (#26965)
• Avoid recursive TypeVarTuple alias expansion (#27032)
• Check inherited method conflicts via the MRO (#27019)
• Contextually infer custom __setattr__ assignments (#27015)
• Fix Callable isinstance reachability (#26970)
• Fix Just[float] protocol matching (#27053)
• Fix Self binding for classmethod __new__ constructors (#27030)
• Fix nested short-circuit flow snapshots (#26956)
• Gate TypedDict PEP 728 parameters by Python version (#26968)
• Improve match reachability inference around value-pattern branches (#26979)
• Make membership and equality narrowing consistent (<https://redirect.github.com/astral-sh/ruff/pull/…
meltano/meltanoGitHub
07/31/2026, 8:35 PM