Skip to content

v1.4.0

Choose a tag to compare

@Goldziher Goldziher released this 29 Mar 15:51
· 813 commits to main since this release
v1.4.0
d324213

What's New

Added

  • detect_language_from_extension and detect_language_from_path exposed across all language bindings (Python, Node.js, Ruby, Go, Java, Elixir, PHP, C#, WASM, C FFI)
  • Java binding: added detectLanguage, detectLanguageFromContent, extensionAmbiguity, getHighlightsQuery, getInjectionsQuery, getLocalsQuery, extract, validateExtraction, toSexp, errorCount
  • Node.js: added missing TypeScript declarations for detectLanguage, detectLanguageFromExtension, detectLanguageFromPath
  • E2E test fixtures for language detection functions

Fixed

  • detect_language exposed in Python public API (#85)
  • PHP extension name corrected to ts-pack-php (hyphens)
  • C# DetectLanguageFromContent missing error check
  • TypeScript documentation snippets use ESM imports

Changed

  • All language snippet READMEs and documentation updated
  • Removed automated grammar updates workflow
  • README generation templates updated with new API functions
  • Java README template uses proper camelCase API names

Full Changelog: v1.3.3...v1.4.0