Skip to content

chore: upgrade storage to v4 - #213

Merged
loks0n merged 1 commit into
mainfrom
chore/update-storage-4
Jul 31, 2026
Merged

chore: upgrade storage to v4#213
loks0n merged 1 commit into
mainfrom
chore/update-storage-4

Conversation

@loks0n

@loks0n loks0n commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • upgrade utopia-php/storage from v3 to v4
  • migrate storage transfers to the new copy API
  • update the test runtime to PHP 8.5

Testing

  • composer validate --strict
  • composer lint
  • composer check
  • PHPUnit unit suite: 64 tests, 386 assertions
  • Dockerized full suite: 86 tests, 470 assertions

@loks0n
loks0n merged commit 4806dce into main Jul 31, 2026
4 checks passed
@greptile-apps

greptile-apps Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Updates the project’s storage and test runtime dependencies.

  • Upgrades utopia-php/storage from v3 to v4.
  • Replaces the removed storage transfer() calls with the v4 copy() API in CSV and JSON sources and destinations.
  • Updates the Dockerized test runtime from PHP 8.3 to PHP 8.5.

Confidence Score: 5/5

The PR appears safe to merge, with no concrete changed-code failure identified.

The dependency, runtime, and four storage API call sites are updated consistently, and no actionable compatibility, behavioral, or security defect remains established.

Important Files Changed

Filename Overview
Dockerfile Updates the test image to PHP 8.5, aligning it with the package’s declared PHP requirement.
composer.json Expands the storage dependency requirement from v3 to v4.
composer.lock Resolves utopia-php/storage to v4.0.0 with matching lockfile metadata.
src/Migration/Destinations/CSV.php Migrates the staged CSV export operation from the removed transfer() API to copy().
src/Migration/Destinations/JSON.php Migrates the staged JSON export operation from the removed transfer() API to copy().
src/Migration/Sources/CSV.php Migrates CSV source downloads from the removed transfer() API to copy().
src/Migration/Sources/JSON.php Migrates JSON source downloads from the removed transfer() API to copy().

Reviews (1): Last reviewed commit: "chore: upgrade storage to v4" | Re-trigger Greptile

@loks0n
loks0n deleted the chore/update-storage-4 branch July 31, 2026 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant