7.0.89
Added 8
- Extend the FilesV4 interface with optional getFileMetadata, downloadFile (streaming), and deleteFile operations
- Add abortSignal and headers call options to FilesV4 interface
- Add { type: 'stream' } upload data variant to FilesV4 interface
- Expose byteSize, createdAt, and expiresAt in upload results
- Surface byteSize, createdAt, and expiresAt through the core uploadFile() helper
- Add postMultipartStreamToApi function for streaming multipart uploads with deterministic part ordering and failure-path stream teardown
- Add deleteFromApi function to provider-utils
- Add createBinaryStreamResponseHandler function to provider-utils
Changed 1
- Forward abortSignal and headers in the core uploadFile() helper
From AI SDK
Patch Changes
- 5190b67: feat(provider): extend the FilesV4 interface with optional
getFileMetadata,downloadFile(streaming), anddeleteFileoperations, plusabortSignal/headerscall options and a{ type: 'stream' }upload data variant; upload results now exposebyteSize,createdAt, andexpiresAt(also surfaced by the coreuploadFile()helper, which now forwardsabortSignal/headers); addpostMultipartStreamToApi(streaming multipart uploads with deterministic part ordering and failure-path stream teardown),deleteFromApi, andcreateBinaryStreamResponseHandlerto provider-utils - Updated dependencies [5190b67]
- @ai-sdk/provider@4.0.10
- @ai-sdk/provider-utils@5.0.35
- @ai-sdk/gateway@4.0.71