Αυτή είναι παλαιότερη έκδοση. Η τελευταία έκδοση είναι η 0.0.104. ty 0.0.104 · Κυκλοφορία:
Αρχεία εγκατάστασης 0.0.93
| Αρχιτεκτονική | Τύπος | Εμβέλεια | Μέγεθος αρχείου | Λήψη | SHA256 |
|---|---|---|---|---|---|
| 64-bit | ZIP → Φορητό | — | — | github.com | VirusTotal |
| ARM64 | ZIP → Φορητό | — | — | github.com | VirusTotal |
| 32-bit | ZIP → Φορητό | — | — | github.com | VirusTotal |
Ο σύνδεσμος και το SHA256 προέρχονται από το κοινοτικό manifest του Windows Package Manager. Συγκρίνετε το hash του ληφθέντος αρχείου πριν το εκτελέσετε.
Σημειώσεις έκδοσης
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