Skip to content

Version 2.3.1 language detection fixes, and performance improvements

Latest

Choose a tag to compare

@Rtarun3606k Rtarun3606k released this 04 Sep 07:42
· 50 commits to main since this release
7737b05

TakaTime v2.3.1 — Improved Language Prioritization

Language Detection Improvements

  • Improved language detection priority for modern and commonly used languages.
  • Increased priority for Rust and other actively used languages when file extensions are ambiguous.
  • Improved handling of ambiguous extensions by prioritizing commonly encountered languages over legacy or rarely used alternatives.
  • Reduced incorrect detections caused by outdated or uncommon language mappings such as RenderScript.
  • Refined heuristic ordering to provide more accurate results for modern development projects.
  • Improved detection consistency for languages commonly used in web, systems, and application development.

Detection Accuracy

  • Updated ambiguous-extension resolution to favor practical, frequently used languages.
  • Improved Rust detection when extensions overlap with legacy language definitions.
  • Reduced false positives from rarely used languages.
  • Maintained fallback handling for less common languages where reliable detection is available.

Performance & Reliability

  • Continued use of precompiled detection heuristics.
  • Improved language selection without requiring changes to existing telemetry data.
  • Improved detection logs to make language-resolution decisions easier to troubleshoot.

Data Consistency

  • Existing language normalization and migration functionality remains unchanged.
  • New detections will use the updated language-priority rules to reduce future Unknown and incorrect language records.