Skip to content

Releases: ardatan/graphql-tools

April 08, 2024

08 Apr 11:58
1b2e4e1
Compare
Choose a tag to compare

@graphql-tools/executor@1.2.6

Patch Changes

  • #6038 02dd9ac Thanks @ardatan! - Some libraries like undici throw objects that are not Error instances when the response is tried to parse as JSON but failed.
    In that case, executor prints an error like below;

    NonErrorThrown: Unexpected error value: {...}
    at toError (/usr/src/app/node_modules/graphql/jsutils/toError.js:16:7)
    at locatedError (/usr/src/app/node_modules/graphql/error/locatedError.js:20:46)
    at /usr/src/app/node_modules/@graphql-tools/executor/cjs/execution/execute.js:330:58
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /usr/src/app/node_modules/@graphql-tools/executor/cjs/execution/promiseForObject.js:18:35
    at async Promise.all (index 0)
    

    But actually the shape of the object matches the Error interface.
    In that case, the executor now coerces the object to an Error instance by taking message, stack, name and cause properties.
    So the user will get the error correctly.

April 08, 2024

08 Apr 09:58
e884cc6
Compare
Choose a tag to compare

@graphql-tools/executor-urql-exchange@1.0.2

Patch Changes

@graphql-tools/stitch@9.1.0

Minor Changes

  • #5162 27b6f49 Thanks @asodeur! - Adding the ability to return non-scalar types from computed fields. Computed fields can now return
    object types (local or stitched), interfaces, unions, or enums.

@graphql-tools/stitching-directives@3.0.2

Patch Changes

  • #5162 27b6f49 Thanks @asodeur! - Adding the ability to return non-scalar types from computed fields. Computed fields can now return
    object types (local or stitched), interfaces, unions, or enums.

March 28, 2024

28 Mar 15:14
5b611ef
Compare
Choose a tag to compare

@graphql-tools/executor@1.2.5

Patch Changes

March 23, 2024

23 Mar 13:50
5fb92dd
Compare
Choose a tag to compare

@graphql-tools/executor@1.2.4

Patch Changes

  • #6009 14a001e Thanks @n1ru4l! - correctly raise abort exception for Promise and sync execution

March 21, 2024

21 Mar 09:54
7517eb9
Compare
Choose a tag to compare

@graphql-tools/executor@1.2.3

Patch Changes

  • #6006 a5364eb Thanks @n1ru4l! - fix rejecting when canceling async iterable returned from normalized executor

March 19, 2024

19 Mar 13:04
6628251
Compare
Choose a tag to compare

@graphql-tools/federation@1.1.25

Patch Changes

March 18, 2024

18 Mar 21:10
cdd9504
Compare
Choose a tag to compare

@graphql-tools/federation@1.1.24

Patch Changes

March 13, 2024

13 Mar 13:03
1d33cdd
Compare
Choose a tag to compare

@graphql-tools/wrap@10.0.5

Patch Changes

March 13, 2024

13 Mar 11:26
100ee98
Compare
Choose a tag to compare

@graphql-tools/federation@1.1.23

Patch Changes

March 12, 2024

12 Mar 14:48
979ba4c
Compare
Choose a tag to compare

@graphql-tools/federation@1.1.22

Patch Changes