Skip to content

v5.1.0 - Flysystem 3

Latest

Choose a tag to compare

@se7enxweb se7enxweb released this 23 Oct 16:24
· 1 commit to main since this release

Updated: the IO layer (file and image storage) runs on Flysystem 3. Core now requires league/flysystem ^3.35.3, league/flysystem-local ^3.0 (Flysystem 3 moved the local adapter into its own package) and league/flysystem-memory ^3.0, and no longer allows Flysystem 2.

Why: every Flysystem 2.x release, and 3.x up to 3.35.2, is affected by CVE-2026-102601 / GHSA-cxf4-7mrp-vvpr (a bypass of WhitespacePathNormalizer's control-character check through malformed UTF-8). Core uses that normalizer for uploaded file names. Before, league/flysystem-memory ^2.0.6 held every project on Flysystem 2.

  • DynamicPathFilesystemAdapterDecorator implements directoryExists(), the one method the Flysystem 3 adapter interface adds; everything else core uses was already compatible.
  • Projects need no configuration change: oneup's local: adapter and the DFS setup work as before.
  • Upgrade note: code of your own that implements a Flysystem 2 adapter or uses Flysystem 2-only API must be adapted to Flysystem 3. This is why this release is 5.1.0, not a patch.

Verified: core's IO, image, binary file and media tests pass as before (the unit suite has the same pre-existing failures, none in IO), and a fresh Exponential Platform Legacy 5.x install with this core passes composer audit with no advisories, every page and sign-in check, legacy publishing, and real image and file upload, image variation, download and delete.