Reference
Changelog
All notable changes to Fileway
View the canonical source on GitHub →
All notable changes to Fileway are documented here. Releases are cut from main via the automated release workflow with npm provenance (SLSA) attestation on every publish.
Upcoming: v1.0.0
The first stable release. Target scope, tracked on the roadmap:
- Stable public API: ⏳ not yet. The core contract was cleaned up in v0.5.0, but v0.6.0 and v0.7.0 added new public API (list, stat, copy and move; plugins and events;
client.handler; app-signed links) that needs real-world use before it is frozen. At 1.0,UploadOptions,UploadResult<TMeta>,BaseDriver,FilewayClientand the plugin and links types lock in; after that, breaking changes become semver-major. - True streaming uploads: ✅ landed for all drivers. Local pipes straight to disk with backpressure; S3 uses
aws-chunkedper-chunk SigV4 signing whenoptions.sizeis known and bounded-memory multipart uploads otherwise; GCS uses resumable sessions, Azure staged blocks, Supabase TUS in 6 MiB chunks, and Cloudinary chunked uploads, each holding one chunk in memory at a time. - Upload cancellation: ✅ landed for all drivers:
options.signalrejects withAbortErrorand cleans up partial artifacts. - Middleware stream transformation: ✅ landed:
beforeUploadcan return a replacementstream(and/oroptions), which is what the driver uploads. The knownsizeis dropped when the stream is replaced unless the middleware returns the new length. - Operational hardening: ✅ landed: progress events (
options.onProgress), typed errors (StorageErrorcodes), retries with backoff and idle timeouts (retryconfig), lost-response recovery, dependency-freelogger/onErrorhooks, and per-operation events for plugins. - Signed downloads: ✅ landed for every driver via
getPresignedUrl: native signed URLs on S3, GCS, Azure, Supabase and Cloudinary, and app-signed links for Local and other storage that cannot sign, plus signed upload links.
Expected: once the public API is frozen and has gone through real-world feedback via GitHub Discussions.
v0.9.0 (2026-11-24)
Features
client.featuresandctx.featuresfor plugins: what the client can do with its driver (list,stat,copy,move,range,downloadLinks,uploadLinks,maxUploadBytes), counting fallbacks such as move as copy then delete. Useful for hiding actions a driver does not support.
v0.8.1 (2026-11-24)
Features
ctx.basePathfor plugins: whereclient.handleris mounted (for example/api/fileway), so a plugin can tell a service which URL serves its routes.
v0.8.0 (2026-11-24)
Features
- Direct upload links.
getPresignedUploadUrl({ ..., direct: true })returns a link straight to the bucket on S3 (and R2, MinIO), Google Cloud Storage and Azure, so large browser uploads skip your app's bandwidth and your host's request size limit. The browser call is the samefetch(link.url, { method, headers, body }). S3 needs the exactsizeand rejects any other length; Google Cloud enforcesmaxSizewith a signedx-goog-content-length-rangeheader; Azure cannot limit the size, so its links expire within 15 minutes. Direct uploads skip middleware, plugins and theuploadevent. Links keep going through your app by default whenlinksis configured; withoutlinks, drivers that support it return direct links. PresignedUpload.path: where the file will be stored, returned with every upload link.waitUntilonFilewayClientandctx.waitUntilfor plugins. Pass the platform'swaitUntil(from@vercel/functionsorcloudflare:workers) and promises returned byonEvent, or handed toctx.waitUntil, keep running after the response on serverless platforms.- Drivers: optional
BaseDriver.getPresignedUploadUrlandDriverCapabilities.directUpload(enforcesSize,maxExpiresIn), implemented by the S3, Google Cloud and Azure drivers.
v0.7.0 (2026-11-10)
Features
- Plugins (RFC 0002, part 1).
plugins: [...]onFilewayClient: one object that can listen to events, add upload middleware and serve HTTP routes. Use it for audit trails, usage metering, metrics, webhooks or your own file API. - Events. Every operation produces one
FilewayEventwhen it finishes, after retries: operation, outcome (success,error,aborted), path, size, duration, attempts, driver and error code.onEventis never awaited and never fails an operation. actorandtagson every client method record who an operation was for. They are copied onto the event and never passed to drivers.client.handler: a web-standard request handler that serves plugin routes underbasePath(default/api/fileway). Mount it in Next.js (export const { GET, POST } = client.handler), Workers, Bun, Deno or Hono.- App-signed links (RFC 0004). With
links: { secret, origin },getPresignedUrlworks for drivers that cannot presign (Local, network disks): your app signs the link andclient.handlerserves it, withRangesupport for seeking.mode: "always"routes every driver's links through your app. Images, PDF, audio and video open inline; HTML, SVG and scripts always download; responses carrynosniffand, except for PDFs, a sandbox CSP. client.getPresignedUploadUrl(): a signedPUTlink for one file, fixing its name, folder, id, type and size limit. Uploads run through middleware, plugins and events.- Range reads:
get(path, { range })andDriverCapabilities(range,maxUploadBytes), implemented by every built-in driver.
v0.6.0 (2026-11-10)
Features
- List, stat, copy and move (RFC 0001).
client.list({ prefix, recursive, limit, cursor })returns one page of files and folders;client.listAll()iterates every file, following cursors;client.stat(path)returns a file's details ornull;client.copy(from, to)andclient.move(from, to)copy and rename on the same storage. All of them retry, log, honorsignal, and pass through driver-specific options. - Every driver supports them: Local, S3 (multipart copy above 5 GiB), Google Cloud Storage (
objects.rewrite), Azure (Copy Blob, waiting for background copies), Supabase (native copy and move) and Cloudinary (list and rename; no copy). - A retried copy or move recovers a lost response: a copy that already landed is not reported as a conflict, and a move whose source is gone succeeds when the destination exists.
- New error code
conflict: a copy or move onto an existing path withoutoverwrite: true. Not retried. Exhaustiveswitchstatements overStorageErrorCodeneed the new case. - Driver contract: optional
BaseDriver.list,copyandmove. Drivers with onlycopygetmoveas copy plus delete.@fileway/coreexportsencodeCursoranddecodeCursorfor driver authors.
v0.5.0 (2026-11-02)
Breaking changes (pre-1.0 API cleanup)
This is the last planned breaking release before 1.0: it settles the public API so 1.0 can freeze it.
delete()returnsPromise<void>on the client and every driver. Deleting a missing object is no longer reported (it wasfalseon most drivers and alwaystrueon S3); any other failure still throws.- Cancellation reaches the request. Every
BaseDrivermethod exceptuploadtakesoptions?: { signal }, and the client passes the caller's signal to the driver, soget,delete,headand the rest abort the request in flight instead of only stopping retries. Withretry.idleTimeoutMs, a timed-out attempt's request is now cancelled too. - Driver-specific options pass through the client.
client.get,delete,getUrlandgetPresignedUrlaccept the driver's own options (e.g. Cloudinary's{ deliveryType, resourceType }), likeuploadalready did. uploadTokenleftUploadOptions. The client passes it to drivers as a third argument:upload(stream, options, context?: UploadContext).FilewayClientis generic over the driver, not the config:FilewayClient<S3Driver>instead ofFilewayClient<{ driver: S3Driver }>. Inferred usage (new FilewayClient({ driver })) is unchanged.- Middleware:
afterUpload(result, options)now receives the options the driver got, andMiddlewareHook<TMeta>typesresult.metafrom the driver for inline hooks. - New error codes
rate-limited(HTTP 429 and provider throttling such as S3SlowDown, AzureServerBusy, Cloudinary 420) andtimeout(an idle-timed-out attempt, previouslynetwork). Both are retried. Exhaustiveswitchstatements overStorageErrorCodeneed the two new cases. - Smaller public surface.
@fileway/coreno longer exportsisRetryable,sleep,delayWithJitter,withProgressorvalidateUploadId; checkerr.codeinstead ofisRetryable. The new drivers no longer export their error classifiers orparseConnectionString.
Other changes
S3MetaandLocalMetaare exported names for the drivers' metadata types.S3DriveracceptsmaxSizeBytes, like the other drivers.- Error messages no longer contain em dashes.
Migrating from 0.4
// delete: no boolean any more
const existed = await client.delete(path); // before
await client.delete(path); // after
// annotations: the type parameter is the driver
let client: FilewayClient<{ driver: S3Driver }>; // before
let client: FilewayClient<S3Driver>; // after
// custom drivers
async upload(stream, options) { store(options.uploadToken) } // before
async upload(stream, options, context) { store(context?.uploadToken) } // after
async delete(path): Promise<boolean> // before
async delete(path, options?: OperationOptions): Promise<void> // after, pass options?.signal to fetch
// retries
if (isRetryable(err)) { /* ... */ } // before
if (err instanceof StorageError && ["network", "timeout", "rate-limited", "provider-error"].includes(err.code)) { /* ... */ } // afterNew drivers
All three are zero-dependency (fetch and Web Crypto only), run on Node.js, Bun, Deno and edge runtimes, stream with bounded memory, and support presigned URLs, typed errors, lost-response recovery and getUploadStatus.
@fileway/gcs(docs): Google Cloud Storage. Authenticates with a service account key (JWT signed in-process, token cached) or your owngetAccessToken. Small files go up in one request, larger ones through a resumable session; V4 signed URLs.@fileway/azure(docs): Azure Blob Storage. Shared Key, SAS token or connection string (includingUseDevelopmentStorage=truefor Azurite). Block uploads withPut Block List, service SAS download links, andpendingstatus while blocks are staged. Integration tests run against Azurite in CI.@fileway/supabase(docs): Supabase Storage. A secret key on the server, or a publishable key plus a user's JWT so RLS applies. Resumable TUS uploads in 6 MiB chunks for large files, Supabase signed URLs.
Changes
- S3:
forceMultipartnow defaults totruefor astorage.googleapis.comendpoint. Google Cloud Storage's S3 interop storesaws-chunkedsignatures inside the object, so a streamed singlePUTwould corrupt it.
v0.4.0 (2026-10-26)
Features
- Lost-response recovery. When an upload fails with a retryable error,
FilewayClientnow checks whether the provider stored the object anyway (the response was lost, not the upload). If it did, the upload succeeds with that object instead of re-sending it or failing. This works even withoutstreamFactory. - Stable upload IDs. Each
upload()call gets oneid, reused by every retry, so a retry can never store a second copy. Pass your ownUploadOptions.idto make uploads idempotent across processes; reusing an ID overwrites that object. client.getUploadStatus(id, { filename, path })reportscomplete(with the stored object),pending,missingorunsupported, straight from the storage provider.retry.idleTimeoutMs(opt-in): cancels an attempt that makes no progress for that long and retries it as anetworkfailure, so a hung connection no longer waits forever. For uploads it measures inactivity (it resets on every chunk read, then limits the wait for the reply), so slow but moving uploads are not cut off; other operations get a per-attempt time limit. The caller's ownsignalstays final.- Driver contract: new optional
BaseDriver.pathFor,headandisPending, implemented by all three drivers. Custom drivers that addpathForandheadget recovery and status checks automatically.
Changes
- Uploads stamp a per-call
uploadTokenon the object (S3 metadatax-amz-meta-fileway-upload-token, Cloudinary contextfileway_upload_token) so recovery never mistakes an older upload with the same ID for this one. Drivers and middleware now seeidanduploadTokenin the upload options. - Cloudinary: uploads send
public_id(the upload ID) withoverwrite=true, so new public IDs are UUIDs (or yourid) instead of Cloudinary's short random IDs. - Local: files are written to a temporary
*.partialfile and renamed into place when complete, so a failed retry never truncates or deletes a finished file.
v0.3.0 (2026-10-26)
This release contains breaking changes (allowed before 1.0 as a minor bump). Read the breaking changes and migration notes before upgrading.
Breaking changes
deletethrows on real failures. All drivers returnfalseonly when the file does not exist; auth, network and provider failures now throw aStorageError(and are retried by the client when transient). S3 returnstruewhenever the object is gone, since S3 does not report whether it existed. Localdeletewith a path escaping the storage directory now throws aValidationErrorinstead of returningfalse.maxSizeBytesviolations use thesize-exceededcode (Local and Cloudinary) instead ofValidationError/validation.- Plain errors are no longer retried by default. Among non-
StorageErrorfailures, onlyTypeError(whatfetchthrows on network failure) retries unlessretry.retryGenericErrorsis set. Set it totruefor the old behavior. - Cloudinary
getUrl/get/delete/getPresignedUrlthrow when the Admin API lookup fails (auth, rate limit, outage) instead of silently assuming animageasset. - A middleware that returns a new
streammust return itssizeto keep one. Length-preserving transforms (checksums, validation) should returnsize: options.size; otherwise the size is dropped (S3 then uses multipart, and progress has no total). - Cloudinary
getPresignedUrlreturns a different URL (see Fixes); usegetSignedUrlfor the old format.
Migration
- Wrap
deletecalls intry/catchif you relied onfalsefor failures;falsenow only means the file did not exist. - Check
err.code === "size-exceeded"(notinstanceof ValidationError) formaxSizeBytesviolations. - Set
retry: { retryGenericErrors: true }to keep retrying plain errors. - In
beforeUploadmiddleware that returns a same-lengthstream, also returnsize: options.size. - Use
CloudinaryDriver.getSignedUrl()where you need the old non-expiring signed delivery URL.
Features
- S3: temporary credentials.
credentials.sessionTokenis sent and signed asx-amz-security-token(andX-Amz-Security-Tokenin presigned URLs), enabling STS, Lambda/ECS roles and SSO. - Cloudinary: chunked uploads with bounded memory. Files larger than
chunkSize(default 20 MiB, minimum 5 MiB) upload in chunks viaX-Unique-Upload-Id+Content-Rangeinstead of being buffered whole, andmaxSizeBytesis enforced while streaming. - Cloudinary: bounded lookup cache:
cacheSize(default 1000) caps the in-memory resource-type/version/format cache with least-recently-used eviction. - Cloudinary: delivery types. Upload as
upload(public),authenticatedorprivatevia the driver'sdeliveryTypeconfig or a per-uploaddeliveryTypeoption.getUrl/getsign URLs for non-public assets,deleteuses the asset's delivery type, and lookups can be filtered by type.meta.deliveryTypereports it. - Driver-specific upload options through the client:
FilewayClient.uploadnow accepts the driver's own upload options (e.g. Cloudinary'sdeliveryType) on top ofUploadOptions. - Cancellable retries:
delete,get,getUrlandgetPresignedUrlonFilewayClientaccept{ signal }; aborting stops further attempts and interrupts a pending retry delay.
Fixes
- S3: long multipart uploads no longer fail partway through. Each request (create, every part, complete, abort) is now signed with the time it is sent. Previously all were signed with the upload's start time, so uploads running longer than ~15 minutes were rejected with
RequestTimeTooSkewed. - Retries no longer re-apply middleware. Each
uploadretry now runsbeforeUploadmiddleware on the caller's original options instead of the previous attempt's transformed ones (e.g. a path-prefixing middleware no longer prefixes twice). - Cloudinary:
getPresignedUrlnow actually expires. Cloudinary ignoresexpires_atonres.cloudinary.comdelivery URLs, so the previous links never expired. It now returns a signed private download URL (api.cloudinary.com/v1_1/<cloud>/<type>/download) that stops working atexpires_at. The previous signed delivery URL is available asCloudinaryDriver.getSignedUrl()(non-expiring). - S3: a part with no
ETagnow fails clearly (with a hint about browser CORSExposeHeaders) instead of completing with an invalid substitute ETag. - S3:
forcePathStyleis now honored:truegives path-style AWS URLs;falsewith a customendpointgives virtual-hosted URLs. Defaults are unchanged. - Cloudinary search lookups quote and escape public IDs, so IDs with spaces, quotes or colons resolve to the right asset.
versionexported from@fileway/corenow reports the real package version.- Middleware that replaces the stream no longer leaves a stale
size. Previously abeforeUploadreturning a stream of a different length (e.g. gzip) kept the caller'soptions.size, so S3 uploads failed with a size mismatch and progress totals were wrong. The size is now dropped unless the middleware returns it (sizeon the result, or a changedoptions.size).
Docs site
- Redesigned the landing page and docs in a light-first style with Fileway's amber accent, with a light/dark theme toggle.
- Docs pages gained "Copy Markdown" and "Open" actions (backed by per-page Markdown at
/md/<page>.md), a section label above each title, and a "Was this page helpful?" row. - The header logo is now a 4 KB image instead of a 571 KB one.
v0.2.1 (2026-09-03)
- Automatic retries with backoff:
FilewayClientretries transient failures at the client layer via a newretryconfig ({ maxRetries, baseDelayMs, maxDelayMs, multiplier, jitter, retryHttpStatuses, retryGenericErrors }).delete,get,getUrl, andgetPresignedUrlretry automatically (idempotent);uploadretries only whenUploadOptions.streamFactoryis provided to re-produce the stream per attempt (aReadableStreamis single-use). Uses exponential backoff with full jitter (interruptible by abort). Onlynetwork,provider-error, and HTTP 429/5xx statuses retry;validation/config/auth-failed/not-found/bucket-not-found/size-exceeded/AbortErrornever do. ExportsisRetryable(err, config)for reuse, andretryas anOperation. Each retry logs awarn;onErrorfires only on the final failure.
v0.2.0 (2026-09-03)
BREAKING: Package rename: @fileway/driver-local, @fileway/driver-s3, and @fileway/driver-cloudinary are now @fileway/local, @fileway/s3, and @fileway/cloudinary. The old package names are deprecated on npm; install the new names instead.
Security: path-traversal fix in @fileway/local: the storage directory containment check used a raw string prefix match (fullPath.startsWith(root)) which was vulnerable to sibling-directory escape (e.g., path: "../storage2" passing the guard when a sibling directory shares the name prefix). Replaced with a relative()-based check that correctly rejects all escapes. Added symlink following defense: any symlink component inside the storage directory is now rejected before any I/O, preventing read/write/delete of files outside the root via planted symlinks. 7 new regression tests.
Migration:
npm uninstall @fileway/driver-local @fileway/driver-s3 @fileway/driver-cloudinary
npm install @fileway/local @fileway/s3 @fileway/cloudinaryv0.1.0 (2026-07-31)
- Optional
logger+onErrorcallbacks:FilewayClientconfig now accepts a dependency-freelogger({ debug?, info?, warn?, error? }) and anonError(error, context)hook, so you can plug in your own tooling (Pino, Sentry, Datadog) with a few lines and no adapter package. The logger receives"<operation> started/succeeded"infoevents (structured meta:operation,path,filename,size,id,url,durationMs) anderroron failures; it is silent when omitted, and a throwing logger never breaks the operation it reports on.onErroris awaited with the raw error plus{ operation, durationMs, path, ... }context before the error is rethrown; it is skipped for aborts (AbortErroris cancellation, not failure) but fires forValidationError/configerrors, and a throwingonErrornever masks the original error. New exports:Logger,LogLevel,Operation,ErrorContextin@fileway/core. - Typed error taxonomy:
@fileway/corenow exports a singleStorageError(with theStorageErrorCodeunion:validation,config,not-found,bucket-not-found,auth-failed,size-exceeded,network,provider-error) carrying optionalstatusCode,provider, andcause, plusisAbortError().ValidationErroris now aStorageErrorsubclass (code === "validation",instanceofbehavior unchanged), and abort signals still surface as standardDOMException/AbortError. All drivers throw typed errors instead of genericErrors: S3 classifies AWS/MinIO XML<Code>responses (NoSuchBucket,NoSuchKey/NoSuchUpload,AccessDenied/InvalidAccessKeyId/SignatureDoesNotMatch/ExpiredToken/InvalidToken,EntityTooLarge) with an HTTP-status fallback, wraps non-abortfetchfailures asnetwork(preserving the cause), and throwsconfigwhen credentials are missing; Cloudinary maps status (401/403 →auth-failed, upload 404 →bucket-not-found, get 404 →not-found, 413 →size-exceeded, elseprovider-error); Local classifies missing files asnot-found;FilewayClient.getPresignedUrlthrowsconfigfor drivers without presigned-URL support. Message strings are unchanged, so existing callers keep working. This is the foundation for retries (retrynetwork/provider-erroronly). @fileway/s3: presigned URLs:getPresignedUrl(path, { expiresIn })(with aFilewayClient.getPresignedUrlpassthrough) returns a time-limited, SigV4-signed GET URL so a file in a private bucket can be downloaded by anyone holding the link, with no credentials and no network call to sign it. Auth travels in the query string (X-Amz-Algorithm,X-Amz-Credential,X-Amz-Date,X-Amz-Expires,X-Amz-SignedHeaders=host,X-Amz-Signature) and onlyhostis signed with anUNSIGNED-PAYLOADhash.expiresIndefaults to3600seconds and must be an integer in1..604800(AWS's 7-day cap) or aValidationErroris thrown. Works withendpoint/forcePathStyle(MinIO, R2) and reuses the existing Web Crypto SigV4 primitives. Verified against AWS's documented presigned-URL example and a live MinIO round-trip.@fileway/cloudinary: presigned URLs:getPresignedUrl(publicId, { expiresIn, deliveryType })returns a Cloudinary signed delivery URL (the/s--SIG--/path component plus?expires_at=) using the same{ resourceType, version }hint / upload-cache / Admin API resolution chain asgetUrl. The signature is the first 8 characters of a URL-safe base64SHA-1digest of the resource path concatenated with the API secret, computed purely with Web Crypto.expiresIndefaults to3600and must be a positive integer. The signature restricts access only for assets withauthenticated/privatedelivery (passdeliveryType);upload-type assets created byCloudinaryDriver.uploadare already public, so their signed URLs resolve but do not gate access. Signature format verified against Cloudinary's documented delivery-signature example.- New optional
BaseDriver.getPresignedUrl?: S3 and Cloudinary implement it; Local omits it andFilewayClient.getPresignedUrlthrows a clear error for drivers without support. - Upload progress (
onProgress): passoptions.onProgresstoclient.upload()on any driver to receive{ bytes, total?, progress? }as chunks flow through the stream (new exportedUploadProgresstype in@fileway/core).total/progressare reported only whenoptions.sizeis known. Cadence is adaptive: chunks ≥ 256 KiB (or ≥ 5% of a known total) report immediately, smaller chunks coalesce to ~1 event per 100 ms, and an exact final event always fires (progressreaches exactly1). No event fires on abort. Progress is counted at the client layer, so every driver gets it with zero driver changes; Cloudinary reports during its pre-signatureBlobbuffering (itsfetchupload exposes no progress). @fileway/cloudinary: resource type resolution forgetUrl/delete/get:getUrl(publicId, options?)anddelete(publicId, options?)now resolve an asset'sresource_type/versionvia an explicit hint ({ resourceType, version }), the in-memory upload cache, then a one-time Cloudinary Admin APIresources/searchlookup (Basic auth) before defaulting toimage. Assets uploaded by another process or before a restart no longer produce broken/image/URLs or failed deletes for video/raw files.deletenow uses the Admin APIDELETE /resources/{type}/uploadendpoint with the resolved type and returnsfalsefor unknown assets without issuing a destroy call.- Upload cancellation (
AbortSignal): passoptions.signaltoclient.upload()on any driver to cancel an in-flight upload. Drivers reject with aDOMExceptionnamedAbortError(exported helperabortError()in@fileway/core). Local destroys both streams and unlinks the partial file; S3 aborts the request and, for multipart uploads, sendsAbortMultipartUploadso no orphaned parts remain; Cloudinary aborts the upload request. - Streaming downloads (
get(path)): newBaseDriver.get(path): Promise<ReadableStream<Uint8Array>>method on every driver, with aFilewayClient.get(path)passthrough. Files stream back pull-based with backpressure instead of being buffered whole. Local streams from disk (createReadStream→Readable.toWeb), S3 uses an authenticated SigV4GET, and Cloudinary fetches the public CDN URL. Missing paths throw. @fileway/s3: bounded-memory streaming uploads: passoptions.size(≤ 5 GiB) and the payload is uploaded as a SigV4aws-chunkedbody (STREAMING-AWS4-HMAC-SHA256-PAYLOAD); chunks are signed lazily as the stream is read, so memory stays constant regardless of file size.@fileway/s3: multipart uploads: unknown sizes and objects > 5 GiB now stream through a multipart upload (CreateMultipartUpload→UploadPart→CompleteMultipartUpload) into part-sized buffers (default8 MiB, minimum5 MiB), so peak memory stays bounded even without a declared size. Configurable viapartSizeandforceMultipart.@fileway/s3: size-mismatch safety: streams that end before/after the declaredsizeabort the upload and throw a validation error instead of storing a corrupted object.- Launch docs: rewritten
README.md, newCHANGELOG.md, and npmkeywordson all four packages.
v0.0.5 (2026-07-31)
- CI stability: build now runs before typecheck (drivers resolve
@fileway/coretypes from build output); CI and release builds target only publishable packages (no docs build). - Cross-package version alignment at
0.0.5.
v0.0.4 (2026-07-31)
- npm provenance via Trusted Publishers (OIDC): no stored
NPM_TOKEN; every publish ships SLSA attestation signed by GitHub Actions. - MIT licensing added to all packages.
- Package READMEs with npm version and bundle-size badges.
v0.0.3 (2026-07-31)
First public release of all four packages.
@fileway/core: zero-dependency client engine, types, middleware pipeline.@fileway/s3: rewritten to zero runtime dependencies: hand-rolled SigV4 signing over purefetch+ Web Crypto, streamingReadableStream<Uint8Array>bodies. Removed@aws-sdk/lib-storageand allnode:*imports.@fileway/cloudinary: rewritten to zero runtime dependencies:fetch+FormData+ Web Crypto (crypto.subtleSHA-1 signatures). Removed thecloudinarySDK.@fileway/local: nativenode:fsstreams with path-traversal guards and size limits.- Cross-runtime support verified: Node.js, Bun, Cloudflare Workers (edge-runtime tests), and Deno.
- Conditional exports (
worker,deno,bun,import,require) on every package.
Was this page helpful?