github astral-sh/ty 0.0.1-alpha.29

pre-release9 hours ago

Release Notes

Released on 2025-11-28.

Bug Fix

  • Fix multiple panics due to recursive type definitions (#20566)

Type inference

  • Support type[T] where T is a type variable (#21650)
  • More precise inference for a failed specialization of a generic type (#21651)
  • Detect invalid overrides of methods that are marked as typing.final (#21646)
  • Fix subtyping of type[Any] / type[T] and protocols (#21678)
  • Added generics support for implicit and explicit (typing.TypeAlias) type aliases (#21553)

LSP server

  • Add import ... code action for unresolved references (#21629)
  • Include all members on type in autocompletion suggestions for type[] types (#21670)
  • Mark comprehension targets as definitions in semantic highlighting (#21636)
  • Add IDE autofixes for two "Did you mean...?" suggestions (#21667)
  • Prettier rendering of code:: lang in docstrings (#21665)
  • Support go-to for patterns and typevars (#21671)

Diagnostics

  • Add subdiagnostic hint if a variable with type Never is used in a type expression (#21660)
  • Improve diagnostic messages for invalid type arguments during explicit specialization (#21635)

Contributors

Install ty 0.0.1-alpha.29

Install prebuilt binaries via shell script

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

Download ty 0.0.1-alpha.29

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.