v0.0.44

5 July 2026

PageFiles::store split into store and upload, App::instance boots eagerly, and Page::new always calls save.

Added

  • PageFiles::upload(string $tmpPath, string $name, string $pageUuid, array $options) : stores a real HTTP upload ($_FILES tmp path) using move_uploaded_file. Separates the HTTP-upload path from the general file-copy path.

Changed

  • PageFiles::store() now uses F::copy() instead of move_uploaded_file, making it correct for CLI and programmatic use where the source is an already-present file, not a PHP upload.
  • Page::upload() updated to call PageFiles::upload() instead of store().
  • App::instance() now calls boot() eagerly on first construction, so the app is fully initialized before execute() is called. This lets CLI scripts and other non-execute() callers rely on a booted app without manually calling boot.
  • Page::new() now calls save($data) unconditionally : previously skipped when $data was empty, leaving the page without a data.json on disk.