Skip to content

v12.26.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 00:26
· 47 commits to main since this release

Uploads you can follow and cancel, and a bucket's files (storage S1).

  • storage.startUpload returns a KoolbaseUploadTask: progress (a stream of KoolbaseUploadProgress: pending, uploading with bytesSent of bytesTotal, verifying, then completed, failed or cancelled), cancel() until the server begins checking the bytes, and result. Only completed means the file can be referenced from a record. On iOS and Android the bytes are reported a chunk at a time; on the web the browser sends them in one piece, so progress moves from 0 to the total there.
  • upload and uploadBytes take onProgress. The confirm now names its upload (upload_id), so it takes exactly the bytes this upload sent.
  • storage.listFiles: a page of a bucket's files you may view -- the bucket's view rule is checked on every file -- with prefix, limit, sort (KoolbaseFileSort) and descending; pass nextCursor back for the next page. storage.getFileInfo: one file's details, with its permanent link while the bucket is public.
  • Typed errors: KoolbaseUploadCancelledException, KoolbaseStorageNetworkException, KoolbaseUploadNotFoundException, KoolbaseStorageBusyException (retry shortly), KoolbaseStorageInvalidCursorException, KoolbaseStorageSignInRequiredException (nobody signed in; not a session that ended). Needs the Koolbase API from October 2026.
  • Tested: progress through every state with the bytes rising to the total, a cancel mid-transfer confirming nothing, a listing's query and page, and each new error.