Skip to content

Releases: DetachHead/basedpyright

v1.31.3 (pyright 1.1.404)

20 Aug 15:10
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.31.2...v1.31.3

v1.31.2 (pyright 1.1.403)

13 Aug 14:08
6e87cff
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.31.1...v1.31.2

v1.31.1 (pyright 1.1.403)

03 Aug 13:56
e75a26c
Compare
Choose a tag to compare

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)

16 Jul 12:08
f9d048f
Compare
Choose a tag to compare

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 and createTypeStub 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" when typeCheckingMode 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)

10 Jul 08:49
4f6228f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.30.0...v1.30.1

v1.30.0 (pyright 1.1.403)

09 Jul 12:16
ff18705
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.29.5...v1.30.0

v1.29.5 (pyright 1.1.402)

30 Jun 12:05
Compare
Choose a tag to compare

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" in config-files.md by @tylerlaprade in #1337

New Contributors

Full Changelog: v1.29.4...v1.29.5

v1.29.4 (pyright 1.1.402)

11 Jun 22:48
Compare
Choose a tag to compare

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

Full Changelog: v1.29.3...v1.29.4

v1.29.3 (pyright 1.1.402)

11 Jun 14:38
Compare
Choose a tag to compare

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

Full Changelog: v1.29.2...v1.29.3

v1.29.2 (pyright 1.1.401)

21 May 12:10
cc4dced
Compare
Choose a tag to compare

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 of reportIncompatibleMethodOverride by @DetachHead in #1286
  • Add semantic highlights for self and cls parameters by @ValdezFOmar in #1291
  • Do not autocomplete @override when reportExplicitOverride is disabled by @sterliakov in #1292
  • Merge 1.1.401 by @DetachHead in #1297
  • configure vscode to treat selfParameter and clsParameter semantic token types as a subtype of parameter by @DetachHead in #1298

New Contributors

Full Changelog: v1.29.1...v1.29.2