Releases: DetachHead/basedpyright
Releases · DetachHead/basedpyright
v1.10.3 (pyright 1.1.359)
What's Changed
- fix
reportImplicitRelativeImport
not being configurable by @DetachHead in #306 - fix suggested import code action not working when the whole module is already imported by @DetachHead in #314
Full Changelog: v1.10.2...v1.10.3
v1.10.2 (pyright 1.1.359)
What's Changed
- fix
reportPrivateLocalImportUsage
not being configurable by @DetachHead in #301 - bump upstream pyright version to 1.1.359 by @DetachHead in #303
Full Changelog: v1.10.1...v1.10.2
v1.10.1 (pyright 1.1.358)
What's Changed
- bump upstream pyright version to 1.1.358 by @DetachHead in #281
- automatically fix
python.languageServer
setting in vscode and improve automatic fixes for when pylance is installed by @DetachHead in #285 - fix import suggestion code actions being dependent on where the cursor is on the symbol by @DetachHead in #282
Full Changelog: v1.10.0...v1.10.1
v1.10.0 (pyright 1.1.357)
What's Changed
- add new
reportInvalidCast
rule for casts to non-overlapping types by @DetachHead in #245 - error when attempting to subscript
AbstractContextManager
andAbstractAsyncContextManager
at runtime on python 3.8 by @DetachHead in #263
Full Changelog: v1.9.1...v1.10.0
v1.9.1 (pyright 1.1.357)
What's Changed
- fix
--version
showing the basedpyright version as the upstream version number by @DetachHead in #256
Full Changelog: v1.9.0...v1.9.1
v1.9.0 (pyright 1.1.357)
What's Changed
- add support for Sublime Text by @jfcherng in #224
- Support
parameter
semantic token type by @ValdezFOmar in #229 - add pre-commit hook by @jorenham in #232
- Fix
Unknown
andAny
variables being coloured as Unbound by @ValdezFOmar in #235 - CI integration improvements
- output errors in github action command format so that errors show up under effected lines of code in PRs by @DetachHead in #240
- add
--gitlabcodequality
argument to generate gitlab code quality report by @DetachHead in #247
- Fix build failure when installing from source when nodejs is not installed globally on linux by @KotlinIsland in #248
- run validation actions on PRs from other forks by @Loch64 in #250
- bump upstream pyright version to 1.1.357 by @DetachHead in #252
New Contributors
- @jfcherng made their first contribution in #224
- @jorenham made their first contribution in #232
- @Loch64 made their first contribution in #250
Full Changelog: v1.8.0...v1.9.0
v1.8.0 (pyright 1.1.356)
What's Changed
- fix duplicated inlay hints in neovim (#209)
- Support
defaultLibrary
semantic token modifier by @ValdezFOmar (#193) - Support
decorator
semantic token type by @ValdezFOmar (#217) - include the upstream version number in the
--version
output (#218)- bump upstream pyright version to 1.1.356
- from now on, all future basedpyright releases will be based on a release version of pyright
- add new
reportImplicitRelativeImport
diagnostic rule instead of banning them entirely in the import resolver (#220)- from now on, any breaking changes to upstream pyright will be configurable. sorry about that!
- add links to readme and improve command line installation instructions by @KotlinIsland & @DetachHead (#221)
Full Changelog: v1.7.0...v1.8.0
v1.7.0
What's Changed
- add new
reportPrivateLocalImportUsage
rule to detect imports from local modules that are not intended to be re-exported (#187) - add new
reportIgnoreCommentWithoutRule
rule to enforce error codes intype:ignore
/pyright:ignore
comments (#186)- all errors that didn't have a rule are now reported as
reportGeneralTypeIssues
- all errors that didn't have a rule are now reported as
Full Changelog: v1.6.1...v1.7.0
v1.6.1
What's Changed
- introducing the basedpyright playground: http://basedpyright.com
- publish extension to the open VSX registry: https://open-vsx.org/extension/detachhead/basedpyright
- fix typo in readme by @Amar1729 in #169
New Contributors
Full Changelog: v1.6.0...v1.6.1
v1.6.0
What's Changed
- new logo by @DetachHead in #146
- semantic highlighting fixes by @DetachHead in #145
- type aliases to
Callable
types were incorrectly coloured as functions (#142) - undefined names were being coloured as if they were defined (#134)
- assignments to
_
were coloured as readonly (#139) - the new
type
keyword in pyhthon 3.12 was being coloured as a type (this was an upstream issue in vscode and pylance) (#144)
- type aliases to
- inlay hint fixes by @DetachHead in #151
- inlay hints were appearing on
TypeVar
s that have bounds or variance arguments (#141) - return type inlay hints were messed up on functions that take
Callable
s (#136) - don't show inlay hints for arguments on variables with the same name (#135)
- wrong argument name on inlay hints to overloads (#155)
- don't display inlay hints on assignments to
_
(#138) - Fix type alias inlay hints (#164)
- inlay hints were appearing on
- neovim support by @baco in #156 & #159
- fix placeholder readme on the vscode extension page by @DetachHead in #165
New Contributors
Full Changelog: v1.5.0...v1.6.0