Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/@graphql-tools_import-7588-dependencies.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/@graphql-tools_import-7721-dependencies.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/@graphql-tools_node-require-7588-dependencies.md

This file was deleted.

34 changes: 0 additions & 34 deletions .changeset/floppy-women-poke.md

This file was deleted.

44 changes: 44 additions & 0 deletions packages/executor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
# @graphql-tools/executor

## 1.5.0

### Minor Changes

- [#7588](https://github.com/ardatan/graphql-tools/pull/7588)
[`2118a80`](https://github.com/ardatan/graphql-tools/commit/2118a80e2658076745ef314fc10e2030d7148394)
Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Add optional schema coordinate in error
extensions. This extension allows to precisely identify the source of the error by automated tools
like tracing or monitoring.

This new feature is opt-in, you have to enable it using `schemaCoordinateInErrors` executor
option.

**Caution:** This feature, when enabled, will expose information about your schema. If you need to
keep your schema private and secret, you should strip this attribute at serialization time before
sending errors to the client.

```ts
import { parse } from 'graphql'
import { normalizedExecutor } from '@graphql-tools/executor'
import { getSchemaCoordinate } from '@graphql-tools/utils'
import schema from './schema'

const result = await normalizedExecutor({
schema,
document: parse(`...`),
schemaCoordinateInErrors: true // enable adding schema coordinate to graphql errors
})

if (result.errors) {
for (const error of result.errors) {
console.log('Error in resolver ', error.coordinate, ':', error.message)
// or with `getSchemaCoordinate` util, to workaround types if needed
console.log('Error in resolver', getSchemaCoordinate(error), ':', error.message)
}
}
```

### Patch Changes

- Updated dependencies
[[`2118a80`](https://github.com/ardatan/graphql-tools/commit/2118a80e2658076745ef314fc10e2030d7148394)]:
- @graphql-tools/[email protected]

## 1.4.13

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/executor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/executor",
"version": "1.4.13",
"version": "1.5.0",
"type": "module",
"repository": {
"type": "git",
Expand Down Expand Up @@ -55,7 +55,7 @@
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
},
"dependencies": {
"@graphql-tools/utils": "^10.10.3",
"@graphql-tools/utils": "^10.11.0",
"@graphql-typed-document-node/core": "^3.2.0",
"@repeaterjs/repeater": "^3.0.4",
"@whatwg-node/disposablestack": "^0.0.6",
Expand Down
8 changes: 8 additions & 0 deletions packages/executors/apollo-link/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @graphql-tools/executor-apollo-link

## 2.0.5

### Patch Changes

- Updated dependencies
[[`2118a80`](https://github.com/ardatan/graphql-tools/commit/2118a80e2658076745ef314fc10e2030d7148394)]:
- @graphql-tools/[email protected]

## 2.0.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/executors/apollo-link/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/executor-apollo-link",
"version": "2.0.4",
"version": "2.0.5",
"type": "module",
"description": "A set of utils for faster development of GraphQL tools",
"repository": {
Expand Down Expand Up @@ -52,7 +52,7 @@
"graphql": "^15.2.0 || ^16.0.0"
},
"dependencies": {
"@graphql-tools/utils": "^10.10.3",
"@graphql-tools/utils": "^10.11.0",
"tslib": "^2.3.1"
},
"devDependencies": {
Expand Down
8 changes: 8 additions & 0 deletions packages/executors/envelop/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @graphql-tools/executor-envelop

## 4.0.5

### Patch Changes

- Updated dependencies
[[`2118a80`](https://github.com/ardatan/graphql-tools/commit/2118a80e2658076745ef314fc10e2030d7148394)]:
- @graphql-tools/utils@10.11.0

## 4.0.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/executors/envelop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/executor-envelop",
"version": "4.0.4",
"version": "4.0.5",
"type": "module",
"description": "A set of utils for faster development of GraphQL tools",
"repository": {
Expand Down Expand Up @@ -51,7 +51,7 @@
"@envelop/core": "^3.0.4 || ^4.0.0 || ^5.0.0"
},
"dependencies": {
"@graphql-tools/utils": "^10.10.3",
"@graphql-tools/utils": "^10.11.0",
"@graphql-tools/wrap": "^11.0.0",
"tslib": "^2.3.1"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/executors/legacy-ws/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @graphql-tools/executor-legacy-ws

## 1.1.24

### Patch Changes

- Updated dependencies
[[`2118a80`](https://github.com/ardatan/graphql-tools/commit/2118a80e2658076745ef314fc10e2030d7148394)]:
- @graphql-tools/[email protected]

## 1.1.23

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/executors/legacy-ws/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/executor-legacy-ws",
"version": "1.1.23",
"version": "1.1.24",
"type": "module",
"description": "A set of utils for faster development of GraphQL tools",
"repository": {
Expand Down Expand Up @@ -51,7 +51,7 @@
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
},
"dependencies": {
"@graphql-tools/utils": "^10.10.3",
"@graphql-tools/utils": "^10.11.0",
"@types/ws": "^8.0.0",
"isomorphic-ws": "^5.0.0",
"tslib": "^2.4.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/executors/urql-exchange/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @graphql-tools/executor-urql-exchange

## 1.0.27

### Patch Changes

- Updated dependencies
[[`2118a80`](https://github.com/ardatan/graphql-tools/commit/2118a80e2658076745ef314fc10e2030d7148394)]:
- @graphql-tools/utils@10.11.0

## 1.0.26

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/executors/urql-exchange/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/executor-urql-exchange",
"version": "1.0.26",
"version": "1.0.27",
"type": "module",
"description": "",
"repository": {
Expand Down Expand Up @@ -48,7 +48,7 @@
"wonka": "^6.0.0"
},
"dependencies": {
"@graphql-tools/utils": "^10.10.3",
"@graphql-tools/utils": "^10.11.0",
"@whatwg-node/promise-helpers": "^1.2.4",
"tslib": "^2.4.0"
},
Expand Down
9 changes: 9 additions & 0 deletions packages/executors/yoga/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @graphql-tools/executor-yoga

## 3.0.35

### Patch Changes

- Updated dependencies
[[`2118a80`](https://github.com/ardatan/graphql-tools/commit/2118a80e2658076745ef314fc10e2030d7148394)]:
- @graphql-tools/[email protected]
- @graphql-tools/[email protected]

## 3.0.34

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/executors/yoga/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/executor-yoga",
"version": "3.0.34",
"version": "3.0.35",
"type": "module",
"description": "A set of utils for faster development of GraphQL tools",
"repository": {
Expand Down Expand Up @@ -52,8 +52,8 @@
"graphql-yoga": "^3.5.1 || ^4.0.0 || ^5.0.0"
},
"dependencies": {
"@graphql-tools/executor-envelop": "^4.0.4",
"@graphql-tools/utils": "^10.10.3",
"@graphql-tools/executor-envelop": "^4.0.5",
"@graphql-tools/utils": "^10.11.0",
"tslib": "^2.3.1"
},
"devDependencies": {
Expand Down
8 changes: 8 additions & 0 deletions packages/graphql-tag-pluck/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @graphql-tools/graphql-tag-pluck

## 8.3.26

### Patch Changes

- Updated dependencies
[[`2118a80`](https://github.com/ardatan/graphql-tools/commit/2118a80e2658076745ef314fc10e2030d7148394)]:
- @graphql-tools/[email protected]

## 8.3.25

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/graphql-tag-pluck/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/graphql-tag-pluck",
"version": "8.3.25",
"version": "8.3.26",
"type": "module",
"description": "Pluck graphql-tag template literals",
"repository": {
Expand Down Expand Up @@ -55,7 +55,7 @@
"@babel/plugin-syntax-import-assertions": "^7.26.0",
"@babel/traverse": "^7.26.10",
"@babel/types": "^7.26.10",
"@graphql-tools/utils": "^10.10.3",
"@graphql-tools/utils": "^10.11.0",
"tslib": "^2.4.0"
},
"devDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions packages/graphql-tools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# graphql-tools

## 9.0.25

### Patch Changes

- Updated dependencies []:
- @graphql-tools/[email protected]

## 9.0.24

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/graphql-tools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-tools",
"version": "9.0.24",
"version": "9.0.25",
"type": "module",
"description": "Useful tools to create and manipulate GraphQL schemas.",
"repository": {
Expand Down Expand Up @@ -50,7 +50,7 @@
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
},
"dependencies": {
"@graphql-tools/schema": "^10.0.29",
"@graphql-tools/schema": "^10.0.30",
"tslib": "^2.4.0"
},
"optionalDependencies": {
Expand Down
21 changes: 21 additions & 0 deletions packages/import/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# @graphql-tools/import

## 7.1.8

### Patch Changes

- [#7588](https://github.com/ardatan/graphql-tools/pull/7588)
[`2118a80`](https://github.com/ardatan/graphql-tools/commit/2118a80e2658076745ef314fc10e2030d7148394)
Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
- Updated dependency
[`@theguild/federation-composition@^0.21.0` ↗︎](https://www.npmjs.com/package/@theguild/federation-composition/v/0.21.0)
(from `^0.20.2`, in `dependencies`)

- [#7721](https://github.com/ardatan/graphql-tools/pull/7721)
[`92f1622`](https://github.com/ardatan/graphql-tools/commit/92f1622b89d56e80983d9c50312159c0d8270ecb)
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- Updated dependency
[`@theguild/federation-composition@^0.21.0` ↗︎](https://www.npmjs.com/package/@theguild/federation-composition/v/0.21.0)
(from `^0.20.2`, in `dependencies`)
- Updated dependencies
[[`2118a80`](https://github.com/ardatan/graphql-tools/commit/2118a80e2658076745ef314fc10e2030d7148394)]:
- @graphql-tools/[email protected]

## 7.1.7

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/import/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/import",
"version": "7.1.7",
"version": "7.1.8",
"type": "module",
"description": "A set of utils for faster development of GraphQL tools",
"repository": {
Expand Down Expand Up @@ -51,7 +51,7 @@
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
},
"dependencies": {
"@graphql-tools/utils": "^10.10.3",
"@graphql-tools/utils": "^10.11.0",
"@theguild/federation-composition": "^0.21.0",
"resolve-from": "5.0.0",
"tslib": "^2.4.0"
Expand Down
Loading