From d6d7bb6dbcd8c445052ecaa7f2a52c1a552d85a1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 13:01:43 +0100 Subject: [PATCH] ci: release (#7334) Co-authored-by: github-actions[bot] --- .changeset/forty-mirrors-approve.md | 5 ----- .../3.middleware/4.reference/change-log.md | 22 +++++++++++-------- .../4.sdk/5.reference/sdk-change-log.md | 4 ++-- .../eslint-config/CHANGELOG.md | 6 +++++ .../eslint-config/package.json | 2 +- 5 files changed, 22 insertions(+), 17 deletions(-) delete mode 100644 .changeset/forty-mirrors-approve.md diff --git a/.changeset/forty-mirrors-approve.md b/.changeset/forty-mirrors-approve.md deleted file mode 100644 index 39a038668d..0000000000 --- a/.changeset/forty-mirrors-approve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@vue-storefront/eslint-config": patch ---- - -[CHANGED] Added `/public` directory to ignored destinations in config for nextjs. diff --git a/docs/content/3.middleware/4.reference/change-log.md b/docs/content/3.middleware/4.reference/change-log.md index cac9b929bc..1686c377c8 100644 --- a/docs/content/3.middleware/4.reference/change-log.md +++ b/docs/content/3.middleware/4.reference/change-log.md @@ -4,8 +4,8 @@ ### Minor Changes -- **[ADDED]** Support for file uploads. - Now you can upload files to the server with a `multipart/form-data` content type. Files are available in the `req.files` object. +**[ADDED]** Support for file uploads +Now you can upload files to the server with a `multipart/form-data` content type. Files are available in the `req.files` object. ```ts // Example of an endpoint that handles file uploads @@ -28,9 +28,13 @@ Please, read the [Getting Started guide](https://docs.alokai.com/middleware/guid ### Patch Changes -- **[CHANGED]** added more verbose message with a troubleshooting guide in case that the `getLogger` method was not able to retrieve the logger instance. +** [CHANGED] ** -- **[FIXED]** changed `level` property to `verbosity` in the `LoggerConfig` interface. +- added more verbose message with a troubleshooting guide in case that the `getLogger` method was not able to retrieve the logger instance. + +** [FIXED] ** + +- changed `level` property to `verbosity` in the `LoggerConfig` interface. ## 5.1.0 @@ -42,13 +46,13 @@ Please, read the [Getting Started guide](https://docs.alokai.com/middleware/guid ### Patch Changes -- **[FIXED]** Potential XSS (Cross-Site Scripting) vulnerability in the middleware. Now, each parameter is properly sanitized and validated before being used in the middleware. +- **[FIXED]** a potential XSS (Cross-Site Scripting) vulnerability in the middleware. Now, each parameter is properly sanitized and validated before being used in the middleware. ## 5.0.0 ### Major Changes -- **[CHANGED] [BREAKING]** - Changed return type of `createServer()` from `Express` to `Server` (from built-in `node:http` package). Both of those types' interfaces have the `.listen()` method with the same shape. In some older templates for starting the middleware (`middleware.js` in your repo) you come across: +- [CHANGED] [BREAKING] Changed return type of `createServer()` from `Express` to `Server` (from built-in `node:http` package). Both of those types' interfaces have the `.listen()` method with the same shape. In some older templates for starting the middleware (`middleware.js` in your repo) you come across: ```ts async function runMiddleware(app: Express) { @@ -62,7 +66,7 @@ If you're using that older template, please change the `Express` type to `Server - async function runMiddleware(app: Express) { ``` -- **[ADDED]** New GET /readyz endpoint for middleware for using with Kubernetes readiness probes. Please see https://docs.alokai.com/middleware/guides/readiness-probes for more information +- [ADDED] New GET /readyz endpoint for middleware for using with Kubernetes readiness probes. Please see https://docs.alokai.com/middleware/guides/readiness-probes for more information ## 4.3.1 @@ -210,7 +214,7 @@ createServer(config, { ### Minor Changes -- **[ADDED]** Adds WithoutContext type helper. +- 712ba85a6: [ADDED] Adds WithoutContext type helper. ```ts type ApiClientMethods = { @@ -224,7 +228,7 @@ createServer(config, { ### Patch Changes -- **[CHANGED]** Returning HTTP Code 408 in case of ECONNABORTED from 3rd party service, and 500 in case of ECONNRESET instead of general fallback to HTTP Code 500, to provide more precise information about the case. +- c4534b523: [CHANGED] Returning HTTP Code 408 in case of ECONNABORTED from 3rd party service, and 500 in case of ECONNRESET instead of general fallback to HTTP Code 500, to provide more precise information about the case. ## 3.8.0 diff --git a/docs/content/4.sdk/5.reference/sdk-change-log.md b/docs/content/4.sdk/5.reference/sdk-change-log.md index eae3538a35..6920397263 100644 --- a/docs/content/4.sdk/5.reference/sdk-change-log.md +++ b/docs/content/4.sdk/5.reference/sdk-change-log.md @@ -4,7 +4,7 @@ ### Patch Changes -- **[FIXED]** Fixed type inference for function-based configurations when using the [extend](https://docs.alokai.com/sdk/advanced/extending-module#extend) method. Now the `methods` object is correctly typed. +- **[FIX]** Fixed type inference for function-based configurations when using the [extend](https://docs.alokai.com/sdk/advanced/extending-module#extend) method. Now the `methods` object is correctly typed. - **[FIXED]** Fixed multiple files upload, now it works as expected. ## 3.4.0 @@ -19,7 +19,7 @@ ```typescript // Upload a file using multipart/form-data await sdk.commerce.uploadFile( - { file: new File(["content"], "test.pdf", { type: "application/pdf" }) }, + { file: new File(["content"], "test.txt", { type: "text/plain" }) }, prepareConfig({ headers: { "Content-Type": "multipart/form-data", diff --git a/engineering-toolkit/eslint-config/CHANGELOG.md b/engineering-toolkit/eslint-config/CHANGELOG.md index 88db17c5aa..eb3640a8e6 100644 --- a/engineering-toolkit/eslint-config/CHANGELOG.md +++ b/engineering-toolkit/eslint-config/CHANGELOG.md @@ -1,5 +1,11 @@ # @vue-storefront/eslint-config +## 4.0.3 + +### Patch Changes + +- **[CHANGED]** Added `/public` directory to ignored destinations in config for nextjs. + ## 4.0.2 ### Patch Changes diff --git a/engineering-toolkit/eslint-config/package.json b/engineering-toolkit/eslint-config/package.json index a1dc56232f..fe97532641 100644 --- a/engineering-toolkit/eslint-config/package.json +++ b/engineering-toolkit/eslint-config/package.json @@ -1,6 +1,6 @@ { "name": "@vue-storefront/eslint-config", - "version": "4.0.2", + "version": "4.0.3", "type": "module", "main": "src/index.js", "license": "MIT",