Skip to content

v2.5.1

Choose a tag to compare

@github-actions github-actions released this 22 Jul 18:34
· 153 commits to main since this release
Immutable release. Only release title and notes can be modified.
852cf17

Fixed

  • CustomJsonUpdateSource OOM on large release tarballs (#216) — CustomJsonUpdateSource::downloadUpdate() previously buffered the entire release archive into a string via $response->body() before writing it to disk with File::put(), which OOM'd inside Guzzle's Utils::copyToString() on any tarball larger than roughly half of PHP's memory_limit. The download now streams straight to disk via Http::sink($tempPath)->get(), mirroring the fix applied to GitLabUpdateSource and GitHubUpdateSource in 2.5.0 (#214). Both a transport-level throw and a non-2xx response now clean up the partial file via a shared catch (Throwable) block before rethrowing.