Releases: DetachHead/basedpyright
Releases · DetachHead/basedpyright
v1.16.0 (pyright 1.1.376)
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
- @decorator-factory made their first contribution in #507
- @nikaro made their first contribution in #557
Full Changelog: v1.15.2...v1.16.0
v1.15.2 (pyright 1.1.375)
What's Changed
- basedpyright playground now runs entirely in the browser by @DetachHead in #514 & DetachHead/basedpyright-playground#19
- this makes it much more blazingly fast (🚀) than pyright playground
- seems to be much more stable, it fixes the issue where the connection to the server randomly stops working
- note that older versions of basedpyright are no longer available in the playground, as they don't have a browser build
- update upstream pyright version to 1.1.375 by @DetachHead in #547
- add dark mode to the docs by @nguyenanhhao221 in #546
New Contributors
- @nguyenanhhao221 made their first contribution in #546
Full Changelog: v1.15.1...v1.15.2
v1.15.1 (pyright 1.1.374)
What's Changed
- update upstream pyright version to 1.1.374 by @DetachHead in #533
- discourage usage of the new
enableReachabilityAnalysis
option in favor ofreportUnreachable
which is more flexible. settingenableReachabilityAnalysis
tofalse
is treated as an alias forreportUnreachable = 'none'
. more info here
- discourage usage of the new
Full Changelog: v1.15.0...v1.15.1
v1.15.0 (pyright 1.1.373)
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
- it's recommended to use
- 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)
What's Changed
🚀 new pylance feature - renaming packages & modules
other changes
- improve emacs installation instructions by @DetachHead in #493
- update upstream pyright version to 1.1.372 by @DetachHead in #501
Full Changelog: v1.13.3...v1.14.0
v1.13.3 (pyright 1.1.371)
What's Changed
- add lsp-bridge for emacs by @manateelazycat in #479
- docstrings for builtin modules that are partially compiled (thanks again to @AThePeanut4 for docify) by @DetachHead in #485
- update upstream pyright version to 1.1.371 by @DetachHead in #489
New Contributors
- @manateelazycat made their first contribution in #479
Full Changelog: v1.13.2...v1.13.3
v1.13.2 (pyright 1.1.370)
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)
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
onassert_never
calls by @DetachHead in #450
New Contributors
Full Changelog: v1.13.0...v1.13.1
v1.13.0 (pyright 1.1.368)
What's Changed
🚀new pylance feature: docstrings for compiled builtin modules
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!
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
onNamedTuple
s by @DetachHead in #425
Full Changelog: v1.12.6...v1.13.0
v1.12.6 (pyright 1.1.367)
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