Skip to content
Files SDK
Esc
navigateopen⌘Jpreview
On this page

files-sdk@2.2.1

Patch Changes

  • d296f26: Expose the lazy provider-aware loadFiles runtime loader through files-sdk/loader.
  • c04e0d0: Keep @aws-sdk/* out of the static module graph reachable from files-sdk/r2 so binding- and fetch-mode Workers bundle without the optional peers installed. Consumer bundlers (e.g. rolldown-vite with the Cloudflare Vite plugin) resolve even dynamically-imported chunks at build time, so the s3 entry’s static SDK imports behind the r2 adapter’s lazy boundary hard-errored with MISSING_EXPORT against the optional-peer placeholder (#105). The s3 engine is now SDK-parameterized (s3/core.js); files-sdk/s3 wires it from static imports as before, while the r2 aws-sdk engine loads the SDK modules via dynamic import on first use. No behavior change for files-sdk/s3 consumers.

Last updated on July 25, 2026

Was this page helpful?