Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

0.4.0

Choose a tag to compare

@josbeir josbeir released this 06 Jan 14:47
· 8 commits to main since this release
44066c4

New Features

Event System (#7)

  • Added event dispatching throughout attribute discovery and caching lifecycle
  • 6 new events:
    • beforeDiscover / afterDiscover - Around complete discovery process
    • beforeScan / afterScan - Around file scanning (when not cached)
    • beforeCacheClear / afterCacheClear - Around cache clearing operations

Breaking Changes

File Modification Time Instead of Content Hashing

  • AttributeInfo::$fileHash (string) → AttributeInfo::$fileTime (int)
  • Removed HashUtility class - no longer using xxh3 hashing
  • Cache validation now uses filemtime() instead of hashing file contents

Why This Change?

  • Faster: No hash computation overhead
  • Simpler: Native PHP filemtime() vs custom hashing
  • Sufficient: File modification time detects changes just as reliably