Skip to content

v0.1.1 - UAT Release

Choose a tag to compare

@tikazyq tikazyq released this 07 Nov 02:09
· 1587 commits to main since this release

Release v0.1.1 - UAT Validation

This is a User Acceptance Testing (UAT) release before the official 0.2 launch.

Changed

BREAKING: lspec validate output format redesigned (spec 054)

  • Output now follows mainstream lint tool conventions (ESLint, TypeScript, Prettier)
  • File-centric grouping: All issues for a spec are shown together
  • Quiet success by default: Only specs with issues are shown, passing specs are summarized
  • ESLint-style format: Aligned columns with severity message rule-name
  • Relative paths shown instead of absolute paths
  • Exit codes remain unchanged: 0 for success/warnings, 1 for errors

Added

lspec validate new flags:

  • --verbose: Show all passing specs (restores detailed output)
  • --quiet: Suppress warnings, only show errors
  • --format json: Output results as JSON for CI integration
  • --rule <name>: Filter issues by specific rule (e.g., max-lines, frontmatter)

Fixed

  • Fixed potential crash in validate formatter when spec name is missing

Migration Guide

  • If you prefer the old verbose output, use lspec validate --verbose
  • The new default shows only specs with issues for better signal-to-noise ratio
  • Exit codes are unchanged, so CI pipelines should work without modification
  • JSON format is available for custom parsing: lspec validate --format json

Installation

npm install -g lean-spec@0.1.1

Full Changelog: v0.1.0...v0.1.1