Skip to content

Commit d6d7bb6

Browse files
ci: release (#7334)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent eeee410 commit d6d7bb6

File tree

5 files changed

+22
-17
lines changed

5 files changed

+22
-17
lines changed

.changeset/forty-mirrors-approve.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/content/3.middleware/4.reference/change-log.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
### Minor Changes
66

7-
- **[ADDED]** Support for file uploads.
8-
Now you can upload files to the server with a `multipart/form-data` content type. Files are available in the `req.files` object.
7+
**[ADDED]** Support for file uploads
8+
Now you can upload files to the server with a `multipart/form-data` content type. Files are available in the `req.files` object.
99

1010
```ts
1111
// Example of an endpoint that handles file uploads
@@ -28,9 +28,13 @@ Please, read the [Getting Started guide](https://docs.alokai.com/middleware/guid
2828

2929
### Patch Changes
3030

31-
- **[CHANGED]** added more verbose message with a troubleshooting guide in case that the `getLogger` method was not able to retrieve the logger instance.
31+
** [CHANGED] **
3232

33-
- **[FIXED]** changed `level` property to `verbosity` in the `LoggerConfig` interface.
33+
- added more verbose message with a troubleshooting guide in case that the `getLogger` method was not able to retrieve the logger instance.
34+
35+
** [FIXED] **
36+
37+
- changed `level` property to `verbosity` in the `LoggerConfig` interface.
3438

3539
## 5.1.0
3640

@@ -42,13 +46,13 @@ Please, read the [Getting Started guide](https://docs.alokai.com/middleware/guid
4246

4347
### Patch Changes
4448

45-
- **[FIXED]** Potential XSS (Cross-Site Scripting) vulnerability in the middleware. Now, each parameter is properly sanitized and validated before being used in the middleware.
49+
- **[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.
4650

4751
## 5.0.0
4852

4953
### Major Changes
5054

51-
- **[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:
55+
- [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:
5256

5357
```ts
5458
async function runMiddleware(app: Express) {
@@ -62,7 +66,7 @@ If you're using that older template, please change the `Express` type to `Server
6266
- async function runMiddleware(app: Express) {
6367
```
6468
65-
- **[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
69+
- [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
6670
6771
## 4.3.1
6872
@@ -210,7 +214,7 @@ createServer(config, {
210214

211215
### Minor Changes
212216

213-
- **[ADDED]** Adds WithoutContext type helper.
217+
- 712ba85a6: [ADDED] Adds WithoutContext type helper.
214218

215219
```ts
216220
type ApiClientMethods = {
@@ -224,7 +228,7 @@ createServer(config, {
224228

225229
### Patch Changes
226230

227-
- **[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.
231+
- 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.
228232

229233
## 3.8.0
230234

docs/content/4.sdk/5.reference/sdk-change-log.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Patch Changes
66

7-
- **[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.
7+
- **[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.
88
- **[FIXED]** Fixed multiple files upload, now it works as expected.
99

1010
## 3.4.0
@@ -19,7 +19,7 @@
1919
```typescript
2020
// Upload a file using multipart/form-data
2121
await sdk.commerce.uploadFile(
22-
{ file: new File(["content"], "test.pdf", { type: "application/pdf" }) },
22+
{ file: new File(["content"], "test.txt", { type: "text/plain" }) },
2323
prepareConfig({
2424
headers: {
2525
"Content-Type": "multipart/form-data",

engineering-toolkit/eslint-config/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @vue-storefront/eslint-config
22

3+
## 4.0.3
4+
5+
### Patch Changes
6+
7+
- **[CHANGED]** Added `/public` directory to ignored destinations in config for nextjs.
8+
39
## 4.0.2
410

511
### Patch Changes

engineering-toolkit/eslint-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue-storefront/eslint-config",
3-
"version": "4.0.2",
3+
"version": "4.0.3",
44
"type": "module",
55
"main": "src/index.js",
66
"license": "MIT",

0 commit comments

Comments
 (0)