Skip to content

v0.5.4

Choose a tag to compare

@AmiteK23 AmiteK23 released this 15 Feb 16:28
· 117 commits to main since this release
c8908a8

This release focuses on CLI reliability, graceful shutdown safety, improved failure reporting, and enhanced debugging visibility. It introduces centralized cleanup handling, ensures compare-mode failures are surfaced clearly, and improves diagnostics for unresolved dependencies.


🐞 Fixed

Graceful Shutdown on Process Exit

  • Added centralized cleanup registry (src/utils/cleanup.ts) for consistent resource cleanup.
  • Watch mode file watchers and status files are now cleaned up on any exit (errors, SIGINT, SIGTERM, SIGHUP).
  • Replaced direct process.exit() paths with gracefulShutdown() to prevent orphaned resources.
  • registerCleanup() supports async cleanup handlers with priority ordering.
  • Signal handlers now route through gracefulShutdown().

Compare-Modes Complete Failure Detection

  • Added checkBundleResults() helper to detect full failure across Promise.allSettled.
  • Throws a descriptive error when all bundle generations fail.
  • Logs warnings for partial failures.
  • Affects --compare-modes in stamp context.

🔍 Diagnostics

Debug Logging for Unresolved Dependencies

  • Added debugLog() helper to debug.ts (complements debugError()).
  • Manifest building now logs unresolved dependencies when LOGICSTAMP_DEBUG=1.
  • Missing dependencies during usedBy relationship building are now surfaced (when LOGICSTAMP_DEBUG=1).

🔗 Related PRs

  • #83 – README refinements
  • #84 – graceful shutdown & compare-modes reliability
  • #85 – debug logging improvements
  • #86 – config error-handling refactor
  • #87 – additional core module test coverage
  • #88 – release prep

👉 Full changelog