You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/3.middleware/4.reference/change-log.md
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,8 @@
4
4
5
5
### Minor Changes
6
6
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.
9
9
10
10
```ts
11
11
// Example of an endpoint that handles file uploads
@@ -28,9 +28,13 @@ Please, read the [Getting Started guide](https://docs.alokai.com/middleware/guid
28
28
29
29
### Patch Changes
30
30
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]**
32
32
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.
34
38
35
39
## 5.1.0
36
40
@@ -42,13 +46,13 @@ Please, read the [Getting Started guide](https://docs.alokai.com/middleware/guid
42
46
43
47
### Patch Changes
44
48
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.
46
50
47
51
## 5.0.0
48
52
49
53
### Major Changes
50
54
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:
52
56
53
57
```ts
54
58
asyncfunction runMiddleware(app:Express) {
@@ -62,7 +66,7 @@ If you're using that older template, please change the `Express` type to `Server
62
66
-asyncfunction runMiddleware(app:Express) {
63
67
```
64
68
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
Copy file name to clipboardExpand all lines: docs/content/4.sdk/5.reference/sdk-change-log.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
### Patch Changes
6
6
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.
8
8
-**[FIXED]** Fixed multiple files upload, now it works as expected.
0 commit comments