Sourced from mypy's changelog.
Mypy 1.20.2
- Use WAL with SQLite cache and fix close (Shantanu, PR 21154)
- Adjust SQLite journal mode (Ivan Levkivskyi, PR 21217)
- Correctly aggregate narrowing information on parent expressions (Shantanu, PR 21206)
- Fix regression related to generic callables (Shantanu, PR 21208)
- Fix regression by avoiding widening types in some contexts (Shantanu, PR 21242)
- Fix slicing in non-strict optional mode (Shantanu, PR 21282)
- mypyc: Fix match statement semantics for "or" pattern (Shantanu, PR 21156)
- mypyc: Fix issue with module dunder attributes (Piotr Sawicki, PR 21275)
- Initial support for Python 3.15.0a8 (Marc Mueller, PR 21255)
Acknowledgements
Thanks to all mypy contributors who contributed to this release:
- A5rocks
- Aaron Wieczorek
- Adam Turner
- Ali Hamdan
- asce
- BobTheBuidler
- Brent Westbrook
- Brian Schubert
- bzoracler
- Chris Burroughs
- Christoph Tyralla
- Colin Watson
- Donghoon Nam
- E. M. Bray
- Emma Smith
- Ethan Sarp
- George Ogden
- getzze
- grayjk
- Gregor Riepl
- Ivan Levkivskyi
- James Hilliard
- James Le Cuirot
- Jeremy Nimmer
- Joren Hammudoglu
- Kai (Kazuya Ito)
- kaushal trivedi
- Kevin Kannammalil
- Lukas Geiger
- Ćukasz Langa
- Marc Mueller
- Michael R. Crusoe
- michaelm-openai
- Neil Schemenauer
- Piotr Sawicki
... (truncated)
145a062
Bump version to 1.20.281cd492
Fix slicing with nonstrict optional (#21282)908d344
[mypyc] Set dunder attrs when adding module to sys.modules (#21275)ba28610
Initial support for Python 3.15.0a8 (#21255)7b0e09f
Fix match statement semantics for "or" pattern (#21156)92b74f2
Avoid widening types in conditional_types (#21242)0dcbfaa
Fix is_overlapping_types for generic callables (#21208)210f518
Correctly aggregate narrowing information on parent expressions (#21206)c34530e
Only set journal mode in coordinator (#21217)79a3ec6
Use WAL with SQLite cache, fix close (#21154)