Releases: DetachHead/basedpyright
Releases · DetachHead/basedpyright
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
v1.5.0
What's Changed
pylance-style semantic highlighting
before | after |
---|---|
![]() |
![]() |
i've also made some improvements that are not present in pylance:
- variables marked as
Final
are coloured as read-only - type aliases are coloured as types
pylance-style inlay hints
New Contributors
- shoutout to @jbradaric's pyright-inlay-hints project, where most of the code for this release came from
Full Changelog: v1.4.0...v1.5.0
v1.4.0
What's Changed
- prevent vscode extension from locking the language server executable by @DetachHead in #100 & #108
- set default platform to "All" by @KotlinIsland in #102
New Contributors
- @KotlinIsland made their first contribution in #102
Full Changelog: v1.3.1...v1.4.0
v1.3.1
What's Changed
- fix
reportDuplicateImport
not reporting duplicated aliases and duplicated imports across differentimport
statements by @DetachHead in #91 - fix
reportDeclaration
not reporting multiple redeclarations of the same type by @DetachHead in #93
Full Changelog: v1.3.0...v1.3.1
v1.3.0
What's Changed
- add import suggestion code actions by @DetachHead in #79
- remove support for relative imports that are not prefixed with a
.
by @DetachHead in #85
Full Changelog: v1.2.0...v1.3.0