pypi ty 0.0.10

latest release: 0.0.11
2 days ago

Release Notes

Released on 2026-01-07.

Bug fixes

  • Fix stack overflow due to too small stack size (#22433)
  • Fix stale semantic tokens after opening the same document with new content (#22414)
  • Fix handling of ParamSpec in overloaded functions (#22416)
  • Fix comparisons and arithmetic with NewTypes of float (#22105)
  • Fix several issues with unannotated function return types (#22425)
  • Fix handling of subclasses in Callables (#22411)

LSP server

  • Add support for explicit markdown code fences in docstring rendering (#22373, #22408)
  • Offer completions for T when a value has type Unknown | T (#22436)
  • Sort keyword argument completions higher (#22297)

Core type checking

  • Add support for @total_ordering (#22181, #22183)
  • Better simplification of intersections of tuples (#22094)
  • Support comparisons between variable-length tuples (#21824)
  • Emit diagnostics for method definitions and other invalid statements in TypedDict class bodies (#22351)
  • Improve type-narrowing in calls to len() (#22330)

CLI

  • Add --add-ignore CLI option (#21696)

Configuration

  • include = ["myscript"] will now check myscript even though it doesn't have a Python extension (#22243)

Performance

  • Optimize intersections with a single negated element (#22344)
  • Optimize negated types (#22402)

Documentation

  • Link to Callable __name__ FAQ directly from unresolved-attribute diagnostic (#22437)

Contributors

Install ty 0.0.10

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ty/releases/download/0.0.10/ty-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ty/releases/download/0.0.10/ty-installer.ps1 | iex"

Download ty 0.0.10

File Platform Checksum
ty-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
ty-x86_64-apple-darwin.tar.gz Intel macOS checksum
ty-aarch64-pc-windows-msvc.zip ARM64 Windows checksum
ty-i686-pc-windows-msvc.zip x86 Windows checksum
ty-x86_64-pc-windows-msvc.zip x64 Windows checksum
ty-aarch64-unknown-linux-gnu.tar.gz ARM64 Linux checksum
ty-i686-unknown-linux-gnu.tar.gz x86 Linux checksum
ty-powerpc64-unknown-linux-gnu.tar.gz PPC64 Linux checksum
ty-powerpc64le-unknown-linux-gnu.tar.gz PPC64LE Linux checksum
ty-s390x-unknown-linux-gnu.tar.gz S390x Linux checksum
ty-x86_64-unknown-linux-gnu.tar.gz x64 Linux checksum
ty-armv7-unknown-linux-gnueabihf.tar.gz ARMv7 Linux checksum
ty-aarch64-unknown-linux-musl.tar.gz ARM64 MUSL Linux checksum
ty-i686-unknown-linux-musl.tar.gz x86 MUSL Linux checksum
ty-x86_64-unknown-linux-musl.tar.gz x64 MUSL Linux checksum
ty-arm-unknown-linux-musleabihf.tar.gz ARMv6 MUSL Linux (Hardfloat) checksum
ty-armv7-unknown-linux-musleabihf.tar.gz ARMv7 MUSL Linux checksum

Don't miss a new ty release

NewReleases is sending notifications on new releases.