This commit is contained in:
nuno maduro
2026-04-23 09:29:56 -07:00
parent d9c18f9c02
commit e876dba8ba
4 changed files with 206 additions and 5 deletions

View File

@ -29,7 +29,12 @@ final readonly class Fingerprint
{
// Bump this whenever the set of inputs or the hash algorithm changes,
// so older graphs are invalidated automatically.
private const int SCHEMA_VERSION = 4;
//
// v5: ChangedFiles now hashes via `ContentHash` (normalises PHP
// tokens + Blade whitespace/comments) instead of raw bytes.
// Old graphs' run-tree hashes are incompatible and must be
// rebuilt.
private const int SCHEMA_VERSION = 5;
/**
* @return array{