Skip to content

Release notes for YINI CLI 1.4.0 - 2026 April

Choose a tag to compare

@marko-ks marko-ks released this 12 Apr 00:05
· 75 commits to main since this release

Version 1.4.0 - 2026 Apr

  • Bumped dependency yini-parser to ^1.5.0 which brings:
    • Updated to match YINI Specification RC.5: includes synced grammar files and the latest section-header parsing rules.
    • Stricter, more predictable strict mode: now requires exactly one explicit top-level section and a closing /END terminator.
    • Improved parser reliability overall: better handling of null/empty values, cleaner throwOnError behavior, and expanded validation and test coverage.
  • Added: New validate command.
    Validate one or more YINI (by the YINI-lang project) files.
    
    <file>       Validate a single file.
    <directory>  Validate all .yini files in the directory.
    
    You can provide multiple files and directories, separated by spaces.
    
    Options:
      --warnings-as-errors  Treat warnings as errors for exit code purposes.
      --stats               In text mode, stats only shown when file mode validates exactly one file.
      --format <type>       Output format for validation results: text | json (choices: "text", "json",
                            default: "text")
      --fail-fast           Stop after first file that fails validation.
      --max-errors <n>      Stop after N total errors (across files).
      --no-recursive        Do not scan subdirectories.
      -h, --help            Display full help for all commands.
  • Changed: The short flag for strict mode is now -S (capital). Lowercase -s is now reserved for --silent, which aligns better with common CLI conventions.
  • Improved: Improved the usability of the parse command.
  • Improved: Test fixtures and CLI tests were reorganized for better clarity, separation, and Windows-safe argument handling.

Version 1.3.4

  • Promoted YINI CLI is now considered stable (non-beta) after iterative beta releases and refinements.
  • Fixed: Rebuilt the project and reduced reported from 9 vulnerabilities (5 moderate, 4 high) to 0.
  • Updated: Bumped dependency yini-parser to ^1.4.3.