Skip to content

Commit 10d35f0

Browse files
committed
chore: prepare release v0.1.1 - UAT validation before 0.2
1 parent 2482373 commit 10d35f0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.1.1] - 2025-11-07
11+
1012
### Changed
1113

1214
**BREAKING: `lspec validate` output format redesigned** (spec 054)
@@ -31,6 +33,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3133
- Exit codes are unchanged, so CI pipelines should work without modification
3234
- JSON format is available for custom parsing: `lspec validate --format json`
3335

36+
### Fixed
37+
- Fixed potential crash in validate formatter when spec name is missing
38+
3439
## [0.1.0] - 2025-11-02
3540

3641
### Added
@@ -83,4 +88,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8388
- Gray-matter for frontmatter parsing
8489
- Dayjs for date handling
8590

91+
[0.1.1]: https://github.com/codervisor/lean-spec/releases/tag/v0.1.1
8692
[0.1.0]: https://github.com/codervisor/lean-spec/releases/tag/v0.1.0

src/utils/validate-formatter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export function groupIssuesByFile(
9292

9393
// Sort files by spec name (natural order)
9494
fileResults.sort((a, b) => {
95-
if (a.spec && b.spec) {
95+
if (a.spec?.name && b.spec?.name) {
9696
return a.spec.name.localeCompare(b.spec.name);
9797
}
9898
return a.filePath.localeCompare(b.filePath);

0 commit comments

Comments
 (0)