You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add path sanitization and validation across all adapters (sanitizeFileName, isPathWithin, normalizePath) to defend against path traversal when consuming code passes untrusted data into file/entry objects
Validate appName in IDB storage — reject empty strings and special characters
Add maxCacheSize (default 50MB) to IDB storage to cap cached file content
Replace generateId() with crypto.randomUUID()
Make getTauriFileUrl() internal — was unnecessarily exported as a public API
Sanitize download filenames in picker-idb adapter
Strip null bytes in filename sanitization
Breaking Changes
readAsJSON() now returns OneFSResult<T> instead of throwing SyntaxError
getEntryUrl() now returns Promise<OneFSResult<string>> instead of Promise<string | null>
Added
getFileUrl() exposed on OneFS facade with OneFSResult<string> return type
dispose() method on OneFS, all adapters, and IDBStorage for connection cleanup
onError callback in OneFSReadDirectoryOptions for stat error reporting