routed_storage 0.2.2
routed_storage: ^0.2.2 copied to clipboard
Routed adapter for server_storage.
Changelog #
0.2.2 - 2026-09-09 #
- Static mounts can now serve storage-only
storage_fsfilesystems registered withStorageManager.registerFilesystem(), including native Cloudflare R2 bindings. - Added
Engine.staticStorage()andRouter.staticStorage()for imperative stream-backed static endpoints. - Require
server_storage0.1.3 or later, the first release containing the storage-only manager and static-handler APIs used by this package. - Prefer asynchronous
storage_fsserving for operational disks so remote filesystems do not enter synchronouspackage:filelisting paths. - Added
Engine.signedStorage()andRouter.signedStorage()for private objects exposed only through time-limited signed URLs. - Added request-scoped
temporaryStorageUrl()andtemporaryStorageUploadUrl()helpers for provider-signed URLs without exposing storage-driver implementations. - Storage-backed static mounts now fail closed on private/unknown visibility and omit private filenames from directory listings.
- Preserved path-only custom disks in declarative static mounts and rooted nested directory-listing links at their requested URL.
0.2.1 - 2026-08-25 #
- Completed public Dartdoc coverage and enabled the
public_member_api_docsanalyzer lint. - Clarified typed storage configuration, provider lifecycle, static mounts, and the Routed response-sink integration in the public API docs.
0.2.0 #
- Breaking: Replace the string-based
StorageDiskConfig.driverfield with the typedLocalStorageDiskConfig; storage configuration now applies all declared disks when no manager is supplied. - Added declarative, storage-backed static mounts through the Routed provider system.
- Aligned static-file handling with the current storage manager APIs.
0.1.0 #
- Initial adapter (PR H)