Skip to content

v1.1 Bug Fixes and Performance Improvements

Choose a tag to compare

@matthughesr matthughesr released this 17 Jan 02:10
· 7 commits to main since this release

v1.1 - Bug Fixes and Performance Improvements

Bug Fixes

  • Fixed critical regex pattern bugs - Removed invalid regex anchors from input defaults that caused incorrect file matching
  • Fixed CloudFormation matching - Now matches exact filename instead of partial matches anywhere in path
  • Added first commit handling - Properly detects and handles initial commits or invalid SHA scenarios

Performance Improvements

  • Optimized git diff execution - Reduced from 3 separate git diff calls to a single call (3x faster)
  • Improved error handling - Added set -euo pipefail for fail-fast behavior and proper error propagation

Enhancements

  • Better debug output - Now displays which specific files triggered each change category
  • Simplified logic - Combined duplicate conditional blocks for cleaner, more maintainable code
  • Git command error handling - Gracefully handles git failures with safe fallback behavior

What Changed

Before:

  • Regex bugs could cause incorrect change detection
  • Multiple redundant git operations
  • No visibility into which files triggered builds

After:

  • Reliable, accurate change detection
  • Faster performance
  • Clear debug output showing exactly what changed