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 ($_FILEStmp path) usingmove_uploaded_file. Separates the HTTP-upload path from the general file-copy path.
Changed
PageFiles::store()now usesF::copy()instead ofmove_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 callPageFiles::upload()instead ofstore().App::instance()now callsboot()eagerly on first construction, so the app is fully initialized beforeexecute()is called. This lets CLI scripts and other non-execute()callers rely on a booted app without manually calling boot.Page::new()now callssave($data)unconditionally : previously skipped when$datawas empty, leaving the page without adata.jsonon disk.