Releases: DetachHead/basedpyright
Releases · DetachHead/basedpyright
v1.31.3 (pyright 1.1.404)
What's Changed
- fix link in vscode description for
diagnosticSeverityOverrides
by @DetachHead in #1431 - Merge pyright 1.1.404 by @DetachHead in #1438
Full Changelog: v1.31.2...v1.31.3
v1.31.2 (pyright 1.1.403)
What's Changed
- Hide inlay hints when the parameter matches an accessed member's name by @tylerlaprade in #1420
- fix completions in quoted types not working in vscode by @DetachHead in #1428
- Update
prefligit
toprek
in docs by @j178 in #1423 - improve zed installation instructions by @DetachHead in #1425
New Contributors
Full Changelog: v1.31.1...v1.31.2
v1.31.1 (pyright 1.1.403)
What's Changed
- fix
# pyright: ignore
code actions inserting the comment before the last character if the error is on the last line in the file by @DetachHead in #1398 - fix inlay hints not appearing on instance attribute declarations by @DetachHead in #1410
- fix renaming files when imported with a relative import by @DetachHead in #1414
- fix "find all references" on
__init__
and__new__
methods by @DetachHead in #1415 - add tip to the docs recommending prefligit over pre-commit by @DetachHead in #1413
Full Changelog: v1.31.0...v1.31.1
v1.31.0 (pyright 1.1.403)
What's Changed
automatic conversion to f-string when typing {
inside a string
implement basedpyright.analysis.autoFormatStrings
setting from pylance:
implemented in #1390
other changes
- Remove duplicate semantic tokens for readonly properties by @ValdezFOmar in #1386
- fix
writeBaseline
,restartServer
andcreateTypeStub
commands only being registered in the vscode extension instead of the language server by @DetachHead in #1385 - Change default diagnostic category for
reportImplicitAbstractClass
to"error"
whentypeCheckingMode
is"recommended"
by @tylerlaprade in #1392 - improve wording in the cards on the docs home page & mention upstream merging by @DetachHead in #1393
Full Changelog: v1.30.1...v1.31.0
v1.30.1 (pyright 1.1.403)
What's Changed
- fix code actions in jupyter notebooks by @DetachHead in #1384
Full Changelog: v1.30.0...v1.30.1
v1.30.0 (pyright 1.1.403)
What's Changed
- add code action for inserting
# pyright: ignore
comments by @DetachHead in #1359 - Chinese (Simplified) translation update (2025.07) by @NCBM in #1333
- Fix contravariant TypeVar example in documentation by @yeetaryan in #1373
- Document installation on Neovim 0.11+ by @roushou in #1375
- Merge 1.1.403 by @DetachHead in #1379
New Contributors
- @yeetaryan made their first contribution in #1373
- @roushou made their first contribution in #1375
Full Changelog: v1.29.5...v1.30.0
v1.29.5 (pyright 1.1.402)
What's Changed
- add new
basedpyright.analysis.inlayHints.callArgumentNamesMatching
setting for function parameter inlay hints where the name matches by @sam-or in #1340 - throw error if invalid value is passed to
--threads
in the CLI by @Rayahhhmed in #1355 - fix crash in neovim caused by invalid annotation ID in WorkspaceEdit by @jbradaric in #1352
- Document implicit dependency of VSCode extension on ms-python by @lightspot21 in #1344
- Grammar nits in
new-diagnostic-rules.md
by @tylerlaprade in #1332 - Fix spelling of
"discouraged"
inconfig-files.md
by @tylerlaprade in #1337
New Contributors
- @sam-or made their first contribution in #1340
- @lightspot21 made their first contribution in #1344
- @Rayahhhmed made their first contribution in #1355
- @jbradaric made their first contribution in #1352
Full Changelog: v1.29.4...v1.29.5
v1.29.4 (pyright 1.1.402)
What's Changed
- fix "unknown config option" false positive on
reportUnreachable
caused by upstream merge mistake by @DetachHead in #1326- pyright now has its own version of
reportUnreachable
, but it doesn’t cover most cases so I reverted their one when I merged the 1.1.402 release. see here for more info
- pyright now has its own version of
Full Changelog: v1.29.3...v1.29.4
v1.29.3 (pyright 1.1.402)
What's Changed
- Chinese (Simplified) localization update (2025.05) by @NCBM in #1277
- Merge 1.1.402 by @DetachHead in #1324
- pyright now has its own version of
reportUnreachable
, but it doesn’t cover most cases so I reverted their one when I merged the 1.1.402 release. see here for more info
- pyright now has its own version of
Full Changelog: v1.29.2...v1.29.3
v1.29.2 (pyright 1.1.401)
What's Changed
- fix crash on inlay hints in notebooks when the type comes from another cell by @DetachHead in #1278
- improve docstring parsing for parameters by @rickyelopez in #1267
- fix
reportIncompatibleUnannotatedOverride
false positive & fix case where it changes the behavior ofreportIncompatibleMethodOverride
by @DetachHead in #1286 - Add semantic highlights for
self
andcls
parameters by @ValdezFOmar in #1291 - Do not autocomplete
@override
whenreportExplicitOverride
is disabled by @sterliakov in #1292 - Merge 1.1.401 by @DetachHead in #1297
- configure vscode to treat
selfParameter
andclsParameter
semantic token types as a subtype ofparameter
by @DetachHead in #1298
New Contributors
- @rickyelopez made their first contribution in #1267
- @sterliakov made their first contribution in #1292
Full Changelog: v1.29.1...v1.29.2