Skip to content

Releases: DetachHead/basedpyright

v1.18.3 (pyright 1.1.383)

02 Oct 11:28
e62bb23
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.18.2...v1.18.3

v1.18.2 (pyright 1.1.382)

30 Sep 14:57
97aa9ab
Compare
Choose a tag to compare

What's Changed

  • fix hyperlinks to the docs from diagnostics in the language server by @DetachHead in #717
  • fix issue where an empty baseline file was being automatically created when running basedpyright from the CLI by @DetachHead in #718

Full Changelog: v1.18.1...v1.18.2

v1.18.1 (pyright 1.1.382)

30 Sep 13:07
4eb383e
Compare
Choose a tag to compare

What's Changed

  • fix baseline when running in multithreaded/background analysis mode by @DetachHead in #702
  • improve baseline matching by using a diff algorithm and comparing the number of lines the diagnostic covers by @DetachHead in #708
  • new documentation site by @DetachHead in #699, #712, #715, #716

Full Changelog: v1.18.0...v1.18.1

v1.18.0 (pyright 1.1.382)

25 Sep 14:57
Compare
Choose a tag to compare

What's Changed

baseline support (beta) 🚀🚀🚀

have you ever wanted to adopt a new tool or enable new checks in an existing project, only to be immediately bombarded with thousands of errors you'd have to fix? baseline solves this problem by allowing you to only report errors on new or modified code. it works by generating a baseline file keeping track of the existing errors in your project so that only errors in newly written or modified code get reported.

to enable baseline, run basedpyright --writebaseline in your terminal or run the "basedpyright: Write new errors to baseline" task in vscode. this will generate a ./basedpyright/baseline.json for your project. you should commit this file so others working on your project can benefit from it too.

this file gets automatically updated as errors are removed over time in both the CLI and the language server. if you ever need to baseline new errors or an error that resurfaced because you've modified the same line of code it was on, just run that command again.

heavily inspired by basedmypy

more info is available in the documentation

(implemented in #608)

other changes

New Contributors

Full Changelog: v1.17.5...v1.18.0

v1.17.5 (pyright 1.1.381)

18 Sep 12:28
1cc0e0e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.17.4...v1.17.5

v1.17.4 (pyright 1.1.380)

10 Sep 23:03
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.17.3...v1.17.4

v1.17.3 (pyright 1.1.379)

08 Sep 12:36
f5f7e9e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.17.2...v1.17.3

v1.17.2 (pyright 1.1.379)

04 Sep 12:00
Compare
Choose a tag to compare

What's Changed

  • Add emacs lsp-pyright installation instructions to docs by @zipy124 in #627
  • improve cli/lsp installation instructions by @DetachHead in #628
  • Add localization helper script by @NCBM in #633
  • fix "Unhandled method" crashes in vscode extension by @DetachHead in #637
  • update upstream pyright version to 1.1.379 by @DetachHead in #644

New Contributors

Full Changelog: v1.17.1...v1.17.2

v1.17.1 (pyright 1.1.378)

28 Aug 14:10
665ce41
Compare
Choose a tag to compare

What's Changed

  • make the python vscode extension a dependency of the basedpyright vscode extension as it's required to detect the python interpreter by @DetachHead in #607
  • fix language server crash in vscode when the pypi package was installed using uv by @DetachHead in #613
  • update upstream pyright version to 1.1.378 by @DetachHead in #622

Full Changelog: v1.17.0...v1.17.1

v1.17.0 (pyright 1.1.377)

21 Aug 11:05
Compare
Choose a tag to compare

What's Changed

  • fix reportInvalidCast false positive when casting to/from None and type by @DetachHead in #579
  • fix unreachable, unused & deprecated diagnostic severity levels not working when set in the language server config by @DetachHead in #577
  • add reportUnusedParameter rule by @DetachHead in #589
  • don't report reportUnnecessaryComparison when using assert_never in an intentionally unreachable case in a match statement by @DetachHead in #593
  • update upstream pyright version to 1.1.377 by @DetachHead in #601
    • fix new upstream bug where "[object Object]" appears in error messages that include the python version

Full Changelog: v1.16.0...v1.17.0