What's Changed
performance fixes
- fix performance issues on large enums by @jabbera in #1535
- quicker way to check if a class is an enum before reporting
reportUnannotatedClassAttribute
by @DetachHead in #1544
semantic highlighting
- Use declarations as the primary source of semantic tokens by @KurtBoehm in #1521 & @DetachHead in #1555
- Type-based descriptor instance highlighting by @KurtBoehm in #1557
docs
- update cli installation instructions to make it clear that we recommend uv by @DetachHead in #1549
- update basedpyright badge to match the colour of the logo by @DetachHead in #1571
other changes
- Chinese (Simplified) translations update (2025.10) by @NCBM in #1546
- suggest import aliases from user code if explicitly re-exported by @mstmb-alan in #1539
- report an error when attempting to subscript
array.array
at runtime on python <3.12 by @DetachHead in #1552 - fix errors from new builtin
string.templatelib
module and generate stub docstrings for 3.14 by @DetachHead in #1551
New Contributors
- @jabbera made their first contribution in #1535
- @mstmb-alan made their first contribution in #1539
Full Changelog: v1.31.6...v1.31.7