Skip to content

0.3.0

Choose a tag to compare

@josbeir josbeir released this 25 Dec 12:08
· 11 commits to main since this release
7e00139

New Features

  • HashUtility: Centralized hashing utility for consistent xxh3 hashing across plugin (#6)

    • Single source of truth for hash algorithm
    • Cleaner API with HashUtility::hash() and HashUtility::hashFile()
    • Full test coverage (10 tests)
  • Cache Validation: New cache integrity validation system (#5)

    • AttributeCacheValidator service validates cached attribute files
    • AttributeCacheValidationResult value object for validation results
    • --validate option in cache command to verify cache integrity
    • File existence and hash mismatch detection

Improvements

  • Commands Refactored (#5):

    • Renamed to plural forms: attributes:cache, attributes:inspect, attributes:list
    • Former attribute:discover is now attributes:cache
    • Added --no-clear and --clear-only options to cache command
  • PathResolver Simplification:

    • Now accepts PluginLocator directly instead of Closure callback
    • Cleaner API, easier to understand
    • Lazy loading behavior preserved
  • Internal Improvements:

    • Simplified cache key constant (CACHE_KEY vs REGISTRY_CACHE_KEY_ALL)
    • Refactored test helpers to AttributeRegistryTestTrait
    • Updated PathResolver test names for clarity
    • Improved code coverage across all components