Release Notes
Released on 2025-12-29.
Breaking changes
- Rename
non-subscriptablerule tonot-subscriptable(#22193)
Core type checking
- Promote float and complex when promoting literals (#22215)
- Callable type of a type object is not function-like (#22226)
- Fix and simplify callable type materializations (#22213)
LSP server
- Add option to disable syntax errors (#22217)
- Fix completion in decorators with missing declaration (#22177)
- Better completions context detection when typing in decorator positions (#22224)
- Limit the returned completions to reduce lag (#22240)
Diagnostics
- Improve wording of
unsupported-basesub-diagnostic (#22194) - Preserve the invalid assignment diagnostic message when implicitly shadowing a definition (#22219)
Other changes
- Update docker image to use alpine 3.23 and trixie (#2217)
Contributors
Install ty 0.0.8
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ty/releases/download/0.0.8/ty-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ty/releases/download/0.0.8/ty-installer.ps1 | iex"