이전 버전입니다. 현재 최신 버전은 0.0.98입니다. ty 0.0.98 · 출시일:
설치 파일 0.0.93
| 아키텍처 | 형식 | 설치 범위 | 파일 크기 | 다운로드 | SHA256 |
|---|---|---|---|---|---|
| 64비트 | ZIP → 포터블 | — | — | github.com | VirusTotal |
| ARM64 | ZIP → 포터블 | — | — | github.com | VirusTotal |
| 32비트 | ZIP → 포터블 | — | — | github.com | VirusTotal |
링크와 SHA256은 Windows 패키지 관리자 커뮤니티 매니페스트에서 가져왔습니다. 실행하기 전에 다운로드한 파일의 해시를 비교해 보십시오.
릴리스 노트
Preview features
- Add diagnostic baselines to help adopt ty in projects with existing errors (#27636). Configure a baseline in pyproject.toml:
[tool.ty]
baseline = "ty-baseline.json"
Run ty check --update-baseline to record existing diagnostics. Subsequent checks filter matching diagnostics from CLI output and show them as hints in the language server. The baseline format may change while the feature is in preview.
Bug fixes
- Fix a panic when checking truthiness in a loop (#29759)
- Fix hang when negating recursive unions of instance types (#29652)
Core type checking
- Avoid synthesizing primary keys for abstract Django models (#29744)
- Combine constraints from repeated ParamSpecs (#29172)
- Fix narrowing of strings and integers compared with enum members (#29743)
- Honor @override on overload implementations in stubs (#29470)
- Preserve caller type variables in nested union inference (#29611)
- Preserve generic callback specializations during return refinement (#29667)
- Preserve mapping capture types on narrowed subjects (#29749)
- Preserve narrowing after guarded match subject captures (#29558)
- Preserve string literals in comparisons with LiteralString (#29741)
- Remove covered exclusions from unions (#29615)
Performance
- Avoid replaying conditions in long boolean expressions (#29754)
- Index nominal union alternatives (#29196)
- Normalize runtime unions on demand (#29727)
- Optimize Linux x86-64 ty releases with LLVM BOLT (#4833)
- Record predicate truthiness alongside expression inference (#29706)
- Reuse exception checkpoints when a new place is read (#29750)
- Reuse runtime operands in eager union annotations (#29770)
- Reuse tuple pattern analysis work (#29197)
- Skip predicates that cannot affect narrowing (#29736)
- Speed up match narrowing over large unions (#29733)
Contributors
- @MichaReiser
- @sharkdp
- @dhruvmanila
- @charliermarsh
- @carljm