github astral-sh/ty 0.0.1-alpha.35

latest release: 0.0.2
pre-releaseone day ago

Release Notes

Released on 2025-12-16.

Bug fixes

  • Fix panic for stringified comprehensions and boolean expressions in type expression (#21967)
  • Avoid stack overflow when determining inferable typevars (#21971)
  • Fix false-positive invalid-method-override diagnostic on method that uses Callable with a ParamSpec (#21934)
  • Disallow explicit specialization of type variables themselves (#21938)
  • Fix hover type on named expression ("walrus expression") targets (#21952)

LSP server

  • Add "qualify ..." code fix for undefined references (#21968)
  • Add new goto-definition targets on inlay hints (#21950)
  • Remove invalid statement-keyword completions in for-statements (#21979)

Core type checking

  • Add support for __qualname__ and other implicit class attributes (#21966)
  • Emit a diagnostic when a frozen dataclass inherits a non-frozen dataclass and vice versa (#21962)
  • Emit a diagnostic when a type variable with a default is followed by one without a default (#21787)
  • Improve diagnostics for unsupported binary operations and unsupported augmented assignments (#21947)
  • Improve check enforcing that an overloaded function must have an implementation (#21978)
  • Use unqualified names for displays of TypeAliasTypes and unbound ParamSpecs/TypeVars (#21960)

Performance

  • Speed up ty on Linux by using jemalloc (#21975)

Contributors

Install ty 0.0.1-alpha.35

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ty/releases/download/0.0.1-alpha.35/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.1-alpha.35/ty-installer.ps1 | iex"

Download ty 0.0.1-alpha.35

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.