Skip to content

v1.4.0-canary.2

Pre-release
Pre-release

Choose a tag to compare

@ytkimirti ytkimirti released this 22 Sep 14:43
· 6 commits to main since this release
v1.4.0-canary.2
5bc2d18

Adds native uploads for files and nested folders with streaming multipart uploads and automatic temporary S3 credential refresh through the Blob SDK.

Use a Blob bucket token without an Upstash management API key or login:

pnpx @upstash/cli@1.4.0-canary.2 blob upload ./assets --token "$BLOB_TOKEN"

Or set UPSTASH_BLOB_TOKEN in .env and run:

pnpx @upstash/cli@1.4.0-canary.2 blob upload ./assets

--env-path ./uploads.env selects a custom env file. Explicit --token overrides the environment. blob credentials also supports --token. --bucket-id still requires management authentication and cannot be combined with --token.

Requires Node.js 20+. Supports --prefix, --concurrency, --skip-existing, --dry-run, and --quiet. Existing keys are overwritten by default. --skip-existing checks existence only, without comparing content. This is an upload command, not a full sync implementation.

Validation: build, typecheck, and offline unit tests passed. Tests exercise the real SDK with fixture HTTP responses, including multipart credential refresh across simulated expiry. Isolated CLI processes tested default .env, custom env files, exported environment variables, and explicit tokens without management credentials and with real networking blocked. Live uploads have not been exercised.