Releases: DetachHead/basedpyright
Releases · DetachHead/basedpyright
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.languageServersetting 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
reportInvalidCastrule for casts to non-overlapping types by @DetachHead in #245 - error when attempting to subscript
AbstractContextManagerandAbstractAsyncContextManagerat 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
--versionshowing 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
parametersemantic token type by @ValdezFOmar in #229 - add pre-commit hook by @jorenham in #232
- Fix
UnknownandAnyvariables 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
--gitlabcodequalityargument 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
defaultLibrarysemantic token modifier by @ValdezFOmar (#193) - Support
decoratorsemantic token type by @ValdezFOmar (#217) - include the upstream version number in the
--versionoutput (#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
reportImplicitRelativeImportdiagnostic 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
reportPrivateLocalImportUsagerule to detect imports from local modules that are not intended to be re-exported (#187) - add new
reportIgnoreCommentWithoutRulerule to enforce error codes intype:ignore/pyright:ignorecomments (#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
Callabletypes 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
typekeyword 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
TypeVars that have bounds or variance arguments (#141) - return type inlay hints were messed up on functions that take
Callables (#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
Finalare 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


