Repository navigation
Releases
Releases · SiaFoundation/sia-storage-app
mobile 1.15.1 (2026-11-20)
Fixes
- The app deletes copies of files its library has no record of, such as those an earlier version left behind after clearing local data, once a day while it is open, and Clear local files reports the space it actually freed and finishes much sooner on a large library.
fs.liveFileTypeslooks each id up by primary key, so its time no longer grows with the size of the library.runOrphanScannertakesspareWrittenWithin, reportsbytesFreedand skips files being written,fs.findOrphanedFileIdstakeswrittenSince,fs.filesBeingWritten()lists the idswriteFileData,adoptFileandcopyFileare writing, andfs.removeFileByPathreturns the bytes it removed. - Photos that finish uploading during an import are removed by the regular cache cleanup instead of staying on the device for a day, once their thumbnails are made, and scrolling past photos in the library no longer keeps their copies on the phone. Only opening, sharing or saving a file counts as using it.
fs.getFileUricounts a read as a use only when passed{ recordUse: true }, andfs.evictionCandidatestakes the thumbnail types to wait for. - While the phone is charging, the app's background run clears space from cached copies first, then keeps going until imports, the photo library walk, library sync and metadata changes are done, and checks for library changes at least once, instead of stopping as soon as nothing is waiting to upload. Background runs also remove stranded local copies once a day, and stop early when the app cannot reach the network or nothing is moving, instead of holding the phone awake.
imports.activeCopies()reports the import files being copied and the bytes copied so far, and the sync state counts finished sync-down runs insyncDownRuns. - A deleted folder no longer stays behind empty or comes back on your other devices. It goes to the trash as one item, and restoring it, or a file trashed from it earlier, puts the files back in the folders they came from, creating them again if needed. Trashing the last file in a folder removes the folder too, except in the Finder folder on the Mac, which keeps it until you delete it.
- Cache eviction and Clear local files finish when some files cannot be deleted, instead of retrying the same files until they are stopped.
fs.evictionCandidates,fs.nonCurrentCachedFilesandfs.trashedCachedFilestake a cursor and return each row'susedAt. - A file's local copy is no longer removed to save space, and Finder no longer treats it as backed up, until the file is on the indexer you use now, so switching indexers cannot leave a file with no copy the new indexer can get.
- A photo library import removes the copies of photos it has already uploaded as it goes, so it no longer fills the device and stops to wait for free space.
- While uploads or sync keep changing the library, the grid's loading spinner clears once the next page arrives, where it could stay stuck until the app restarted.
useFileListreturnsisLoadingMoreanduseLoadMoretakes it in place ofdataandisValidating, and list reloads andinvalidateAll()refreshes each run one at a time, with one more after for changes made meanwhile. - The library grid, its counts and the photo viewer load faster in large libraries, for every sort order.
buildLibraryQueryPartsreturnsindexedByclauses for reads over the whole library, and the name sort no longer moves files without anameSortKeyto the end. - Backed-up files kept on the phone are removed once they have gone an hour unused, instead of after a day unused and only while the app held more than 4 GB, so the app frees space sooner.
- Clearing local data, signing out and
sia resetdelete the device's copies of the library they drop. Before, those copies stayed on the device and no cleanup could find them again.sia resetstops without deleting anything when the daemon does not shut down.downloads.cancelAll()resolves once every cancelled download has settled. - Share Link lists the files being shared, and the files on a link once it is made, by folder and then by name, in the same order on every device.
- Putting a file in the trash, on its own or by deleting its folder, takes it off your share links, and restoring it no longer shares it again.
- The status says "Waiting to upload" while files on the device have not uploaded yet, instead of "Up to date" on desktop and "Importing" on mobile.
@siastorage/core/lib/uploadActivityaddssummarizeUploadsandfilesWaitingToUploadfor building that status. - The status says when the account's storage is full and how many files are waiting on it, and how many files could not upload while they wait to be tried again. A file saved while the account is full waits for room instead of failing.
app.uploads.getState()reportsstorageFull, andfiles.querytakesidsto limit a query to those rows. - A file trashed before it finishes uploading leaves the upload queue and is not uploaded, and neither are its thumbnails. A restored file waits to upload like any other new file.
- A file that fails to upload is tried again after a delay that grows with each failure, instead of over and over without a pause. A file that can't be read waits up to 30 minutes, a network failure up to 2 minutes, and every file is tried again as soon as the connection comes back.
- The photo viewer lets you swipe once its list of photos loads after a failed try, where it stayed on the opened photo until the app restarted.
desktop 0.0.2 (2026-11-20)
Features
sia config set cacheMinAgechanges how long a file must go unused before its local copy is removed, and the status window shows how much is cached, with how much of it hasn't uploaded yet and so stays until it does.- Backed-up files cached on this computer are removed once they have gone an hour unused, and they download again when opened.
- The status window has Clear Local Files, which removes this Mac's copies of files that are already backed up and keeps the rest.
- Downloads in the Finder folder are removed once they have gone an hour unused, as the app's own copies are, and Clear Local Files removes them too. A removed file stays in the folder and downloads again when opened. Clear Local Files runs in the background, and the window shows it running until it finishes. Closes #1063.
- Sia Storage opens when you log in, so the Finder folder and syncing are back after a restart without opening the app. It is turned on the first time the app has an account, and the Open at login switch in the status window turns it off.
- The menu bar popover has an Activity tab listing the files added most recently, each with its thumbnail or file type icon and whether it is uploaded yet. Clicking a file shows it in Finder, and a button beside it copies a share link in one click, using link settings you can change next to the button.
- Finder shows each photo and video's own thumbnail in the Sia Storage folder, including files that are not downloaded to the Mac.
Fixes
- A deleted folder no longer stays behind empty or comes back on your other devices. It goes to the trash as one item, and restoring it, or a file trashed from it earlier, puts the files back in the folders they came from, creating them again if needed. Trashing the last file in a folder removes the folder too, except in the Finder folder on the Mac, which keeps it until you delete it.
- A file you open or save in the Finder folder is kept once on your Mac instead of twice, so when you choose Remove Download in Finder, or macOS removes a download to free space, the space comes back at once.
- Files you open from the Finder folder count as recently used, so when the cache needs room it removes files you have not opened first.
- The Finder folder appears when macOS drops the app's first attempt to add it at launch, instead of staying missing until the app is relaunched.
- Finder shows which files are still uploading.
- The app's window is dark in dark mode and white in light mode, like other Mac windows, instead of a washed-out gray that made everything in it harder to read.
- The On this Mac total counts files that only the Finder folder holds, such as a video you watched part of.
- A file that another device replaces while Finder is reading it in parts, such as a video that is playing, is no longer left with bytes from both versions.
- Restart installs a downloaded update and reopens the app, instead of sometimes doing nothing. If the install fails, the app says so and Restart can be tried again.
- The app no longer asks you to sign in again when its background service is still starting or busy, such as right after an update, and a window opened before the service answers shows your library once it does.
- The status line in the menu bar popover and the window shows one progress ring in place of a spinner and a bar, filling as files upload and spinning while there is no measure, and setup's steps show the same ring.
- The background sync process shows as "Sia Storage Sync" in Activity Monitor instead of "bun".
- An update waiting for a restart no longer goes stale: the app keeps checking for releases and downloads a newer one in the background, so one restart installs the newest version.
- A file's local copy is no longer removed to save space, and Finder no longer treats it as backed up, until the file is on the indexer you use now, so switching indexers cannot leave a file with no copy the new indexer can get.
- Opening a file from Finder no longer fails when the cache removes its copy at the same moment, and a download is never cut short by cache cleanup.
fs.removeFiletakesskipIfLockedand resolves whether it removed the file. - Share Link lists the files being shared, and the files on a link once it is made, by folder and then by name, in the same order on every device.
- Putting a file in the trash, on its own or by deleting its folder, takes it off your share links, and restoring it no longer shares it again.
- The status says "Waiting to upload" while files on the device have not uploaded yet, instead of "Up to date" on desktop and "Importing" on mobile.
@siastorage/core/lib/uploadActivityaddssummarizeUploadsandfilesWaitingToUploadfor building that status. - The status says when the account's storage is full and how many files are waiting on it, and how many files could not upload while they wait to be tried again. A file saved while the account is full waits for room instead of failing.
app.uploads.getState()reportsstorageFull, andfiles.querytakesidsto limit a query to those rows. - A file trashed before it finishes uploading leaves the upload queue and is not uploaded, and neither are its thumbnails. A restored file waits to upload like any other new file.
- A file that fails to upload is tried again after a delay that grows with each failure, instead of over and over without a pause. A file that can't be read waits up to 30 minutes, a network failure up to 2 minutes, and every file is tried again as soon as the connection comes back.
core 0.0.22 (2026-11-20)
Features
cache.clearremoves the local copy of every file already uploaded to the current indexer, as Clear local files does on mobile, after any eviction pass already running. Eviction results reportbytesFreed.settings.getCacheMinAgeandsetCacheMinAgestore how long an uploaded file is kept after its last use,cache.evictruns one eviction pass with it, and a call during a running pass gets that pass's result.fs.evictionCandidatesandfs.trashedCachedFilestake the indexer URL to check,localObjects.countForFileOnIndexeris added, andsettings.setIndexerURLre-reports every file to the provider feed when the URL changes.- A library can be shown in a mount, a folder a file manager keeps its own copies in (
settings.setMount). The newmount_copiestable records which version of each file the mount holds, kept byprovider.fetch,fetchRange,create,write,renameandtrash, andprovider.touchrecords that a file was opened there. An item'sdownloadedis also true for a file the mount holds whole, andcache.bytesOnDevicecounts both places. - On a library with a mount, the eviction pass also frees the mount's copies of uploaded files unused for the hold time, asking the system to remove each through the host adapter's new
dehydrate.cache.startClearandcache.clearStatestart a clear without waiting and follow it, and every provider anchor and file metadata version carries an item format, so an integration lists the library again once. - A host passes a
mountadapter that lists the files the system holds in the mount, and each eviction pass corrects themount_copiestable from that list.provider.mountChangedlets an integration ask for an early read of it. - On a library with a mount, the cache copy of a file is removed once the file is on the current indexer and the mount holds it whole: when the system reports the file, after an upload is saved, after thumbnails are made and at the start of each eviction pass. The host's
mountadapter gainsresend, which asks the system to hand a file's bytes back, andprovider.writekeeps bytes that match the current version as its cache copy when it has none and is not on the current indexer, so a file only the mount holds can upload again after the indexer is changed. app.provider.thumbnailreturns a file's 512px thumbnail for a File Provider host, and a cloud-only file'smodifiedAtreads one second later once its 512px thumbnail is on the device, which is what makes Finder ask again for a thumbnail it failed to get.provider.fetchRangetakes the content version the system asked for and astrictflag, and returns the item for the version it served. Withstrictit rejects when that version is no longer the current one.files.recent(indexerURL, limit)returns the files most recently added to the device, newest first, with their folder and whether each is uploaded to that indexer, local or lost, anduseRecentFiles(limit)reads it from the library cache.shares.filesToSharereturns the files a link is about to be made for, with their sizes and folders, and it andshares.linkslist files with the top of the library first, then by folder path, then by name, using the library's natural name sort.thumbnails.read(fileId, size)returns one version's thumbnail as base64 image data, downloading it if only another device has it, or null when no thumbnail of that size has synced or the file is trashed or deleted.- The status says "Waiting to upload" while files on the device have not uploaded yet, instead of "Up to date" on desktop and "Importing" on mobile.
@siastorage/core/lib/uploadActivityaddssummarizeUploadsandfilesWaitingToUploadfor building that status. - The status says when the account's storage is full and how many files are waiting on it, and how many files could not upload while they wait to be tried again. A file saved while the account is full waits for room instead of failing.
app.uploads.getState()reportsstorageFull, andfiles.querytakesidsto limit a query to those rows. - A trashed file leaves its folder and remembers the folder's path, which restore recreates, and a folder emptied by trashing or deleting its last file is removed, as sync-down already does on other devices.
files.trashFiletakeskeepFolderanddirectories.deleteAndTrashFilestakeskeepParentto leave that folder in place.TrashEntrygainskindandfiles, with a deleted folder listed as onefolderentry, itsfolderis now the path the entry restores into, andFileMetadatagainstrashedFolder.restoredTexttakes the entry's kind,directories.deleteAndTrashFilesruns in one transaction, andrenameFile,moveFile,trashFileandtombstoneFilegiven a trashed file's id do nothing.
Fixes
- The app deletes copies of files its library has no record of, such as those an earlier version left behind after clearing local data, once a day while it is open, and Clear local files reports the space it actually freed and finishes much sooner on a large library.
fs.liveFileTypeslooks each id up by primary key, so its time no longer grows with the size of the library.runOrphanScannertakesspareWrittenWithin, reportsbytesFreedand skips files being written,fs.findOrphanedFileIdstakeswrittenSince,fs.filesBeingWritten()lists the idswriteFileData,adoptFileandcopyFileare writing, andfs.removeFileByPathreturns the bytes it removed. - Photos that finish uploading during an import are removed by the regular cache cleanup instead of staying on the device for a day, once their thumbnails are made, and scrolling past photos in the library no longer keeps their copies on the phone. Only opening, sharing or saving a file counts as using it.
fs.getFileUricounts a read as a use only when passed{ recordUse: true }, andfs.evictionCandidatestakes the thumbnail types to wait for. - While the phone is charging, the app's background run clears space from cached copies first, then keeps going until imports, the photo library walk, library sync and metadata changes are done, and checks for library changes at least once, instead of stopping as soon as nothing is waiting to upload. Background runs also remove stranded local copies once a day, and stop early when the app cannot reach the network or nothing is moving, instead of holding the phone awake.
imports.activeCopies()reports the import files being copied and the bytes copied so far, and the sync state counts finished sync-down runs insyncDownRuns. - Provider items report a file whose object is on the current indexer as not uploading, even while its upload entry is still open.
- Trashing a file takes it off every share link for good, share link files no longer have a
trashedstate, anddirectories.deletethrows for a folder that still holds files. - Cache eviction and Clear local files finish when some files cannot be deleted, instead of retrying the same files until they are stopped.
fs.evictionCandidates,fs.nonCurrentCachedFilesandfs.trashedCachedFilestake a cursor and return each row'susedAt. - Opening a file from Finder no longer fails when the cache removes its copy at the same moment, and a download is never cut short by cache cleanup.
fs.removeFiletakesskipIfLockedand resolves whether it removed the file. fs.calcNotBackedUpSize(indexerURL)returns the bytes of local file copies that cache eviction keeps because none has a backup it accepts.- While uploads or sync keep changing the library, the grid's loading spinner clears once the next page arrives, where it could stay stuck until the app restarted.
useFileListreturnsisLoadingMoreanduseLoadMoretakes it in place ofdataandisValidating, and list reloads andinvalidateAll()refreshes each run one at a time, with one more after for changes made meanwhile. - The library grid, its counts and the photo viewer load faster in large libraries, for every sort order.
buildLibraryQueryPartsreturnsindexedByclauses for reads over the whole library, and the name sort no longer moves files without anameSortKeyto the end. - Clearing local data, signing out and
sia resetdelete the device's copies of the library they drop. Before, those copies stayed on the device and no cleanup could find them again.sia resetstops without deleting anything when the daemon does not shut down.downloads.cancelAll()resolves once every cancelled download has settled. - A file trashed before it finishes uploading leaves the upload queue and is not uploaded, and neither are its thumbnails. A restored file waits to upload like any other new file.
- A file that fails to upload is tried again after a delay that grows with each failure, instead of over and over without a pause. A file that can't be read waits up to 30 minutes, a network failure up to 2 minutes, and every file is tried again as soon as the connection comes back.
- Cache eviction holds a backed-up file for an hour after its last use by default instead of a day, and a read records a file as used at most every 5 minutes instead of every hour.
createAppServicetakescacheMinAgeMsandusedAtUpdateIntervalMsto set both.
cli 0.0.8 (2026-11-20)
Features
sia config set cacheMinAgechanges how long a file must go unused before its local copy is removed, and the status window shows how much is cached, with how much of it hasn't uploaded yet and so stays until it does.- Backed-up files cached on this computer are removed once they have gone an hour unused, and they download again when opened.
Fixes
sia linkslists each link's files by folder and then by name, instead of in the order they were added to the link.- A deleted folder no longer stays behind empty or comes back on your other devices. It goes to the trash as one item, and restoring it, or a file trashed from it earlier, puts the files back in the folders they came from, creating them again if needed. Trashing the last file in a folder removes the folder too, except in the Finder folder on the Mac, which keeps it until you delete it.
- A file's local copy is no longer removed to save space, and Finder no longer treats it as backed up, until the file is on the indexer you use now, so switching indexers cannot leave a file with no copy the new indexer can get.
- Opening a file from Finder no longer fails when the cache removes its copy at the same moment, and a download is never cut short by cache cleanup.
fs.removeFiletakesskipIfLockedand resolves whether it removed the file. - Clearing local data, signing out and
sia resetdelete the device's copies of the library they drop. Before, those copies stayed on the device and no cleanup could find them again.sia resetstops without deleting anything when the daemon does not shut down.downloads.cancelAll()resolves once every cancelled download has settled. - Putting a file in the trash, on its own or by deleting its folder, takes it off your share links, and restoring it no longer shares it again.
- A file trashed before it finishes uploading leaves the upload queue and is not uploaded, and neither are its thumbnails. A restored file waits to upload like any other new file.
- A file that fails to upload is tried again after a delay that grows with each failure, instead of over and over without a pause. A file that can't be read waits up to 30 minutes, a network failure up to 2 minutes, and every file is tried again as soon as the connection comes back.
mobile 1.15.1-rc.3 (2026-11-20)
Fixes
- The app deletes copies of files its library has no record of, such as those an earlier version left behind after clearing local data, once a day while it is open, and Clear local files reports the space it actually freed and finishes much sooner on a large library.
fs.liveFileTypeslooks each id up by primary key, so its time no longer grows with the size of the library.runOrphanScannertakesspareWrittenWithin, reportsbytesFreedand skips files being written,fs.findOrphanedFileIdstakeswrittenSince,fs.filesBeingWritten()lists the idswriteFileData,adoptFileandcopyFileare writing, andfs.removeFileByPathreturns the bytes it removed. - Photos that finish uploading during an import are removed by the regular cache cleanup instead of staying on the device for a day, once their thumbnails are made, and scrolling past photos in the library no longer keeps their copies on the phone. Only opening, sharing or saving a file counts as using it.
fs.getFileUricounts a read as a use only when passed{ recordUse: true }, andfs.evictionCandidatestakes the thumbnail types to wait for. - While the phone is charging, the app's background run clears space from cached copies first, then keeps going until imports, the photo library walk, library sync and metadata changes are done, and checks for library changes at least once, instead of stopping as soon as nothing is waiting to upload. Background runs also remove stranded local copies once a day, and stop early when the app cannot reach the network or nothing is moving, instead of holding the phone awake.
imports.activeCopies()reports the import files being copied and the bytes copied so far, and the sync state counts finished sync-down runs insyncDownRuns. - A deleted folder no longer stays behind empty or comes back on your other devices. It goes to the trash as one item, and restoring it, or a file trashed from it earlier, puts the files back in the folders they came from, creating them again if needed. Trashing the last file in a folder removes the folder too, except in the Finder folder on the Mac, which keeps it until you delete it.
- Cache eviction and Clear local files finish when some files cannot be deleted, instead of retrying the same files until they are stopped.
fs.evictionCandidates,fs.nonCurrentCachedFilesandfs.trashedCachedFilestake a cursor and return each row'susedAt. - A file's local copy is no longer removed to save space, and Finder no longer treats it as backed up, until the file is on the indexer you use now, so switching indexers cannot leave a file with no copy the new indexer can get.
- A photo library import removes the copies of photos it has already uploaded as it goes, so it no longer fills the device and stops to wait for free space.
- While uploads or sync keep changing the library, the grid's loading spinner clears once the next page arrives, where it could stay stuck until the app restarted.
useFileListreturnsisLoadingMoreanduseLoadMoretakes it in place ofdataandisValidating, and list reloads andinvalidateAll()refreshes each run one at a time, with one more after for changes made meanwhile. - The library grid, its counts and the photo viewer load faster in large libraries, for every sort order.
buildLibraryQueryPartsreturnsindexedByclauses for reads over the whole library, and the name sort no longer moves files without anameSortKeyto the end. - Backed-up files kept on the phone are removed once they have gone an hour unused, instead of after a day unused and only while the app held more than 4 GB, so the app frees space sooner.
- Clearing local data, signing out and
sia resetdelete the device's copies of the library they drop. Before, those copies stayed on the device and no cleanup could find them again.sia resetstops without deleting anything when the daemon does not shut down.downloads.cancelAll()resolves once every cancelled download has settled. - Share Link lists the files being shared, and the files on a link once it is made, by folder and then by name, in the same order on every device.
- Putting a file in the trash, on its own or by deleting its folder, takes it off your share links, and restoring it no longer shares it again.
- The status says "Waiting to upload" while files on the device have not uploaded yet, instead of "Up to date" on desktop and "Importing" on mobile.
@siastorage/core/lib/uploadActivityaddssummarizeUploadsandfilesWaitingToUploadfor building that status. - The status says when the account's storage is full and how many files are waiting on it, and how many files could not upload while they wait to be tried again. A file saved while the account is full waits for room instead of failing.
app.uploads.getState()reportsstorageFull, andfiles.querytakesidsto limit a query to those rows. - A file trashed before it finishes uploading leaves the upload queue and is not uploaded, and neither are its thumbnails. A restored file waits to upload like any other new file.
- A file that fails to upload is tried again after a delay that grows with each failure, instead of over and over without a pause. A file that can't be read waits up to 30 minutes, a network failure up to 2 minutes, and every file is tried again as soon as the connection comes back.
- The photo viewer lets you swipe once its list of photos loads after a failed try, where it stayed on the opened photo until the app restarted.
desktop 0.0.2-rc.3 (2026-11-20)
Features
sia config set cacheMinAgechanges how long a file must go unused before its local copy is removed, and the status window shows how much is cached, with how much of it hasn't uploaded yet and so stays until it does.- Backed-up files cached on this computer are removed once they have gone an hour unused, and they download again when opened.
- The status window has Clear Local Files, which removes this Mac's copies of files that are already backed up and keeps the rest.
- Downloads in the Finder folder are removed once they have gone an hour unused, as the app's own copies are, and Clear Local Files removes them too. A removed file stays in the folder and downloads again when opened. Clear Local Files runs in the background, and the window shows it running until it finishes. Closes #1063.
- Sia Storage opens when you log in, so the Finder folder and syncing are back after a restart without opening the app. It is turned on the first time the app has an account, and the Open at login switch in the status window turns it off.
- The menu bar popover has an Activity tab listing the files added most recently, each with its thumbnail or file type icon and whether it is uploaded yet. Clicking a file shows it in Finder, and a button beside it copies a share link in one click, using link settings you can change next to the button.
- Finder shows each photo and video's own thumbnail in the Sia Storage folder, including files that are not downloaded to the Mac.
Fixes
- A deleted folder no longer stays behind empty or comes back on your other devices. It goes to the trash as one item, and restoring it, or a file trashed from it earlier, puts the files back in the folders they came from, creating them again if needed. Trashing the last file in a folder removes the folder too, except in the Finder folder on the Mac, which keeps it until you delete it.
- A file you open or save in the Finder folder is kept once on your Mac instead of twice, so when you choose Remove Download in Finder, or macOS removes a download to free space, the space comes back at once.
- Files you open from the Finder folder count as recently used, so when the cache needs room it removes files you have not opened first.
- The Finder folder appears when macOS drops the app's first attempt to add it at launch, instead of staying missing until the app is relaunched.
- Finder shows which files are still uploading.
- The app's window is dark in dark mode and white in light mode, like other Mac windows, instead of a washed-out gray that made everything in it harder to read.
- The On this Mac total counts files that only the Finder folder holds, such as a video you watched part of.
- A file that another device replaces while Finder is reading it in parts, such as a video that is playing, is no longer left with bytes from both versions.
- Restart installs a downloaded update and reopens the app, instead of sometimes doing nothing. If the install fails, the app says so and Restart can be tried again.
- The app no longer asks you to sign in again when its background service is still starting or busy, such as right after an update, and a window opened before the service answers shows your library once it does.
- The status line in the menu bar popover and the window shows one progress ring in place of a spinner and a bar, filling as files upload and spinning while there is no measure, and setup's steps show the same ring.
- The background sync process shows as "Sia Storage Sync" in Activity Monitor instead of "bun".
- An update waiting for a restart no longer goes stale: the app keeps checking for releases and downloads a newer one in the background, so one restart installs the newest version.
- A file's local copy is no longer removed to save space, and Finder no longer treats it as backed up, until the file is on the indexer you use now, so switching indexers cannot leave a file with no copy the new indexer can get.
- Opening a file from Finder no longer fails when the cache removes its copy at the same moment, and a download is never cut short by cache cleanup.
fs.removeFiletakesskipIfLockedand resolves whether it removed the file. - Share Link lists the files being shared, and the files on a link once it is made, by folder and then by name, in the same order on every device.
- Putting a file in the trash, on its own or by deleting its folder, takes it off your share links, and restoring it no longer shares it again.
- The status says "Waiting to upload" while files on the device have not uploaded yet, instead of "Up to date" on desktop and "Importing" on mobile.
@siastorage/core/lib/uploadActivityaddssummarizeUploadsandfilesWaitingToUploadfor building that status. - The status says when the account's storage is full and how many files are waiting on it, and how many files could not upload while they wait to be tried again. A file saved while the account is full waits for room instead of failing.
app.uploads.getState()reportsstorageFull, andfiles.querytakesidsto limit a query to those rows. - A file trashed before it finishes uploading leaves the upload queue and is not uploaded, and neither are its thumbnails. A restored file waits to upload like any other new file.
- A file that fails to upload is tried again after a delay that grows with each failure, instead of over and over without a pause. A file that can't be read waits up to 30 minutes, a network failure up to 2 minutes, and every file is tried again as soon as the connection comes back.
core 0.0.22-rc.3 (2026-11-20)
Features
cache.clearremoves the local copy of every file already uploaded to the current indexer, as Clear local files does on mobile, after any eviction pass already running. Eviction results reportbytesFreed.settings.getCacheMinAgeandsetCacheMinAgestore how long an uploaded file is kept after its last use,cache.evictruns one eviction pass with it, and a call during a running pass gets that pass's result.fs.evictionCandidatesandfs.trashedCachedFilestake the indexer URL to check,localObjects.countForFileOnIndexeris added, andsettings.setIndexerURLre-reports every file to the provider feed when the URL changes.- A library can be shown in a mount, a folder a file manager keeps its own copies in (
settings.setMount). The newmount_copiestable records which version of each file the mount holds, kept byprovider.fetch,fetchRange,create,write,renameandtrash, andprovider.touchrecords that a file was opened there. An item'sdownloadedis also true for a file the mount holds whole, andcache.bytesOnDevicecounts both places. - On a library with a mount, the eviction pass also frees the mount's copies of uploaded files unused for the hold time, asking the system to remove each through the host adapter's new
dehydrate.cache.startClearandcache.clearStatestart a clear without waiting and follow it, and every provider anchor and file metadata version carries an item format, so an integration lists the library again once. - A host passes a
mountadapter that lists the files the system holds in the mount, and each eviction pass corrects themount_copiestable from that list.provider.mountChangedlets an integration ask for an early read of it. - On a library with a mount, the cache copy of a file is removed once the file is on the current indexer and the mount holds it whole: when the system reports the file, after an upload is saved, after thumbnails are made and at the start of each eviction pass. The host's
mountadapter gainsresend, which asks the system to hand a file's bytes back, andprovider.writekeeps bytes that match the current version as its cache copy when it has none and is not on the current indexer, so a file only the mount holds can upload again after the indexer is changed. app.provider.thumbnailreturns a file's 512px thumbnail for a File Provider host, and a cloud-only file'smodifiedAtreads one second later once its 512px thumbnail is on the device, which is what makes Finder ask again for a thumbnail it failed to get.provider.fetchRangetakes the content version the system asked for and astrictflag, and returns the item for the version it served. Withstrictit rejects when that version is no longer the current one.files.recent(indexerURL, limit)returns the files most recently added to the device, newest first, with their folder and whether each is uploaded to that indexer, local or lost, anduseRecentFiles(limit)reads it from the library cache.shares.filesToSharereturns the files a link is about to be made for, with their sizes and folders, and it andshares.linkslist files with the top of the library first, then by folder path, then by name, using the library's natural name sort.thumbnails.read(fileId, size)returns one version's thumbnail as base64 image data, downloading it if only another device has it, or null when no thumbnail of that size has synced or the file is trashed or deleted.- The status says "Waiting to upload" while files on the device have not uploaded yet, instead of "Up to date" on desktop and "Importing" on mobile.
@siastorage/core/lib/uploadActivityaddssummarizeUploadsandfilesWaitingToUploadfor building that status. - The status says when the account's storage is full and how many files are waiting on it, and how many files could not upload while they wait to be tried again. A file saved while the account is full waits for room instead of failing.
app.uploads.getState()reportsstorageFull, andfiles.querytakesidsto limit a query to those rows. - A trashed file leaves its folder and remembers the folder's path, which restore recreates, and a folder emptied by trashing or deleting its last file is removed, as sync-down already does on other devices.
files.trashFiletakeskeepFolderanddirectories.deleteAndTrashFilestakeskeepParentto leave that folder in place.TrashEntrygainskindandfiles, with a deleted folder listed as onefolderentry, itsfolderis now the path the entry restores into, andFileMetadatagainstrashedFolder.restoredTexttakes the entry's kind,directories.deleteAndTrashFilesruns in one transaction, andrenameFile,moveFile,trashFileandtombstoneFilegiven a trashed file's id do nothing.
Fixes
- The app deletes copies of files its library has no record of, such as those an earlier version left behind after clearing local data, once a day while it is open, and Clear local files reports the space it actually freed and finishes much sooner on a large library.
fs.liveFileTypeslooks each id up by primary key, so its time no longer grows with the size of the library.runOrphanScannertakesspareWrittenWithin, reportsbytesFreedand skips files being written,fs.findOrphanedFileIdstakeswrittenSince,fs.filesBeingWritten()lists the idswriteFileData,adoptFileandcopyFileare writing, andfs.removeFileByPathreturns the bytes it removed. - Photos that finish uploading during an import are removed by the regular cache cleanup instead of staying on the device for a day, once their thumbnails are made, and scrolling past photos in the library no longer keeps their copies on the phone. Only opening, sharing or saving a file counts as using it.
fs.getFileUricounts a read as a use only when passed{ recordUse: true }, andfs.evictionCandidatestakes the thumbnail types to wait for. - While the phone is charging, the app's background run clears space from cached copies first, then keeps going until imports, the photo library walk, library sync and metadata changes are done, and checks for library changes at least once, instead of stopping as soon as nothing is waiting to upload. Background runs also remove stranded local copies once a day, and stop early when the app cannot reach the network or nothing is moving, instead of holding the phone awake.
imports.activeCopies()reports the import files being copied and the bytes copied so far, and the sync state counts finished sync-down runs insyncDownRuns. - Provider items report a file whose object is on the current indexer as not uploading, even while its upload entry is still open.
- Trashing a file takes it off every share link for good, share link files no longer have a
trashedstate, anddirectories.deletethrows for a folder that still holds files. - Cache eviction and Clear local files finish when some files cannot be deleted, instead of retrying the same files until they are stopped.
fs.evictionCandidates,fs.nonCurrentCachedFilesandfs.trashedCachedFilestake a cursor and return each row'susedAt. - Opening a file from Finder no longer fails when the cache removes its copy at the same moment, and a download is never cut short by cache cleanup.
fs.removeFiletakesskipIfLockedand resolves whether it removed the file. fs.calcNotBackedUpSize(indexerURL)returns the bytes of local file copies that cache eviction keeps because none has a backup it accepts.- While uploads or sync keep changing the library, the grid's loading spinner clears once the next page arrives, where it could stay stuck until the app restarted.
useFileListreturnsisLoadingMoreanduseLoadMoretakes it in place ofdataandisValidating, and list reloads andinvalidateAll()refreshes each run one at a time, with one more after for changes made meanwhile. - The library grid, its counts and the photo viewer load faster in large libraries, for every sort order.
buildLibraryQueryPartsreturnsindexedByclauses for reads over the whole library, and the name sort no longer moves files without anameSortKeyto the end. - Clearing local data, signing out and
sia resetdelete the device's copies of the library they drop. Before, those copies stayed on the device and no cleanup could find them again.sia resetstops without deleting anything when the daemon does not shut down.downloads.cancelAll()resolves once every cancelled download has settled. - A file trashed before it finishes uploading leaves the upload queue and is not uploaded, and neither are its thumbnails. A restored file waits to upload like any other new file.
- A file that fails to upload is tried again after a delay that grows with each failure, instead of over and over without a pause. A file that can't be read waits up to 30 minutes, a network failure up to 2 minutes, and every file is tried again as soon as the connection comes back.
- Cache eviction holds a backed-up file for an hour after its last use by default instead of a day, and a read records a file as used at most every 5 minutes instead of every hour.
createAppServicetakescacheMinAgeMsandusedAtUpdateIntervalMsto set both.
cli 0.0.8-rc.3 (2026-11-20)
Features
sia config set cacheMinAgechanges how long a file must go unused before its local copy is removed, and the status window shows how much is cached, with how much of it hasn't uploaded yet and so stays until it does.- Backed-up files cached on this computer are removed once they have gone an hour unused, and they download again when opened.
Fixes
sia linkslists each link's files by folder and then by name, instead of in the order they were added to the link.- A deleted folder no longer stays behind empty or comes back on your other devices. It goes to the trash as one item, and restoring it, or a file trashed from it earlier, puts the files back in the folders they came from, creating them again if needed. Trashing the last file in a folder removes the folder too, except in the Finder folder on the Mac, which keeps it until you delete it.
- A file's local copy is no longer removed to save space, and Finder no longer treats it as backed up, until the file is on the indexer you use now, so switching indexers cannot leave a file with no copy the new indexer can get.
- Opening a file from Finder no longer fails when the cache removes its copy at the same moment, and a download is never cut short by cache cleanup.
fs.removeFiletakesskipIfLockedand resolves whether it removed the file. - Clearing local data, signing out and
sia resetdelete the device's copies of the library they drop. Before, those copies stayed on the device and no cleanup could find them again.sia resetstops without deleting anything when the daemon does not shut down.downloads.cancelAll()resolves once every cancelled download has settled. - Putting a file in the trash, on its own or by deleting its folder, takes it off your share links, and restoring it no longer shares it again.
- A file trashed before it finishes uploading leaves the upload queue and is not uploaded, and neither are its thumbnails. A restored file waits to upload like any other new file.
- A file that fails to upload is tried again after a delay that grows with each failure, instead of over and over without a pause. A file that can't be read waits up to 30 minutes, a network failure up to 2 minutes, and every file is tried again as soon as the connection comes back.
mobile 1.15.1-rc.2 (2026-11-18)
Fixes
- The app deletes copies of files its library has no record of, such as those an earlier version left behind after clearing local data, once a day while it is open, and Clear local files reports the space it actually freed and finishes much sooner on a large library.
fs.liveFileTypeslooks each id up by primary key, so its time no longer grows with the size of the library.runOrphanScannertakesspareWrittenWithin, reportsbytesFreedand skips files being written,fs.findOrphanedFileIdstakeswrittenSince,fs.filesBeingWritten()lists the idswriteFileData,adoptFileandcopyFileare writing, andfs.removeFileByPathreturns the bytes it removed. - Photos that finish uploading during an import are removed by the regular cache cleanup instead of staying on the device for a day, once their thumbnails are made, and scrolling past photos in the library no longer keeps their copies on the phone. Only opening, sharing or saving a file counts as using it.
fs.getFileUricounts a read as a use only when passed{ recordUse: true }, andfs.evictionCandidatestakes the thumbnail types to wait for. - While the phone is charging, the app's background run clears space from cached copies first, then keeps going until imports, the photo library walk, library sync and metadata changes are done, and checks for library changes at least once, instead of stopping as soon as nothing is waiting to upload. Background runs also remove stranded local copies once a day, and stop early when the app cannot reach the network or nothing is moving, instead of holding the phone awake.
imports.activeCopies()reports the import files being copied and the bytes copied so far, and the sync state counts finished sync-down runs insyncDownRuns. - A deleted folder no longer stays behind empty or comes back on your other devices. It goes to the trash as one item, and restoring it, or a file trashed from it earlier, puts the files back in the folders they came from, creating them again if needed. Trashing the last file in a folder removes the folder too, except in the Finder folder on the Mac, which keeps it until you delete it.
- Cache eviction and Clear local files finish when some files cannot be deleted, instead of retrying the same files until they are stopped.
fs.evictionCandidates,fs.nonCurrentCachedFilesandfs.trashedCachedFilestake a cursor and return each row'susedAt. - A file's local copy is no longer removed to save space, and Finder no longer treats it as backed up, until the file is on the indexer you use now, so switching indexers cannot leave a file with no copy the new indexer can get.
- A photo library import removes the copies of photos it has already uploaded as it goes, so it no longer fills the device and stops to wait for free space.
- While uploads or sync keep changing the library, the grid's loading spinner clears once the next page arrives, where it could stay stuck until the app restarted.
useFileListreturnsisLoadingMoreanduseLoadMoretakes it in place ofdataandisValidating, and list reloads andinvalidateAll()refreshes each run one at a time, with one more after for changes made meanwhile. - The library grid, its counts and the photo viewer load faster in large libraries, for every sort order.
buildLibraryQueryPartsreturnsindexedByclauses for reads over the whole library, and the name sort no longer moves files without anameSortKeyto the end. - Backed-up files kept on the phone are removed once they have gone an hour unused, instead of after a day unused and only while the app held more than 4 GB, so the app frees space sooner.
- Clearing local data, signing out and
sia resetdelete the device's copies of the library they drop. Before, those copies stayed on the device and no cleanup could find them again.sia resetstops without deleting anything when the daemon does not shut down.downloads.cancelAll()resolves once every cancelled download has settled. - Share Link lists the files being shared, and the files on a link once it is made, by folder and then by name, in the same order on every device.
- Putting a file in the trash, on its own or by deleting its folder, takes it off your share links, and restoring it no longer shares it again.
- The status says "Waiting to upload" while files on the device have not uploaded yet, instead of "Up to date" on desktop and "Importing" on mobile.
@siastorage/core/lib/uploadActivityaddssummarizeUploadsandfilesWaitingToUploadfor building that status. - The status says when the account's storage is full and how many files are waiting on it, and how many files could not upload while they wait to be tried again. A file saved while the account is full waits for room instead of failing.
app.uploads.getState()reportsstorageFull, andfiles.querytakesidsto limit a query to those rows. - A file trashed before it finishes uploading leaves the upload queue and is not uploaded, and neither are its thumbnails. A restored file waits to upload like any other new file.
- A file that fails to upload is tried again after a delay that grows with each failure, instead of over and over without a pause. A file that can't be read waits up to 30 minutes, a network failure up to 2 minutes, and every file is tried again as soon as the connection comes back.
- The photo viewer lets you swipe once its list of photos loads after a failed try, where it stayed on the opened photo until the app restarted.
desktop 0.0.2-rc.2 (2026-11-18)
Features
sia config set cacheMinAgechanges how long a file must go unused before its local copy is removed, and the status window shows how much is cached, with how much of it hasn't uploaded yet and so stays until it does.- Backed-up files cached on this computer are removed once they have gone an hour unused, and they download again when opened.
- The status window has Clear Local Files, which removes this Mac's copies of files that are already backed up and keeps the rest.
- Downloads in the Finder folder are removed once they have gone an hour unused, as the app's own copies are, and Clear Local Files removes them too. A removed file stays in the folder and downloads again when opened. Clear Local Files runs in the background, and the window shows it running until it finishes. Closes #1063.
- Sia Storage opens when you log in, so the Finder folder and syncing are back after a restart without opening the app. It is turned on the first time the app has an account, and the Open at login switch in the status window turns it off.
- The menu bar popover has an Activity tab listing the files added most recently and whether each is uploaded yet, with buttons to show a file in Finder or copy a share link to it in one click, using link settings you can change beside the button.
- Finder shows each photo and video's own thumbnail in the Sia Storage folder, including files that are not downloaded to the Mac.
Fixes
- A deleted folder no longer stays behind empty or comes back on your other devices. It goes to the trash as one item, and restoring it, or a file trashed from it earlier, puts the files back in the folders they came from, creating them again if needed. Trashing the last file in a folder removes the folder too, except in the Finder folder on the Mac, which keeps it until you delete it.
- A file you open or save in the Finder folder is kept once on your Mac instead of twice, so when you choose Remove Download in Finder, or macOS removes a download to free space, the space comes back at once.
- Files you open from the Finder folder count as recently used, so when the cache needs room it removes files you have not opened first.
- The Finder folder appears when macOS drops the app's first attempt to add it at launch, instead of staying missing until the app is relaunched.
- Finder shows which files are still uploading.
- The app's window is dark in dark mode and white in light mode, like other Mac windows, instead of a washed-out gray that made everything in it harder to read.
- The On this Mac total counts files that only the Finder folder holds, such as a video you watched part of.
- A file that another device replaces while Finder is reading it in parts, such as a video that is playing, is no longer left with bytes from both versions.
- Restart installs a downloaded update and reopens the app, instead of sometimes doing nothing. If the install fails, the app says so and Restart can be tried again.
- The app no longer asks you to sign in again when its background service is still starting or busy, such as right after an update, and a window opened before the service answers shows your library once it does.
- The background sync process shows as "Sia Storage Sync" in Activity Monitor instead of "bun".
- An update waiting for a restart no longer goes stale: the app keeps checking for releases and downloads a newer one in the background, so one restart installs the newest version.
- A file's local copy is no longer removed to save space, and Finder no longer treats it as backed up, until the file is on the indexer you use now, so switching indexers cannot leave a file with no copy the new indexer can get.
- Opening a file from Finder no longer fails when the cache removes its copy at the same moment, and a download is never cut short by cache cleanup.
fs.removeFiletakesskipIfLockedand resolves whether it removed the file. - Share Link lists the files being shared, and the files on a link once it is made, by folder and then by name, in the same order on every device.
- Putting a file in the trash, on its own or by deleting its folder, takes it off your share links, and restoring it no longer shares it again.
- The status says "Waiting to upload" while files on the device have not uploaded yet, instead of "Up to date" on desktop and "Importing" on mobile.
@siastorage/core/lib/uploadActivityaddssummarizeUploadsandfilesWaitingToUploadfor building that status. - The status says when the account's storage is full and how many files are waiting on it, and how many files could not upload while they wait to be tried again. A file saved while the account is full waits for room instead of failing.
app.uploads.getState()reportsstorageFull, andfiles.querytakesidsto limit a query to those rows. - A file trashed before it finishes uploading leaves the upload queue and is not uploaded, and neither are its thumbnails. A restored file waits to upload like any other new file.
- A file that fails to upload is tried again after a delay that grows with each failure, instead of over and over without a pause. A file that can't be read waits up to 30 minutes, a network failure up to 2 minutes, and every file is tried again as soon as the connection comes back.