Releases: codervisor/lean-spec-docs
Releases · codervisor/lean-spec-docs
v0.2.4 - Bug Fixes and UI Improvements
Fixed
- CLI
lean-spec uipnpm flow - Removedpnpm dlx --prefer-offlineforcing offline cache, so the UI command now fetches@leanspec/uion demand and no longer fails when the package is missing locally. - Web filesystem relationship parsing - UI development mode now respects the
SPECS_DIRenvironment variable, so relationships and sub-spec counts resolve correctly when serving specs from an external workspace (fixes ENOENT errors when pointing the UI at another repo). - Web sidebar scroll position drift - Eliminated scroll position jumping during navigation
- Fixed React 19
useSyncExternalStoreinfinite loop by stabilizing server snapshot references - Isolated scroll persistence to prevent global store re-renders on every scroll event
- Implemented component-local scroll management with
useIsomorphicLayoutEffectfor flicker-free restoration - Added guarded auto-anchoring that centers active spec on page refresh without disrupting user scrolling
- Validated smooth scrolling for 100+ spec lists with no drift during rapid navigation or filtering
- Fixed React 19
- Web spec detail page sub-specs display - Fixed missing sub-specs tabs and count indicator
- Sub-specs tabs now correctly display when available
- Sidebar shows sub-spec count (e.g., "+3") for specs with additional markdown files
- Added
getSpecsWithSubSpecCount()function for efficient sub-spec counting - Enhanced
SidebarSpectype to includesubSpecsCountfield
@leanspec/uipackage build - Fixed static asset bundling for npm distribution- Changed from symlinks to copying static assets into standalone build
- Ensures Next.js static files and public assets are included in published package
- Fixed 404 errors for
/_next/static/*and/public/*assets - Cross-platform compatible (Windows, macOS, Linux)
Full Changelog: https://github.com/codervisor/lean-spec/blob/main/CHANGELOG.md\#024---2025-11-17