Repository navigation
Releases
@edgestore/server@0.8.1
Patch Changes
-
#319
edc3811Thanks @raviships! - Security: remove the/proxy-fileroute (GHSA-q5q6-5j7p-935p). Upgrade@edgestore/serverand@edgestore/reacttogether. -
Updated dependencies []:
- @edgestore/shared@0.8.1
@edgestore/react@0.8.1
Patch Changes
-
#319
edc3811Thanks @raviships! - Security: remove the/proxy-fileroute (GHSA-q5q6-5j7p-935p). Upgrade@edgestore/serverand@edgestore/reacttogether. -
Updated dependencies []:
- @edgestore/shared@0.8.1
@edgestore/server@1.0.1
Patch Changes
-
#309
85791bbThanks @raviships! - RequirebeforeDeleteto replace or overwrite existing files from the browser.Replacing a file deletes it, so a browser upload with
replaceTargetUrl, or
with amanualFileNamethat matches an existing file, now runs the bucket's
beforeDeleteon that file first. Replacement targets must be in the same
bucket. WithoutbeforeDeletethese uploads fail. Generated file names and
backend uploads are unchanged.Custom providers that let the browser choose file names should call the new
authorizeOverwriterequest parameter with any file already at the key. -
#308
83cba2aThanks @raviships! - Harden theedgestore-ctxcookie against cross-site requests.- The cookie now defaults to
SameSite=LaxandHttpOnly, and toSecure
whenNODE_ENVisproduction.cookieConfig.ctx.optionsstill overrides
each default; a frontend on a different site needssameSite: 'none'and
secure: true. Browsers don't storeSecurecookies over plain HTTP
(Safari not even onlocalhost), so setsecure: falseto test a production
build over HTTP. - Requests with a body must use
Content-Type: application/json, as
@edgestore/reactalready does. Other content types get a400. - The encrypted context now expires with the cookie's
maxAgeinstead of
always after 30 days.
- The cookie now defaults to
-
Updated dependencies [
85791bb]:- @edgestore/shared@1.0.1
- @edgestore/sdk@1.0.1
@edgestore/sdk@1.0.1
No changes in this release.
@edgestore/react@1.0.1
Patch Changes
- Updated dependencies [
85791bb]:- @edgestore/shared@1.0.1
@edgestore/cli@1.0.1
Patch Changes
- #307
394fdedThanks @raviships! - Updatesmol-tomlto 1.9.1 so a malformed or very large Codexconfig.tomlcan no longer hang the CLI (GHSA-7w5x-hrqm-74c2, GHSA-r4xh-jqrq-34v2). - Updated dependencies []:
- @edgestore/sdk@1.0.1
@edgestore/server@1.0.0
Major Changes
-
#262
17477fbThanks @raviships! - Sign Azure Blob URLs with the storage account key: setstorageAccountKeyor
ES_AZURE_ACCOUNT_KEYin place ofsasTokenorES_AZURE_SAS_TOKEN. Replace
customBaseUrlandES_AZURE_BASE_URLwithendpointandES_AZURE_ENDPOINT.
Azure Blob rejectstemporary,replaceTargetUrl, and cookie-based
accessControlrules. -
#194
1bd3452Thanks @raviships! - Rebuild the backend client on EdgeStore API v2. Methods are renamed (get,
list,confirm,delete,restore, theirManyvariants, and
createSignedUrl(s)), files are referenced by{ id },{ key }, or
{ url }, andlistuses cursor pagination. Singular methods throw
EdgeStoreFileMutationError, and batch methods report per-file failures. -
#194
1bd3452Thanks @raviships! - Replace the custom provider interface with theEdgeStoreProvidercontract and
thedefineProviderhelper. The backend client only exposes the operations a
provider implements. -
#159
bd89793Thanks @raviships! - Publish ESM-only packages and require Node.js 22.22.0 or newer.
@edgestore/reactno longer installs server-only dependencies. -
#253
fa37415Thanks @raviships! - Rename the provider factories:EdgeStoreProvider()is nowedgestore(),
AWSProvider()fromproviders/awsis nows3()fromproviders/s3, and
AzureProvider()fromproviders/azureis nowazureBlob()from
providers/azure-blob. -
#263
ed81242Thanks @raviships! - Remove deprecated and duplicate APIs:@edgestore/react/shared(use
@edgestore/react/errors),@edgestore/server/core(use@edgestore/server),
InferClientResponse(useInferClientOutputs), and the S3accessKeyIdand
secretAccessKeyoptions (usecredentialsor theES_AWS_*variables). -
#255
7a66d4cThanks @raviships! - Load protected files directly from their file origin in development. The
/proxy-fileroute and the ReactdisableDevProxyoption are removed.
Adapters no longer set theedgestore-tokencookie, socookieConfig.tokenis
removed. -
#253
fa37415Thanks @raviships! - Configure the provider once withes.router({ ... }).provider(...)and pass
only therouterto adapters. Userouter.clientin place of
initEdgeStoreClient. -
#249
f0375e3Thanks @raviships! - Replace the S3overwritePathoption withpath, which returns a key relative
to the router bucket. S3 rejectstemporary,replaceTargetUrl, and
cookie-basedaccessControlrules instead of ignoring them. -
#151
7c8a7b6Thanks @raviships! - Accept any Standard Schema library for bucketinput, and drop the Zod peer
dependency. The server now validates upload input, rejects invalid requests
withBAD_REQUEST, and passes the parsed output to callbacks.
Minor Changes
-
#248
ae605b9Thanks @raviships! - Bundle Markdown API references that match the installed version, for coding
agents. -
#262
17477fbThanks @raviships! - Add Azure Blob block uploads for large files, backend uploads, private buckets
with signed downloads, apathcallback, abaseUrloption for file URLs, and
per-object settings (cache control, content disposition, and metadata). -
#274
8c8d8abThanks @raviships! - SupportEDGESTORE_*environment variables for credentials, API and base URLs,
and signing secrets. -
#253
fa37415Thanks @raviships! - Theedgestore()provider accepts a Bearertokenwith an explicitproject
in place of project keys. -
#237
31405caThanks @raviships! - Initialize protected file access on the file origins returned by EdgeStore,
including project subdomains and the shared origin used by existing links. -
#256
017f324Thanks @raviships! - Make long browser multipart uploads resilient: part URLs are signed in batches,
failed parts are retried with backoff, and failed or canceled uploads abort the
multipart session. -
#249
f0375e3Thanks @raviships! - Add S3 multipart uploads for large files, backend uploads, private buckets with
signed downloads, and per-object settings (cache and download headers,
metadata, tags, storage class, and encryption). -
#275
e1548abThanks @raviships! - Passoptions.waitForProcessingto resolve an upload with the processed file,
andonPhaseChangeto show when processing starts. Failures and timeouts reject
withUploadCanceledErrorandUploadProcessingTimeoutError. Providers opt in
by implementinguploads.getStatus.