Skip to content

Releases: DetachHead/basedpyright

v1.39.7 (pyright 1.1.410)

07 Jun 11:39
Immutable release. Only release title and notes can be modified.
c9a757d

Choose a tag to compare

What's Changed

  • don't create a copy of the basedpyright-langserver executable in the vscode extension unless running on windows by @DetachHead in #1810
    • this was a hacky way to try to avoid issues updating basedpyright while the language server is running, but this was never actually a problem on linux & macOS because executables can be deleted while running
  • fix empty semantic tokens response interfering with other language servers when basedpyright.disableLanguageServices is set by @DetachHead in #1815
  • avoid duplicated capability registrations by @DetachHead in #1816

Full Changelog: v1.39.6...v1.39.7

v1.39.6 (pyright 1.1.410)

24 May 09:02
Immutable release. Only release title and notes can be modified.
ad82d91

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.39.5...v1.39.6

v1.39.5 (pyright 1.1.409)

17 May 11:49
Immutable release. Only release title and notes can be modified.
a511b78

Choose a tag to compare

What's Changed

  • fix error attempting to baseline diagnostics from the new string.templatelib module when targeting python 3.14 by @DetachHead in #1801

Full Changelog: v1.39.4...v1.39.5

v1.39.4 (pyright 1.1.409)

11 May 11:30
Immutable release. Only release title and notes can be modified.
b058a64

Choose a tag to compare

What's Changed

  • Update basedpyright's docs for PyCharm by @charliecloudberry in #1643
  • treat map & filter as not subscriptable at runtime and don't show generic inlay hints for non-subscriptable types by @nfer in #1797

New Contributors

Full Changelog: v1.39.3...v1.39.4

v1.39.3 (pyright 1.1.409)

20 Apr 22:41
Immutable release. Only release title and notes can be modified.
5f66727

Choose a tag to compare

What's Changed

  • fix docs site not being deployed, which was caused by some changes I made to improve the security of our CI by @DetachHead in #1782

Full Changelog: v1.39.2...v1.39.3

v1.39.2 (pyright 1.1.409)

17 Apr 00:40
Immutable release. Only release title and notes can be modified.
ceb200c

Choose a tag to compare

What's Changed

  • fix basedpyright being broken in the playground caused by browser-basedpyright being published with nothing in it by @DetachHead in #1778

Full Changelog: v1.39.1...v1.39.2

v1.39.1 (pyright 1.1.409)

16 Apr 12:23
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

What's Changed

Full Changelog: v1.39.0...v1.39.1

v1.39.0 (pyright 1.1.408)

01 Apr 12:36
d4b4104

Choose a tag to compare

What's Changed

new diagnostic rule - reportEmptyAbstractUsage

pyright only reports an error when you instantiate an abstract class that has unimplemented abstract methods. but a class that explicitly extends ABC (or uses ABCMeta) with no abstract methods can also be instantiated, and pyright has no issue with that:

from abc import ABC


class Foo(ABC):
    """abstract class with no abstract methods"""


foo = Foo()  # no error

but the author of the class likely intended this class not to be used directly, and instead subtyped. so if a class extends ABC but defines no abstract methods, instantiating it is likely unintentional.

the reportEmptyAbstractUsage rule flags such instantiations. see the docs for more info.

implemented by @KotlinIsland in #1748 (some fixes by @DetachHead in #1766)

Full Changelog: v1.38.4...v1.39.0

v1.38.4 (pyright 1.1.408)

25 Mar 13:54
2455efb

Choose a tag to compare

What's Changed

  • fix typing_extensions auto-import being treated as first party by @beauxq in #1754
  • fix "Received redundant open text document command" error when viewing previous versions of a notebook in vscode's timeline view by @DetachHead in #1758
  • format python codeblocks in the docs using ruff by @DetachHead in #1759
  • use @core-js/pure to polyfill newer js features by @DetachHead in #1760

Full Changelog: v1.38.3...v1.38.4

v1.38.3 (pyright 1.1.408)

17 Mar 13:13
bb8a0a3

Choose a tag to compare

What's Changed

  • fix ordering of code actions and don't show # pyright:ignore[reportImportCycles] code action because it doesn't work by @NCBM in #1753

Full Changelog: v1.38.2...v1.38.3