The Graph of Everything - Federated architecture for any API service
MIT License
Bot releases are visible (Hide)
Published by theguild-bot 3 months ago
#7427
8be81d2
Thanks @enisdenjo! - dependencies updates:
@graphql-mesh/include@^0.0.0
↗︎dependencies
)jiti@^1.21.6
↗︎ (fromdependencies
)#7427
8be81d2
Thanks @enisdenjo! - Resolve tsconfig paths when importing config
files
Updated dependencies
[8be81d2
]:
8be81d2
#7427
8be81d2
Thanks @enisdenjo! - dependencies updates:
@graphql-mesh/include@^0.0.0
↗︎dependencies
)jiti@^1.21.6
↗︎ (fromdependencies
)#7427
8be81d2
Thanks @enisdenjo! - Resolve tsconfig paths when importing config
files
Updated dependencies
[6fc03b6
,
8be81d2
]:
a4e53d9
,8bccd9a
]:
8bccd9a
]:
6fc03b6
@whatwg-node/server@^0.9.46
↗︎^0.9.34
, in dependencies
)#7443
8bccd9a
Thanks @ardatan! - POSSIBLE BREAKING CHANGE WARNING: This change is
breaking for OpenAPI schemas that have discriminator mapping. It fixes a bug when you have keys in
the discriminator mapping that are invalid per GraphQL spec. Now in the artifacts @discriminator
directive's mapping
argument is [String!]!
instead of ObjMap
. You should make sure both the
consumer and the producer of the artifacts are updated to this version.
discriminator:
propertyName: petType
mapping:
'pet-cat': '#/components/schemas/Cat'
'pet-dog': '#/components/schemas/Dog'
This OpenAPI used to be translated into;
@directive(mapping: { "pet-cat": "#/components/schemas/Cat", "pet-dog": "#/components/schemas/Dog" })
But this is invalid in GraphQL spec, so now it's translated into;
@directive(mapping: [["pet-cat", "#/components/schemas/Cat"], ["pet-dog", "#/components/schemas/Dog"]])
a4e53d9
[email protected]
↗︎ (from 6.12.3
,dependencies
)a4e53d9
,8bccd9a
]:
#7443
8bccd9a
Thanks @ardatan! - POSSIBLE BREAKING CHANGE WARNING: This change is
breaking for OpenAPI schemas that have discriminator mapping. It fixes a bug when you have keys in
the discriminator mapping that are invalid per GraphQL spec. Now in the artifacts @discriminator
directive's mapping
argument is [String!]!
instead of ObjMap
. You should make sure both the
consumer and the producer of the artifacts are updated to this version.
discriminator:
propertyName: petType
mapping:
'pet-cat': '#/components/schemas/Cat'
'pet-dog': '#/components/schemas/Dog'
This OpenAPI used to be translated into;
@directive(mapping: { "pet-cat": "#/components/schemas/Cat", "pet-dog": "#/components/schemas/Dog" })
But this is invalid in GraphQL spec, so now it's translated into;
@directive(mapping: [["pet-cat", "#/components/schemas/Cat"], ["pet-dog", "#/components/schemas/Dog"]])
a4e53d9
,8bccd9a
]:
a4e53d9
,8bccd9a
]:
6fc03b6
,6fc03b6
]:
6fc03b6
,6fc03b6
]:
#7427
8be81d2
Thanks @enisdenjo! - dependencies updates:
@graphql-mesh/include@^0.0.0
↗︎dependencies
)jiti@^1.21.6
↗︎ (fromdependencies
)#7427
8be81d2
Thanks @enisdenjo! - Resolve tsconfig paths when importing config
files
Updated dependencies
[6fc03b6
,
6fc03b6
,
8be81d2
]:
#7428
6fc03b6
Thanks @ardatan! - dependencies updates:
@whatwg-node/server@^0.9.46
↗︎^0.9.34
, in dependencies
)#7428
6fc03b6
Thanks @ardatan! - New plugin to apply compression between
subgraphs, gateway and the client So Mesh can compress the request before sending it to the
subgraph and decompress the response. Then do the same for the response from the subgraph to the
client.
import { defineConfig, useContentEncoding } from '@graphql-mesh/serve-cli'
export default defineConfig({
plugins: () => [
useContentEncoding({
subgraphs: ['*'] // Enable compression for all subgraphs
// subgraphs: ['subgraph1', 'subgraph2'] // Enable compression for specific subgraphs
})
]
})
#7444
a4e53d9
Thanks @renovate! - dependencies updates:
[email protected]
↗︎ (from 6.12.3
,dependencies
)#7443
8bccd9a
Thanks @ardatan! - POSSIBLE BREAKING CHANGE WARNING: This change is
breaking for OpenAPI schemas that have discriminator mapping. It fixes a bug when you have keys in
the discriminator mapping that are invalid per GraphQL spec. Now in the artifacts @discriminator
directive's mapping
argument is [String!]!
instead of ObjMap
. You should make sure both the
consumer and the producer of the artifacts are updated to this version.
discriminator:
propertyName: petType
mapping:
'pet-cat': '#/components/schemas/Cat'
'pet-dog': '#/components/schemas/Dog'
This OpenAPI used to be translated into;
@directive(mapping: { "pet-cat": "#/components/schemas/Cat", "pet-dog": "#/components/schemas/Dog" })
But this is invalid in GraphQL spec, so now it's translated into;
@directive(mapping: [["pet-cat", "#/components/schemas/Cat"], ["pet-dog", "#/components/schemas/Dog"]])
Published by theguild-bot 3 months ago
7cd4d35
@graphql-tools/federation@^2.2.3
↗︎^2.2.1
, in dependencies
)7cd4d35
@graphql-tools/federation@^2.2.3
↗︎^2.2.2
, in dependencies
)7cd4d35
@graphql-tools/federation@^2.2.3
↗︎^2.2.1
, in dependencies
)7cd4d35
]:
7cd4d35
]:
7cd4d35
]:
7cd4d35
@graphql-tools/federation@^2.2.3
↗︎^2.2.1
, in dependencies
)7cd4d35
]:
Published by theguild-bot 3 months ago
6827510
Published by theguild-bot 3 months ago
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
@whatwg-node/disposablestack@^0.0.1
↗︎dependencies
)33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
@whatwg-node/disposablestack@^0.0.1
↗︎dependencies
)disposablestack@^1.1.6
↗︎ (fromdependencies
)33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
@whatwg-node/disposablestack@^0.0.1
↗︎dependencies
)disposablestack@^1.1.6
↗︎ (fromdependencies
)33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
@graphql-mesh/utils@^0.99.4
↗︎peerDependencies
)33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
,33c23e8
]:
33c23e8
,33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
,33c23e8
]:
33c23e8
@whatwg-node/disposablestack@^0.0.1
↗︎dependencies
)disposablestack@^1.1.6
↗︎ (fromdependencies
)33c23e8
,33c23e8
,33c23e8
]:
33c23e8
]:
33c23e8
@graphql-mesh/utils@^0.99.4
↗︎dependencies
)33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
]:
33c23e8
@graphql-mesh/utils@^0.99.4
↗︎dependencies
)33c23e8
]:
Published by theguild-bot 3 months ago
7b474af
]:
7b474af
minimatch@^10.0.0
↗︎^9.0.0
, in dependencies
)7b474af
minimatch@^10.0.0
↗︎^9.0.0
, in dependencies
)7b474af
minimatch@^10.0.0
↗︎^9.0.0
, in dependencies
)7b474af
[email protected]
↗︎9.0.5
, in dependencies
)7b474af
[email protected]
↗︎9.0.5
, in dependencies
)Published by theguild-bot 3 months ago
c4190a9
]:
#7388
c4190a9
Thanks @ardatan! - Fix the issue when a discriminator is used with a
response that has multiple status codes
Updated dependencies
[c4190a9
]:
c4190a9
]:
c4190a9
]:
Published by theguild-bot 3 months ago
3920b8b
Published by theguild-bot 3 months ago
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
#7343
597e790
Thanks @ardatan! - More verbose debug logs for HTTP fetch calls and
subgraph requests
Updated dependencies
[597e790
,
597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
#7343
597e790
Thanks @ardatan! - Add timestamp to log messages
[2021-09-29T14:00:00.000Z] XXXX
#7343
597e790
Thanks @ardatan! - Prevent logger to have the same log prefixes
Updated dependencies []:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
#7374
f427d7f
Thanks @enisdenjo! - dependencies updates:
@graphql-yoga/[email protected]
↗︎3.0.0
, in dependencies
)#7376
bb74e6d
Thanks @renovate! - dependencies updates:
@graphql-yoga/[email protected]
↗︎3.0.0
, in dependencies
)Updated dependencies
[597e790
,
597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
ec31e60
,597e790
,597e790
,597e790
,597e790
,597e790
]:
ec31e60
,597e790
,597e790
,597e790
,597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
ec31e60
,597e790
,597e790
,597e790
,597e790
,597e790
]:
#7366
ec31e60
Thanks @renovate! - dependencies updates:
@whatwg-node/server@^0.9.34
↗︎dependencies
)#7343
597e790
Thanks @ardatan! - Fix the issue when you go to landing page then
GraphiQL, queries are not executed
#7343
597e790
Thanks @ardatan! - More verbose debug logs for HTTP fetch calls and
subgraph requests
#7343
597e790
Thanks @ardatan! - Request ID;
If user provides a request id with x-request-id
header, it will be used as a request id
otherwise Mesh generates a random UUID as a request id. Then it will return the request id in the
response headers with x-request-id
header.
This x-request-id
is also available in upstream headers as request-id
for the upstream
services to use.
This request id will also be added to the logs.
Updated dependencies
[597e790
,
597e790
,
597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
597e790
,597e790
]:
Published by theguild-bot 3 months ago
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
#7360
5e5dec5
Thanks @enisdenjo! - dependencies updates:
jiti@^1.21.6
↗︎ (todependencies
)#7360
5e5dec5
Thanks @enisdenjo! - Use jiti as default JS importer
Updated dependencies
[5e5dec5
,
5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
#7360
5e5dec5
Thanks @enisdenjo! - dependencies updates:
jiti@^1.21.6
↗︎ (fromdependencies
)#7360
5e5dec5
Thanks @enisdenjo! - No jiti, keep the utils JS env agnostic
Updated dependencies []:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
#7318
f2af8a3
Thanks @dotansimha! - Initial commit and introduce a new plugin.
Updated dependencies
[5e5dec5
,
5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
5e5dec5
,5e5dec5
]:
Published by theguild-bot 3 months ago
f47c900
OnSubgraphExecute
ExecutionRequest
f47c900
f47c900
]:
f47c900
]:
f47c900
]:
#7304
f47c900
Thanks @dotansimha! - Pass context type from OnSubgraphExecute
to ExecutionRequest
Updated dependencies
[f47c900
]:
Published by theguild-bot 3 months ago
04f1c6e
@omnigraph/sqlite@^0.3.3
↗︎ (from^0.3.2
, in dependencies
)f5d8d0f
04f1c6e
@omnigraph/sqlite@^0.3.3
↗︎ (from^0.3.2
, in dependencies
)Published by theguild-bot 3 months ago
ffe0346
]:
ffe0346
]:
ffe0346
]:
Published by github-actions[bot] 3 months ago
4bc495c
,4bc495c
]:
4bc495c
,4bc495c
]:
4bc495c
,4bc495c
]:
b01f3ea
,0bdc18d
,4bc495c
,4bc495c
]:
4bc495c
,4bc495c
]:
4bc495c
]:
#7351
9f6624e
Thanks @ardatan! - dependencies updates:
@graphql-tools/federation@^2.2.0
↗︎^2.1.2
, in dependencies
)@graphql-mesh/cross-helpers@^0.4.4
↗︎dependencies
)#7352
4bc495c
Thanks @ardatan! - dependencies updates:
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)@graphql-tools/executor@^1.3.0
↗︎^1.2.8
, in dependencies
)@graphql-tools/federation@^2.2.1
↗︎^2.2.0
, in dependencies
)#7341
29dc043
Thanks @dr3! - Fix the bug when field name is renamed together with the
argument
#7294
345a814
Thanks @ardatan! - Ability to manipulate transport entry through
transportEntries
.
For example, you can add extra headers to a subgraph
transportEntries: {
products: {
// This adds extra headers to the subgraph configuration
headers: [
// This forwards `authorization` from the upstream to downstream
['authorization', '{context.headers.authorization}'],
// Or some static value
['x-extra', process.env.SOME_THING]
]
}
}
Updated dependencies
[4bc495c
,
4bc495c
,
4bc495c
,
4bc495c
,
345a814
]:
4bc495c
]:
4bc495c
,4bc495c
,4bc495c
]:
4bc495c
,4bc495c
,4bc495c
,4bc495c
]:
#7351
9f6624e
Thanks @ardatan! - dependencies updates:
@graphql-tools/federation@^2.2.0
↗︎^2.1.2
, in dependencies
)#7352
4bc495c
Thanks @ardatan! - dependencies updates:
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)@graphql-tools/federation@^2.2.1
↗︎^2.2.0
, in dependencies
)Updated dependencies
[b01f3ea
,
0bdc18d
,
4bc495c
,
4bc495c
]:
b01f3ea
,0bdc18d
,4bc495c
,4bc495c
,4bc495c
,345a814
]:
b01f3ea
,0bdc18d
,4bc495c
,4bc495c
,4bc495c
]:
b01f3ea
,0bdc18d
,4bc495c
,4bc495c
]:
4bc495c
,4bc495c
,4bc495c
]:
4bc495c
,4bc495c
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)b01f3ea
,0bdc18d
,4bc495c
,4bc495c
]:
b01f3ea
,0bdc18d
,4bc495c
,4bc495c
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)b01f3ea
,0bdc18d
,4bc495c
,4bc495c
]:
4bc495c
,4bc495c
,4bc495c
]:
b01f3ea
,0bdc18d
,4bc495c
,4bc495c
]:
#7351
9f6624e
Thanks @ardatan! - dependencies updates:
@graphql-tools/federation@^2.2.0
↗︎^2.1.2
, in dependencies
)#7352
4bc495c
Thanks @ardatan! - dependencies updates:
@graphql-tools/federation@^2.2.1
↗︎^2.2.0
, in dependencies
)Updated dependencies
[b01f3ea
,
0bdc18d
,
4bc495c
,
4bc495c
]:
4bc495c
,4bc495c
]:
4bc495c
,4bc495c
]:
4bc495c
,4bc495c
,4bc495c
]:
4bc495c
,4bc495c
,4bc495c
]:
4bc495c
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)4bc495c
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)@graphql-tools/executor@^1.3.0
↗︎^1.2.8
, in dependencies
)b01f3ea
,0bdc18d
,4bc495c
,4bc495c
]:
4bc495c
,4bc495c
]:
b01f3ea
,0bdc18d
,4bc495c
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)4bc495c
,4bc495c
]:
4bc495c
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)b01f3ea
,0bdc18d
,4bc495c
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)4bc495c
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)b01f3ea
,0bdc18d
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)4bc495c
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)4bc495c
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)4bc495c
,4bc495c
]:
4bc495c
]:
b01f3ea
,0bdc18d
,4bc495c
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)4bc495c
,4bc495c
]:
4bc495c
,4bc495c
]:
4bc495c
,4bc495c
]:
4bc495c
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)4bc495c
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)b01f3ea
,0bdc18d
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)b01f3ea
,0bdc18d
,4bc495c
,4bc495c
,4bc495c
,345a814
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)b01f3ea
,0bdc18d
,4bc495c
,4bc495c
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)4bc495c
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)b01f3ea
,0bdc18d
,4bc495c
,4bc495c
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)b01f3ea
,0bdc18d
,4bc495c
,4bc495c
,4bc495c
]:
b01f3ea
,0bdc18d
,4bc495c
,4bc495c
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)4bc495c
]:
4bc495c
,4bc495c
]:
4bc495c
,4bc495c
]:
b01f3ea
,0bdc18d
,4bc495c
]:
4bc495c
,4bc495c
]:
4bc495c
,4bc495c
]:
b01f3ea
,0bdc18d
,4bc495c
,4bc495c
]:
b01f3ea
,0bdc18d
,4bc495c
,4bc495c
]:
b01f3ea
,0bdc18d
,4bc495c
,4bc495c
]:
4bc495c
]:
9f6624e
,4bc495c
,4bc495c
,4bc495c
,345a814
]:
9f6624e
,4bc495c
,4bc495c
,4bc495c
,345a814
]:
b01f3ea
,0bdc18d
,4bc495c
]:
b01f3ea
,0bdc18d
,4bc495c
,4bc495c
]:
b01f3ea
,0bdc18d
,4bc495c
,4bc495c
]:
4bc495c
,4bc495c
]:
#7327
cfe779a
Thanks @ardatan! - Add `--version` param to Serve CLI to print the
version
Additionally, the version will be available in globalThis.__VERSION__
during the CLI's runtime.
#7333
bfaeffa
Thanks @ardatan! - Ability to configure max header size if you get
431 with headers payload longer than 16kb which is default value for Node.js
Updated dependencies
[9f6624e
,
4bc495c
,
4bc495c
,
4bc495c
,
345a814
]:
#7351
9f6624e
Thanks @ardatan! - dependencies updates:
@graphql-tools/federation@^2.2.0
↗︎^2.1.2
, in dependencies
)#7352
4bc495c
Thanks @ardatan! - dependencies updates:
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)@graphql-tools/federation@^2.2.1
↗︎^2.2.0
, in dependencies
)#7294
345a814
Thanks @ardatan! - Ability to manipulate transport entry through
transportEntries
.
For example, you can add extra headers to a subgraph
transportEntries: {
products: {
// This adds extra headers to the subgraph configuration
headers: [
// This forwards `authorization` from the upstream to downstream
['authorization', '{context.headers.authorization}'],
// Or some static value
['x-extra', process.env.SOME_THING]
]
}
}
Updated dependencies
[9f6624e
,
4bc495c
,
4bc495c
,
345a814
,
4bc495c
,
29dc043
,
345a814
]:
#7311
b01f3ea
Thanks @renovate! - dependencies updates:
[email protected]
↗︎ (from1.11.11
, in dependencies
)#7323
0bdc18d
Thanks @renovate! - dependencies updates:
[email protected]
↗︎ (from1.11.11
, in dependencies
)#7352
4bc495c
Thanks @ardatan! - dependencies updates:
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)#7294
345a814
Thanks @ardatan! - Ability to manipulate transport entry through
transportEntries
.
For example, you can add extra headers to a subgraph
transportEntries: {
products: {
// This adds extra headers to the subgraph configuration
headers: [
// This forwards `authorization` from the upstream to downstream
['authorization', '{context.headers.authorization}'],
// Or some static value
['x-extra', process.env.SOME_THING]
]
}
}
Updated dependencies
[4bc495c
]:
#7294
345a814
Thanks @ardatan! - dependencies updates:
@graphql-mesh/string-interpolation@^0.5.4
↗︎dependencies
)@graphql-mesh/utils@^0.99.0
↗︎dependencies
)@graphql-tools/executor-graphql-ws@^1.2.0
↗︎dependencies
)#7294
345a814
Thanks @ardatan! - Ability to manipulate transport entry through
transportEntries
.
For example, you can add extra headers to a subgraph
transportEntries: {
products: {
// This adds extra headers to the subgraph configuration
headers: [
// This forwards `authorization` from the upstream to downstream
['authorization', '{context.headers.authorization}'],
// Or some static value
['x-extra', process.env.SOME_THING]
]
}
}
Updated dependencies
[b01f3ea
,
0bdc18d
,
4bc495c
,
4bc495c
,
345a814
]:
#7334
22ebcf0
Thanks @ardatan! - dependencies updates:
@graphql-mesh/cross-helpers@^0.4.4
↗︎dependencies
)#7294
345a814
Thanks @ardatan! - Support for HTTP Callback protocol for
subscriptions
reviews: {
kind: 'hybrid',
options: {
subscriptions: {
kind: 'http-callback',
},
} satisfies HybridTransportOptions<HTTPCallbackTransportOptions>,
},
Learn more about protocol;
https://www.apollographql.com/docs/router/executing-operations/subscription-callback-protocol/
Updated dependencies
[b01f3ea
,
0bdc18d
,
4bc495c
,
345a814
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)b01f3ea
,0bdc18d
,4bc495c
,4bc495c
,4bc495c
,345a814
]:
4bc495c
@graphql-tools/delegate@^10.0.16
↗︎^10.0.14
, in dependencies
)4bc495c
,4bc495c
,4bc495c
,345a814
]:
b01f3ea
,0bdc18d
,4bc495c
,4bc495c
,4bc495c
,345a814
]:
b01f3ea
,0bdc18d
,4bc495c
,4bc495c
,4bc495c
,345a814
]:
4bc495c
,4bc495c
,345a814
]:
b01f3ea
,0bdc18d
,4bc495c
,4bc495c
,345a814
]:
b01f3ea
,0bdc18d
,4bc495c
,345a814
]:
Published by github-actions[bot] 3 months ago
7800514
,7800514
]:
7800514
,7800514
]:
7800514
,7800514
]:
7800514
,7800514
]:
26deb92
#7272
a486cab
Thanks @beeequeue! - loadGraphQLHTTPSubgraph
: Added
schemaHeaders
to introspection requests
#7253
2b8e52f
Thanks @ardatan! - Fix the bug; When a non-nullable field is added
through additionalTypeDefs
in the compose config, then the gateway fails to resolve it even if a
resolver defined in additionalResolvers
;
export const composeConfig = defineComposeConfig({
subgraphs: [
{
sourceHandler: loadOpenAPISubgraph('Wiki', {
source: 'https://wikimedia.org/api/rest_v1/?spec',
endpoint: 'https://wikimedia.org/api/rest_v1'
})
}
],
additionalTypeDefs: /* GraphQL */ `
extend type pageview_project {
banana: String
apple: String!
}
`
})
export const serveConfig = defineServeConfig({
additionalResolvers: {
pageview_project: {
banana() {
return '🍌'
},
apple() {
return '🍎' // This is ignored
}
}
}
})
ae8dbdc
Thanks @enisdenjo! - Reject config files that import modules which
are missing
Updated dependencies
[e3714fb
,
7800514
,
7800514
]:
e3714fb
@graphql-tools/utils@^10.3.2
↗︎^10.2.3
, in dependencies
)7800514
]:
#7316
7800514
Thanks @enisdenjo! - dependencies updates:
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)@graphql-tools/federation@^2.1.2
↗︎^2.1.1
, in dependencies
)#7253
2b8e52f
Thanks @ardatan! - Fix the bug; When a non-nullable field is added
through additionalTypeDefs
in the compose config, then the gateway fails to resolve it even if a
resolver defined in additionalResolvers
;
export const composeConfig = defineComposeConfig({
subgraphs: [
{
sourceHandler: loadOpenAPISubgraph('Wiki', {
source: 'https://wikimedia.org/api/rest_v1/?spec',
endpoint: 'https://wikimedia.org/api/rest_v1'
})
}
],
additionalTypeDefs: /* GraphQL */ `
extend type pageview_project {
banana: String
apple: String!
}
`
})
export const serveConfig = defineServeConfig({
additionalResolvers: {
pageview_project: {
banana() {
return '🍌'
},
apple() {
return '🍎' // This is ignored
}
}
}
})
#7266
26deb92
Thanks @ardatan! - Fix transformations on enum values
Updated dependencies
[7800514
,
7800514
,
7800514
,
7800514
]:
7800514
]:
7800514
,7800514
,7800514
]:
7800514
,7800514
,7800514
,7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)@graphql-tools/federation@^2.1.2
↗︎^2.1.1
, in dependencies
)7800514
,7800514
]:
7800514
,7800514
,7800514
]:
7800514
,7800514
,22e4dd0
,7800514
]:
7800514
,7800514
]:
7800514
,7800514
,7800514
]:
7800514
,7800514
,7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
,7800514
]:
7800514
,7800514
,7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
,7800514
]:
7800514
,7800514
,7800514
]:
7800514
,7800514
]:
7800514
@graphql-tools/federation@^2.1.2
↗︎^2.1.1
, in dependencies
)7800514
,7800514
]:
7800514
,7800514
]:
7800514
,7800514
]:
7800514
,7800514
,7800514
]:
7800514
,7800514
,7800514
]:
7800514
,7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
,7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
,7800514
]:
7800514
,7800514
]:
7800514
,7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
,7800514
]:
7800514
,7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
,7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
,7800514
]:
#7300
db05fc3
Thanks @enisdenjo! - dependencies updates:
@graphql-hive/core@^0.5.0
↗︎ (todependencies
)@graphql-hive/yoga@^0.33.3
↗︎dependencies
)@graphql-hive/client@^0.32.0
↗︎dependencies
)#7316
7800514
Thanks @enisdenjo! - dependencies updates:
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)#7300
db05fc3
Thanks @enisdenjo! - Upgrade Hive SDK to use latest
Updated dependencies
[7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
,7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
,7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
,7800514
]:
7800514
]:
7800514
,7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
,7800514
]:
7800514
,7800514
]:
7800514
,7800514
]:
7800514
,7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
,7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
]:
#7284
22e4dd0
Thanks @renovate! - dependencies updates:
[email protected]
↗︎ (from8.16.0
, in dependencies
)#7316
7800514
Thanks @enisdenjo! - dependencies updates:
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)Updated dependencies
[7800514
,
7800514
,
7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
,7800514
,7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
,7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
,7800514
,22e4dd0
,7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
,7800514
,22e4dd0
,7800514
]:
7800514
,7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
]:
7800514
,7800514
]:
7800514
,7800514
]:
#7300
db05fc3
Thanks @enisdenjo! - dependencies updates:
@graphql-hive/core@^0.5.0
↗︎ (todependencies
)@graphql-hive/yoga@^0.33.3
↗︎dependencies
)@graphql-hive/client@^0.32.0
↗︎dependencies
)#7300
db05fc3
Thanks @enisdenjo! - Upgrade Hive SDK to use latest
Updated dependencies
[7800514
]:
7800514
,7800514
]:
7800514
,7800514
]:
7800514
,7800514
]:
7800514
,7800514
]:
7800514
,7800514
]:
7800514
]:
db05fc3
,7800514
,7800514
,7800514
,db05fc3
]:
db05fc3
,7800514
,7800514
,7800514
,db05fc3
]:
7800514
]:
7800514
,7800514
]:
7800514
,7800514
]:
7800514
,7800514
]:
7594f4b
Thanks @enisdenjo! - Change port using PORT env var
#7317
8978498
Thanks @enisdenjo! - Add CLI arguments for polling and error
masking
The usage of arguments is as follows:
Usage: mesh-serve [options]
Options:
--polling <intervalInMs> schema polling interval in milliseconds (env: POLLING)
--masked-errors mask unexpected errors in responses (default: true)
--no-masked-errors don't mask unexpected errors in responses
ae8dbdc
Thanks @enisdenjo! - Reject config files that import modules which
are missing
ded0714
Thanks @enisdenjo! - Attempt watch only if supergraph is a path to
a file
Updated dependencies
[db05fc3
,
7800514
,
7800514
,
7800514
,
db05fc3
]:
#7300
db05fc3
Thanks @enisdenjo! - dependencies updates:
@graphql-hive/apollo@^0.33.4
↗︎dependencies
)@graphql-hive/client@^0.32.0
↗︎dependencies
)#7316
7800514
Thanks @enisdenjo! - dependencies updates:
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)@graphql-tools/executor-http@^1.1.5
↗︎^1.1.2
, in dependencies
)@graphql-tools/federation@^2.1.2
↗︎^2.1.1
, in dependencies
)#7300
db05fc3
Thanks @enisdenjo! - Upgrade Hive SDK to use latest
Updated dependencies
[7800514
,
db05fc3
,
7800514
,
7800514
,
7800514
,
2b8e52f
,
db05fc3
,
26deb92
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
]:
7800514
@graphql-tools/executor-http@^1.1.5
↗︎^1.1.2
, in dependencies
)7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
,7800514
,7800514
]:
7800514
@graphql-tools/delegate@^10.0.14
↗︎^10.0.12
, in dependencies
)7800514
,7800514
,7800514
]:
7800514
,7800514
,7800514
]:
7800514
,7800514
,7800514
]:
b069200
Thanks @enisdenjo! - Use actual version of common transport
package instead of workspace path
Updated dependencies
[7800514
,
7800514
]:
7800514
,7800514
]:
Published by github-actions[bot] 3 months ago
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
#7257
798ed17
Thanks @enisdenjo! - Support mesh.config.ts or mesh.config.mts or
mesh.config.cts or mesh.config.js or mesh.config.mjs or mesh.config.cjs configuration files
#7261
a8e3f00
Thanks @enisdenjo! - Use jiti instead of tsx for importig config
files
a8e3f00
jiti@^1.21.6
↗︎ (todependencies
)tsx@^4.7.1
↗︎ (fromdependencies
)ededa2c
,94245c7
,a8e3f00
,a8e3f00
]:
#7218
ededa2c
Thanks @EmrysMyrddin! - dependencies updates:
@theguild/federation-composition@^0.12.0
↗︎^0.11.2
, in dependencies
)#7255
94245c7
Thanks @renovate! - dependencies updates:
@theguild/federation-composition@^0.12.0
↗︎^0.11.2
, in dependencies
)Updated dependencies
[a8e3f00
,
a8e3f00
]:
eefbfbe
69e6eb5
,ededa2c
,a8e3f00
,a8e3f00
,69e6eb5
,69e6eb5
]:
a8e3f00
#7218
ededa2c
Thanks @EmrysMyrddin! - dependencies updates:
rimraf@^6.0.0
↗︎ (from^5.0.0
, in dependencies
)#7244
522788e
Thanks @renovate! - dependencies updates:
rimraf@^6.0.0
↗︎ (from^5.0.0
, in dependencies
)#7261
a8e3f00
Thanks @enisdenjo! - dependencies updates:
tsx@^4.7.1
↗︎ (fromdependencies
)Updated dependencies
[a8e3f00
,
a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
69e6eb5
,ededa2c
,a8e3f00
,a8e3f00
,69e6eb5
,69e6eb5
]:
a8e3f00
,27e3cc9
,ededa2c
,3aa1583
,a8e3f00
,bdefa6f
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
,bdefa6f
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
a8e3f00
jiti@^1.21.6
↗︎ (todependencies
)#6772
27e3cc9
Thanks @ardatan! - dependencies updates:
[email protected]
↗︎ (from 6.12.2
,dependencies
)#7218
ededa2c
Thanks @EmrysMyrddin! - dependencies updates:
[email protected]
↗︎ (from 6.12.2
,dependencies
)#7240
3aa1583
Thanks @renovate! - dependencies updates:
[email protected]
↗︎ (from 6.12.2
,dependencies
)#7198
bdefa6f
Thanks @ardatan! - Make @transport
directive repeatable so a
merged schema can have multiple @transport
definitions
Updated dependencies
[69e6eb5
,
ededa2c
,
27e3cc9
,
ededa2c
,
3aa1583
,
a8e3f00
,
a8e3f00
,
69e6eb5
,
69e6eb5
]:
#7198
bdefa6f
Thanks @ardatan! - Make @transport
directive repeatable so a
merged schema can have multiple @transport
definitions
Updated dependencies
[a8e3f00
,
a8e3f00
]:
a8e3f00
,27e3cc9
,ededa2c
,3aa1583
,a8e3f00
,bdefa6f
]:
a8e3f00
,27e3cc9
,ededa2c
,3aa1583
,a8e3f00
,bdefa6f
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
27e3cc9
,ededa2c
,26549a9
,a8e3f00
,7b35444
,69e6eb5
,a2306d2
,69e6eb5
,a8e3f00
,eefbfbe
,de7517e
]:
ededa2c
labels
options to match Yoga and Envelop plugin API27e3cc9
,ededa2c
,26549a9
,a8e3f00
,7b35444
,69e6eb5
,a2306d2
,69e6eb5
,a8e3f00
,eefbfbe
,de7517e
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
a8e3f00
,a8e3f00
]:
#7207
69e6eb5
Thanks @enisdenjo! - Support WebSocket connections
#7257
798ed17
Thanks @enisdenjo! - Support mesh.config.ts or mesh.config.mts or
mesh.config.cts or mesh.config.js or mesh.config.mjs or mesh.config.cjs configuration files
#7261
a8e3f00
Thanks @enisdenjo! - Use jiti instead of tsx for importig config
files
a8e3f00
jiti@^1.21.6
↗︎ (todependencies
)tsx@^4.7.1
↗︎ (fromdependencies
)27e3cc9
,ededa2c
,26549a9
,a8e3f00
,7b35444
,69e6eb5
,a2306d2
,69e6eb5
,a8e3f00
,eefbfbe
,de7517e
]:
#7207
69e6eb5
Thanks @enisdenjo! - New transportOptions
configuration property
for passing custom transport options per subgraph for specific transport kinds
For example, adding subscriptions support for Apollo Federation v2 subgraphs:
import { defineConfig } from '@graphql-mesh/serve-cli'
import { HTTPTransportOptions } from '@graphql-mesh/transport-http'
export const serveConfig = defineConfig({
transportOptions: {
// apply options to all subgraphs
'*': {
// on the "http" transport kind
http: {
// custom http transport options
subscriptions: {
ws: {
path: '/subscriptions'
}
}
} satisfies HTTPTransportOptions
}
}
})
#6772
27e3cc9
Thanks @ardatan! - dependencies updates:
@graphql-tools/executor-http@^1.1.2
↗︎^1.0.6
, in dependencies
)#7218
ededa2c
Thanks @EmrysMyrddin! - dependencies updates:
@graphql-tools/executor-http@^1.1.2
↗︎^1.0.6
, in dependencies
)#7223
26549a9
Thanks @ardatan! - dependencies updates:
@graphql-tools/executor-http@^1.1.2
↗︎^1.0.6
, in dependencies
)#7177
7b35444
Thanks @ardatan! - Disable validation of the operations on the
gateway while using Mesh Server as a proxy
import { defineConfig as defineServeConfig } from '@graphql-mesh/serve-cli'
export default defineServeConfig({
proxy: {
endpoint: 'https://my-service.com/graphql'
},
skipValidation: true
})
This will disable the validation of the operations, and send the operations directly to the
upstream service.
#7216
a2306d2
Thanks @enisdenjo! - Invoke onSchemaChange plugin hook as soon as
supergraph changes and schema setting optimizations
#7207
69e6eb5
Thanks @enisdenjo! - Refactor transports and improve getting
subgraph executors
#7215
eefbfbe
Thanks @ardatan! - Cleanup created transport executors per schema
change Previously they were cleaned up only on server close, which could lead to memory leaks in
case of schema changes.
#7220
de7517e
Thanks @enisdenjo! - Close subscriptions on disposal and schema
change with different codes.
When the server gets disposed (on shutdown), all active subscriptions will complete emitting the
following execution error:
{
"errors": [
{
"extensions": {
"code": "SHUTTING_DOWN"
},
"message": "subscription has been closed because the server is shutting down"
}
]
}
However, when the server detects a schema change, all active subscriptions will complete emitting
the following execution error:
{
"errors": [
{
"extensions": {
"code": "SUBSCRIPTION_SCHEMA_RELOAD"
},
"message": "subscription has been closed due to a schema reload"
}
]
}
Updated dependencies
[69e6eb5
,
ededa2c
,
27e3cc9
,
69e6eb5
,
ededa2c
,
26549a9
,
a8e3f00
,
69e6eb5
,
a8e3f00
,
eefbfbe
,
69e6eb5
,
69e6eb5
]:
#7207
69e6eb5
Thanks @enisdenjo! - Define transports using a default export
satisfying the Transport
generic
For example, a custom http transport implementation looks like this:
// http-transport.ts
import { Transport } from '@graphql-mesh/transport-common'
export interface HTTPTransportOptions {
cache?: boolean
}
export default {
getSubgraphExecutor(opts) {
// <the implementation of your executor getter>
}
} satisfies Transport<'http', HTTPTransportOptions>
and is used for Mesh serve like this:
// mesh.config.ts
import { defineConfig } from '@graphql-mesh/serve-cli'
export const serveConfig = defineConfig({
transport: {
http: import('./http-transport')
}
})
or like this:
// mesh.config.ts
import { defineConfig } from '@graphql-mesh/serve-cli'
import httpTransport from './http-transport'
export const serveConfig = defineConfig({
transport: {
http: httpTransport
}
})
#7207
69e6eb5
Thanks @enisdenjo! - dependencies updates:
@envelop/core@^5.0.1
↗︎ (todependencies
)#7218
ededa2c
Thanks @EmrysMyrddin! - dependencies updates:
@envelop/core@^5.0.1
↗︎ (todependencies
)#7207
69e6eb5
Thanks @enisdenjo! - Improved typings and rename
TransportBaseContext
to TransportContext
Updated dependencies []:
69e6eb5
#6772
27e3cc9
Thanks @ardatan! - dependencies updates:
@graphql-tools/executor-http@^1.1.2
↗︎^1.0.6
, in dependencies
)#7207
69e6eb5
Thanks @enisdenjo! - dependencies updates:
@graphql-tools/executor-graphql-ws@^1.2.0
↗︎dependencies
)@graphql-tools/utils@^10.2.3
↗︎dependencies
)graphql-ws@^5.16.0
↗︎dependencies
)ws@^8.18.0
↗︎ (todependencies
)@envelop/core@^5.0.0
↗︎ (fromdependencies
)#7218
ededa2c
Thanks @EmrysMyrddin! - dependencies updates:
@graphql-tools/executor-http@^1.1.2
↗︎^1.0.6
, in dependencies
)@graphql-tools/executor-graphql-ws@^1.2.0
↗︎dependencies
)@graphql-tools/utils@^10.2.3
↗︎dependencies
)graphql-ws@^5.16.0
↗︎dependencies
)ws@^8.18.0
↗︎ (todependencies
)@envelop/core@^5.0.0
↗︎ (fromdependencies
)#7223
26549a9
Thanks @ardatan! - dependencies updates:
@graphql-tools/executor-http@^1.1.2
↗︎^1.0.6
, in dependencies
)Updated dependencies
[69e6eb5
,
ededa2c
,
69e6eb5
,
69e6eb5
]:
69e6eb5
,ededa2c
,a8e3f00
,a8e3f00
,69e6eb5
,69e6eb5
]:
69e6eb5
,ededa2c
,a8e3f00
,a8e3f00
,69e6eb5
,69e6eb5
]:
#6772
27e3cc9
Thanks @ardatan! - dependencies updates:
[email protected]
↗︎ (from 6.12.2
,dependencies
)#7218
ededa2c
Thanks @EmrysMyrddin! - dependencies updates:
[email protected]
↗︎ (from 6.12.2
,dependencies
)#7240
3aa1583
Thanks @renovate! - dependencies updates:
[email protected]
↗︎ (from 6.12.2
,dependencies
)Updated dependencies
[69e6eb5
,
ededa2c
,
a8e3f00
,
a8e3f00
,
69e6eb5
,
69e6eb5
]:
69e6eb5
,ededa2c
,a8e3f00
,a8e3f00
,69e6eb5
,69e6eb5
]:
1b5bcb5
Thanks @enisdenjo! - Depends on @graphql-mesh/transport-common
Updated dependencies
[69e6eb5
,
ededa2c
,
69e6eb5
,
69e6eb5
]:
69e6eb5
,ededa2c
,a8e3f00
,a8e3f00
,69e6eb5
,69e6eb5
]:
Published by github-actions[bot] 4 months ago
987e9cc
a387451
]:
da0c516
]:
a387451
[email protected]
↗︎ (from 6.12.1
,dependencies
)a387451
]:
a387451
]:
a387451
]:
da0c516
Thanks @ardatan! - Fix the inverted nullability generation
If SOAP has nillable: true
, the generated type was non-nullable, and now it has been fixed to be
nullable as expected.
a387451
[email protected]
↗︎ (from 6.12.1
,dependencies
)Published by github-actions[bot] 4 months ago
0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in dependencies
)0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in dependencies
)0d916a4
]:
#7183
8a04cf7
Thanks @ardatan! - dependencies updates:
graphql-yoga@^5.6.0
↗︎ (from ^5.3.0
,dependencies
)#7185
0d916a4
Thanks @ardatan! - dependencies updates:
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/executor@^1.2.8
↗︎^1.2.6
, in dependencies
)@graphql-tools/federation@^2.1.1
↗︎^2.0.0
, in dependencies
)@graphql-tools/stitch@^9.2.10
↗︎^9.2.9
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in dependencies
)Updated dependencies
[0d916a4
,
0d916a4
,
0d916a4
,
0d916a4
,
8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in dependencies
)0d916a4
,0d916a4
,8a04cf7
,0d916a4
,0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/federation@^2.1.1
↗︎^2.0.0
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/federation@^2.1.1
↗︎^2.0.0
, in dependencies
)0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,8a04cf7
]:
#7183
8a04cf7
Thanks @ardatan! - dependencies updates:
graphql-yoga@^5.6.0
↗︎ (from ^5.3.0
,dependencies
)#7185
0d916a4
Thanks @ardatan! - dependencies updates:
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)#7183
8a04cf7
Thanks @ardatan! - By default, Mesh does not allow extra parameters
in the request body other than query
, operationName
, extensions
, and variables
, then
throws 400 HTTP Error. This change adds a new option called extraParamNames
to allow extra
parameters in the request body.
serve:
extraParamNames:
- extraParam1
- extraParam2
const res = await fetch('/graphql', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
query: 'query { __typename }',
extraParam1: 'value1',
extraParam2: 'value2'
})
})
console.assert(res.status === 200)
Updated dependencies
[0d916a4
,
0d916a4
,
0d916a4
,
0d916a4
,
8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/stitch@^9.2.10
↗︎^9.2.9
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/executor@^1.2.8
↗︎^1.2.0
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)0d916a4
,0d916a4
,8a04cf7
]:
#7185
0d916a4
Thanks @ardatan! - dependencies updates:
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)#7183
8a04cf7
Thanks @ardatan! - By default, Mesh does not allow extra parameters
in the request body other than query
, operationName
, extensions
, and variables
, then
throws 400 HTTP Error. This change adds a new option called extraParamNames
to allow extra
parameters in the request body.
serve:
extraParamNames:
- extraParam1
- extraParam2
const res = await fetch('/graphql', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
query: 'query { __typename }',
extraParam1: 'value1',
extraParam2: 'value2'
})
})
console.assert(res.status === 200)
Updated dependencies
[0d916a4
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in dependencies
)0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,8a04cf7
]:
8a04cf7
,0d916a4
,0d916a4
,0d916a4
,28961ed
,25fd39a
,8a04cf7
]:
8a04cf7
,0d916a4
,0d916a4
,0d916a4
,28961ed
,25fd39a
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,8a04cf7
]:
8a04cf7
graphql-yoga@^5.6.0
↗︎ (from ^5.1.1
,dependencies
)0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
,0d916a4
,8a04cf7
]:
#7185
0d916a4
Thanks @ardatan! - dependencies updates:
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in dependencies
)#7173
25fd39a
Thanks @ardatan! - Change the default behavior of Serve Runtime
If no supergraph
or hive
or proxy
is provided
HIVE_CDN_ENDPOINT
and HIVE_CDN_TOKEN
are provided, use them to fetch the supergraph from./supergraph.graphql
Updated dependencies
[0d916a4
,
8a04cf7
,
0d916a4
,
0d916a4
,
0d916a4
,
28961ed
,
25fd39a
,
8a04cf7
]:
#7183
8a04cf7
Thanks @ardatan! - dependencies updates:
graphql-yoga@^5.6.0
↗︎ (from ^5.3.0
,dependencies
)#7185
0d916a4
Thanks @ardatan! - dependencies updates:
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/federation@^2.1.1
↗︎^2.0.0
, in dependencies
)@graphql-tools/stitch@^9.2.10
↗︎^9.2.9
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in dependencies
)#7165
28961ed
Thanks @ardatan! - Rename the title of GraphiQL to GraphiQL Mesh
#7173
25fd39a
Thanks @ardatan! - Change the default behavior of Serve Runtime
If no supergraph
or hive
or proxy
is provided
HIVE_CDN_ENDPOINT
and HIVE_CDN_TOKEN
are provided, use them to fetch the supergraph from./supergraph.graphql
Updated dependencies
[0d916a4
,
8a04cf7
,
0d916a4
,
0d916a4
,
0d916a4
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in dependencies
)0d916a4
,8a04cf7
]:
0d916a4
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in dependencies
)0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/delegate@^10.0.12
↗︎^10.0.11
, in dependencies
)@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in dependencies
)0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in peerDependencies
)0d916a4
,0d916a4
,0d916a4
,0d916a4
,8a04cf7
]:
0d916a4
]:
0d916a4
@graphql-tools/utils@^10.2.3
↗︎^10.2.1
, in dependencies
)0d916a4
,0d916a4
]:
Published by github-actions[bot] 4 months ago
a7e8a9c
]:
Published by github-actions[bot] 4 months ago
141c3a6
]:
141c3a6
]:
141c3a6
]:
Published by github-actions[bot] 4 months ago
d68c464
]:
d68c464
]:
d68c464
]:
Updated dependencies
[d68c464
]: