Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .changeset/sdk-uploads-and-full-surface.md

This file was deleted.

7 changes: 7 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# gigadrive

## 2.1.4

### Patch Changes

- Updated dependencies [[`e5da96a`](https://github.com/Gigadrive/sdk/commit/e5da96a0e288fa1319a6503db003a36bb0ee79b7)]:
- @gigadrive/sdk@0.2.0

## 2.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gigadrive",
"version": "2.1.3",
"version": "2.1.4",
"repository": {
"type": "git",
"url": "https://github.com/Gigadrive/sdk.git",
Expand Down
18 changes: 18 additions & 0 deletions packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @gigadrive/sdk

## 0.2.0

### Minor Changes

- Production-grade file uploads and a complete, corrected API surface. ([#302](https://github.com/Gigadrive/sdk/pull/302))

**File uploads (storage):** new high-level `client.applications.storage.upload()` that auto-computes the required SHA-256, infers content type, and uploads with progress, `AbortSignal` cancellation, and resumable retries. Supports browser `File`/`Blob`, Node `Buffer`/`Uint8Array`/`ArrayBuffer`, a Node file `path`, and Node readable `stream`s. Adds `uploadBatch()` (concurrent, per-file error isolation), `waitForCompletion()`, and `uploadSessions.uploadToUrl()`/`resumeFromUrl()`.

**Correctness fixes (breaking, pre-1.0):**
- AI Gateway endpoints now use the correct `/ai/v1` base path (were `/v1`).
- Storage objects are addressed by object ID; `getAccessUrl()` now takes a `bucketId` and supports `expiresInSeconds`. Object listing supports `prefix`/`delimiter`/`cursor`/`limit` and returns `commonPrefixes`/`nextCursor`; added `getByKey()`.
- Upload-session creation now sends the required SHA-256 checksum.
- Bucket creation requires `environmentId` and accepts an optional `slug`.
- Removed non-public provider fields from `StorageBucket`/`StorageObject`.
- Corrected the `DeploymentStatus` union.

**New surface:** streamed chat completions (`chatCompletionsStream`), Responses, audio (speech/transcriptions), video generation, and richer model metadata; organization-scoped AI Gateway governance (`organizations.aiGateway` usage/budgets/policies); application & deployment hostnames; application request logs; list pagination (`page`/`perPage`/`cursor`) with a `paginate()` helper; and a README with a full upload guide.

## 0.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gigadrive/sdk",
"version": "0.1.2",
"version": "0.2.0",
"repository": {
"type": "git",
"url": "https://github.com/Gigadrive/sdk.git",
Expand Down