Skip to content

Releases: Deepractice/NodeSpec

Release 20251010-073441

10 Oct 07:42
d7aa8f1

Choose a tag to compare

Release 20251010-073441

Packages

  • @deepracticex/error-handling@0.2.0
  • @deepracticex/logger@0.2.0
  • @deepracticex/template@1.1.0
  • @deepracticex/nodespec-cli@0.1.0
  • @deepracticex/nodespec-core@0.1.0
  • @deepracticex/nodespec-domain@0.1.0

Changes

Test Framework Stabilization

Major iteration to stabilize the test framework and resolve all test failures.

Fixed Issues

  • Configuration File Lifecycle: Resolved step definition conflicts where "I am in the monorepo root" was overwriting configuration files created by "the monorepo has been initialized"
  • Step Definition Duplication: Fixed duplicate "the monorepo is initialized" steps in workspace.steps.ts and validation.steps.ts that had different behavior
  • Package Generator: Added types: [] override in generated tsconfig.json to avoid vitest/globals dependency requirement
  • Output Format Consistency: Standardized output labels (Packages/Apps/Services capitalization, "pnpm workspace" naming)
  • Validation Testing: Corrected error output expectations (stdout vs stderr) for validation failure scenarios

Test Results

  • Reduced from 22 failures to 0 failures
  • All 123 scenarios now passing (932 steps total)
  • Test execution time: ~25 seconds

Impact

This stabilizes the testing infrastructure and ensures reliable CI/CD pipelines going forward. The fixes primarily affect test step definitions and output formatting, with minimal changes to core functionality.

CI/CD Improvements

  • Fixed shell escaping issues in release notes generation that caused "types:: command not found" errors
  • Changed from string concatenation to file-based approach for safer CHANGELOG processing

Release v0.1.0

09 Oct 02:17

Choose a tag to compare

Fix: Add repository field to all packages for npm provenance verification

Release release-20251009-020858

09 Oct 02:09
46cb013

Choose a tag to compare

Release release-20251009-020858

Packages

@deepracticex/template@1.0.0
@deepracticex/logger@0.1.0
@deepracticex/error-handling@0.1.0

Changes

@deepracticex/error-handling

Minor Changes

  • 2249ddb: Initial release of error-handling package
    • Type-safe error classes for HTTP errors (400, 401, 403, 404, 409, 422, 429, 500, 503)
    • Business error classes (DatabaseError, ExternalServiceError, ConfigurationError, BusinessRuleError)
    • Convenient error factory API
    • Express and Hono middleware support
    • Result/Either pattern for functional error handling
    • Full TypeScript support with proper type exports
    • Comprehensive BDD tests with Cucumber

@deepracticex/logger

Minor Changes

  • 2249ddb: Initial release of logger package
    • Pino-based high-performance logging
    • Automatic caller location tracking (package, file, line number)
    • Daily log rotation with separate error logs
    • MCP stdio mode compatibility (auto-disables colors)
    • Electron compatibility (sync mode for worker thread issues)
    • Flexible API supporting multiple call patterns
    • Custom logger instances with package names
    • Full TypeScript support