Sourced from orjson's changelog.
3.11.8 - 2026-03-31
Changed
- Build and compatibility improvements.
Sourced from ruff's releases.
0.15.8
Release Notes
Released on 2026-03-26.
Preview features
- [
ruff] New ruleunnecessary-if(RUF050) (#24114)- [
ruff] New ruleuseless-finally(RUF072) (#24165)- [
ruff] New rulef-string-percent-format(RUF073): warn when using%operator on an f-string (#24162)- [
pyflakes] Recognizefrozendictas a builtin for Python 3.15+ (#24100)Bug fixes
- [
flake8-async] Use fully-qualifiedanyio.lowlevelimport in autofix (ASYNC115) (#24166)- [
flake8-bandit] Check tuple arguments for partial paths inS607(#24080)- [
pyflakes] Skipundefined-name(F821) for conditionally deleted variables (#24088)E501/W505/formatter: Exclude nested pragma comments from line width calculation (#24071)- Fix
%foo?parsing in IPython assignment expressions (#24152)analyze graph: resolve string imports that reference attributes, not just modules (#24058)Rule changes
- [
eradicate] ignorety: ignorecomments inERA001(#24192)- [
flake8-bandit] Treatsys.executableas trusted input inS603(#24106)- [
flake8-self] RecognizeSelfannotation andselfassignment inSLF001(#24144)- [
pyflakes]F507: Fix false negative for non-tuple RHS in%-formatting (#24142)- [
refurb] Parenthesize generator arguments inFURB142fixer (#24200)Performance
- Speed up diagnostic rendering (#24146)
Server
- Warn when Markdown files are skipped due to preview being disabled (#24150)
Documentation
- Clarify
extend-ignoreandextend-selectsettings documentation (#24064)- Mention AI policy in PR template (#24198)
Other changes
- Use trusted publishing for NPM packages (#24171)
Contributors
... (truncated)
Sourced from ruff's changelog.
0.15.8
Released on 2026-03-26.
Preview features
- [
ruff] New ruleunnecessary-if(RUF050) (#24114)- [
ruff] New ruleuseless-finally(RUF072) (#24165)- [
ruff] New rulef-string-percent-format(RUF073): warn when using%operator on an f-string (#24162)- [
pyflakes] Recognizefrozendictas a builtin for Python 3.15+ (#24100)Bug fixes
- [
flake8-async] Use fully-qualifiedanyio.lowlevelimport in autofix (ASYNC115) (#24166)- [
flake8-bandit] Check tuple arguments for partial paths inS607(#24080)- [
pyflakes] Skipundefined-name(F821) for conditionally deleted variables (#24088)E501/W505/formatter: Exclude nested pragma comments from line width calculation (#24071)- Fix
%foo?parsing in IPython assignment expressions (#24152)analyze graph: resolve string imports that reference attributes, not just modules (#24058)Rule changes
- [
eradicate] ignorety: ignorecomments inERA001(#24192)- [
flake8-bandit] Treatsys.executableas trusted input inS603(#24106)- [
flake8-self] RecognizeSelfannotation andselfassignment inSLF001(#24144)- [
pyflakes]F507: Fix false negative for non-tuple RHS in%-formatting (#24142)- [
refurb] Parenthesize generator arguments inFURB142fixer (#24200)Performance
- Speed up diagnostic rendering (#24146)
Server
- Warn when Markdown files are skipped due to preview being disabled (#24150)
Documentation
- Clarify
extend-ignoreandextend-selectsettings documentation (#24064)- Mention AI policy in PR template (#24198)
Other changes
- Use trusted publishing for NPM packages (#24171)
Contributors
... (truncated)
c2a8815
Release 0.15.8 (#24217)d444d52
[ty] Infer lambda expressions with Callable type context
(#22633)9622285
[ty] Autocomplete arguments if in arguments node (#24167)d812662
Use the release environment in publish-docs
(#24214)eda2355
[ty] Show Final source in final assignment diagnostic (#24194)929eb52
[ty] Enforce Final attribute assignment rules for annotated and
augmented wri...34998be
[ty] Fix typo in comment (#24211)560aca0
[ty] Minor simplifications to some benchmark code (#24209)683bae5
[ty] Track non-terminal-call constraints in global scope (#23245)4704c2a
[ty] Remove unnecessary intermediate collection in
`StaticClassLiteral::field...Sourced from mypy's changelog.
Mypy Release Notes
Next Release
Mypy 1.20
We’ve just uploaded mypy 1.20.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 mypyYou can read the full documentation for this release on Read the Docs.
Planned Changes to Defaults and Flags in Mypy 2.0
As a reminder, we are planning to enable
--local-partial-typesby default in mypy 2.0, which will likely be the next feature release. This will often require at least minor code changes. This option is implicitly enabled by mypy daemon, so this makes the behavior of daemon and non-daemon modes consistent.Note that this release improves the compatibility of
--local-partial-typessignificantly to make the switch easier (see below for more).This can also be configured in a mypy configuration file (use
Falseto disable):local_partial_types = TrueFor more information, refer to the documentation.
We will also enable
--strict-bytesby default in mypy 2.0. This usually requires at most minor code changes to adopt. For more information, refer to the documentation.Finally,
--allow-redefinition-newwill be renamed to--allow-redefinition. If you want to continue using the older--allow-redefinitionsemantics which are less flexible (e.g. limited support for conditional redefinitions), you can switch to--allow-redefinition-old, which is currently supported as an alias to the legacy--allow-redefinitionbehavior. To use--allow-redefinitionin the upcoming mypy 2.0, you can't use--no-local-partial-types. For more information, refer to the documentation.Better Type Narrowing
Mypy's implementation of narrowing has been substantially reworked. Mypy will now narrow more aggressively, more consistently, and more correctly. In particular, you are likely to notice new narrowing behavior in equality expressions (
==), containment expressions (in),
... (truncated)
770d3ca
Remove +dev from version4738ffa
Changelog updates for 1.20 (#21109)b4f07a7
Use 'native-parser' instead of 'native-parse' for optional dependency
(#21115)7bec7b7
[mypyc] Document librt and librt.base64 (#21114)c482596
--allow-redefinition-new is no longer experimental (#21110)c916ca3
sdist: include misc/{diff-cache,apply-cache-diff}.py for
`mypy/test/test_di...b137e4e
[mypyc] Speed up native-to-native imports within the same group (#21101)978b711
[mypyc] Fix range loop variable off-by-one after loop exit (#21098)67ada30
[stubtest] Check runtime availability of private types not marked
`@type_chec...bdef6ef
librt cache tests: build respecting MYPY_TEST_PREFIX (#21097)