Skip to content

Commit 47eb50a

Browse files
committed
Update CHANGELOG for version 0.2.5: add new MCP package, enhance dependency commands, improve UI package consolidation, and fix packaging issues
1 parent f0db683 commit 47eb50a

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [0.2.5] - 2025-11-18
11+
12+
### Added
13+
- **`@leanspec/mcp` standalone package** (spec 102) - Dedicated npm package for MCP server integration
14+
- Simpler onboarding: Use `npx @leanspec/mcp` directly in IDE configs
15+
- Better discoverability: Package name clearly indicates MCP functionality
16+
- Zero-config setup: Just copy-paste config snippet for Claude Desktop, Cline, or Zed
17+
- Automatic dependency management: npx handles installation of both `@leanspec/mcp` and `lean-spec`
18+
- Pure passthrough design: Delegates to `lean-spec mcp` with no additional logic
19+
- **Enhanced dependency commands** (spec 099) - Improved CLI and MCP tools for managing spec relationships
20+
- Better dependency graph visualization
21+
- Enhanced `link` and `unlink` commands for managing `depends_on` and `related` fields
22+
- Improved error handling and validation for circular dependencies
23+
- **GitHub Action for automated publishing** (spec 016 - partial implementation) - CI/CD workflow for dev releases
24+
- Automated `@leanspec/mcp` publishing on npm with version suffix
25+
- Pre-release checks and validations
26+
- Package preparation scripts for handling workspace dependencies
27+
28+
### Changed
29+
- **UI Package Consolidation** (spec 103) - Merged `@leanspec/web` into `@leanspec/ui` for simpler architecture
30+
- Single publishable Next.js app package instead of separate web + wrapper packages
31+
- Eliminated complex symlink handling and node_modules distribution issues
32+
- Simplified CLI launcher with direct Next.js standalone server execution
33+
- Cleaner monorepo structure with one less package to maintain
34+
- No breaking changes to user-facing `lean-spec ui` command
35+
- **Package Publishing Workflow** - Enhanced automation for npm releases
36+
- New `prepare-publish` script handles workspace protocol replacement
37+
- New `restore-packages` script reverts changes after publishing
38+
- Updated CI workflow for streamlined version synchronization
39+
40+
### Fixed
41+
- **`@leanspec/ui` packaging issue** (spec 104) - Fixed "Cannot find module 'next'" error in published package
42+
- Root cause: npm pack doesn't follow symlinks by default, so `node_modules/` symlinks in standalone build weren't resolved
43+
- Solution: Include actual pnpm store location (`.next/standalone/node_modules/.pnpm/`) in published files
44+
- Package now correctly bundles all Next.js dependencies (~18.3 MB compressed, 65 MB unpacked)
45+
- Users can now successfully run `lean-spec ui` via published npm package
46+
- **UI command signal handling** - Improved process cleanup and graceful shutdown
47+
- Better handling of Ctrl+C and Ctrl+D to stop the UI server
48+
- Proper signal forwarding to child processes
49+
- **Documentation updates** - Enhanced READMEs for MCP, UI, and CLI packages
50+
- Clearer setup instructions for MCP server integration
51+
- Updated `lean-spec ui` documentation with new package structure
52+
- Added examples for different IDE configurations
53+
54+
### Technical
55+
- All packages bumped to version 0.2.5
56+
- Enhanced build scripts for better monorepo management
57+
- Improved workspace configuration with `.code-workspace` file
58+
- Updated Vitest configuration to use UI package source path
59+
1060
## [0.2.4] - 2025-11-17
1161

1262
### Fixed
@@ -428,6 +478,7 @@ This UAT release operationalizes LeanSpec's five first principles:
428478
- Gray-matter for frontmatter parsing
429479
- Dayjs for date handling
430480

481+
[0.2.5]: https://github.com/codervisor/lean-spec/releases/tag/v0.2.5
431482
[0.2.4]: https://github.com/codervisor/lean-spec/releases/tag/v0.2.4
432483
[0.2.3]: https://github.com/codervisor/lean-spec/releases/tag/v0.2.3
433484
[0.2.2]: https://github.com/codervisor/lean-spec/releases/tag/v0.2.2

0 commit comments

Comments
 (0)