lean-spec 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,76 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [Unreleased]
9
+
10
+ ## [0.1.2] - 2025-11-10
11
+
12
+ ### Changed
13
+
14
+ **BREAKING: Command and directory naming migration**
15
+ - **Command name**: `lspec` → `lean-spec` (full name for clarity and consistency)
16
+ - **Config directory**: `.lspec/` → `.lean-spec/` (matches package and command name)
17
+ - **Binary**: Only `lean-spec` command available (removed `lspec` alias)
18
+
19
+ **Benefits:**
20
+ - ✅ Consistency: Package name, command, and config directory all use `lean-spec`
21
+ - ✅ Clarity: `npx lean-spec` works immediately (matches npm package name)
22
+ - ✅ Simplicity: Single command to remember, no abbreviations
23
+
24
+ **Migration Guide for Existing Users:**
25
+
26
+ 1. **Uninstall old version:**
27
+ ```bash
28
+ npm uninstall -g lean-spec
29
+ ```
30
+
31
+ 2. **Install new version:**
32
+ ```bash
33
+ npm install -g lean-spec
34
+ ```
35
+
36
+ 3. **Update existing projects:**
37
+ ```bash
38
+ # Rename config directory
39
+ mv .lspec .lean-spec
40
+ ```
41
+
42
+ 4. **Update commands:**
43
+ - Old: `lspec init` → New: `lean-spec init`
44
+ - Old: `lspec board` → New: `lean-spec board`
45
+ - Old: `npx lspec` → New: `npx lean-spec`
46
+
47
+ **All documentation, examples, and specs updated to reflect new naming.**
48
+
49
+ ## [0.1.1] - 2025-11-07
50
+
51
+ ### Changed
52
+
53
+ **BREAKING: `lspec validate` output format redesigned** (spec 054)
54
+ - Output now follows mainstream lint tool conventions (ESLint, TypeScript, Prettier)
55
+ - File-centric grouping: All issues for a spec are shown together
56
+ - Quiet success by default: Only specs with issues are shown, passing specs are summarized
57
+ - ESLint-style format: Aligned columns with `severity message rule-name`
58
+ - Relative paths shown instead of absolute paths
59
+ - Exit codes remain unchanged: 0 for success/warnings, 1 for errors
60
+
61
+ ### Added
62
+
63
+ **`lspec validate` new flags:**
64
+ - `--verbose`: Show all passing specs (restores detailed output)
65
+ - `--quiet`: Suppress warnings, only show errors
66
+ - `--format json`: Output results as JSON for CI integration
67
+ - `--rule <name>`: Filter issues by specific rule (e.g., `max-lines`, `frontmatter`)
68
+
69
+ **Migration Guide:**
70
+ - If you prefer the old verbose output, use `lspec validate --verbose`
71
+ - The new default shows only specs with issues for better signal-to-noise ratio
72
+ - Exit codes are unchanged, so CI pipelines should work without modification
73
+ - JSON format is available for custom parsing: `lspec validate --format json`
74
+
75
+ ### Fixed
76
+ - Fixed potential crash in validate formatter when spec name is missing
77
+
8
78
  ## [0.1.0] - 2025-11-02
9
79
 
10
80
  ### Added
@@ -41,7 +111,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
41
111
  - 62 passing tests with comprehensive coverage
42
112
  - Integration tests for all commands
43
113
  - TypeScript with strict mode
44
- - ESLint and Prettier configuration
114
+ - Prettier configuration
45
115
 
46
116
  ### Documentation
47
117
  - Complete README with examples and API reference
@@ -57,4 +127,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
57
127
  - Gray-matter for frontmatter parsing
58
128
  - Dayjs for date handling
59
129
 
130
+ [0.1.2]: https://github.com/codervisor/lean-spec/releases/tag/v0.1.2
131
+ [0.1.1]: https://github.com/codervisor/lean-spec/releases/tag/v0.1.1
60
132
  [0.1.0]: https://github.com/codervisor/lean-spec/releases/tag/v0.1.0