Skip to content

Commit 5bba0c3

Browse files
authored
Update changelog for 1.19.1 (#20414)
Also change the header for 1.18 because of #19910 and simplify the draft release notes for 1.20
1 parent 6e449e7 commit 5bba0c3

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

CHANGELOG.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,14 @@ Support for this will be dropped in the first half of 2026!
1111

1212
Contributed by Marc Mueller (PR [20156](https://github.com/python/mypy/pull/20156)).
1313

14-
### Removed Flag: `--force-uppercase-builtins`
14+
### Removed flags `--force-uppercase-builtins` and `--force-union-syntax`
1515

16-
Removed the deprecated `--force-uppercase-builtins` flag. It has been a no-op since mypy 1.17.0.
16+
The `--force-uppercase-builtins` flag was deprecated and has been a no-op since mypy 1.17.0.
17+
Since mypy has dropped support for Python 3.9, the `--force-union-syntax` flag is no longer
18+
necessary.
1719

1820
Contributed by Marc Mueller (PR [20410](https://github.com/python/mypy/pull/20410))
19-
20-
### Removed Flag: `--force-union-syntax`
21-
22-
Mypy only supports Python 3.10+. Removed the `--force-union-syntax` flag as it's no longer necessary.
23-
24-
Contributed by Marc Mueller (PR [20405](https://github.com/python/mypy/pull/20405))
21+
and (PR [20405](https://github.com/python/mypy/pull/20405)).
2522

2623
## Mypy 1.19
2724

@@ -228,6 +225,17 @@ Related PRs:
228225

229226
Please see [git log](https://github.com/python/typeshed/commits/main?after=ebce8d766b41fbf4d83cf47c1297563a9508ff60+0&branch=main&path=stdlib) for full list of standard library typeshed stub changes.
230227

228+
### Mypy 1.19.1
229+
230+
- Fix noncommutative joins with bounded TypeVars (Shantanu, PR [20345](https://github.com/python/mypy/pull/20345))
231+
- Respect output format for cached runs by serializing raw errors in cache metas (Ivan Levkivskyi, PR [20372](https://github.com/python/mypy/pull/20372))
232+
- Allow `types.NoneType` in match cases (A5rocks, PR [20383](https://github.com/python/mypy/pull/20383))
233+
- Fix mypyc generator regression with empty tuple (BobTheBuidler, PR [20371](https://github.com/python/mypy/pull/20371))
234+
- Fix crash involving Unpack-ed TypeVarTuple (Shantanu, PR [20323](https://github.com/python/mypy/pull/20323))
235+
- Fix crash on star import of redefinition (Ivan Levkivskyi, PR [20333](https://github.com/python/mypy/pull/20333))
236+
- Fix crash on typevar with forward ref used in other module (Ivan Levkivskyi, PR [20334](https://github.com/python/mypy/pull/20334))
237+
- Fail with an explicit error on PyPy (Ivan Levkivskyi, PR [20389](https://github.com/python/mypy/pull/20389))
238+
231239
### Acknowledgements
232240

233241
Thanks to all mypy contributors who contributed to this release:
@@ -263,7 +271,7 @@ Thanks to all mypy contributors who contributed to this release:
263271

264272
I’d also like to thank my employer, Dropbox, for supporting mypy development.
265273

266-
## Mypy 1.18.1
274+
## Mypy 1.18
267275

268276
We’ve just uploaded mypy 1.18.1 to the Python Package Index ([PyPI](https://pypi.org/project/mypy/)).
269277
Mypy is a static type checker for Python. This release includes new features, performance

0 commit comments

Comments
 (0)