What's Changed
semantic highlighting
- Semantic Tokens for custom builtins specified in project
__builtins__.pyi
by @Wizzerinus in #1451 - Improved Semantic Tokens: Enums, Properties, Constants, and Static Methods by @KurtBoehm in #1469
baseline
- add back baseline cache by @DetachHead in #1473
- fix
--baselinefile
cli argument and update the docs to reflect that the baseline file functionality is now stable by @DetachHead in #1480
docs
- update pre-commit docs to primarily mention prek instead of pre-commit by @DetachHead in #1487
- update zed installation instructions to reflect that basedpyright is now the default language server by @DetachHead in #1495
uv pip install
->uv tool install
by @HairlessVillager in #1482
other changes
- fix
\N{
(named unicode characters) in strings being turned into f-strings by @DetachHead in #1504 - don't report
reportInvalidTypeVarUse
for type var in return type by @KotlinIsland in #1498 - Update Russian localization by @decorator-factory in #1497
- enable
basedpyright.analysis.inlayHints.genericTypes
by default by @KotlinIsland in #1513 - display an error when attempting to rename a symbol to an invalid python identifier by @decorator-factory in #1514
New Contributors
- @HairlessVillager made their first contribution in #1482
- @KurtBoehm made their first contribution in #1469
Full Changelog: v1.31.4...v1.31.5