Skip to content

v1.3.0

Choose a tag to compare

@h13 h13 released this 01 Mar 03:30
· 55 commits to main since this release

What's Changed

Refactoring

  • Eliminate --no-scope-shadowing in __autoreload_detect_changes — replaced implicit caller-scope coupling with explicit global variables __autoreload_last_changed / __autoreload_last_deleted
  • Extract __autoreload_conf_files — deduplicated file enumeration logic shared between __autoreload_snapshot and __autoreload_detect_changes

Performance

  • Cache conf.d directory mtime — skip new-file glob scan when the directory hasn't changed, reducing per-prompt overhead

Bug Fixes

  • Preserve cleanup state on source failure — tracking data is no longer lost when a file fails to source, ensuring proper cleanup on subsequent re-source

Tests

  • Replace fragile string replacement with direct setup — test initialization no longer depends on string replace patterns matching production code, improving test maintainability

Docs

  • Updated cleanup overhead note in README

Full Changelog: v1.2.5...v1.3.0