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: changelog.md
+32Lines changed: 32 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,41 @@
2
2
3
3
## Next
4
4
5
+
### Major
6
+
7
+
- Updated the [`fs-capacitor`](https://npm.im/fs-capacitor) dependency to v8, fixing [#318](https://github.com/jaydenseric/graphql-upload/issues/318).
8
+
- The type `FileUploadCreateReadStreamOptions` from the `processRequest.mjs` module now uses types from [`fs-capacitor`](https://npm.im/fs-capacitor) that are slightly more specific.
9
+
- The API is now ESM in `.mjs` files instead of CJS in `.js` files, [accessible via `import` but not `require`](https://nodejs.org/dist/latest/docs/api/esm.html#require). To migrate imports:
10
+
11
+
```diff
12
+
- import GraphQLUpload from "graphql-upload/GraphQLUpload.js";
13
+
+ import GraphQLUpload from "graphql-upload/GraphQLUpload.mjs";
14
+
```
15
+
16
+
```diff
17
+
- import graphqlUploadExpress from "graphql-upload/graphqlUploadExpress.js";
18
+
+ import graphqlUploadExpress from "graphql-upload/graphqlUploadExpress.mjs";
19
+
```
20
+
21
+
```diff
22
+
- import graphqlUploadKoa from "graphql-upload/graphqlUploadKoa.js";
23
+
+ import graphqlUploadKoa from "graphql-upload/graphqlUploadKoa.mjs";
24
+
```
25
+
26
+
```diff
27
+
- import processRequest from "graphql-upload/processRequest.js";
28
+
+ import processRequest from "graphql-upload/processRequest.mjs";
29
+
```
30
+
31
+
```diff
32
+
- import Upload from "graphql-upload/Upload.js";
33
+
+ import Upload from "graphql-upload/Upload.mjs";
34
+
```
35
+
5
36
### Patch
6
37
7
38
- Updated dev dependencies.
39
+
- Updated examples in JSDoc comments.
8
40
- Updated the changelog entry for v14.0.0 to show how to migrate imports.
0 commit comments