v0.0.47

5 July 2026

FieldTypeCollection::new() moved onto the fieldtype itself, RecordCollection::withContext/new removed, and git auto-commit disabled by default.

Changed

  • FieldTypeCollection::new(array $data) : item creation moved from RecordCollection onto the fieldtype itself. Call $page->items->new([...]) directly on the decoded collection value; no need to carry context on the collection.
  • RecordCollection::withContext() and RecordCollection::new() removed : the item-creation API now lives exclusively on FieldTypeCollection.
  • Git addon: default commit mode changed from 'auto' to 'manual' in both phlat/config.json and the PageHistory::maybeAutoCommit() guard. Auto-commits no longer fire unless a view explicitly opts in via git.commit = "auto" in its view config.