Skip to content

YTL v0.4.2 - LSP Update

Pre-release
Pre-release

Choose a tag to compare

@Regentq Regentq released this 19 Nov 16:01
· 1 commit to main since this release

YTL v0.4.2 - Localization & Validation Update

This release focuses on architecture improvements, full localization support, and significantly enhanced validation logic for network types.

Added

  • Full Localization (EN/RU): All diagnostic messages are now localized. Translations are stored in .ytl files and parsed by the YTL language server itself.
  • Security-Focused Validation: IPv4, IPv6, CIDR, MAC, and UUID validators now detect Unicode homoglyphs (visual spoofing), BOM characters, and fake separators.
  • Workspace Architecture: Project restructured into a Cargo Workspace (ytl-core and ytl-lsp).

Fixed

  • Fixed a bug where # in HEX colors was incorrectly parsed as a comment.
  • Fixed byte vs. character counting issues in IPv4 octet validation.
  • Fixed placeholder replacement issues ({}) in localized error messages.

Changed

  • Validation logic now collects all invalid characters in a string instead of stopping at the first one.