Skip to content

v1.8.0 - Deterministic Output Generation

Choose a tag to compare

@thegalah thegalah released this 25 Aug 15:56
· 4 commits to master since this release

🎯 Major Improvements

Fixed Critical Hash Non-Determinism

  • Fixed: Hash calculation producing different results on each run
  • Fixed: File processing order inconsistencies in parallel mode
  • Fixed: Schema map iteration order causing output variations
  • Result: Consistent, reproducible output generation across all environments

Enhanced Documentation & Testing

Infrastructure Improvements

  • Improved: Unified test output directories under .test-tmp/
  • Improved: Simplified .gitignore patterns
  • Improved: Enhanced README description accuracy

πŸš€ Why Upgrade?

This release is essential for:

  • βœ… CI/CD Pipelines - Eliminates build inconsistencies
  • βœ… Git Diff Stability - No more spurious changes in generated files
  • βœ… Cache Effectiveness - Proper incremental builds
  • βœ… Team Collaboration - Consistent output across all developers

πŸ“¦ Migration

Quick Upgrade

npm install --save-dev ts-runtime-validation@1.8.0
# Clear cache and regenerate
rm -rf .ts-runtime-validation-cache
ts-runtime-validation --cache

Performance Optimized Setup

ts-runtime-validation --cache --parallel --progress --minify --tree-shaking

πŸ§ͺ Testing

  • βœ… 124 tests passing
  • βœ… Extended deterministic output validation
  • βœ… Cross-platform compatibility verified
  • βœ… Performance regression testing completed

Full Changelog: https://github.com/thegalah/ts-runtime-validation/blob/v1.8.0/CHANGELOG.md