GitHub
07/17/2026, 8:56 PMmypy from 2.1.0 to 2.2.0
Changelog
Sourced from mypy's changelog.
Mypy Release Notes
Next Release
Packaging changes
• No longer provide mypyc-accelerated wheels for macOS x86_64 [mypyc-wheels #119](mypyc/mypy_mypyc-wheels#119)
Mypy 2.3
We've just uploaded mypy 2.3.0 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:
```
python3 -m pip install -U mypy
```
You can read the full documentation for this release on Read the Docs.
The Upcoming Switch to the New Native Parser
We are planning to enable the new native parser () by default soon. We recommend that you test the native parser in your projects and report any issues in the mypy issue tracker.--native-parser
Mypyc Free-threading Memory Safety
Free-threaded Python builds that don't have the GIL require additional synchronization primitives or lock-free algorithms to ensure memory safety when there are race conditions (for example, when a thread reads a list item while another thread writes the same list item concurrently). This release greatly improves memory safety of free threading.
List operations are now memory-safe on free threaded Python builds, even in the presence of race conditions. This has some performance cost. For list-heavy workloads, using`librt.vecs.vec` instead of list is often significantly faster, but note thatis not (and likely won't be) fully memory safe, and the user is expected to avoid race conditions. The newly introducedvechelps with this. Using variable-length tuples can also be more efficient than lists, since tuples are immutable and don't require expensive synchronization to ensure memory safety.librt.threading.Lock
Instance attribute access is also (mostly) memory safe now on free-threaded builds in the presence of race conditions. We are planning to fix the remaining unsafe cases in a future release.
Full list of changes:
• Make attribute access memory safe on free-threaded builds (Jukka Lehtosalo, PR 21705)
• Fix unsafe borrowing of instance attributes with free-threading (Jukka Lehtosalo, PR 21688)
• Make list get/set item more memory safe on free-threaded builds (Jukka Lehtosalo, PR 21683)
• Don't borrow list items on free-threaded builds (Jukka Lehtosalo, PR 21679)
• Make multiple assignment from list memory-safe on free-threaded builds (Jukka Lehtosalo, PR 21684)... (truncated) Commits • `b3c4a5b` Mark release • `396f508` [Chore] Update changelog for 2.2 (#21691) • `9592a9e` Upload wasm wheels to PyPI (#21671) • `1dc6962` Bump ast-serialize to 0.6.0 (#21664) • `96a7913` Bump librt to 0.12.0 (#21663) • `5ef0902` Fix the exportjson tool (.ff cache to .json conversion) (#21628) • `8d621ad` Support --shadow-file with --native-parser (#21623) • `74ecdd8` Sync typeshed (#21612) • `0cd1541` [mypyc] Make function wrappers thread-safe on free-threaded builds (#21620) • `22a9cfd` [mypyc] Make list remove and index thread-safe on free-threaded builds (#21614) • Additional commits viewable in compare view Updates
ty from 0.0.56 to 0.0.58
Release notes
Sourced from ty's releases.
0.0.58
Release Notes
Released on 2026-07-09.
Bug fixes
• Fix protocol matching for class variables (#26669)
• Fix reflected binary dispatch for runtime classes (#26623)
• Support cached properties in protocols (#26681)
Diagnostics
• Add assignability context to upper-bound diagnostics (#26645)
• Add blanket ignore comment rule (#26426)
• Improve protocol attribute diagnostic context (#26644)
Library support
• Pydantic: Add fields from mixin classes (#26631)
• Pydantic: Add support for(#26598)validate_by_{name,alias}
• Pydantic: Add support for(#26629)validation_alias
• Pydantic: Fix float conversion in unions (#26655)
• Pydantic: Ignore private attributes (#26630)
• Pydantic: Makefields optional by default (#26628)BaseSettings
• Pydantic: Recognize frozen models via config (#26648)
• Pydantic: Support dict model configurations (#26632)
• Pydantic: Support validation offields (#26634)RootModel
• Pydantic: Understand ellipsis as providing no default value (#26637)
Core type checking
• Gate membership narrowing onsemantics (#25964)__contains__
• Handle callable classes in solver (#26090)
• InferasModuleType.__doc__in the presence of a docstring (#26505)str
• Infer metaclass-declared attri…meltano/meltano
GitHub
07/18/2026, 3:27 AM