Skip to content

Releases: DetachHead/basedpyright

v1.13.0 (pyright 1.1.368)

19 Jun 04:44
Compare
Choose a tag to compare

What's Changed

🚀new pylance feature: docstrings for compiled builtin modules

image

unlike pylance, this shows docstrings for all supported python versions & platforms, regardless of your current environment. in this example, the tzset function does not exist on windows, but we can still see its docstring:

you can read more about it in the docs. huge thanks to @AThePeanut4 for creating docify, which made this feature possible!

implemented in #420 and #423

other changes

  • fix pdm build script running npm install and build multiple times (fixes the issue where installing basedpyright from github takes way too long) by @DetachHead in #419
  • fix typeCheckingMode not defaulting to "all" (was broken by a recent upstream change) by @DetachHead in #422
  • update upstream pyright version to 1.1.368 by @DetachHead in #425
  • fix a bug from upstream that broke reportUninitializedInstanceVariable on NamedTuples by @DetachHead in #425

Full Changelog: v1.12.6...v1.13.0

v1.12.6 (pyright 1.1.367)

12 Jun 10:49
Compare
Choose a tag to compare

What's Changed

  • fix values with a type annotation that were narrowed to Never being coloured as a type by @DetachHead in #401
  • fix Never type aliases being coloured as a variable when using the new python 3.12 type alias syntax by @DetachHead in #403
  • update upstream pyright version to 1.1.367 by @DetachHead in #408
  • exit with code 3 on unknown config options in executionEnvironments by @DetachHead in #408

Full Changelog: v1.12.5...v1.12.6

v1.12.5 (pyright 1.1.366)

05 Jun 08:56
d864f83
Compare
Choose a tag to compare

What's Changed

  • fix values that were narrowed to Never being coloured as a type by @DetachHead in #390
  • update upstream pyright version to 1.1.366 by @DetachHead in #393
  • add back support for inline TypedDicts (it was removed in 1.1.366)

Full Changelog: v1.12.4...v1.12.5

v1.12.4 (pyright 1.1.365)

29 May 13:08
7972d3d
Compare
Choose a tag to compare

What's Changed

  • update upstream pyright version to 1.1.365 by @DetachHead in #381
  • fail with exit code 3 on errors related to the new extends config option by @DetachHead in #381

Full Changelog: v1.12.3...v1.12.4

v1.12.3 (pyright 1.1.364)

22 May 09:55
30e10ff
Compare
Choose a tag to compare

What's Changed

  • update upstream pyright version to 1.1.364 by @DetachHead in #375
  • fix Any being coloured as a variable instead of a type by @DetachHead in #373
  • documentation enhancements

Full Changelog: v1.12.2...v1.12.3

v1.12.2 (pyright 1.1.363)

15 May 11:25
74a6afa
Compare
Choose a tag to compare

What's Changed

  • fix reportUnsafeMultipleInheritance false positives when the class has a base class that does not define an __init__ or __init_subclass__ by @DetachHead in #351
  • update pyright version to 1.1.363 by @DetachHead in #363
  • fix reportAbstractUsage conflicting with reportMisssingSuperCall by @DetachHead in #352

New Contributors

Full Changelog: v1.12.1...v1.12.2

v1.12.1 (pyright 1.1.362)

09 May 01:40
05ca5b5
Compare
Choose a tag to compare

What's Changed

  • fix reportUnsafeMultipleInheritance false positives on TypedDicts and dataclasses by @DetachHead in #344

Full Changelog: v1.12.0...v1.12.1

v1.12.0 (pyright 1.1.362)

08 May 07:43
15c8d77
Compare
Choose a tag to compare

What's Changed

  • switch from nodejs-bin to nodejs-wheel by @lewis6991 in #323
    • this should fix node errors on some older operating systems
  • update upstream pyright version to 1.1.362 by @DetachHead in #340
  • add option to ban unsafe multiple inheritance by @DetachHead in #334
    • this makes reportMissingSuperCall less annoying, as it no longer needs to report missing super() calls on classes with no base class when reportUnsafeMultipleInheritance is enabled

New Contributors

Full Changelog: v1.11.0...v1.12.0

v1.11.0 (pyright 1.1.361)

01 May 03:43
d2706fa
Compare
Choose a tag to compare

What's Changed

  • allow running as a Python module (ie. python -m basedpyright) by @vemel in #324
  • support disabling deprecation, unused and unreachable hints in diagnostic severity overrides by @DetachHead in #326
  • exit with code 3 when an invalid diagnostic severity override value is specified by @DetachHead in #326
  • Adjust readme to document that pyright: ignore is safer and preferred over type: ignore comments by @KotlinIsland in #331
  • fix normal variables incorrectly getting a TypeAlias inlay hint if their type came from a type alias by @DetachHead in #328
  • update upstream pyright version to 1.1.361 by @DetachHead in #333

New Contributors

Full Changelog: v1.10.4...v1.11.0

v1.10.4 (pyright 1.1.360)

25 Apr 01:56
Compare
Choose a tag to compare

What's Changed

  • activate vscode extension if workspace contains a pyproject.toml by @DetachHead in #316
  • bump upstream pyright version to 1.1.360 by @DetachHead in #322
  • document how to use the new pyright pycharm plugin(s) with basedpyright by @DetachHead in #322

Full Changelog: v1.10.3...v1.10.4