github microsoft/pyright 1.1.407
Published 1.1.407

one day ago

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 --createstub doing nothing. This addresses #11043. (#11044)
  • 538053d Fixed bug that causes a false negative when a TypedDict overrides a parent with extra_items that are not ReadOnly with a ReadOnly field. This addresses #11037. (#11038)
  • ba3f0d4 Fixed bug that results in a false positive when a namedtuple functional form is used with a field starting with an underscore and rename=True. This addresses #11033. (#11034)
  • 80eb0dc Fixed bug in type narrowing for literal patterns. The runtime uses equality checks, so matching against the pattern 3 cannot necessarily narrow the type to Literal[3]. This addresses #11026. (#11028)
  • b1c9ae2 Fixed bug that results in a false positive error when a with statement has a single parenthesized context manager. This addresses #11020. (#11024)
  • 346f74c Fixed a bug that causes a @dataclass_transform to fail if the decorator returns a callback protocol rather than a Callable. 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 **kwargs parameter 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.

Don't miss a new pyright release

NewReleases is sending notifications on new releases.