Skip to content

v12.27.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 01:21
· 46 commits to main since this release

Move and copy a file (storage S1b).

  • storage.move(bucket:, from:, to:, toBucket:) and storage.copy(...): within a bucket or into another, without uploading again. The bucket's rules decide (a copy needs view on the file, a move needs delete on it; both need upload at the destination, whose limits apply as to an upload). The destination must be free. Within one bucket a move keeps the file's kept versions. A copy is the caller's file; a moved file keeps its owner.
  • KoolbaseStorageFileInUseException (field, records): a move refused while records point at the file; change them first, or copy it. KoolbaseStorageNameHasHistoryException: a move to a name a deleted file's kept versions still use. Needs the Koolbase API from October 2026.
  • Tested: each request, the file that comes back, and the refusals.