Skip to content

Releases: DetachHead/basedpyright

v1.10.3 (pyright 1.1.359)

19 Apr 05:23
27222b1
Compare
Choose a tag to compare

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)

17 Apr 01:26
d365387
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.10.1...v1.10.2

v1.10.1 (pyright 1.1.358)

12 Apr 06:15
6cdbcb6
Compare
Choose a tag to compare

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)

09 Apr 09:09
a8b396d
Compare
Choose a tag to compare

What's Changed

  • add new reportInvalidCast rule for casts to non-overlapping types by @DetachHead in #245
  • error when attempting to subscript AbstractContextManager and AbstractAsyncContextManager 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)

05 Apr 04:40
3001a37
Compare
Choose a tag to compare

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)

04 Apr 07:16
624787e
Compare
Choose a tag to compare

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 and Any 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

Full Changelog: v1.8.0...v1.9.0

v1.8.0 (pyright 1.1.356)

29 Mar 12:17
Compare
Choose a tag to compare

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

24 Mar 22:34
Compare
Choose a tag to compare

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 in type:ignore/pyright:ignore comments (#186)
    • all errors that didn't have a rule are now reported as reportGeneralTypeIssues

Full Changelog: v1.6.1...v1.7.0

v1.6.1

20 Mar 13:11
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.6.0...v1.6.1

v1.6.0

18 Mar 04:02
Compare
Choose a tag to compare

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)
  • 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)
  • neovim support by @baco in #156 & #159
  • fix placeholder readme on the vscode extension page by @DetachHead in #165

New Contributors

  • @baco made their first contribution in #156

Full Changelog: v1.5.0...v1.6.0