Skip to content

Commit 2a69445

Browse files
authored
chore: prepare v2.2.1 release
Bump version to 2.2.1 and add changelog entry for manifest-aware modules, export granularity, language templates, and robustness fixes.
1 parent 4db3ed8 commit 2a69445

3 files changed

Lines changed: 18 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.2.1] - 2026-03-25
9+
10+
### Added
11+
12+
- **Manifest-aware module detection** — parses `Package.swift`, `Cargo.toml`, `build.gradle.kts`, `package.json`, `pubspec.yaml`, `go.mod`, and `pyproject.toml` to auto-discover targets and source paths instead of just scanning directories.
13+
- **Export granularity control**`"exportLevel": "type"` in `specsync.json` limits exports to top-level type declarations (class/struct/enum/protocol) instead of listing every member.
14+
- **Configurable module definitions**`"modules"` section in `specsync.json` lets you define module groupings with explicit file lists.
15+
- **Language-specific spec templates**`generate` and `--fix` produce Swift, Rust, Kotlin/Java, Go, and Python templates with appropriate section headers and table columns.
16+
- **AI context boundary awareness** — generation prompt instructs the provider to only document symbols from the module's own files, not imported dependencies.
17+
18+
### Fixed
19+
20+
- **Test file detection** — expanded Swift patterns (Spec, Mock, Stub, Fake), added Kotlin/Java/C# patterns, and detect well-known test directories (`Tests/`, `__tests__/`, `spec/`, `mocks/`).
21+
- **Check command no longer hangs on empty specs** — returns clean JSON/exit 0 when `--fix` is used with no spec files.
22+
- **Exit code 101 panic → friendly error** — wraps main in `catch_unwind`, converts panics to actionable error messages with bug report link.
23+
824
## [2.2.0] - 2026-03-25
925

1026
### Added

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "specsync"
3-
version = "2.2.0"
3+
version = "2.2.1"
44
edition = "2024"
55
description = "Bidirectional spec-to-code validation — language-agnostic, blazing fast"
66
license = "MIT"

0 commit comments

Comments
 (0)