Skip to content

Releases: DetachHead/basedpyright

v1.16.0 (pyright 1.1.376)

14 Aug 04:04
4ae2d7e
Compare
Choose a tag to compare

What's Changed

  • send an error notification over LSP when an invalid diagnosticMode value is set by @DetachHead in #560 & #565
  • add hombrew install instructions by @nikaro in #557
  • language server error notification on invalid config by @DetachHead in #561
  • fix broken stub docstrings from python 3.8 taking precedence over docstrings from 3.12 by @DetachHead in #571
  • update upstream pyright version to 1.1.376 by @DetachHead in #575
  • don't report "Unhandled method workspace/configuration" error as a notification by @DetachHead in #574
  • improve russian translations and add contribution guidelines for localizations by @decorator-factory in #507

New Contributors

Full Changelog: v1.15.2...v1.16.0

v1.15.2 (pyright 1.1.375)

07 Aug 11:00
363ec57
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.15.1...v1.15.2

v1.15.1 (pyright 1.1.374)

31 Jul 14:36
cf11460
Compare
Choose a tag to compare

What's Changed

  • update upstream pyright version to 1.1.374 by @DetachHead in #533
    • discourage usage of the new enableReachabilityAnalysis option in favor of reportUnreachable which is more flexible. setting enableReachabilityAnalysis to false is treated as an alias for reportUnreachable = 'none'. more info here

Full Changelog: v1.15.0...v1.15.1

v1.15.0 (pyright 1.1.373)

24 Jul 10:55
010fd19
Compare
Choose a tag to compare

What's Changed

  • fix intermittent errors in if not TYPE_CHECKING blocks by @DetachHead in #503
  • disable enableTypeIgnoreComments by default by @DetachHead in #504
    • it's recommended to use # pyright: ignore comments instead. see the docs for more info
  • improve documentation for contributors and explain how we keep up with upstream by @DetachHead in #505
  • don't reportAny on the Any type istelf by @DetachHead in #506
  • don't report unknown/any errors when casting by @DetachHead in #511
  • update upstream pyright version to 1.1.373 by @DetachHead in #518
  • Update pycharm installation instructions by @DetachHead in #519

Full Changelog: v1.14.0...v1.15.0

v1.14.0 (pyright 1.1.372)

17 Jul 11:46
9e22823
Compare
Choose a tag to compare

What's Changed

🚀 new pylance feature - renaming packages & modules

implemented in #460 & #499

other changes

Full Changelog: v1.13.3...v1.14.0

v1.13.3 (pyright 1.1.371)

10 Jul 12:49
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.13.2...v1.13.3

v1.13.2 (pyright 1.1.370)

03 Jul 13:04
219dad0
Compare
Choose a tag to compare

What's Changed

  • fix crash in some cases when building & installing wheel from github by @DetachHead in #465
  • update upstream pyright version to 1.1.370 by @DetachHead in #466

Full Changelog: v1.13.1...v1.13.2

v1.13.1 (pyright 1.1.369)

25 Jun 22:19
Compare
Choose a tag to compare

What's Changed

  • Update configuration.md with scoped rule example by @jmann345 in #434
  • move pre-commit to a separate repo to prevent it from attempting to build the package when the hook gets installed (fixes crash introduced in 1.13.0) by @DetachHead in #440
  • fix installing from github by @DetachHead in #448
  • fix logic in reportUnsafeMultipleInheritance to correctly account for MRO by @DetachHead in #444
  • update upstream pyright version to 1.1.369 by @DetachHead in #450
  • don't report reportUnreachable on assert_never calls by @DetachHead in #450

New Contributors

Full Changelog: v1.13.0...v1.13.1

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