github astral-sh/ty 0.0.7

6 hours ago

Release Notes

Released on 2025-12-24.

Bug fixes

  • Fix classification of modules in import x as y for semantic syntax highlighting (#22175)
  • Fix module resolution on network drives (#22173)
  • Render the entire diagnostic message in all output formats (#22164)

Other changes

  • Add a dedicated diagnostic for TypedDict deletions (#22123)
  • Check __delitem__ instead of __getitem__ for del x[k] (#22121)
  • Fix @staticmethod combined with other decorators incorrectly binding self (#22128)
  • Fix implementation of Top[Callable[..., object]] (#22145)
  • Improve diagnostic when callable is used in a type expression instead of collections.abc.Callable or typing.Callable (#22180)
  • Improve diagnostic when a user tries to access a function attribute on a Callable type (#22182)
  • Include the specialization of a generic TypedDict as part of its display (#22174)
  • Support tuple narrowing based on member checks (#22167)
  • Synthesize __delitem__ for TypedDict to allow deleting non-required keys (#22122)

Contributors

Install ty 0.0.7

Install prebuilt binaries via shell script

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

Download ty 0.0.7

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.