Repository navigation
Releases
Releases · microsoft/pyright
Published 1.1.414
Changes:
- a28cce4 Bump version to 1.1.414 (#11724)
- 10f9e77 Bump the github-actions group across 1 directory with 5 updates (#11720)
- d72e2fe Fix pnpm setup in benchmark workflow (#11719)
- 854df36 Allow assigning signature metadata to functions (#11714)
- c773932 Publish pyright-typeserver to npm (#11713)
- fa9b200 Pull Pylance with Pyright 1.1.413 (#11697)
- e690634 Fix printExpression output for slice expressions and set displays (#11598)
- 685de39 Report a specific diagnostic for walrus in a comprehension iterable (#11606) [ #11514 ]
- 5a958ca Add regression tests for sentinel conditional type guards (#11686)
- 6a7d491 Preserve benchmark result comments (#11682)
See More
- 8575d83 Fix Sentinel base type assignability (#11676)
- 37c0386 Optimize type equality fast paths (#11420)
- b8dd159 Fix keyword-form assignability for standard dest parameters (#11670)
- bf6ec03 Fix benchmark comparison and reporting (#11680)
- 390f0aa Fix TypeGuard and TypeIs narrowing for functions with union return types (#11608)
- fabb9f9 Fix type narrowing for equality comparisons with IntEnum and StrEnum values (#11622)
- 20380f2 Push Pylance changes to Pyright (#11678)
- 3a1e14d Benchmark pull request merge commits (#11677)
- d5162f9 Cover two remaining dataclass field() override branches (#11679) [ #11665 ]
- 0b8c227 Fix crashes after clearing analyzer caches (#11675)
- b895058 Do not inherit dataclass defaults when a subclass uses field() without one. (#11665) [ #11660 ]
- 99854b7 Dispatch typecheck benchmark workflow directly (#11674)
- 1be1899 Do not treat objects with explicit iter as iterable via getitem. (#11645)
- beaac8f Fix functools.partial type evaluation for callable class instances (#11672)
- 5b448bb Do not eliminate a TypedDict with extra items on a negative key check (#11663)
- bacb814 Fix benchmark comment trigger (#11673)
- 93a6550 Add cross-type-checker benchmark regression tracking (#11574)
- 85837ef Add non-publishing registry validation mode (#11667)
- 3f87071 Install pinned pnpm on Azure DevOps build agents (#11661) [ #11652 ]
- d5e77a7 Fix protocol cache for specialized self overloads (#11649)
- 7ddd3b1 Push Pylance changes to Pyright (#11658)
- 5cf4afa Migrate CI package installation to pnpm (#11652)
- 334e3fb Pin GitHub Actions to full-length commit SHAs (#11628)
This list of changes was auto generated.
Published 1.1.413
Changes:
- 789d827 Fix Pyright release stage conditions (#11638)
- 71f6760 Bump version to 1.1.413 (#11636)
- 0fbac0e Fix nested TypeForm alias evaluation (#11634)
- f92e0c2 Fix npm recovery build lookup URL (#11630)
- a00422a Add npm-only release recovery mode (#11627)
This list of changes was auto generated.
Published 1.1.412
Changes:
- fceca4d Use shared authenticated npm config in pipelines (#11626)
- e814a5e Align pyright-typeserver version with 1.1.412 (#11625)
- 8df447d Bump version to 1.1.412 (#11624)
- 27001c2 Preserve union-expanded constructor types (#11621)
- 870afb0 Narrow closed TypedDicts on a key membership check (#11620)
- 69c1b12 Complete TypeForm conformance (#11599)
- eefd225 Expand conditional TypedDict test coverage (#11617)
- 273a1a8 Fix defaulted subclass type specialization (#11596)
- 25641ef Apply overload materialization to nested Any (#11601)
- 30e8470 Implement PEP 800 disjoint-base semantics (#11593)
See More
- 6b7f4c7 Fix heterogeneous TypeVarTuple constraint solving (#11595)
- fd9ddad Support complete enum literal union equivalence (#11597)
- 623b043 docs: mention MegaLinter in CI integration page (#11604)
- e8af042 Support conditional TypedDict fields (#11594)
- dde0aae Adapt stubPath special-casing to latest changes (#11532)
- de94b52 Bump brace-expansion from 5.0.6 to 5.0.8 in /packages/vscode-pyright (#11569)
- 491ade1 Bump fast-uri from 3.1.2 to 3.1.4 in /packages/pyright-internal (#11566)
- 925dee8 Bump axios from 1.16.1 to 1.18.1 (#11555)
- 1e68029 Bump undici from 7.27.2 to 7.28.0 in /packages/vscode-pyright (#11512)
- 559a737 Fix bool narrowing for numeric literal patterns (#11570)
- 729aabf Fix implicit class binding in lambdas (#11541)
- 84711a8 Fix narrowing of walrus RHS under is/is not None (#11564)
- 33bc458 Fix false positive when assigning to attribute of union with divergent member types (#11560) [ #11559 ]
- 93ea646 Fix #11450: [FR]:
struct.unpacktype inference (#11494) - 5fc1637 Fix #11475: Cannot override a class's callable variable with a method (#11500)
- 231b66e Fix #11478: Support overloads on property setters (#11499)
- 4c60ea9 Add standalone Type Server Protocol (TSP) server to Pyright (#11537)
- 433e84d Fix #11453: no error on accessing qualname of instance (#11503)
- da05559 Skip unknown/missing parameter type checks for overload implementations (#11498)
- 035fa62 Report duplicate KW_ONLY separators in dataclasses (#11495) [ #11486 ]
- 155a25f Fix #11472: TypeVarTuple escapes method with very nested recursive tuple aliases (#11497)
- ffe1973 Fix #11481: 1.1.410 detects type as module (#11501) [ #11396 ]
- e1f6805 Fix bounded type var match narrowing widening solved type args (#11527) [ #11489, #11526 ]
- ab5cb1a Enable TypeForm support by default (#11412) [ #2 ]
This list of changes was auto generated.
Published 1.1.411
Changes:
- 9a9205f fix Agentless jobs error in release (#11524)
- c9315a2 Bump version to 1.1.411 (#11523)
- a147f88 Pull Pylance with Pyright 1.1.410 (#11522)
- 1baa49b Update typeshed to 289e5d3568961c8bcd33d01eef5b7ec5e1ad33ad (#11521)
- 4ba562b Fix reachability for generic context managers with bool exit (#11488) [ #11483 ]
- e1d4856 Evaluate truthiness of literals in static boolean expressions (#11520)
- ceb0d20 Fix generic NamedTuple match narrowing for bounded type vars (#11489) [ #11487 ]
- 9e036b2 Fix NewType identity comparisons with base literals (#11491) [ #11463 ]
- 11f5588 Handle symlinked files in partial stubs (#11516)
- f335122 fix(dataClasses): recognize KW_ONLY separator with any variable name (#11486)
See More
- 03d38cb Allow Callable class attributes to be overridden by instance methods (#11490) [ #11475 ]
- de5220a Pull Pylance with Pyright 1.1.410 (#11506)
- f744c78 Avoid unnecessary workspace configuration request (#11480)
- 0e4c124 Update pipeline template reference to use Official.Publish.yml (#11466)
- 92235e0 Publish version 1.1.410 (#11461)
This list of changes was auto generated.
Published 1.1.410
Changes:
- 2dfeabc Published 1.1.410
- 79cc195 Update NODE_VERSION to '22.x' in workflow files for consistency with vscode (#11460)
- 505a9bc Update typeshed to 483fd73dcea6f5fbc04ea602e802e798024fa2e2 (#11416)
- f06cf49 Fix hang in constraint solver for cyclic TypeVar lower bounds (#11413) (#11415)
- 3619ecd Faster tokenizer (#11392)
- 34c556b Push pylance changes to pyright (#11396)
This list of changes was auto generated.
Published 1.1.409
Changes:
- 63998f4 Publish 1.1.409
- 4fe3b94 Update typeshed to bd18cc640cba4dadc51ac9a5157b79ff6adf5de3 (#11389)
- 870edd1 fix style (#11390)
- 28ea84a tokenizer: accept ':' in type: ignore code names for namespaced codes (#11383) [ #11345 ]
- a897500 Implement fix for literal loops (#11368)
- 4da46a6 Fix match statement issue (#11363)
See More
- e2aebd4 reportPrivateUsage: honor all for module-level _name in non-py.typed source (#11375)
- 81b8686 Preserve condition when narrowing Any to None (#11367)
- 7f29b00 Fixed bug in mixed gradual tuple assignment logic that's affecting sh… (#11371) [ #11127 ]
- 7c187be Fix type narrowing bug (#11364)
- 50a5385 Fix workspace initialization when workspaceFolders capability is enabled (#11239) (#11370) [ #11249 ]
- 872edae Update typeshed and agents (#11310)
- 51c403d docs: remove duplicate word in import statements (#11327)
- 8832b38 Fallback to root
pyproject.tomlif projectpyproject.tomldoesnt contain[tool.pyright](#11323) - f6bdd93 Preserve diagnostic rule overrides when positional args override include (#11285)
- c971180 Fix prettier (#11284)
- 1bec65c Add iOS and Android as pythonPlatform (#11221)
- 5a325e4 Convert worker OOM to a fatal error. (#11274)
- 321c182 Avoid cloneStr for small strings and intern tokenizer identifiers (#11267)
- 74ec0f5 Optimize findClosestMatch complexity (#11263)
- 66456ea Fix reportPrivateImportUsage errors disappearing when source package is tracked (#11237)
- e89e2db Fix workspace initialization when workspaceFolders capability is enabled (#11239)
- 138238b Push pylance changes to pyright for release of 2026.1.0 (#11218)
- 270cc0a Publish 1.1.408 (#11212)
This list of changes was auto generated.
Published 1.1.408
Changes:
- ad444cc Publish 1.1.408
- cba32ea Update typeshed to latest (#11211)
- 1576956 Fix completions for typeddicts with errors (#11177)
- 45159a9 Update installation.md (#11175)
- 5f7ce34 Update PyCharm setup documentation (#11105)
- 6f3b72c Fixed bug in type narrowing logic for sequence pattern matching. This addresses #11056. (#11085)
- 89825e1 Fixed regression that results in a false positive when using the
pydantic.dataclasses.dataclassdecorator. This addresses #11060. (#11084) - 8d9df83 Fixed issue that prevents typeshed from eliminating
typing._TypedDict. This addresses #11081. (#11083) - 906e40a pull-pylance-with-pyright-1.1.407-20251029-180818 (#11072)
- d2a4d57 pull-pylance-with-pyright-1.1.407-20251024-224406 (#11059)
See More
- de80320 Update azure-pipelines-release.yml for Azure Pipelines
- e32067c Update azure-pipelines-release.yml for Azure Pipelines
This list of changes was auto generated.
Published 1.1.407
Changes:
- 276448f Fixed package-lock files
- 783ee67 Published 1.1.407
- f9fc2aa Updated typeshed stubs to the latest version (#11051)
- 5f599f9 Added error reporting for unknown or unsupported config settings. This addresses #11040. (#11045)
- cadded6 Fixed regression that results in
--createstubdoing nothing. This addresses #11043. (#11044) - 538053d Fixed bug that causes a false negative when a
TypedDictoverrides a parent withextra_itemsthat are notReadOnlywith aReadOnlyfield. This addresses #11037. (#11038) - ba3f0d4 Fixed bug that results in a false positive when a
namedtuplefunctional form is used with a field starting with an underscore andrename=True. This addresses #11033. (#11034) - 80eb0dc Fixed bug in type narrowing for literal patterns. The runtime uses equality checks, so matching against the pattern
3cannot necessarily narrow the type toLiteral[3]. This addresses #11026. (#11028) - b1c9ae2 Fixed bug that results in a false positive error when a
withstatement has a single parenthesized context manager. This addresses #11020. (#11024) - 346f74c Fixed a bug that causes a
@dataclass_transformto fail if the decorator returns a callback protocol rather than aCallable. This addresses #11015. (#11018)
See More
- 20aa20a Pull Pylance with Pyright 1.1.406 (#11010)
- 9ed33cf Fixed bug that results in a spurious error when running pyright on Python 3.14 but configured for Python 3.13 or earlier. This addresses #11003. (#11006)
- 6e877dd Changed default Python version from 3.13 to 3.14 to reflect new stable version (#11004)
- 69a5d84 Fixed bug that omit
**kwargsparameter with an unpacked TypedDict with extra items. (#10997) [ #10996 ] - ed83d58 Eagerly exit isEnumClassWithMembers (#10990)
- 17f24b3 Updated diagnostic message to include "standard" mode. This addresses #10988. (#10989)
- 30db40b Add users to notification list for manual validation (#10984)
This list of changes was auto generated.
Published 1.1.406
Changes:
- 308f5c0 Published 1.1.406
- 38317d6 Fixed bug that results in false positive for module attributes that are synthesized for namespace modules. This addresses #10692. (#10972)
- 676cd11 Fixed several bugs related to subscripts with unpack operators, notably when the unpack targets a tuple with a known length. This addresses #10723. (#10971)
- 8996f91 Removed remaining code that was left over from PEP 637, which was rejected.
- f7285d9 Added special casing in
reportUnnecessaryComparisoncheck for modules. This addresses #10706. (#10970) - 907028c Added check for the use of a
NewTypein a class pattern. This addresses #10784. (#10969) - 7b28a61 Updated typeshed stubs to the latest version (#10968)
- ad557b5 Fixed bug that results in incorrect behavior when
partialis applied to a function with a positional-only parameter separator. This addresses #10954. (#10967) - 6a92d60 Bump tar-fs from 2.1.3 to 2.1.4 in /packages/vscode-pyright (#10965)
- b0fb77d Fixed bug that causes workspace edits to include annotation IDs without changeAnnotations field. (#10902) [ #10671 ]
See More
- 79ff3e3 Fix literal overload completions in call arguments (#10762)
- 1a46b0f Clarified implicit import rules in docs.
- 97ae524 Fix regression in symlinked files (#10944)
- b122ef9 Fix mypy_primer to run again (#10945)
- 135fa85 Subtle issue with change tracking when not doing analysis (#10918)
- 7905b19 Removed "reportShadowedImports" check and associated "renameShadowedFile" action. This feature is off by default in pyright although enabled by default in pylance. (#10891)
- b182c80 Fixed bug that results in spurious errors when a wildcard import targets a traditional
TypeVarwith the same name as a PEP 695 TypeVar. This addresses #10900. (#10903) - eaa43e4 Reduced log level for "Skipping recursive symlink" when enumerating project files.
- b4a158f Clarify editable install behavior with setuptools and uv (#10888)
- d64f3fa pull-pylance-with-pyright-1.1.404-20250902-204731 (#10885)
- b7c1e79 pull-pylance-with-pyright-1.1.404-20250902-173744 (#10882)
This list of changes was auto generated.
Published 1.1.405
Changes:
- 7ee3058 Published 1.1.405.
- bb13689 Fixed bug that results in false positive "reportPossiblyUnboundVariable" error on keyword argument names. This addresses #10811. (#10876)
- 539aabd Updated error message for
NewTypeused inisinstancecheck. I don't think this makes things clearer, but it is technically more correct. Addresses #10601. - ce16aa1 Changed the evaluated type of
__class__fromtype[Self]totype[<Enclosing class]. This addresses #10685. (#10874) - 099954d Added optimization that reduces the number of Uri objects that need to be created during type evaluation. This is an attempt to address #10832. (#10872)
- 93c98d7 Fixed bug that causes a false negative when using unquoted types in a TypedDict functional class definition if the types are forward declared. This addresses #10612. (#10869)
- 29bb1b0 Fixed bug that resulted in false negative when backslash followed by line feed occurs at end of file. This addresses #10814. (#10867)
- f3ab90b Fixed false negative when a keyword parameter in a child class method overrides a method with a
**kwargsin the parent and the type is incompatible. This addresses #10815. (#10866) - c407ded Fixed regression introduced in 1.1.343 that results in nondeterministic (order-dependent) type evaluation under certain circumstances involving recursive type aliases. This addresses #10850. (#10865)
- d97565a Revert "Added support for tracking multiple constraint sets when performing protocol matching. This allows protocols with overloaded methods to contribute independent constraint sets. This addresses #9835. (#9864)" (#10863) [ #10849 ]
See More
- aff9b4f Fixed bug that contributes to out-of-memory crashes under certain circumstances where a module's transitive import graph is very large and may not fit within the available heap space. (#10862)
- 7395f59 Bump tmp from 0.2.3 to 0.2.5 in /packages/vscode-pyright (#10824)
- 769a124 Added support for
match_argsdataclass parameter. This addresses #10858. (#10861) - 464bc01 Fixed bug that results in false negative when a
closed=Falseis used inTypedDictthat subclasses from a non-openTypedDictbase class. This addresses #10859. (#10860) - eccd633 Revert "Reverted a recent change that appears to have affected performance on some projects. This attempts to address #10832. (#10841)"
- b85f7ff Improved performance of import resolution when there are large number… (#10855)
- b45deb0 Document editable installs with uv (#10854)
- cd980e2 Fixed a bug that results in spurious errors if a class decorator is a… (#10846) [ #10836 ]
- 30068aa Fixed a bug that results in false positive errors when using
objectmethods (like__eq__) on aSentinelinstance. This addresses #10773. (#10844) - 1ce3e78 Fixed bug that results in incorrect literal math results for bitwise negation. This addresses #10834. (#10842)
- fe7aaf2 Reverted a recent change that appears to have affected performance on some projects. This attempts to address #10832. (#10841)
- d639324 pull-pylance-with-pyright-1.1.403-20250820-201137 (#10831)
This list of changes was auto generated.