|
1 | 1 | # @graphql-codegen/typescript-graphql-request
|
2 | 2 |
|
| 3 | +## 4.5.9 |
| 4 | + |
| 5 | +### Patch Changes |
| 6 | + |
| 7 | +- [#311](https://github.com/dotansimha/graphql-code-generator-community/pull/311) |
| 8 | + [`2c1652ec0`](https://github.com/dotansimha/graphql-code-generator-community/commit/2c1652ec067248d91fd5674cdd4c07ab8ffb0b97) |
| 9 | + Thanks [@domdomegg](https://github.com/domdomegg)! - Limit graphql-request version in plugin to <= |
| 10 | + 5.1 to reflect breaking changes in graphql-request package. |
| 11 | + |
3 | 12 | ## 4.5.8
|
4 | 13 |
|
5 | 14 | ### Patch Changes
|
6 | 15 |
|
7 |
| -- Updated dependencies [[`63dc8f205`](https://github.com/dotansimha/graphql-code-generator/commit/63dc8f2054e27b944f7d8dc59db8afa85760a127)]: |
| 16 | +- Updated dependencies |
| 17 | + [[`63dc8f205`](https://github.com/dotansimha/graphql-code-generator/commit/63dc8f2054e27b944f7d8dc59db8afa85760a127)]: |
8 | 18 | - @graphql-codegen/visitor-plugin-common@2.13.1
|
9 | 19 | - @graphql-codegen/plugin-helpers@2.7.2
|
10 | 20 |
|
11 | 21 | ## 4.5.7
|
12 | 22 |
|
13 | 23 | ### Patch Changes
|
14 | 24 |
|
15 |
| -- Updated dependencies [[`a46b8d99c`](https://github.com/dotansimha/graphql-code-generator/commit/a46b8d99c797283d773ec14163c62be9c84d4c2b)]: |
| 25 | +- Updated dependencies |
| 26 | + [[`a46b8d99c`](https://github.com/dotansimha/graphql-code-generator/commit/a46b8d99c797283d773ec14163c62be9c84d4c2b)]: |
16 | 27 | - @graphql-codegen/visitor-plugin-common@2.13.0
|
17 | 28 |
|
18 | 29 | ## 4.5.6
|
19 | 30 |
|
20 | 31 | ### Patch Changes
|
21 | 32 |
|
22 |
| -- Updated dependencies [[`1bd7f771c`](https://github.com/dotansimha/graphql-code-generator/commit/1bd7f771ccb949a5a37395c7c57cb41c19340714)]: |
| 33 | +- Updated dependencies |
| 34 | + [[`1bd7f771c`](https://github.com/dotansimha/graphql-code-generator/commit/1bd7f771ccb949a5a37395c7c57cb41c19340714)]: |
23 | 35 | - @graphql-codegen/visitor-plugin-common@2.12.2
|
24 | 36 |
|
25 | 37 | ## 4.5.5
|
26 | 38 |
|
27 | 39 | ### Patch Changes
|
28 | 40 |
|
29 |
| -- [#8334](https://github.com/dotansimha/graphql-code-generator/pull/8334) [`e6e497afa`](https://github.com/dotansimha/graphql-code-generator/commit/e6e497afa54213ad3eabfae26c014ab03eb4727c) Thanks [@jcarrus](https://github.com/jcarrus)! - graphql-request: append explicit extension when importing dom types |
| 41 | +- [#8334](https://github.com/dotansimha/graphql-code-generator/pull/8334) |
| 42 | + [`e6e497afa`](https://github.com/dotansimha/graphql-code-generator/commit/e6e497afa54213ad3eabfae26c014ab03eb4727c) |
| 43 | + Thanks [@jcarrus](https://github.com/jcarrus)! - graphql-request: append explicit extension when |
| 44 | + importing dom types |
30 | 45 |
|
31 |
| -- Updated dependencies [[`4113b1bd3`](https://github.com/dotansimha/graphql-code-generator/commit/4113b1bd39f3d32759c68a292e8492a0dd4f7371)]: |
| 46 | +- Updated dependencies |
| 47 | + [[`4113b1bd3`](https://github.com/dotansimha/graphql-code-generator/commit/4113b1bd39f3d32759c68a292e8492a0dd4f7371)]: |
32 | 48 | - @graphql-codegen/plugin-helpers@2.7.1
|
33 | 49 |
|
34 | 50 | ## 4.5.4
|
35 | 51 |
|
36 | 52 | ### Patch Changes
|
37 | 53 |
|
38 |
| -- [#8295](https://github.com/dotansimha/graphql-code-generator/pull/8295) [`a18818118`](https://github.com/dotansimha/graphql-code-generator/commit/a18818118c11d834ae41edbd172dbc259817fcb6) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: |
| 54 | +- [#8295](https://github.com/dotansimha/graphql-code-generator/pull/8295) |
| 55 | + [`a18818118`](https://github.com/dotansimha/graphql-code-generator/commit/a18818118c11d834ae41edbd172dbc259817fcb6) |
| 56 | + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: |
39 | 57 |
|
40 |
| - - Updated dependency [`graphql-request@^3.4.0 || ^4.0.0 || ^5.0.0` ↗︎](https://www.npmjs.com/package/graphql-request/v/null) (from `^3.4.0 || ^4.0.0`, in `peerDependencies`) |
| 58 | + - Updated dependency |
| 59 | + [`graphql-request@^3.4.0 || ^4.0.0 || ^5.0.0` ↗︎](https://www.npmjs.com/package/graphql-request/v/null) |
| 60 | + (from `^3.4.0 || ^4.0.0`, in `peerDependencies`) |
41 | 61 |
|
42 |
| -- Updated dependencies [[`2ed21a471`](https://github.com/dotansimha/graphql-code-generator/commit/2ed21a471f8de58ecafebf4bf64b3c32cee24d2f)]: |
| 62 | +- Updated dependencies |
| 63 | + [[`2ed21a471`](https://github.com/dotansimha/graphql-code-generator/commit/2ed21a471f8de58ecafebf4bf64b3c32cee24d2f)]: |
43 | 64 | - @graphql-codegen/plugin-helpers@2.7.0
|
44 | 65 |
|
45 | 66 | ## 4.5.3
|
46 | 67 |
|
47 | 68 | ### Patch Changes
|
48 | 69 |
|
49 |
| -- [#8189](https://github.com/dotansimha/graphql-code-generator/pull/8189) [`b408f8238`](https://github.com/dotansimha/graphql-code-generator/commit/b408f8238c00bbb4cd448501093856c06cfde50f) Thanks [@n1ru4l](https://github.com/n1ru4l)! - Fix CommonJS TypeScript resolution with `moduleResolution` `node16` or `nodenext` |
| 70 | +- [#8189](https://github.com/dotansimha/graphql-code-generator/pull/8189) |
| 71 | + [`b408f8238`](https://github.com/dotansimha/graphql-code-generator/commit/b408f8238c00bbb4cd448501093856c06cfde50f) |
| 72 | + Thanks [@n1ru4l](https://github.com/n1ru4l)! - Fix CommonJS TypeScript resolution with |
| 73 | + `moduleResolution` `node16` or `nodenext` |
50 | 74 |
|
51 |
| -- Updated dependencies [[`b408f8238`](https://github.com/dotansimha/graphql-code-generator/commit/b408f8238c00bbb4cd448501093856c06cfde50f), [`47d0a57e2`](https://github.com/dotansimha/graphql-code-generator/commit/47d0a57e27dd0d2334670bfc6c81c45e00ff4e74)]: |
| 75 | +- Updated dependencies |
| 76 | + [[`b408f8238`](https://github.com/dotansimha/graphql-code-generator/commit/b408f8238c00bbb4cd448501093856c06cfde50f), |
| 77 | + [`47d0a57e2`](https://github.com/dotansimha/graphql-code-generator/commit/47d0a57e27dd0d2334670bfc6c81c45e00ff4e74)]: |
52 | 78 | - @graphql-codegen/visitor-plugin-common@2.12.1
|
53 | 79 | - @graphql-codegen/plugin-helpers@2.6.2
|
54 | 80 |
|
|
71 | 97 |
|
72 | 98 | ### Minor Changes
|
73 | 99 |
|
74 |
| -- d84afec09: Support TypeScript ESM modules (`"module": "node16"` and `"moduleResolution": "node16"`). |
| 100 | +- d84afec09: Support TypeScript ESM modules (`"module": "node16"` and |
| 101 | + `"moduleResolution": "node16"`). |
75 | 102 |
|
76 | 103 | [More information on the TypeScript Release Notes.](https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#ecmascript-module-support-in-node-js)
|
77 | 104 |
|
|
141 | 168 |
|
142 | 169 | - 44cd9a85e: Fix rawRequest return type
|
143 | 170 |
|
144 |
| - The errors property from the return type has been removed, because it is never |
145 |
| - returned by `graphql-request`. Instead, failed requests throw a `ClientError`. |
146 |
| - Also, data is no longer optional, because it always exists for successful responses. |
| 171 | + The errors property from the return type has been removed, because it is never returned by |
| 172 | + `graphql-request`. Instead, failed requests throw a `ClientError`. Also, data is no longer |
| 173 | + optional, because it always exists for successful responses. |
147 | 174 |
|
148 | 175 | ## 4.4.3
|
149 | 176 |
|
|
216 | 243 |
|
217 | 244 | ### Patch Changes
|
218 | 245 |
|
219 |
| -- 22f6e4a92: Don't import `print` as type when supporting `useTypeImports` & `rawRequest` and `documentMode` is not a `string`. |
| 246 | +- 22f6e4a92: Don't import `print` as type when supporting `useTypeImports` & `rawRequest` and |
| 247 | + `documentMode` is not a `string`. |
220 | 248 |
|
221 | 249 | ## 4.3.1
|
222 | 250 |
|
|
230 | 258 |
|
231 | 259 | ### Minor Changes
|
232 | 260 |
|
233 |
| -- 3b87f049a: Add the extensionsType config in order to change the default type for extensions when rawRequest is true. |
| 261 | +- 3b87f049a: Add the extensionsType config in order to change the default type for extensions when |
| 262 | + rawRequest is true. |
234 | 263 |
|
235 | 264 | ## 4.2.0
|
236 | 265 |
|
|
318 | 347 |
|
319 | 348 | ‼️ ‼️ ‼️ Please note ‼️ ‼️ ‼️:
|
320 | 349 |
|
321 |
| - This is a breaking change since Node 10 is no longer supported in `graphql-tools`, and also no longer supported for Codegen packages. |
| 350 | + This is a breaking change since Node 10 is no longer supported in `graphql-tools`, and also no |
| 351 | + longer supported for Codegen packages. |
322 | 352 |
|
323 | 353 | ### Patch Changes
|
324 | 354 |
|
|
373 | 403 |
|
374 | 404 | ### Minor Changes
|
375 | 405 |
|
376 |
| -- 9b59605d: feat(typescript-graphql-request): Add enhancements to request middleware function (#5883, #5807) #5884 |
| 406 | +- 9b59605d: feat(typescript-graphql-request): Add enhancements to request middleware function |
| 407 | + (#5883, #5807) #5884 |
377 | 408 |
|
378 | 409 | ### Patch Changes
|
379 | 410 |
|
|
396 | 427 |
|
397 | 428 | ### Minor Changes
|
398 | 429 |
|
399 |
| -- af6fb509: Removed the unnecessary call to the print function, since graphql-request would call this function internally if needed. |
| 430 | +- af6fb509: Removed the unnecessary call to the print function, since graphql-request would call |
| 431 | + this function internally if needed. |
400 | 432 |
|
401 | 433 | ### Patch Changes
|
402 | 434 |
|
|
488 | 520 |
|
489 | 521 | ## Breaking Changes
|
490 | 522 |
|
491 |
| - `v3` of `graphql-request` has changed the path of some files. That means that generated code needs to adjusted. |
| 523 | + `v3` of `graphql-request` has changed the path of some files. That means that generated code needs |
| 524 | + to adjusted. |
492 | 525 |
|
493 | 526 | The actual change is described here: https://github.com/prisma-labs/graphql-request/issues/186
|
494 | 527 |
|
495 | 528 | ### Patch Changes
|
496 | 529 |
|
497 | 530 | - 1d7c6432: Bump all packages to allow "^" in deps and fix compatibility issues
|
498 |
| -- 1d7c6432: Bump versions of @graphql-tools/ packages to fix issues with loading schemas and SDL comments |
| 531 | +- 1d7c6432: Bump versions of @graphql-tools/ packages to fix issues with loading schemas and SDL |
| 532 | + comments |
499 | 533 | - Updated dependencies [1d7c6432]
|
500 | 534 | - Updated dependencies [1d7c6432]
|
501 | 535 | - @graphql-codegen/visitor-plugin-common@1.17.13
|
|
0 commit comments