@omnigraph/json-schema
Changelog for @omnigraph/json-schema: every release with its changes and the pull requests behind them.
0.112.4
Patch Changes
- #9653
d6ba079Thanks @ardatan! - dependencies updates:- Updated dependency
qs@^6.16.0↗︎ (from^6.15.3, independencies)
- Updated dependency
- Updated dependencies
[
d6ba079]:- @graphql-mesh/transport-rest@0.12.2
0.112.3
Patch Changes
-
#9649
1a6dc08Thanks @copilot-swe-agent! - Fix: honor loader-levelqueryStringOptionsas fallback in@httpOperationdirectivesPreviously, when a
queryStringOptionswas configured at the loader (source) level for OpenAPI or JSON Schema subgraphs, the generated@httpOperationdirectives did not inherit that option unless every individual operation explicitly set its ownqueryStringOptions. This meant that loader-level query-string serialization config (e.g.allowDots,arrayFormat) was silently ignored at execution time.What changed
In
addExecutionDirectivesToComposer, each operation now falls back to the loader-levelqueryStringOptionswhen the operation itself does not define one:queryStringOptions: 'queryStringOptions' in operationConfig ? operationConfig.queryStringOptions : queryStringOptions // ← new: inherit from loader levelThis aligns with the documented contract where loader-level options apply globally to all operations.
Usage example
OpenAPI –
queryStringOptionsset once for all operations:// mesh.config.ts import { defineConfig } from '@graphql-mesh/compose-cli' import { loadOpenAPISubgraph } from '@omnigraph/openapi' export const composeConfig = defineConfig({ subgraphs: [ { sourceHandler: loadOpenAPISubgraph('MyApi', { source: './openapi.yaml', endpoint: 'https://api.example.com', // Applied to every operation that doesn't override it queryStringOptions: { allowDots: true, // serialize nested objects as a.b.c=1 arrayFormat: 'repeat' // serialize arrays as a=1&a=2 } }) } ] })JSON Schema – same option at the loader level:
import { loadGraphQLSchemaFromJSONSchemas } from '@omnigraph/json-schema'; const schema = await loadGraphQLSchemaFromJSONSchemas('MyApi', { endpoint: 'https://api.example.com', queryStringOptions: { arrayFormat: 'brackets', // foo[]=1&foo[]=2 }, operations: [...], });Affected packages
Package Change @omnigraph/json-schemaCore fix in addExecutionDirectivesToComposer@omnigraph/openapiInherits fix via @omnigraph/json-schemaFixes #8760
-
Updated dependencies [
c7f0f3f,c7f0f3f]:- @graphql-mesh/types@0.107.1
- @graphql-mesh/utils@0.107.1
- @graphql-mesh/transport-rest@0.12.1
0.112.2
Patch Changes
-
#9643
5eab022Thanks @ardatan! - Keep HTTP 204 (No Content) arms in status-code response unions.OpenAPI encodes a
204response as{ type: 'null' }inside aoneOfthat also carries astatusCodeOneOfIndexMapcomment. The OpenAPI 3.1 nullability strip introduced for[#8719](https://github.com/ardatan/graphql-mesh/issues/8719)treated that{ type: 'null' }member as a nullability marker and removed it, so success outcomes disappeared from the generated GraphQL union (e.g.DELETE+204/404collapsed to only the error type, or a union of errors withoutVoid_container).Skip the
{ type: 'null' }strip when the schema is a status-code response union ($commentstarts withstatusCodeOneOfIndexMap:). Data-schema nullability viaanyOf/oneOfwith{ type: 'null' }is unchanged.
0.112.1
Patch Changes
-
#9633
6f96258Thanks @copilot-swe-agent! - Treat object schemas that only haveadditionalPropertiesasJSONinstead of generating unused dictionary object types. -
#9638
5040fe9Thanks @ardatan! - Reuse a single scalar when a shared primitive$refhas bothformatandpatternwhose GraphQL names would collide, including nullableanyOf/oneOfwrappers. Keep@regexpwhen the names differ. -
18cefe7Thanks @ardatan! - Reuse a JSON Schema$reftarget reached via different relative paths instead of mintingType2/Type3duplicates. -
Updated dependencies [
18cefe7,6f96258]:- json-machete@0.97.8
0.112.0
Patch Changes
-
#9629
1849ec3Thanks @copilot-swe-agent! - Deep-mergeallOfobject fields that graphql-compose wrapped inNonNull(required nested objects). -
#9629
1849ec3Thanks @copilot-swe-agent! - TreatanyOf/oneOfwith a{ type: "null" }branch as a nullable version of the remaining type instead of falling through to a generic object. -
#9629
1849ec3Thanks @copilot-swe-agent! - Fix empty@discriminator(mapping:)when the mapping is auto-detected rather than taken from the OASdiscriminator.mappingproperty. -
#9629
1849ec3Thanks @copilot-swe-agent! - Stop mutating shared$refparameter schemas when one operation marks the param required. Required args are collected per operation instead. -
Updated dependencies [
ab73b38,51b15f4]:- @graphql-mesh/types@0.107.0
- @graphql-mesh/utils@0.107.0
- @graphql-mesh/transport-rest@0.12.0
0.111.0
Patch Changes
- #9611
cb846cbThanks @dependabot! - dependencies updates:- Updated dependency
@graphql-mesh/transport-common@^1.0.20↗︎ (from^1.0.19, independencies)
- Updated dependency
- Updated dependencies
[
cb846cb,a7cbeef,e148b13,07c7b8e]:- @graphql-mesh/transport-rest@0.11.0
- @graphql-mesh/utils@0.106.0
- @graphql-mesh/types@0.106.0
0.110.1
Patch Changes
- #9586
096ed33Thanks @dependabot! - dependencies updates:- Updated dependency
@graphql-mesh/transport-common@^1.0.19↗︎ (from^1.0.17, independencies) - Updated dependency
@graphql-tools/delegate@^12.1.1↗︎ (from^12.0.19, independencies) - Updated dependency
@graphql-tools/utils@^11.2.2↗︎ (from^11.2.0, independencies)
- Updated dependency
- Updated dependencies
[
096ed33,096ed33,096ed33,096ed33]:- @graphql-mesh/cross-helpers@0.4.16
- @graphql-mesh/transport-rest@0.10.1
- @graphql-mesh/types@0.105.1
- @graphql-mesh/utils@0.105.1
0.110.0
Patch Changes
- Updated dependencies
[
b7def27]:- @graphql-mesh/types@0.105.0
- @graphql-mesh/utils@0.105.0
- @graphql-mesh/transport-rest@0.10.0
0.109.43
Patch Changes
-
#9465
eece882Thanks @zcag! - dependencies updates:- Updated dependency
@graphql-mesh/string-interpolation@^0.5.17↗︎ (from^0.5.16, independencies) - Updated dependency
@graphql-mesh/transport-rest@^0.9.40↗︎ (from^0.9.39, independencies) - Updated dependency
@graphql-mesh/types@^0.104.29↗︎ (from^0.104.28, independencies) - Updated dependency
@graphql-mesh/utils@^0.104.37↗︎ (from^0.104.36, independencies) - Updated dependency
@graphql-tools/delegate@^12.0.17↗︎ (from^12.0.14, independencies) - Updated dependency
@graphql-tools/utils@^11.1.1↗︎ (from^11.1.0, independencies) - Updated dependency
qs@^6.15.3↗︎ (from^6.15.1, independencies)
- Updated dependency
-
#9529
aacbb2eThanks @dependabot! - dependencies updates:- Updated dependency
qs@^6.15.3↗︎ (from^6.15.2, independencies)
- Updated dependency
-
#9530
6282a71Thanks @dependabot! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^12.0.17↗︎ (from^12.0.16, independencies) - Updated dependency
@graphql-tools/utils@^11.1.1↗︎ (from^11.1.0, independencies)
- Updated dependency
-
#9547
b28d9ecThanks @dependabot! - dependencies updates:- Updated dependency
@graphql-mesh/transport-common@^1.0.17↗︎ (from^1.0.16, independencies) - Updated dependency
@graphql-tools/delegate@^12.0.18↗︎ (from^12.0.17, independencies) - Updated dependency
@graphql-tools/utils@^11.2.0↗︎ (from^11.1.1, independencies)
- Updated dependency
-
#9560
1b0e3c4Thanks @dependabot! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^12.0.19↗︎ (from^12.0.18, independencies)
- Updated dependency
-
Updated dependencies [
eece882,6282a71,b28d9ec,eece882,eece882,aacbb2e,6282a71,b28d9ec,eece882,59a2e76,6282a71,b28d9ec,1b0e3c4,eece882,444fbbe,6282a71,2c347d5,b28d9ec,1b0e3c4,4c56adc]:- @graphql-mesh/cross-helpers@0.4.15
- @graphql-mesh/string-interpolation@0.5.18
- @graphql-mesh/transport-rest@0.9.41
- @graphql-mesh/types@0.104.30
- @graphql-mesh/utils@0.104.38
0.109.42
Patch Changes
-
#9470
1da4b45Thanks @dependabot! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^12.0.15↗︎ (from^12.0.14, independencies)
- Updated dependency
-
#9490
fa18e2dThanks @dependabot! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^12.0.16↗︎ (from^12.0.15, independencies)
- Updated dependency
-
#9497
c5aff34Thanks @dependabot! - dependencies updates:- Updated dependency
qs@^6.15.2↗︎ (from^6.15.1, independencies)
- Updated dependency
-
Updated dependencies [
06c0dee,c5aff34,1da4b45,fa18e2d,1da4b45,fa18e2d,7cfc2a0]:- @graphql-mesh/string-interpolation@0.5.17
- @graphql-mesh/transport-rest@0.9.40
- @graphql-mesh/types@0.104.29
- @graphql-mesh/utils@0.104.37
0.109.41
Patch Changes
- #9449
3aabd36Thanks @dependabot! - dependencies updates:- Updated dependency
ajv@^8.20.0↗︎ (from^8.18.0, independencies)
- Updated dependency
0.109.40
Patch Changes
-
#9430
8c7b764Thanks @dependabot! - dependencies updates:- Updated dependency
@graphql-mesh/transport-common@^1.0.16↗︎ (from^1.0.15, independencies) - Updated dependency
@graphql-tools/delegate@^12.0.14↗︎ (from^12.0.13, independencies)
- Updated dependency
-
#9446
6943e28Thanks @enisdenjo! - dependencies updates:- Updated dependency
@graphql-tools/utils@^11.1.0↗︎ (from^11.0.1, independencies)
- Updated dependency
-
Updated dependencies [
6943e28,8c7b764,6943e28,8c7b764,6943e28,8c7b764,6943e28,6943e28,e6a25d2]:- @graphql-mesh/cross-helpers@0.4.14
- @graphql-mesh/transport-rest@0.9.39
- @graphql-mesh/types@0.104.28
- @graphql-mesh/utils@0.104.36
0.109.39
Patch Changes
-
#9406
af31a59Thanks @dependabot! - dependencies updates:- Updated dependency
@graphql-tools/utils@^11.0.1↗︎ (from^11.0.0, independencies)
- Updated dependency
-
#9408
e322e3bThanks @dependabot! - dependencies updates:- Updated dependency
qs@^6.15.1↗︎ (from^6.14.2, independencies)
- Updated dependency
-
Updated dependencies [
af31a59,af31a59,e322e3b,af31a59,af31a59]:- @graphql-mesh/cross-helpers@0.4.13
- @graphql-mesh/transport-rest@0.9.38
- @graphql-mesh/types@0.104.27
- @graphql-mesh/utils@0.104.35
0.109.38
Patch Changes
- #9389
95a2d10Thanks @dependabot! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^12.0.13↗︎ (from^12.0.12, independencies)
- Updated dependency
- Updated dependencies
[
95a2d10,95a2d10,f6d57a2]:- @graphql-mesh/types@0.104.26
- @graphql-mesh/utils@0.104.34
- @graphql-mesh/transport-rest@0.9.37
0.109.37
Patch Changes
- Updated dependencies
[
46d8eed]:- @graphql-mesh/utils@0.104.33
- @graphql-mesh/transport-rest@0.9.36
0.109.36
Patch Changes
- Updated dependencies
[
94fbfbd]:- @graphql-mesh/string-interpolation@0.5.16
- @graphql-mesh/utils@0.104.32
- @graphql-mesh/transport-rest@0.9.35
0.109.35
Patch Changes
- Updated dependencies
[
339c32c]:- @graphql-mesh/string-interpolation@0.5.15
- @graphql-mesh/utils@0.104.31
- @graphql-mesh/transport-rest@0.9.34
0.109.34
Patch Changes
- #9348
3ad6a00Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-mesh/string-interpolation@^0.5.13↗︎ (from0.5.13, independencies)
- Updated dependency
- Updated dependencies
[
3ad6a00]:- @graphql-mesh/string-interpolation@0.5.14
- @graphql-mesh/utils@0.104.30
- @graphql-mesh/transport-rest@0.9.33
0.109.33
Patch Changes
- Updated dependencies
[
13af2ff,62c1082]:- @graphql-mesh/string-interpolation@0.5.13
- json-machete@0.97.7
- @graphql-mesh/utils@0.104.29
- @graphql-mesh/transport-rest@0.9.32
0.109.32
Patch Changes
- #9329
300aea0Thanks @dependabot! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^12.0.12↗︎ (from^12.0.11, independencies)
- Updated dependency
- Updated dependencies
[
300aea0,300aea0]:- @graphql-mesh/types@0.104.25
- @graphql-mesh/utils@0.104.28
- @graphql-mesh/transport-rest@0.9.31
0.109.31
Patch Changes
- #9315
2c80833Thanks @dependabot! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^12.0.11↗︎ (from^12.0.8, independencies)
- Updated dependency
- Updated dependencies
[
2c80833,2c80833]:- @graphql-mesh/types@0.104.24
- @graphql-mesh/utils@0.104.27
- @graphql-mesh/transport-rest@0.9.30
0.109.30
Patch Changes
- Updated dependencies
[
5d38d11]:- @graphql-mesh/string-interpolation@0.5.12
- @graphql-mesh/utils@0.104.26
- @graphql-mesh/transport-rest@0.9.29
0.109.29
Patch Changes
- Updated dependencies
[
4f81520]:- @graphql-mesh/types@0.104.23
- @graphql-mesh/utils@0.104.25
- @graphql-mesh/transport-rest@0.9.28
0.109.28
Patch Changes
- #9267
0664ddbThanks @dependabot! - dependencies updates:- Updated dependency
@graphql-mesh/transport-common@^1.0.15↗︎ (from^1.0.14, independencies)
- Updated dependency
- Updated dependencies
[
0664ddb]:- @graphql-mesh/transport-rest@0.9.27
0.109.27
Patch Changes
- #9261
a442cbeThanks @dependabot! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^12.0.8↗︎ (from^12.0.7, independencies)
- Updated dependency
- Updated dependencies
[
a442cbe,a442cbe,080aca9]:- @graphql-mesh/types@0.104.22
- @graphql-mesh/utils@0.104.24
- @graphql-mesh/transport-rest@0.9.26
0.109.26
Patch Changes
-
#9229
ec81ee4Thanks @renovate! - dependencies updates:- Updated dependency
ajv@^8.18.0↗︎ (from^8.17.1, independencies)
- Updated dependency
-
#9238
9d8b2b0Thanks @dependabot! - dependencies updates:- Updated dependency
ajv@^8.18.0↗︎ (from^8.17.1, independencies)
- Updated dependency
0.109.25
Patch Changes
-
#9225
ce55a45Thanks @dependabot! - dependencies updates:- Updated dependency
qs@^6.14.2↗︎ (from^6.14.1, independencies)
- Updated dependency
-
#9228
d213cd9Thanks @dependabot! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^12.0.7↗︎ (from^12.0.6, independencies)
- Updated dependency
-
Updated dependencies [
ce55a45,d213cd9,d213cd9]:- @graphql-mesh/transport-rest@0.9.25
- @graphql-mesh/types@0.104.21
- @graphql-mesh/utils@0.104.23
0.109.24
Patch Changes
-
#9199
6c65df7Thanks @dependabot! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^12.0.6↗︎ (from^12.0.4, independencies)
- Updated dependency
-
#9107
181937fThanks @ardatan! - Handle oneOf with examples correctly -
Updated dependencies [
6c65df7,6c65df7,6e3779c]:- @graphql-mesh/types@0.104.20
- @graphql-mesh/utils@0.104.22
- @graphql-mesh/transport-rest@0.9.24
0.109.23
Patch Changes
- #9153
2410c44Thanks @dependabot! - dependencies updates:- Updated dependency
@graphql-mesh/transport-common@^1.0.14↗︎ (from^1.0.13, independencies)
- Updated dependency
- Updated dependencies
[
2410c44,0028f3b]:- @graphql-mesh/transport-rest@0.9.23
- @graphql-mesh/string-interpolation@0.5.11
- @graphql-mesh/utils@0.104.21
0.109.22
Patch Changes
-
#9120
c219668Thanks @dependabot! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^12.0.3↗︎ (from^12.0.2, independencies) - Updated dependency
@graphql-tools/utils@^11.0.0↗︎ (from^10.11.0, independencies)
- Updated dependency
-
#9129
3f91b5aThanks @dependabot! - dependencies updates:- Updated dependency
@graphql-mesh/transport-common@^1.0.13↗︎ (from^1.0.0, independencies) - Updated dependency
@graphql-tools/delegate@^12.0.4↗︎ (from^12.0.3, independencies)
- Updated dependency
-
Updated dependencies [
c219668,c219668,3f91b5a,c219668,3f91b5a,c219668,3f91b5a]:- @graphql-mesh/cross-helpers@0.4.12
- @graphql-mesh/transport-rest@0.9.22
- @graphql-mesh/types@0.104.19
- @graphql-mesh/utils@0.104.20
0.109.21
Patch Changes
- Updated dependencies
[
30e8e32]:- @graphql-mesh/string-interpolation@0.5.10
- @graphql-mesh/utils@0.104.19
- @graphql-mesh/transport-rest@0.9.21
0.109.20
Patch Changes
-
#9062
4dea313Thanks @dependabot! - dependencies updates:- Updated dependency
ajv-formats@^3.0.1↗︎ (from^2.1.1, independencies)
- Updated dependency
-
#9108
0a2a0bcThanks @dependabot! - dependencies updates:- Updated dependency
qs@^6.14.1↗︎ (from^6.14.0, independencies)
- Updated dependency
-
Updated dependencies [
0a2a0bc]:- @graphql-mesh/transport-rest@0.9.20
0.109.19
Patch Changes
- #9027
72c443cThanks @dependabot! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^12.0.2↗︎ (from^12.0.0, independencies) - Updated dependency
@graphql-tools/utils@^10.11.0↗︎ (from^10.8.0, independencies)
- Updated dependency
- Updated dependencies
[
72c443c,72c443c,72c443c,72c443c]:- @graphql-mesh/cross-helpers@0.4.11
- @graphql-mesh/transport-rest@0.9.19
- @graphql-mesh/types@0.104.18
- @graphql-mesh/utils@0.104.18
0.109.18
Patch Changes
- #9022
3987b80Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^12.0.0↗︎ (from^11.0.0, independencies)
- Updated dependency
- Updated dependencies
[
3987b80,3987b80]:- @graphql-mesh/types@0.104.17
- @graphql-mesh/utils@0.104.17
- @graphql-mesh/transport-rest@0.9.18
0.109.17
Patch Changes
- Updated dependencies
[
bb42d37,bb42d37]:- @graphql-mesh/types@0.104.16
- @graphql-mesh/utils@0.104.16
- @graphql-mesh/transport-rest@0.9.17
0.109.16
Patch Changes
- Updated dependencies
[
b077f20]:- @graphql-mesh/types@0.104.15
- @graphql-mesh/utils@0.104.15
- @graphql-mesh/transport-rest@0.9.16
0.109.15
Patch Changes
- Updated dependencies
[
1db3c6b]:- @graphql-mesh/types@0.104.14
- @graphql-mesh/utils@0.104.14
- @graphql-mesh/transport-rest@0.9.15
0.109.14
Patch Changes
- #8745
dfc6bc1Thanks @renovate! - dependencies updates:- Updated dependency
@graphql-mesh/transport-common@^1.0.0↗︎ (from^0.7.13, independencies) - Updated dependency
@graphql-tools/delegate@^11.0.0↗︎ (from^10.0.28, independencies)
- Updated dependency
- Updated dependencies
[
f7ce86c,dfc6bc1,dfc6bc1,dfc6bc1,865b000,fe4ed3b]:- @graphql-mesh/string-interpolation@0.5.9
- @graphql-mesh/transport-rest@0.9.14
- @graphql-mesh/types@0.104.13
- @graphql-mesh/utils@0.104.13
0.109.13
Patch Changes
- Updated dependencies
[
ffec6e7]:- @graphql-mesh/transport-rest@0.9.13
- @graphql-mesh/utils@0.104.12
- @graphql-mesh/types@0.104.12
0.109.12
Patch Changes
- Updated dependencies
[
d61faf0]:- @graphql-mesh/utils@0.104.11
- @graphql-mesh/transport-rest@0.9.12
- @graphql-mesh/types@0.104.11
0.109.11
Patch Changes
- Updated dependencies
[
7852ccd,7852ccd]:- @graphql-mesh/utils@0.104.10
- @graphql-mesh/transport-rest@0.9.11
- @graphql-mesh/types@0.104.10
0.109.10
Patch Changes
- Updated dependencies
[
0c18fe1]:- @graphql-mesh/types@0.104.9
- @graphql-mesh/utils@0.104.9
- @graphql-mesh/transport-rest@0.9.10
0.109.9
Patch Changes
-
#8716
fb6e935Thanks @enisdenjo! - Accept and support the upcoming and improvedHivePubSubfrom@graphql-hive/pubsub -
Updated dependencies [
fb6e935,fb6e935,fb6e935]:- @graphql-mesh/types@0.104.8
- @graphql-mesh/transport-rest@0.9.9
- @graphql-mesh/utils@0.104.8
0.109.8
Patch Changes
- Updated dependencies
[
c37c23b]:- @graphql-mesh/types@0.104.7
- @graphql-mesh/utils@0.104.7
- @graphql-mesh/transport-rest@0.9.8
0.109.7
Patch Changes
- Updated dependencies
[
e2666bc]:- @graphql-mesh/utils@0.104.6
- @graphql-mesh/transport-rest@0.9.7
- @graphql-mesh/types@0.104.6
0.109.6
Patch Changes
- Updated dependencies
[
9d61d75]:- @graphql-mesh/utils@0.104.5
- @graphql-mesh/transport-rest@0.9.6
- @graphql-mesh/types@0.104.5
0.109.5
Patch Changes
- Updated dependencies
[
6b4c546]:- @graphql-mesh/types@0.104.4
- @graphql-mesh/utils@0.104.4
- @graphql-mesh/transport-rest@0.9.5
0.109.4
Patch Changes
-
#8615
0af3d0cThanks @enisdenjo! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.10.6↗︎ (from^0.10.4, independencies)
- Updated dependency
-
#8615
0af3d0cThanks @enisdenjo! - Update graphql-yoga and whatwg-node packagesIn light of https://github.com/ardatan/whatwg-node/pull/2305. Please upgrade as soon as possible!
-
Updated dependencies [
0af3d0c,0af3d0c,0af3d0c]:- @graphql-mesh/transport-rest@0.9.4
- @graphql-mesh/utils@0.104.3
- @graphql-mesh/types@0.104.3
0.109.3
Patch Changes
- Updated dependencies
[
1b5d072]:- @graphql-mesh/utils@0.104.2
- @graphql-mesh/transport-rest@0.9.3
- @graphql-mesh/types@0.104.2
0.109.2
Patch Changes
- Updated dependencies
[
1577309]:- @graphql-mesh/transport-rest@0.9.2
0.109.1
Patch Changes
- Updated dependencies
[
b6c083c,f416982]:- @graphql-mesh/utils@0.104.1
- @graphql-mesh/transport-rest@0.9.1
- @graphql-mesh/types@0.104.1
0.109.0
Patch Changes
- Updated dependencies
[
4528794,4528794]:- @graphql-mesh/utils@0.104.0
- @graphql-mesh/transport-rest@0.9.0
- @graphql-mesh/types@0.104.0
0.108.23
Patch Changes
- Updated dependencies
[
903124f]:- @graphql-mesh/utils@0.103.21
- @graphql-mesh/transport-rest@0.8.23
- @graphql-mesh/types@0.103.21
0.108.22
Patch Changes
- Updated dependencies
[
3f5e0a1]:- @graphql-mesh/utils@0.103.20
- @graphql-mesh/transport-rest@0.8.22
- @graphql-mesh/types@0.103.20
0.108.21
Patch Changes
- Updated dependencies
[
d9cf1d3]:- @graphql-mesh/types@0.103.19
- @graphql-mesh/utils@0.103.19
- @graphql-mesh/transport-rest@0.8.21
0.108.20
Patch Changes
- #8409
ab0863bThanks @ardatan! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.10.4↗︎ (from^0.10.0, independencies)
- Updated dependency
- Updated dependencies
[
ab0863b,ab0863b]:- @graphql-mesh/transport-rest@0.8.20
- @graphql-mesh/utils@0.103.18
- @graphql-mesh/types@0.103.18
0.108.19
Patch Changes
- Updated dependencies
[
eee582a]:- @graphql-mesh/utils@0.103.17
- @graphql-mesh/transport-rest@0.8.19
- @graphql-mesh/types@0.103.17
0.108.18
Patch Changes
-
#8375
b44f8b7Thanks @ardatan! - More clear key-value pairs in the logs -
Updated dependencies [
b44f8b7]:- @graphql-mesh/transport-rest@0.8.18
- @graphql-mesh/types@0.103.16
- @graphql-mesh/utils@0.103.16
0.108.17
Patch Changes
- Updated dependencies
[
b5c05c4]:- @graphql-mesh/types@0.103.15
- @graphql-mesh/utils@0.103.15
- @graphql-mesh/transport-rest@0.8.17
0.108.16
Patch Changes
- Updated dependencies
[
fc44a1e]:- @graphql-mesh/types@0.103.14
- @graphql-mesh/utils@0.103.14
- @graphql-mesh/transport-rest@0.8.16
0.108.15
Patch Changes
- #8362
ce5e094Thanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@^10.8.0↗︎ (from^10.6.0, independencies)
- Updated dependency
- Updated dependencies
[
ce5e094,ce5e094,ce5e094,ce5e094]:- @graphql-mesh/cross-helpers@0.4.10
- @graphql-mesh/transport-rest@0.8.15
- @graphql-mesh/types@0.103.13
- @graphql-mesh/utils@0.103.13
0.108.14
Patch Changes
- Updated dependencies
[
0b6ee9c]:- @graphql-mesh/transport-rest@0.8.14
0.108.13
Patch Changes
- Updated dependencies
[
5180b06,c54e361,78c202e]:- @graphql-mesh/utils@0.103.12
- @graphql-mesh/types@0.103.12
- @graphql-mesh/string-interpolation@0.5.8
- @graphql-mesh/transport-rest@0.8.13
0.108.12
Patch Changes
-
#8269
2ff45edThanks @renovate! - dependencies updates:- Updated dependency
qs@6.14.0↗︎ (from6.13.1, independencies)
- Updated dependency
-
#8270
d3656b6Thanks @ardatan! - dependencies updates:- Updated dependency
@json-schema-tools/meta-schema@^1.7.5↗︎ (from1.7.5, independencies) - Updated dependency
ajv@^8.17.1↗︎ (from8.17.1, independencies) - Updated dependency
ajv-formats@^2.1.1↗︎ (from2.1.1, independencies) - Updated dependency
dset@^3.1.4↗︎ (from3.1.4, independencies) - Updated dependency
graphql-compose@^9.1.0↗︎ (from^9.0.11, independencies) - Updated dependency
json-machete@^0.97.5↗︎ (from0.97.5, independencies) - Updated dependency
qs@^6.14.0↗︎ (from6.14.0, independencies) - Updated dependency
to-json-schema@^0.2.5↗︎ (from0.2.5, independencies)
- Updated dependency
-
Updated dependencies [
2ff45ed,d3656b6,d3656b6]:- @graphql-mesh/transport-rest@0.8.12
- json-machete@0.97.6
0.108.11
Patch Changes
- Updated dependencies
[
3fc1f3e,4011203]:- @graphql-mesh/types@0.103.11
- @graphql-mesh/utils@0.103.11
- @graphql-mesh/transport-rest@0.8.11
0.108.10
Patch Changes
- Updated dependencies
[
b750a41]:- @graphql-mesh/utils@0.103.10
- @graphql-mesh/transport-rest@0.8.10
- @graphql-mesh/types@0.103.10
0.108.9
Patch Changes
- Updated dependencies
[
10ba2c4]:- @graphql-mesh/utils@0.103.9
- @graphql-mesh/transport-rest@0.8.9
- @graphql-mesh/types@0.103.9
0.108.8
Patch Changes
- Updated dependencies
[
93fb364]:- @graphql-mesh/utils@0.103.8
- @graphql-mesh/transport-rest@0.8.8
- @graphql-mesh/types@0.103.8
0.108.7
Patch Changes
-
Updated dependencies [
1a7adbf]:- @graphql-mesh/transport-rest@0.8.7
- @graphql-mesh/types@0.103.7
- @graphql-mesh/utils@0.103.7
0.108.6
Patch Changes
- #8092
2ef651aThanks @ardatan! - dependencies updates:- Added dependency
@graphql-mesh/cross-helpers@^0.4.8↗︎ (todependencies) - Added dependency
@graphql-mesh/types@^0.103.5↗︎ (todependencies) - Added dependency
@graphql-mesh/utils@^0.103.5↗︎ (todependencies) - Added dependency
@graphql-tools/utils@^10.6.0↗︎ (todependencies) - Added dependency
tslib@^2.4.0↗︎ (todependencies) - Removed dependency
@graphql-mesh/cross-helpers@^0.4.8↗︎ (frompeerDependencies) - Removed dependency
@graphql-mesh/types@^0.103.5↗︎ (frompeerDependencies) - Removed dependency
@graphql-mesh/utils@^0.103.5↗︎ (frompeerDependencies) - Removed dependency
@graphql-tools/utils@^10.6.0↗︎ (frompeerDependencies) - Removed dependency
tslib@^2.4.0↗︎ (frompeerDependencies)
- Added dependency
- Updated dependencies
[
2ef651a,2ef651a,2ef651a,2ef651a,2ef651a,2ef651a]:- @graphql-mesh/cross-helpers@0.4.9
- @graphql-mesh/string-interpolation@0.5.7
- @graphql-mesh/transport-rest@0.8.6
- @graphql-mesh/types@0.103.6
- @graphql-mesh/utils@0.103.6
- json-machete@0.97.5
0.108.5
Patch Changes
- #8007
9f9f6feThanks @ardatan! - DEBUG logs were accidentially written to the output, now it correctly prints logs to the logger not the output - Updated dependencies
[
9f9f6fe]:- @graphql-mesh/utils@0.103.5
- @graphql-mesh/transport-rest@0.8.5
- @graphql-mesh/types@0.103.5
0.108.4
Patch Changes
- Updated dependencies
[
8fcfe3f]:- @graphql-mesh/types@0.103.4
- @graphql-mesh/utils@0.103.4
- @graphql-mesh/transport-rest@0.8.4
0.108.3
Patch Changes
- Updated dependencies
[
6360755]:- @graphql-mesh/utils@0.103.3
- @graphql-mesh/transport-rest@0.8.3
- @graphql-mesh/types@0.103.3
0.108.2
Patch Changes
- Updated dependencies
[
bfd8929]:- @graphql-mesh/utils@0.103.2
- @graphql-mesh/transport-rest@0.8.2
- @graphql-mesh/types@0.103.2
0.108.1
Patch Changes
- #7978
92d3ce1Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/utils@^10.6.0↗︎ (from^10.5.5, inpeerDependencies)
- Updated dependency
- Updated dependencies
[
92d3ce1,92d3ce1,92d3ce1,92d3ce1]:- @graphql-mesh/cross-helpers@0.4.8
- @graphql-mesh/transport-rest@0.8.1
- @graphql-mesh/types@0.103.1
- @graphql-mesh/utils@0.103.1
0.108.0
Patch Changes
- Updated dependencies
[
0e49907,9873b33]:- @graphql-mesh/utils@0.103.0
- @graphql-mesh/transport-rest@0.8.0
- @graphql-mesh/types@0.103.0
0.107.8
Patch Changes
- #7949
10dd636Thanks @renovate! - dependencies updates:- Updated dependency
qs@6.13.1↗︎ (from6.13.0, independencies)
- Updated dependency
- Updated dependencies
[
10dd636]:- @graphql-mesh/transport-rest@0.7.15
0.107.7
Patch Changes
- Updated dependencies []:
- @graphql-mesh/types@0.102.13
- @graphql-mesh/utils@0.102.13
- @graphql-mesh/transport-rest@0.7.14
0.107.6
Patch Changes
- #7914
eee53b9Thanks @renovate! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.10.0↗︎ (from^0.9.0, independencies)
- Updated dependency
- Updated dependencies
[
eee53b9,eee53b9]:- @graphql-mesh/transport-rest@0.7.13
- @graphql-mesh/utils@0.102.12
- @graphql-mesh/types@0.102.12
- @graphql-mesh/transport-common@0.7.13
0.107.5
Patch Changes
- #7838
de41fc2Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^10.0.28↗︎ (from^10.0.27, independencies)
- Updated dependency
- Updated dependencies
[
de41fc2,de41fc2,de41fc2]:- @graphql-mesh/transport-common@0.7.12
- @graphql-mesh/types@0.102.11
- @graphql-mesh/utils@0.102.11
- @graphql-mesh/transport-rest@0.7.12
0.107.4
Patch Changes
- #7828
997b81cThanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^10.0.27↗︎ (from^10.0.26, independencies)
- Updated dependency
- Updated dependencies
[
997b81c,997b81c,997b81c]:- @graphql-mesh/transport-common@0.7.11
- @graphql-mesh/types@0.102.10
- @graphql-mesh/utils@0.102.10
- @graphql-mesh/transport-rest@0.7.11
0.107.3
Patch Changes
- Updated dependencies
[
fad4d27]:- @graphql-mesh/utils@0.102.9
- @graphql-mesh/transport-rest@0.7.10
- @graphql-mesh/types@0.102.9
- @graphql-mesh/transport-common@0.7.10
0.107.2
Patch Changes
- #7769
518c42cThanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^10.0.26↗︎ (from^10.0.23, independencies)
- Updated dependency
- Updated dependencies
[
518c42c,518c42c,518c42c]:- @graphql-mesh/transport-common@0.7.9
- @graphql-mesh/types@0.102.8
- @graphql-mesh/utils@0.102.8
- @graphql-mesh/transport-rest@0.7.9
0.107.1
Patch Changes
- #7781
50bf472Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^10.0.23↗︎ (from^10.0.21, independencies) - Updated dependency
@graphql-tools/utils@^10.5.5↗︎ (from^10.5.3, inpeerDependencies)
- Updated dependency
- Updated dependencies
[
50bf472,50bf472,50bf472,50bf472,50bf472]:- @graphql-mesh/cross-helpers@0.4.7
- @graphql-mesh/transport-common@0.7.8
- @graphql-mesh/transport-rest@0.7.8
- @graphql-mesh/types@0.102.7
- @graphql-mesh/utils@0.102.7
0.107.0
Minor Changes
0.106.8
Patch Changes
- Updated dependencies
[
bf588d3]:- @graphql-mesh/utils@0.102.6
- @graphql-mesh/transport-rest@0.7.7
- @graphql-mesh/types@0.102.6
- @graphql-mesh/transport-common@0.7.7
0.106.7
Patch Changes
-
#7641
e0c0a94Thanks @renovate! - dependencies updates:- Updated dependency
dset@3.1.4↗︎ (from3.1.3, independencies)
- Updated dependency
0.106.6
Patch Changes
- Updated dependencies
[
3bf14b3,b7f6ebf,0a3e52c]:- @graphql-mesh/utils@0.102.5
- @graphql-mesh/transport-rest@0.7.6
- @graphql-mesh/types@0.102.5
- @graphql-mesh/transport-common@0.7.6
0.106.5
Patch Changes
- Updated dependencies
[
5146df0]:- @graphql-mesh/transport-common@0.7.5
- @graphql-mesh/transport-rest@0.7.5
0.106.4
Patch Changes
- #7576
edbc074Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^10.0.21↗︎ (from^10.0.20, independencies)
- Updated dependency
- Updated dependencies
[
edbc074,edbc074,edbc074]:- @graphql-mesh/transport-common@0.7.4
- @graphql-mesh/types@0.102.4
- @graphql-mesh/utils@0.102.4
- @graphql-mesh/transport-rest@0.7.4
0.106.3
Patch Changes
- #7572
14ec31fThanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^10.0.20↗︎ (from^10.0.19, independencies)
- Updated dependency
- Updated dependencies
[
14ec31f,14ec31f,14ec31f]:- @graphql-mesh/transport-common@0.7.3
- @graphql-mesh/types@0.102.3
- @graphql-mesh/utils@0.102.3
- @graphql-mesh/transport-rest@0.7.3
0.106.2
Patch Changes
- Updated dependencies
[
5d95aad]:- @graphql-mesh/utils@0.102.2
- @graphql-mesh/transport-rest@0.7.2
- @graphql-mesh/types@0.102.2
- @graphql-mesh/transport-common@0.7.2
0.106.1
Patch Changes
- Updated dependencies
[
e49a7e6,60bfc22]:- @graphql-mesh/utils@0.102.1
- @graphql-mesh/transport-common@0.7.1
- @graphql-mesh/transport-rest@0.7.1
- @graphql-mesh/types@0.102.1
0.106.0
Patch Changes
- Updated dependencies
[
13fa835,db41f96]:- @graphql-mesh/string-interpolation@0.5.6
- @graphql-mesh/types@0.102.0
- @graphql-mesh/utils@0.102.0
- @graphql-mesh/transport-rest@0.7.0
- @graphql-mesh/transport-common@0.7.0
0.105.2
Patch Changes
- #7518
b0cdc83Thanks @enisdenjo! - dependencies updates:- Updated dependency
@graphql-mesh/transport-common@^0.6.1↗︎ (from^0.6.0, independencies) - Updated dependency
@graphql-mesh/transport-rest@^0.6.1↗︎ (from^0.6.0, independencies)
- Updated dependency
- Updated dependencies
[
b0cdc83]:- @graphql-mesh/transport-rest@0.6.2
0.105.1
Patch Changes
- Updated dependencies
[
67e1062]:- @graphql-mesh/transport-common@0.6.1
- @graphql-mesh/transport-rest@0.6.1
0.105.0
Patch Changes
-
#7497
d784488Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/utils@^10.5.2↗︎ (from^10.3.4, inpeerDependencies)
- Updated dependency
-
#7512
190e9ecThanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^10.0.19↗︎ (from^10.0.18, independencies) - Updated dependency
@graphql-tools/utils@^10.5.3↗︎ (from^10.5.2, inpeerDependencies)
- Updated dependency
-
Updated dependencies [
d784488,190e9ec,d784488,190e9ec,d784488,190e9ec,d784488,190e9ec,d784488,190e9ec,d784488]:- @graphql-mesh/cross-helpers@0.4.6
- @graphql-mesh/transport-common@0.6.0
- @graphql-mesh/transport-rest@0.6.0
- @graphql-mesh/types@0.101.0
- @graphql-mesh/utils@0.101.0
0.104.0
Patch Changes
- #7477
c06a048Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^10.0.18↗︎ (from^10.0.17, independencies) - Updated dependency
@graphql-tools/utils@^10.3.4↗︎ (from^10.2.3, inpeerDependencies)
- Updated dependency
- Updated dependencies
[
c06a048,c06a048,c06a048,c06a048,c06a048,a324c5e,48868b0,4d1eb28,a324c5e]:- @graphql-mesh/cross-helpers@0.4.5
- @graphql-mesh/transport-common@0.5.0
- @graphql-mesh/transport-rest@0.5.0
- @graphql-mesh/types@0.100.0
- @graphql-mesh/utils@0.100.0
- json-machete@0.97.4
0.103.2
Patch Changes
- Updated dependencies
[
a1bfc49]:- @graphql-mesh/types@0.99.7
- @graphql-mesh/utils@0.99.7
- @graphql-mesh/transport-common@0.4.7
- @graphql-mesh/transport-rest@0.4.9
0.103.1
Patch Changes
- #7447
6c67e77Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^10.0.17↗︎ (from^10.0.16, independencies)
- Updated dependency
- Updated dependencies
[
6c67e77,6c67e77,6c67e77,6c67e77,6c67e77]:- @graphql-mesh/transport-common@0.4.6
- @graphql-mesh/types@0.99.6
- @graphql-mesh/utils@0.99.6
- @graphql-mesh/transport-rest@0.4.8
0.103.0
Minor Changes
-
#7443
8bccd9aThanks @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@discriminatordirective’smappingargument is[String!]!instead ofObjMap. 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"]])
Patch Changes
- #7444
a4e53d9Thanks @renovate! - dependencies updates:- Updated dependency
qs@6.13.0↗︎ (from6.12.3, independencies)
- Updated dependency
- Updated dependencies
[
a4e53d9,8bccd9a]:- @graphql-mesh/transport-rest@0.4.7
0.102.7
Patch Changes
- Updated dependencies
[
33c23e8]:- @graphql-mesh/utils@0.99.5
- @graphql-mesh/transport-rest@0.4.6
- @graphql-mesh/types@0.99.5
- @graphql-mesh/transport-common@0.4.5
0.102.6
Patch Changes
-
#7388
c4190a9Thanks @ardatan! - Fix the issue when a discriminator is used with a response that has multiple status codes -
Updated dependencies [
c4190a9]:- @graphql-mesh/transport-rest@0.4.5
0.102.5
Patch Changes
- Updated dependencies
[
597e790,597e790]:- @graphql-mesh/utils@0.99.4
- @graphql-mesh/transport-rest@0.4.4
- @graphql-mesh/types@0.99.4
- @graphql-mesh/transport-common@0.4.4
0.102.4
Patch Changes
- Updated dependencies
[
5e5dec5,5e5dec5]:- @graphql-mesh/utils@0.99.3
- @graphql-mesh/transport-rest@0.4.3
- @graphql-mesh/types@0.99.3
- @graphql-mesh/transport-common@0.4.3
0.102.3
Patch Changes
0.102.2
Patch Changes
- #7352
4bc495cThanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^10.0.16↗︎ (from^10.0.14, independencies)
- Updated dependency
- Updated dependencies
[
b01f3ea,0bdc18d,4bc495c,4bc495c,4bc495c,345a814]:- @graphql-mesh/string-interpolation@0.5.5
- @graphql-mesh/transport-common@0.4.2
- @graphql-mesh/types@0.99.2
- @graphql-mesh/utils@0.99.2
- @graphql-mesh/transport-rest@0.4.2
0.102.1
Patch Changes
-
#7284
22e4dd0Thanks @renovate! - dependencies updates:- Updated dependency
ajv@8.17.1↗︎ (from8.16.0, independencies)
- Updated dependency
-
#7316
7800514Thanks @enisdenjo! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^10.0.14↗︎ (from^10.0.12, independencies)
- Updated dependency
-
Updated dependencies [
7800514,7800514,7800514]:- @graphql-mesh/transport-common@0.4.1
- @graphql-mesh/types@0.99.1
- @graphql-mesh/utils@0.99.1
- @graphql-mesh/transport-rest@0.4.1
0.102.0
Patch Changes
-
#6772
27e3cc9Thanks @ardatan! - dependencies updates:- Updated dependency
qs@6.12.3↗︎ (from6.12.2, independencies)
- Updated dependency
-
#7218
ededa2cThanks @EmrysMyrddin! - dependencies updates:- Updated dependency
qs@6.12.3↗︎ (from6.12.2, independencies)
- Updated dependency
-
#7240
3aa1583Thanks @renovate! - dependencies updates:- Updated dependency
qs@6.12.3↗︎ (from6.12.2, independencies)
- Updated dependency
-
#7198
bdefa6fThanks @ardatan! - Make@transportdirective repeatable so a merged schema can have multiple@transportdefinitions -
Updated dependencies [
69e6eb5,ededa2c,27e3cc9,ededa2c,3aa1583,a8e3f00,a8e3f00,69e6eb5,69e6eb5]:- @graphql-mesh/transport-common@0.4.0
- @graphql-mesh/transport-rest@0.4.0
- @graphql-mesh/utils@0.99.0
- @graphql-mesh/types@0.99.0
0.101.2
Patch Changes
- #7191
a387451Thanks @renovate! - dependencies updates:- Updated dependency
qs@6.12.2↗︎ (from6.12.1, independencies)
- Updated dependency
- Updated dependencies
[
a387451]:- @graphql-mesh/transport-rest@0.3.2
0.101.1
Patch Changes
- #7185
0d916a4Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^10.0.12↗︎ (from^10.0.11, independencies) - Updated dependency
@graphql-tools/utils@^10.2.3↗︎ (from^10.2.1, inpeerDependencies)
- Updated dependency
- Updated dependencies
[
0d916a4,0d916a4,0d916a4,0d916a4,0d916a4,8a04cf7]:- @graphql-mesh/cross-helpers@0.4.4
- @graphql-mesh/transport-common@0.3.1
- @graphql-mesh/transport-rest@0.3.1
- @graphql-mesh/types@0.98.10
- @graphql-mesh/utils@0.98.10
0.101.0
Minor Changes
-
#7145
7544594Thanks @ardatan! - POTENTIAL BREAKING CHANGE:Now
@httpOperationand@transportdirective serializes headers as[string, string][]instead of stringified JSON.@httpOperation( - operationSpecificHeaders: [["Authorization", "Bearer 123"], ["X-Api-Key", "123"]] + operationSpecificHeaders: "{\"Authorization\": \"Bearer 123\", \"X-Api-Key\": \"123\"}" )@transport( - headers: [["Authorization, "Bearer 123"], ["X-Api-Key", "123"]] + headers: "{\"Authorization, \"Bearer 123\", \"X-Api-Key\": \"123\"}" )Also incorrect placement of
@transporthas been fixed toSCHEMAdirective @transport on - FIELD_DEFINITION + SCHEMAThere is still backwards compatibility but this might look like a breaking change for some users during schema validation.
Patch Changes
-
#7145
7544594Thanks @ardatan! - dependencies updates:- Updated dependency
graphql-compose@^9.0.11↗︎ (from9.0.11, independencies)
- Updated dependency
-
#7145
7544594Thanks @Author, @User! - New Federation Composition Approach for the new Mesh v1 alpha; (If you are using Mesh v0 legacy, ignore this changelog)Now Mesh Compose produces a superset of Federated Supergraph.
- Drop any options and implementation related to the old
fusiongraph -
- The output is a valid supergraph that can be consumed by any Federation router. But if it is not Mesh Serve, the subgraph should still be served via Mesh Serve then consumed by that Federation router. If it is Mesh Serve, no additional server is needed because Mesh Serve already knows the additional directives etc of the transports
- Compose the subgraphs using
@theguild/federation-compositionpackage -
- So benefit from the validation rules of Federation in Mesh Compose
- Ability to consume existing federated subgraphs
-
- Since the composition is now Federation, we can accept any federated subgraph
- Implement Federation transform to transform any subgraph to a federated subgraph by adding
Federation directives (v2 only) . This is on user’s own because they add the directives
manually. And for
__resolveReference, we use@mergedirective to mark a root field as an entity resolver for Federation - Use additional
@sourcedirective to consume transforms on the subgraph execution (field renames etc) - Use additional
@resolveTodirective to consume additional stitched resolvers - Use additional
@transportdirective to choose and configure a specific transport for subgraphs - Handle unsupported additional directives with another set of additional directives on
Queryfor example directives on unions, schema definitions, enum values etc and then@extraUnionDirectiveadded with missing directives for unions then on the runtime these directives are added back to the union for the subgraph execution of the transports.
Basically Mesh Compose uses Federation spec for composition, validation and runtime BUT the output is a superset with these additional directives imported via
@composeDirective;@merge(Taken from Stitching Directives) If a custom entity resolver is defined for a root field like below, the gateway will pick it up as an entity resolver;
type Query { fooById(id: ID!): Foo @merge(keyField: 'id', keyArg: 'id', subgraph: Foo) }@resolveTo(Taken from v0) This allows to delegate to a field in any subgraph just like Schema Extensions in old Schema Stitching approach;
extend type Book { @resolveTo( sourceName: "authors" sourceTypeName: "Query" sourceFieldName: "authors" keyField: "authorId" keysArg: "ids" ) }@sourceTaken from Fusion This allows us to know how the original definition is in the subgraph. If this directive exists, the runtime applies the transforms from Schema Stitching during the subgraph execution. This directive can exist in arguments, fields, types etc.
type Query { @source(type: "MyUser") # This means `User` is actually `MyUser` in the actual subgraph } type User @source(name: "MyUser") { id: ID name: String }@transportTaken from Fusion This allows us to choose a specific transport (rest, mysql, graphql-ws, graphql-http etc) for the subgraph execution with some configuration. In the runtime, the gateway loads the transports and passes the subgraph schema with annotations if needed to get an executor to execute queries against that subgraph.
schema @transport(subgraph: "API", kind: "rest", location: "http://0.0.0.0:<api_port>") { query: Query mutation: Mutation subscription: Subscription }@extraSchemaDefinitionDirectiveBy default, it is not possible to add directives from subgraph to the supergraph but it is possible to do the same thing on types or fields. So we add this directive toQueryfor the directives we want to add to the schema. Then the runtime picks those persubgraphto put the directives back to their original places;
type Query @extraSchemaDefinitionDirective( directives: {transport: [{subgraph: "petstore", kind: "rest", location: "http://0.0.0.0:<petstore_port>/api/v3"}]} ) {@extraEnumValueDirectiveand@extraTypeDirectiveSame for enum values and unions etc that are not supported by the composition library
Thanks to these directives, subgraphs can be published individually to Hive for example then the supergraph stored there can be handled by Mesh Gateway since the composition is the same. All the additions etc are done on the subgraph level. For the Fed gateways except Mesh Serve, subgraphs can be served individually by Mesh Serve again while they are consumed by any gw like Apollo Router Shareable is enabled by default for non-federated subgraphs
Documentation PR has details for users; https://github.com/ardatan/graphql-mesh/pull/7109
- Drop any options and implementation related to the old
-
#7046
ac77ce9Thanks @ardatan! - New option for query string parametersjsonStringify;Now either under the operation or globally, you can set
jsonStringifytotrueto stringify nested query string parameters as JSON.operations: - type: Query field: books method: GET path: /books queryStringOptions: jsonStringify: true queryParamArgMap: page: page argTypeMap: page: type: object additionalProperties: false properties: limit: type: integer offset: type: integer responseSample: books: - title: 'Book 1' - title: 'Book 2'Then the URL will be
/books?page={"limit":10,"offset":0}, as you can seepageis stringified as JSON. -
Updated dependencies [
f985978,7544594,7544594,ac77ce9]:- @graphql-mesh/utils@0.98.9
- @graphql-mesh/transport-common@0.3.0
- @graphql-mesh/transport-rest@0.3.0
- @graphql-mesh/types@0.98.9
0.100.13
Patch Changes
- Updated dependencies
[
6a99c52]:- @graphql-mesh/transport-rest@0.2.9
0.100.12
Patch Changes
- Updated dependencies
[
88d6232,b5bf97c,88d6232,4c75671,88d6232,88d6232]:- @graphql-mesh/utils@0.98.8
- @graphql-mesh/transport-rest@0.2.8
- @graphql-mesh/types@0.98.8
- @graphql-mesh/transport-common@0.2.8
0.100.11
Patch Changes
- #7065
40d9235Thanks @renovate! - dependencies updates:- Updated dependency
ajv@8.16.0↗︎ (from8.15.0, independencies)
- Updated dependency
- Updated dependencies []:
- @graphql-mesh/types@0.98.7
- @graphql-mesh/utils@0.98.7
- @graphql-mesh/transport-common@0.2.7
- @graphql-mesh/transport-rest@0.2.7
0.100.10
Patch Changes
- #7057
882091bThanks @renovate! - dependencies updates:- Updated dependency
ajv@8.15.0↗︎ (from8.14.0, independencies)
- Updated dependency
0.100.9
Patch Changes
-
#7023
3288e30Thanks @renovate! - dependencies updates:- Updated dependency
ajv@8.14.0↗︎ (from8.13.0, independencies)
- Updated dependency
-
#7030
270679bThanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^10.0.11↗︎ (from^10.0.10, independencies) - Updated dependency
@graphql-tools/utils@^10.2.1↗︎ (from^10.2.0, inpeerDependencies)
- Updated dependency
-
Updated dependencies [
270679b,270679b,270679b,270679b,270679b]:- @graphql-mesh/cross-helpers@0.4.3
- @graphql-mesh/transport-common@0.2.6
- @graphql-mesh/transport-rest@0.2.6
- @graphql-mesh/types@0.98.6
- @graphql-mesh/utils@0.98.6
0.100.8
Patch Changes
- Updated dependencies
[
c4d2249]:- @graphql-mesh/utils@0.98.5
- @graphql-mesh/transport-rest@0.2.5
- @graphql-mesh/types@0.98.5
- @graphql-mesh/transport-common@0.2.5
0.100.7
Patch Changes
- #6966
5bfef52Thanks @renovate! - dependencies updates:- Updated dependency
graphql-compose@9.0.11↗︎ (from9.0.10, independencies)
- Updated dependency
0.100.6
Patch Changes
-
Updated dependencies [
fb59244]:- @graphql-mesh/transport-common@0.2.4
- @graphql-mesh/types@0.98.4
- @graphql-mesh/utils@0.98.4
- @graphql-mesh/transport-rest@0.2.4
0.100.5
Patch Changes
-
#6942
234d2f9Thanks @renovate! - dependencies updates:- Updated dependency
@json-schema-tools/meta-schema@1.7.5↗︎ (from1.7.4, independencies)
- Updated dependency
-
Updated dependencies [
234d2f9]:- json-machete@0.97.3
0.100.4
Patch Changes
-
Updated dependencies [
c47b2aa]:- @graphql-mesh/transport-common@0.2.3
- @graphql-mesh/types@0.98.3
- @graphql-mesh/utils@0.98.3
- @graphql-mesh/transport-rest@0.2.3
0.100.3
Patch Changes
- #6916
f6af4b0Thanks @renovate! - dependencies updates:- Updated dependency
ajv@8.13.0↗︎ (from8.12.0, independencies)
- Updated dependency
0.100.2
Patch Changes
-
Updated dependencies [
96dd11d]:- @graphql-mesh/transport-common@0.2.2
- @graphql-mesh/transport-rest@0.2.2
- @graphql-mesh/cross-helpers@0.4.2
- @graphql-mesh/types@0.98.2
- @graphql-mesh/utils@0.98.2
0.100.1
Patch Changes
- Updated dependencies
[
3d88cb8,6044b7f]:- @graphql-mesh/string-interpolation@0.5.4
- @graphql-mesh/types@0.98.1
- @graphql-mesh/utils@0.98.1
- @graphql-mesh/transport-rest@0.2.1
- @graphql-mesh/transport-common@0.2.1
0.100.0
Patch Changes
-
#6832
6521fa0Thanks @renovate! - dependencies updates:- Updated dependency
@json-schema-tools/meta-schema@1.7.4↗︎ (from1.7.0, independencies)
- Updated dependency
-
#6845
d793807Thanks @renovate! - dependencies updates:- Updated dependency
qs@6.12.1↗︎ (from6.12.0, independencies)
- Updated dependency
-
#6872
2fcadceThanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^10.0.6↗︎ (from^10.0.3, independencies)
- Updated dependency
-
Updated dependencies [
2fcadce,d793807,2fcadce,2fcadce,6399add,6521fa0,6399add,6399add]:- @graphql-mesh/transport-common@0.2.0
- @graphql-mesh/transport-rest@0.2.0
- @graphql-mesh/types@0.98.0
- @graphql-mesh/utils@0.98.0
- json-machete@0.97.2
0.99.6
Patch Changes
- Updated dependencies
[
52f74e7]:- @graphql-mesh/types@0.97.5
- @graphql-mesh/utils@0.97.5
- @graphql-mesh/transport-common@0.1.5
- @graphql-mesh/transport-rest@0.1.6
0.99.5
Patch Changes
- Updated dependencies
[
e2fb7ed,e2fb7ed,ff33394]:- @graphql-mesh/utils@0.97.4
- @graphql-mesh/types@0.97.4
- @graphql-mesh/transport-rest@0.1.5
- @graphql-mesh/transport-common@0.1.4
0.99.4
Patch Changes
- Updated dependencies
[
57f4a60]:- @graphql-mesh/types@0.97.3
- @graphql-mesh/utils@0.97.3
- @graphql-mesh/transport-common@0.1.3
- @graphql-mesh/transport-rest@0.1.4
0.99.3
Patch Changes
- Updated dependencies
[
7a712ab]:- @graphql-mesh/types@0.97.2
- @graphql-mesh/utils@0.97.2
- @graphql-mesh/transport-common@0.1.2
- @graphql-mesh/transport-rest@0.1.3
0.99.2
Patch Changes
- #6645
9667954Thanks @renovate! - dependencies updates:- Updated dependency
qs@6.12.0↗︎ (from6.11.2, independencies)
- Updated dependency
- Updated dependencies
[
9667954]:- @graphql-mesh/transport-rest@0.1.2
0.99.1
Patch Changes
- Updated dependencies
[
dbaf72c]:- @graphql-mesh/types@0.97.1
- @graphql-mesh/utils@0.97.1
- @graphql-mesh/transport-common@0.1.1
- @graphql-mesh/transport-rest@0.1.1
0.99.0
Patch Changes
- Updated dependencies
[
92dce67,70b05a2]:- @graphql-mesh/types@0.97.0
- @graphql-mesh/utils@0.97.0
- @graphql-mesh/transport-common@0.1.0
- @graphql-mesh/transport-rest@0.1.0
0.98.2
Patch Changes
- Updated dependencies
[
0f274ef]:- @graphql-mesh/utils@0.96.6
- @graphql-mesh/transport-rest@0.0.3
- @graphql-mesh/types@0.96.6
- @graphql-mesh/transport-common@0.0.3
0.98.1
Patch Changes
-
#6563
2138deaThanks @ardatan! - Handle nullable required fields as nullable in GraphQL -
Updated dependencies [
2138dea,4b3ea1d]:- @graphql-mesh/transport-rest@0.0.2
- @graphql-mesh/types@0.96.5
- @graphql-mesh/transport-common@0.0.2
- @graphql-mesh/utils@0.96.5
0.98.0
Minor Changes
- #6541
a7984e5Thanks @ardatan! - BREAKING: Now getComposerFromSchema, addExecutionDirectivesToComposer, getUnionTypeComposers and getContainerTC needs `subgraphName` argument
Patch Changes
- #6541
a7984e5Thanks @ardatan! - dependencies updates:- Added dependency
@graphql-mesh/transport-common@^0.0.0↗︎ (todependencies) - Added dependency
@graphql-mesh/transport-rest@^0.0.0↗︎ (todependencies) - Added dependency
@graphql-tools/delegate@^10.0.3↗︎ (todependencies) - Added dependency
graphql-fields@^2.0.3↗︎ (todependencies)
- Added dependency
- Updated dependencies
[
ae7b085,a7984e5]:- @graphql-mesh/types@0.96.4
- @graphql-mesh/transport-common@0.0.1
- @graphql-mesh/transport-rest@0.0.1
- @graphql-mesh/utils@0.96.4
0.97.4
Patch Changes
- Updated dependencies
[
ac26793]:- @graphql-mesh/types@0.96.3
- @graphql-mesh/utils@0.96.3
0.97.3
Patch Changes
- #6353
87501f4Thanks @Pagebakers! - getScalarForFormat will now fallback to default scalars of no scalar is returned
0.97.2
Patch Changes
0.97.1
Patch Changes
-
#6310
427ff87Thanks @ardatan! - Respectrequiredfields in allOf definitions -
#6309
c51549dThanks @ardatan! - Handle input unions in query parameters correctly -
#6311
e6c7fdeThanks @ardatan! - Allow to specify different scalars for formats -
#6313
a665bafThanks @ardatan! - Merge allOf properties by respecting specific type definitions -
Updated dependencies [
427ff87]:- json-machete@0.97.1
- @graphql-mesh/types@0.96.1
- @graphql-mesh/utils@0.96.1
0.97.0
Patch Changes
-
#6231
7909bcb8cThanks @Pagebakers! - Fixed issue where empty 200 response would throw an error -
Updated dependencies [
47a50aa6d]:- json-machete@0.97.0
0.96.0
Minor Changes
- #6222
5c6a8f784Thanks @ardatan! - BREAKING: Drop bundles, you can use the SDL output from the artifacts later as asourceof the handler
Patch Changes
- Updated dependencies
[
5c6a8f784]:- @graphql-mesh/types@0.96.0
- json-machete@0.96.0
- @graphql-mesh/utils@0.96.0
0.95.12
Patch Changes
- #6147
9b8ba5d47Thanks @renovate! - dependencies updates:- Updated dependency
dset@3.1.3↗︎ (from3.1.2, independencies)
- Updated dependency
- Updated dependencies
[
b4d38c55d]:- @graphql-mesh/string-interpolation@0.5.3
- @graphql-mesh/utils@0.95.8
- json-machete@0.95.8
- @graphql-mesh/types@0.95.8
0.95.11
Patch Changes
- #6124
7f467f522Thanks @ardatan! - Select the best matched union element if there are extra properties
0.95.10
Patch Changes
0.95.9
Patch Changes
- #6060
ae5e7c972Thanks @ardatan! - dependencies updates:- Updated dependency
graphql-scalars@^1.22.4↗︎ (from^1.22.2, independencies)
- Updated dependency
0.95.8
Patch Changes
-
a13969c77Thanks @ardatan! - Support `deprecated` in OpenAPI and JSON Schemas -
Updated dependencies [
a13969c77]:- @graphql-mesh/types@0.95.7
- json-machete@0.95.7
- @graphql-mesh/utils@0.95.7
0.95.7
Patch Changes
- Updated dependencies
[
8e1056cf9]:- @graphql-mesh/string-interpolation@0.5.2
- @graphql-mesh/utils@0.95.6
- json-machete@0.95.6
- @graphql-mesh/types@0.95.6
0.95.6
Patch Changes
- Updated dependencies
[
b8f16a42b,b8f16a42b]:- @graphql-mesh/cross-helpers@0.4.1
- @graphql-mesh/types@0.95.5
- json-machete@0.95.5
- @graphql-mesh/utils@0.95.5
0.95.5
Patch Changes
- Updated dependencies
[
625e5d787]:- @graphql-mesh/types@0.95.4
- json-machete@0.95.4
- @graphql-mesh/utils@0.95.4
0.95.4
Patch Changes
- Updated dependencies
[
33ae7a89a]:- @graphql-mesh/types@0.95.3
- @graphql-mesh/utils@0.95.3
- json-machete@0.95.3
0.95.3
Patch Changes
- #5643
94afd25a0Thanks @cweckesser! - Fix issue regarding allOf operator that prevents overlapping sub-properties of objects provided to the operator from being merged
0.95.2
Patch Changes
- Updated dependencies
[
d8da4b282]:- @graphql-mesh/types@0.95.2
- json-machete@0.95.2
- @graphql-mesh/utils@0.95.2
0.95.1
Patch Changes
- Updated dependencies
[
7cdc69e04]:- @graphql-mesh/types@0.95.1
- json-machete@0.95.1
- @graphql-mesh/utils@0.95.1
0.95.0
Patch Changes
- Updated dependencies
[
bb50c4f94]:- @graphql-mesh/types@0.95.0
- json-machete@0.95.0
- @graphql-mesh/utils@0.95.0
0.94.9
Patch Changes
-
#5736
513512887Thanks @ardatan! - Handle “0” in the enum values correctly -
Updated dependencies [
d1310cdff]:- @graphql-mesh/utils@0.94.6
- json-machete@0.94.6
- @graphql-mesh/types@0.94.6
0.94.8
Patch Changes
- Updated dependencies
[
f11e9b307]:- @graphql-mesh/utils@0.94.5
- json-machete@0.94.5
- @graphql-mesh/types@0.94.5
0.94.7
Patch Changes
- Updated dependencies
[
ff1678eea]:- @graphql-mesh/types@0.94.4
- json-machete@0.94.4
- @graphql-mesh/utils@0.94.4
0.94.6
Patch Changes
- Updated dependencies
[
fba66c6fc]:- @graphql-mesh/string-interpolation@0.5.1
- @graphql-mesh/utils@0.94.3
- json-machete@0.94.3
- @graphql-mesh/types@0.94.3
0.94.5
Patch Changes
- Updated dependencies
[
d0d4917f4]:- @graphql-mesh/types@0.94.2
- json-machete@0.94.2
- @graphql-mesh/utils@0.94.2
0.94.4
Patch Changes
- Updated dependencies []:
- @graphql-mesh/types@0.94.1
- json-machete@0.94.1
- @graphql-mesh/utils@0.94.1
0.94.3
Patch Changes
0.94.2
Patch Changes
0.94.1
Patch Changes
- #5517
1e9710693Thanks @devsergiy! - Fix plain string json encoding of enums
0.94.0
Minor Changes
Patch Changes
-
#5446
e881ea609Thanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@^9.2.1 || ^10.0.0↗︎ (from^9.2.1, inpeerDependencies)
- Updated dependency
-
#5450
bc438f835Thanks @renovate! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.9.0↗︎ (from^0.8.3, independencies)
- Updated dependency
-
#5503
3039224b2Thanks @ardatan! - Handle inheritance gracefully -
Updated dependencies [
e881ea609,3d9218360,e881ea609,4296a55f4,e881ea609,e881ea609,bc438f835,01fb0cc85,ef520d91e,ba449bcae,3039224b2]:- @graphql-mesh/cross-helpers@0.4.0
- @graphql-mesh/string-interpolation@0.5.0
- @graphql-mesh/types@0.94.0
- @graphql-mesh/utils@0.94.0
- json-machete@0.94.0
0.93.2
Patch Changes
-
#5416
272c3f9b4Thanks @renovate! - dependencies updates:- Updated dependency
qs@6.11.2↗︎ (from6.11.1, independencies)
- Updated dependency
-
#5441
5a6b66034Thanks @devsergiy! - Fix handling reserved operations names (Query,Mutation) used as names of components Allow to usesimplestyle of query params -
#5415
0db5f9127Thanks @devsergiy! - Handle non object type resolution correctly in union types
0.93.1
Patch Changes
- #5365
1dd9a6940Thanks @ardatan! - dependencies updates:- Updated dependency
json-machete@0.93.0↗︎ (from1.0.0, independencies) - Updated dependency
@graphql-mesh/types@^0.93.0↗︎ (from^1.0.0, inpeerDependencies) - Updated dependency
@graphql-mesh/utils@^0.93.0↗︎ (from^1.0.0, inpeerDependencies)
- Updated dependency
- Updated dependencies
[
1dd9a6940,1dd9a6940,1dd9a6940]:- @graphql-mesh/types@0.93.1
- @graphql-mesh/utils@0.93.1
- json-machete@0.93.1
1.0.0
Patch Changes
- Updated dependencies
[
cff645677,cff645677,72fe781c1,a597261db]:- @graphql-mesh/types@1.0.0
- @graphql-mesh/utils@1.0.0
- json-machete@1.0.0
0.39.0
Minor Changes
Patch Changes
-
Updated dependencies [
870de5dae,aea134764,a1e08193b,abc0c8747,6aa7da6f8]:- @graphql-mesh/types@0.91.13
- @graphql-mesh/string-interpolation@0.4.4
- @graphql-mesh/utils@0.43.21
0.38.24
Patch Changes
-
#5252
c90eb5ac6Thanks @ardatan! - Make shared packages peer dependency -
Updated dependencies [
c90eb5ac6]:- @graphql-mesh/string-interpolation@0.4.3
- @graphql-mesh/cross-helpers@0.3.4
- json-machete@0.18.20
- @graphql-mesh/types@0.91.12
- @graphql-mesh/utils@0.43.20
0.38.23
Patch Changes
- #5192
7e7096695Thanks @renovate! - dependencies updates:- Updated dependency
qs@6.11.1↗︎ (from6.11.0, independencies)
- Updated dependency
- Updated dependencies
[
7e7096695]:- @graphql-mesh/types@0.91.11
- json-machete@0.18.19
- @graphql-mesh/utils@0.43.19
0.38.22
Patch Changes
- #5239
3f658a771Thanks @ardatan! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.8.3↗︎ (from^0.8.0, independencies)
- Updated dependency
- Updated dependencies
[
3f658a771,3f658a771]:- @graphql-mesh/utils@0.43.18
- json-machete@0.18.18
- @graphql-mesh/types@0.91.10
0.38.21
Patch Changes
- Updated dependencies
[
a272fdbca]:- @graphql-mesh/types@0.91.9
- json-machete@0.18.17
- @graphql-mesh/utils@0.43.17
0.38.20
Patch Changes
- Updated dependencies []:
- @graphql-mesh/types@0.91.8
- json-machete@0.18.16
- @graphql-mesh/utils@0.43.16
0.38.19
Patch Changes
- #5215
30d4c7cacThanks @ardatan! - dependencies updates:- Updated dependency
graphql-scalars@^1.20.4↗︎ (from1.20.1, independencies)
- Updated dependency
0.38.18
Patch Changes
- #5205
accc99a6eThanks @vsricodes! - changed lodash with dset
0.38.17
Patch Changes
- Updated dependencies
[
fa2c010c1]:- @graphql-mesh/utils@0.43.15
- json-machete@0.18.15
- @graphql-mesh/types@0.91.7
0.38.16
Patch Changes
- Updated dependencies
[
0b438c329,0b438c329]:- @graphql-mesh/types@0.91.6
- @graphql-mesh/utils@0.43.14
- json-machete@0.18.14
0.38.15
Patch Changes
- Updated dependencies
[
5c19f8d6f]:- @graphql-mesh/types@0.91.5
- json-machete@0.18.13
- @graphql-mesh/utils@0.43.13
0.38.14
Patch Changes
- Updated dependencies
[
63ab17f0b]:- @graphql-mesh/types@0.91.4
- json-machete@0.18.12
- @graphql-mesh/utils@0.43.12
0.38.13
Patch Changes
- Updated dependencies
[
bb58a5d9e]:- json-machete@0.18.11
0.38.12
Patch Changes
- Updated dependencies
[
8c9c39cf5,8c9c39cf5]:- @graphql-mesh/types@0.91.3
- @graphql-mesh/utils@0.43.11
- json-machete@0.18.10
0.38.11
Patch Changes
- Updated dependencies
[
975715275,989a47802]:- @graphql-mesh/cross-helpers@0.3.3
- json-machete@0.18.9
- @graphql-mesh/types@0.91.2
- @graphql-mesh/utils@0.43.10
0.38.10
Patch Changes
- Updated dependencies
[
d694ccc1f]:- @graphql-mesh/utils@0.43.9
- json-machete@0.18.8
- @graphql-mesh/types@0.91.1
0.38.9
Patch Changes
-
#5091
89bb72165Thanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@9.2.1↗︎ (from9.1.4, independencies) - Updated dependency
@whatwg-node/fetch@^0.8.0↗︎ (from^0.6.0, independencies)
- Updated dependency
-
e246b4d63Thanks @ardatan! - Handleitems: nullanddefaultvalues as a JSON string -
Updated dependencies [
89bb72165,89bb72165,89bb72165,e246b4d63,89bb72165,7e8bb87dd]:- @graphql-mesh/cross-helpers@0.3.2
- @graphql-mesh/types@0.91.0
- @graphql-mesh/utils@0.43.8
- json-machete@0.18.7
0.38.8
Patch Changes
- Updated dependencies
[
2005d2b28,2005d2b28,bcf29dfd0]:- @graphql-mesh/types@0.90.0
- @graphql-mesh/utils@0.43.7
- json-machete@0.18.6
0.38.7
Patch Changes
- Updated dependencies
[
ed5843d8a,ed5843d8a]:- @graphql-mesh/types@0.89.5
- @graphql-mesh/utils@0.43.6
- json-machete@0.18.5
0.38.6
Patch Changes
-
#4988
ad938f485Thanks @renovate! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.6.0↗︎ (from^0.5.0, independencies)
- Updated dependency
-
#4991
bb5abc15dThanks @renovate! - dependencies updates:- Updated dependency
ajv@8.12.0↗︎ (from8.11.2, independencies)
- Updated dependency
-
#5028
994813331Thanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@9.1.4↗︎ (from9.1.3, independencies)
- Updated dependency
-
#4930
c015b02a1Thanks @gilgardosh! - Prettier fixes -
Updated dependencies [
994813331,994813331,994813331,c015b02a1,fb9113d5b,ad938f485,994813331,1a3642884,debb1c80e,d573d203f]:- @graphql-mesh/cross-helpers@0.3.1
- @graphql-mesh/types@0.89.4
- @graphql-mesh/utils@0.43.5
- @graphql-mesh/string-interpolation@0.4.2
- json-machete@0.18.4
0.38.5
Patch Changes
- Updated dependencies
[
99f4c84e6,99f4c84e6]:- @graphql-mesh/types@0.89.3
- @graphql-mesh/utils@0.43.4
- json-machete@0.18.3
0.38.4
Patch Changes
0.38.3
Patch Changes
-
Updated dependencies [
deb9912e0]:- @graphql-mesh/string-interpolation@0.4.1
- @graphql-mesh/types@0.89.2
- @graphql-mesh/utils@0.43.3
- json-machete@0.18.2
0.38.2
Patch Changes
- Updated dependencies
[
f1c2e20e5,f1c2e20e5]:- @graphql-mesh/types@0.89.1
- @graphql-mesh/utils@0.43.2
- json-machete@0.18.1
0.38.1
Patch Changes
0.38.0
Minor Changes
- #4767
3edaa00acThanks @ardatan! - BREAKING - Neo4J handler’surlchanged toendpointto be consistent with other handlers BREAKING - Neo4J handler’stypeDefschanged tosourceto be consistent with other handlers BREAKING - OData handler’surlchanged toendpointto be consistent with other handlers BREAKING - OData handler’smetadatachanged tosourceto be consistent with other handlers BREAKING - OpenAPI handler’sbaseUrlchanged toendpointto be consistent with other handlers BREAKING - RAML handler’sbaseUrlchanged toendpointto be consistent with other handlers BREAKING - RAML handler’sramlFilePathchanged tosourceto be consistent with other handlers
Patch Changes
- Updated dependencies
[
3edaa00ac]:- json-machete@0.18.0
- @graphql-mesh/types@0.89.0
- @graphql-mesh/utils@0.43.1
0.37.0
Minor Changes
Patch Changes
- #4901
500a4504cThanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@9.1.3↗︎ (from9.1.1, independencies)
- Updated dependency
- Updated dependencies
[
500a4504c,5ed3435b8,500a4504c,500a4504c,1a28c92c2,500a4504c]:- @graphql-mesh/cross-helpers@0.3.0
- @graphql-mesh/string-interpolation@0.4.0
- @graphql-mesh/types@0.88.0
- @graphql-mesh/utils@0.43.0
- json-machete@0.17.0
0.36.11
Patch Changes
-
#4866
979e8dcc6Thanks @ardatan! - TypeadditionalPropertiescorrectly -
Updated dependencies [
eba73c626]:- @graphql-mesh/utils@0.42.9
- json-machete@0.16.5
- @graphql-mesh/types@0.87.1
0.36.10
Patch Changes
- Updated dependencies
[
0d9771428,686b3301b]:- @graphql-mesh/types@0.87.0
- json-machete@0.16.4
- @graphql-mesh/utils@0.42.8
0.36.9
Patch Changes
- #4833
b390ecd1dThanks @gilgardosh! - Prioritize type:array check over enum
0.36.8
Patch Changes
-
#4825
3d8f23adbThanks @ardatan! - Fixes on handling plural anyOf types -
Updated dependencies [
3d8f23adb]:- json-machete@0.16.3
0.36.7
Patch Changes
-
#4790
8c7d96cffThanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@9.1.0↗︎ (from9.0.1, independencies)
- Updated dependency
-
#4806
990f649efThanks @renovate! - dependencies updates:- Updated dependency
graphql-scalars@1.20.1↗︎ (from1.20.0, independencies)
- Updated dependency
-
#4809
db95881b5Thanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@9.1.1↗︎ (from9.1.0, independencies) - Updated dependency
ajv@8.11.2↗︎ (from8.11.0, independencies)
- Updated dependency
-
#4792
d63bd93e0Thanks @ardatan! - Add suffix to the existing “Subscription” types to avoid conflicts -
#4781
6084e4153Thanks @dr3! - Use JSON scalar for the object types without any explicit fields -
Updated dependencies [
8c7d96cff,db95881b5,8c7d96cff,990f649ef,db95881b5,8c7d96cff,990f649ef,db95881b5,76deb32d1,baa4fbf82,8c7d96cff,db95881b5,d63bd93e0,cf9c6d5e0]:- @graphql-mesh/cross-helpers@0.2.10
- @graphql-mesh/types@0.86.0
- @graphql-mesh/utils@0.42.7
- json-machete@0.16.2
0.36.6
Patch Changes
- #4775
a764fe0d3Thanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@9.0.1↗︎ (from8.13.1, independencies)
- Updated dependency
- Updated dependencies
[
a764fe0d3,d9c5c1195,a764fe0d3,85e5071d0,d9c5c1195,a764fe0d3,85e5071d0,a764fe0d3,c55e68381]:- @graphql-mesh/cross-helpers@0.2.9
- @graphql-mesh/types@0.85.7
- @graphql-mesh/utils@0.42.6
- json-machete@0.16.1
0.36.5
Patch Changes
- #4765
f26714af8Thanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@8.13.1↗︎ (from8.13.0, independencies)
- Updated dependency
- Updated dependencies
[
f26714af8,f26714af8,f26714af8,f26714af8,ee19b91c1]:- @graphql-mesh/cross-helpers@0.2.8
- @graphql-mesh/types@0.85.6
- @graphql-mesh/utils@0.42.5
- json-machete@0.16.0
0.36.4
Patch Changes
- Updated dependencies
[
d5f2d950e]:- json-machete@0.15.14
- @graphql-mesh/utils@0.42.4
- @graphql-mesh/types@0.85.5
0.36.3
Patch Changes
- #4745
bfedc23d9Thanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@8.13.0↗︎ (from8.12.0, independencies)
- Updated dependency
- Updated dependencies
[
bfedc23d9,bfedc23d9,bfedc23d9,bfedc23d9]:- @graphql-mesh/cross-helpers@0.2.7
- @graphql-mesh/types@0.85.4
- @graphql-mesh/utils@0.42.3
- json-machete@0.15.13
0.36.2
Patch Changes
-
#4732
704a0bd6eThanks @gilgardosh! - dependencies updates:- Updated dependency
json-machete@0.15.11↗︎ (from0.15.10, independencies) - Updated dependency
@graphql-mesh/types@0.85.2↗︎ (from0.85.1, independencies) - Updated dependency
@graphql-mesh/string-interpolation@0.3.3↗︎ (from0.3.2, independencies) - Updated dependency
@graphql-mesh/utils@0.42.1↗︎ (from0.42.0, independencies)
- Updated dependency
-
#4743
7245981d7Thanks @renovate! - dependencies updates:- Updated dependency
graphql-compose@9.0.10↗︎ (from9.0.9, independencies)
- Updated dependency
-
Updated dependencies [
704a0bd6e,704a0bd6e,704a0bd6e]:- @graphql-mesh/types@0.85.3
- @graphql-mesh/utils@0.42.2
- json-machete@0.15.12
0.36.1
Patch Changes
- #4728
c72d904dcThanks @renovate! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.5.0↗︎ (from^0.4.6, independencies) - Updated dependency
graphql-scalars@1.20.0↗︎ (from1.19.0, independencies)
- Updated dependency
- Updated dependencies
[
5c87cfc60,09c286994,c72d904dc]:- @graphql-mesh/string-interpolation@0.3.3
- @graphql-mesh/types@0.85.2
- json-machete@0.15.11
- @graphql-mesh/utils@0.42.1
0.36.0
Minor Changes
Patch Changes
- Updated dependencies
[
398af2bf6,1d61fbcec]:- @graphql-mesh/types@0.85.1
- @graphql-mesh/utils@0.42.0
- json-machete@0.15.10
0.35.10
Patch Changes
-
#4660
9d3b3cdf1Thanks @renovate! - dependencies updates:- Updated dependency
graphql-scalars@1.19.0↗︎ (from1.18.0, independencies)
- Updated dependency
-
#4678
56f852b39Thanks @mhassan1! - fix(json-schema): restore support forexplode: truewith strings
0.35.9
Patch Changes
- Updated dependencies
[
6fb57d3ba,814f2d516]:- @graphql-mesh/types@0.85.0
- json-machete@0.15.9
- @graphql-mesh/utils@0.41.22
0.35.8
Patch Changes
- Updated dependencies
[
637e9e9d8]:- @graphql-mesh/types@0.84.10
- json-machete@0.15.8
- @graphql-mesh/utils@0.41.21
0.35.7
Patch Changes
- #4633
48171a006Thanks @renovate! - dependencies updates:- Updated dependency
@json-schema-tools/meta-schema@1.7.0↗︎ (from1.6.19, independencies)
- Updated dependency
- Updated dependencies
[
48171a006,dd831a7d1]:- json-machete@0.15.7
- @graphql-mesh/types@0.84.9
- @graphql-mesh/utils@0.41.20
0.35.6
Patch Changes
- Updated dependencies
[
5b44abcd2]:- @graphql-mesh/utils@0.41.19
- json-machete@0.15.6
- @graphql-mesh/types@0.84.8
0.35.5
Patch Changes
- Updated dependencies
[
ffb301435,ffb301435]:- @graphql-mesh/types@0.84.7
- @graphql-mesh/utils@0.41.18
- json-machete@0.15.5
0.35.4
Patch Changes
- Updated dependencies
[
31a64714a,31a64714a]:- @graphql-mesh/types@0.84.6
- @graphql-mesh/utils@0.41.17
- json-machete@0.15.4
0.35.3
Patch Changes
- Updated dependencies
[
88ab8f9ae]:- @graphql-mesh/utils@0.41.16
- json-machete@0.15.3
- @graphql-mesh/types@0.84.5
0.35.2
Patch Changes
- Updated dependencies
[
186e37bcd]:- @graphql-mesh/utils@0.41.15
- json-machete@0.15.2
- @graphql-mesh/types@0.84.4
0.35.1
Patch Changes
-
#4560
d08ed0e77Thanks @ardatan! - Support non-native File or Blob instances -
Updated dependencies [
93f4ed55d]:- @graphql-mesh/utils@0.41.14
- json-machete@0.15.1
- @graphql-mesh/types@0.84.3
0.35.0
Minor Changes
-
#4556
10f469e10Thanks @ardatan! - If a component(response, requestBody, header or parameter) defined in OpenAPI schema, and its schema doesn’t have a title, use the component object’s title for that schemacomponents: parameters: Foo: title: Foo in: query schema: # OAS Loader adds the following title # title: Foo_parameter type: string enum: - a - b
Patch Changes
-
#4556
10f469e10Thanks @ardatan! - Fix a bug that causes URLs being ignored while serializing as query parameters -
#4556
10f469e10Thanks @ardatan! - Forconstdefinitions, force{value}_constpattern for the generated titles instead of path based names -
Updated dependencies [
10f469e10,10f469e10]:- json-machete@0.15.0
0.34.4
Patch Changes
- Updated dependencies
[
ff251e4c7]:- @graphql-mesh/types@0.84.2
- json-machete@0.14.14
- @graphql-mesh/utils@0.41.13
0.34.3
Patch Changes
- Updated dependencies []:
- @graphql-mesh/types@0.84.1
- json-machete@0.14.13
- @graphql-mesh/utils@0.41.12
0.34.2
Patch Changes
- #4506
3cdb71eb7Thanks @ardatan! - Process global operationHeaders and operation specific headers seperately one after another
0.34.1
Patch Changes
- Updated dependencies
[
077e65c18,ee1cb6f76]:- @graphql-mesh/types@0.84.0
- json-machete@0.14.12
- @graphql-mesh/utils@0.41.11
0.34.0
Minor Changes
- #4484
80013a3cdThanks @ardatan! - If a union type has a single element, do not create that union type but use the element directly
Patch Changes
- Updated dependencies []:
- @graphql-mesh/types@0.83.5
- json-machete@0.14.11
- @graphql-mesh/utils@0.41.10
0.33.7
Patch Changes
-
#4439
78599180dThanks @gilgardosh! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.4.0↗︎ (from^0.3.0, independencies) - Updated dependency
json-machete@0.14.9↗︎ (from0.14.3, independencies) - Updated dependency
@graphql-mesh/types@0.83.3↗︎ (from0.82.1, independencies) - Updated dependency
@graphql-mesh/utils@0.41.8↗︎ (from0.41.2, independencies) - Updated dependency
@graphql-tools/utils@8.12.0↗︎ (from8.10.1, independencies) - Updated dependency
graphql-compose@9.0.9↗︎ (from9.0.8, independencies) - Updated dependency
@graphql-mesh/cross-helpers@0.2.5↗︎ (from0.2.3, independencies)
- Updated dependency
-
317f6b454Thanks @ardatan! - Bump fetch and server packages and avoid using Response.redirect which needs a full path but instead Response with Location header works better -
Updated dependencies [
78599180d,78599180d,78599180d,78599180d,317f6b454]:- @graphql-mesh/cross-helpers@0.2.6
- @graphql-mesh/types@0.83.4
- @graphql-mesh/utils@0.41.9
- json-machete@0.14.10
0.33.6
Patch Changes
-
#4466
6f52af1c2Thanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@8.12.0↗︎ (from8.11.0, independencies)
- Updated dependency
-
Updated dependencies [
6f52af1c2,6f52af1c2,6f52af1c2,6f52af1c2]:- @graphql-mesh/cross-helpers@0.2.5
- @graphql-mesh/types@0.83.3
- @graphql-mesh/utils@0.41.8
- json-machete@0.14.9
0.33.5
Patch Changes
- Updated dependencies
[
d84f81d94]:- @graphql-mesh/utils@0.41.7
- json-machete@0.14.8
- @graphql-mesh/types@0.83.2
0.33.4
Patch Changes
-
#4453
2a3753b5aThanks @renovate! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.4.0↗︎ (from^0.3.0, independencies)
- Updated dependency
-
Updated dependencies [
2a3753b5a,2a3753b5a]:- @graphql-mesh/utils@0.41.6
- json-machete@0.14.7
- @graphql-mesh/types@0.83.1
0.33.3
Patch Changes
- Updated dependencies
[
a56ebcec5,24afabece,44b868196]:- @graphql-mesh/types@0.83.0
- json-machete@0.14.6
- @graphql-mesh/utils@0.41.5
0.33.2
Patch Changes
-
#4443
9dac0d835Thanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@8.11.0↗︎ (from8.10.1, independencies)
- Updated dependency
-
Updated dependencies [
9dac0d835,9dac0d835,9dac0d835,9dac0d835]:- @graphql-mesh/cross-helpers@0.2.4
- @graphql-mesh/types@0.82.3
- @graphql-mesh/utils@0.41.4
- json-machete@0.14.5
0.33.1
Patch Changes
-
#4440
b9bb80094Thanks @ardatan! - dependencies updates:- Updated dependency
graphql-compose@9.0.9↗︎ (from9.0.8, independencies)
- Updated dependency
-
#4440
b9bb80094Thanks @ardatan! - Bump graphql-compose to fix incompatibility issues with non Node.js environments -
Updated dependencies [
b9bb80094]:- @graphql-mesh/types@0.82.2
- json-machete@0.14.4
- @graphql-mesh/utils@0.41.3
0.33.0
Minor Changes
-
#4426
3571324cdThanks @ardatan! - Use more accurate scalar types if minimum and maximum exist for number types (NonNegativeFloat,NonPositiveFloat,NegativeFloat,PositiveFloat,NonNegativeInt,NonPositiveInt,NegativeInt,PositiveInt).Also use
Byteforformat: byteNow
constgenerates an enum instead of a scalar type with a better name.
Patch Changes
-
#4426
3571324cdThanks @ardatan! - Respect original type for GraphQL Codegen TS definitions while generating a scalar type based on a RegExp pattern -
Updated dependencies [
3571324cd]:- json-machete@0.14.3
0.32.2
Patch Changes
-
e1891993cThanks @ardatan! - Respect descriptions for binary/file fields and number fields with minimum and maximum -
Updated dependencies [
3165827f7,e1891993c]:- @graphql-mesh/types@0.82.1
- json-machete@0.14.2
- @graphql-mesh/utils@0.41.2
0.32.1
Patch Changes
- Updated dependencies
[
7e9482723,ca7994fad,ca7994fad]:- json-machete@0.14.1
- @graphql-mesh/types@0.82.0
- @graphql-mesh/utils@0.41.1
0.32.0
Minor Changes
-
#4378
5742f4598Thanks @ardatan! - If an object type has a discriminator, it becomes an interface type and any other allOf references with that implements that interface -
#4369
06904b29dThanks @gilgardosh! - Support non-string link parameters -
#4369
06904b29dThanks @gilgardosh! - If you pass a function to operationHeaders, it takes the operation config as second parameter including path, method and other details about the request -
#4376
3473a2686Thanks @ardatan! - Support links on non-object fields -
#4396
df37c40f4Thanks @ardatan! - Drop webhook plugin and automatically handle webhooks. See the documentation for more information -
#4369
06904b29dThanks @gilgardosh! - Introduce “destructObject” in query stringify options to spread the parameter content into the query parameters in order to support OAS explode: true behavior with query parameters that are objects -
#4375
0b3517539Thanks @ardatan! -multipart/form-dataand File Uploads support (type: string,format: binary)If there is
type: stringandformat: binarydefinitions in a schema type definition, it is considered asFilescalar type and resolved as WHATWGFileobject. When the request content-type ismultipart/form-data, the handler creates a WHATWGFormDataobject and puts the input arguments in it. -
#4379
7f0d02686Thanks @ardatan! - Support readOnly and writeOnly. Now the fields flagged as writeOnly are not included in object types while writeOnly ones are not included in the input types, too.
Patch Changes
-
#4380
e69462cacThanks @gilgardosh! - dependencies updates:- Updated dependency
@graphql-tools/utils@8.10.1↗︎ (from8.10.0, independencies)
- Updated dependency
-
#4389
12ae4469aThanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@8.10.1↗︎ (from8.10.0, independencies)
- Updated dependency
-
#4405
30bac0246Thanks @ardatan! - Handle multiple content types correctly -
#4405
30bac0246Thanks @ardatan! - Skip creating a scalar type if the given pattern is invalid -
Updated dependencies [
e69462cac,12ae4469a,e69462cac,12ae4469a,15f315959,e69462cac,12ae4469a,5742f4598,06904b29d,06904b29d,3473a2686,df37c40f4,30bac0246,30bac0246,e69462cac,12ae4469a,30bac0246,06904b29d,d87907736,0b3517539,7a4023a2c,7f0d02686,15f315959]:- @graphql-mesh/cross-helpers@0.2.3
- @graphql-mesh/types@0.81.0
- @graphql-mesh/utils@0.41.0
- json-machete@0.14.0
0.31.0
Minor Changes
- #4364
32b3a63c2Thanks @ardatan! - - Respectexplode: trueorexplode: falsein query parameter definitions in OAS- Introduce a new
queryStringOptionsByParamoption to definequeryStringOptionsfor each query parameter
- Introduce a new
0.30.0
Minor Changes
-
#4356
b5c59ffceThanks @ardatan! - ## Improvements on outgoing HTTP calls- Now Mesh’s default fetch implementation deduplicates the same GET JSON requests in the same execution context
- You should pass
Accept: application/jsonto make this work. - JSON Schema, new OpenAPI and RAML handlers now take GraphQL context as 3rd parameter. If you use
customFetch, you can use that value to access Mesh internals such as the incomingRequestobject.
HTTP Details in extensions for tracking HTTP calls
You can add
includeHttpDetailsInExtensions: trueto your configuration file to get more information about HTTP calls done by Mesh during the execution inextensionsfield of the response.
Patch Changes
- Updated dependencies
[
b5c59ffce,be79b20a5,b5c59ffce]:- @graphql-mesh/utils@0.40.0
- json-machete@0.13.2
- @graphql-mesh/types@0.80.2
0.29.2
Patch Changes
0.29.1
Patch Changes
- Updated dependencies
[
f23e14eba]:- @graphql-mesh/utils@0.39.0
- json-machete@0.13.1
- @graphql-mesh/types@0.80.1
0.29.0
Minor Changes
- #4342
ca6d6206bThanks @gilgardosh! - ## Some improvements on OAS handling- If there are no parameters defined in OAS links, the handler exposes the arguments of the original operation.
- If the name of the link definition is not valid for GraphQL, the handler sanitizes it.
- #4327
f882aca38Thanks @gilgardosh! - ## BREAKING CHANGES- Named types are no longer deduplicated automatically, so this might introduce new types on your side. Also the types with unknown content are always reflected as “JSON”/“Any” scalar type
noDeduplicateoption has been dropped, because it is no longer needed.
Patch Changes
- #4348
de7081cdbThanks @renovate! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.3.0↗︎ (from^0.2.7, independencies)
- Updated dependency
-
#4343
ab89f98cfThanks @gilgardosh! - Add _ prefix if the type is Subscription to avoid conflict with the root “Subscription” type -
Updated dependencies [
de7081cdb,ca6d6206b,f882aca38]:- json-machete@0.13.0
- @graphql-mesh/types@0.80.0
- @graphql-mesh/utils@0.38.1
0.28.0
Minor Changes
- #4322
738335788Thanks @ardatan! - POSSIBLE BREAKING CHANGE: Previously if the parameter name was not valid for GraphQL and sanitized likeproduct-tagtoproduct_tag, it was ignored. Now it has been fixed but this change might be a breaking change for you if the actual parameter schema isintegerwhile it is represented asstringtoday. This also fixes an issue with ignored default values.
0.27.0
Minor Changes
-
#4235
b162269f7Thanks @gilgardosh! - - Support “$request.query” and “$request.path” usages in OpenAPI runtime expressions- Fix
Field not founderror when an OpenAPI link refers to an operation which is notMutation - Do not use AJV and check field names in the received object to resolve the type name for a union field
- Fix
queryParamswhich allows you to pass query parameters for all operations - Handle cookie paramters correctly defined in the OpenAPI document by trimming empty values
- Respect the mime types defined in the OpenAPI document. Now it creates a union for each mime type defined in the document, and resolve it by the mime type.
- Respect JSON examples given in the OpenAPI document correctly even if they are strings with JSON content.
- Normalize(lowercase header names) and merge final operation headers correctly from different
places
operationHeadersfrom the bundle and configuration plusheadersdefined for that specific operation. - Do not ignore operationHeaders defined in the configuration even if there are some already defined in the bundle
BREAKING CHANGES:
-
If a JSON Schema type cannot be represented in GraphQL (object without properties etc.), it will no longer use
Anytype butJSONtype instead which is a scalar fromgraphql-scalars. -
Due to the improvements in
healJSONSchemasome of types that are not named in the JSON Schema might be named in a different way. Please make sure the content of the types are correct and report us on GitHub if they are represented incorrectly. -
UUID format is now represented as
UUIDscalar type which is a scalar fromgraphql-scalars. -
HTTP Errors are now in a more descriptive way. If your consumer respects them strictly, they will probably need to update their implementation.
{ "url": "http://www.google.com/api", "method": "GET", - "status": 401, + "statusCode": 401, + "statusText": "Unauthorized", - "responseJson": {} + "responseBody": {} }requestSchemaandrequestSampleare no longer used for query parameters in GET operations, but instead we introduced newargTypeMapandqueryParamArgMapto define schemas for query parameters.
For JSON Schema Handler configuration, the following changes are NEEDED;
- requestSample: { some_flag: true } + queryParamArgMap: + some_flag: some_flag + argTypeMap: + some_flag: + type: booleanor just use the string interpolation;
path: /mypath?some_flag={args.some_flag}- Query parameters no longer uses
input, and they become an argument of that operation directly.
In the generated GraphQL Schema;
- someOp(input: SomeInput): OpResult - input SomeInput { - some_flag: Boolean - } + someOp(some_flag: Boolean): OpResultargTypeMapno longer takes GraphQL type names but instead it can take JSON Schema pointer or JSON Schema definition itself. NewargTypeMapcan configure any argument even if it is defined in the headers.
argTypeMap: - some_flag: Boolean + some_flag: + type: boolean - Fix
Patch Changes
- Updated dependencies
[
b162269f7,2ad667d96]:- @graphql-mesh/types@0.79.0
- @graphql-mesh/utils@0.38.0
- json-machete@0.12.0
- @graphql-mesh/string-interpolation@0.3.2
0.26.2
Patch Changes
-
#4275
a2e59dfddThanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@8.10.0↗︎ (was8.9.1, independencies) - Updated dependency
graphql-scalars@1.18.0↗︎ (was1.17.0, independencies)
- Updated dependency
-
Updated dependencies [
a2e59dfdd,991373717,a2e59dfdd,991373717,a2e59dfdd,991373717,a2e59dfdd]:- @graphql-mesh/cross-helpers@0.2.2
- @graphql-mesh/string-interpolation@0.3.1
- @graphql-mesh/types@0.78.8
- @graphql-mesh/utils@0.37.9
- json-machete@0.11.2
0.26.1
Patch Changes
-
#4263
db10974eaThanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@8.9.1↗︎ (was8.9.0, independencies)
- Updated dependency
-
Updated dependencies [
db10974ea,db10974ea,db10974ea,db10974ea,db10974ea]:- @graphql-mesh/cross-helpers@0.2.1
- @graphql-mesh/types@0.78.7
- @graphql-mesh/utils@0.37.8
- json-machete@0.11.1
0.26.0
Minor Changes
-
#4247
31fc25974Thanks @ardatan! - Accept a code file foroperationHeadersNow you can generate headers dynamically from the resolver data dynamically like below;
operationHeaders: ./myOperationHeaders.tsAnd in
myOperationHeaders.tsexport default function myOperationHeaders({ context }: ResolverData) { const someToken = context.request.headers.get('some-token') const anotherToken = await someLogicThatReturnsAnotherToken(someToken) return { 'x-bar-token': anotherToken } }
Patch Changes
- #4262
be784e653Thanks @ardatan! - Refactor runtime expression handling in OpenAPI & JSON Schema handlers
0.25.0
Minor Changes
-
#4241
669abf58fThanks @ardatan! - ## New debug logging forhealJSONSchemaJSON Schema loader tries to fix your JSON Schema while creating a final bundle for Mesh. Usually it works and it has a chance to have a different result rather than you expect. In the long term, if you don’t fix your JSON Schema, you might get different results once the internals ofhealJSONSchemais changed.In order to see which parts of your schema need to be fixed, you can enable the debug mode with
DEBUG=healJSONSchemaenvironment variable.New debug details in the field descriptions with
DEBUG=fieldDetailsNow you can see which operation has which HTTP request details in the field description with the new debug mode.

Patch Changes
- #4239
755d3d487Thanks @ardatan! - - Set response type to “String” if the response content type is “text/*” defined in the OpenAPI document- Fix the issue when “allOf” or “anyOf” is used with an enum type and an object type
- Updated dependencies
[
669abf58f]:- json-machete@0.11.0
0.24.6
Patch Changes
- #4237
02c018249Thanks @ardatan! - - Respectpatternofnumbertypes- Dereference first-level circular dependencies properly in
dereferenceObject - Do not make the schema single if there is one
allOforanyOfelement but with properties
- Dereference first-level circular dependencies properly in
-
#4216
f95036a33Thanks @ardatan! - Rewrite JSON Schema visitor and support circular dependencies in a better wayNow
visitJSONSchematakes two different visitor functions instead ofenterandleave, previously we used to handle onlyleave.Also
generateInterfaceFromSharedFieldshas been dropped for now because it wasn’t working as expected.
-
#4220
961e07113Thanks @ardatan! - Delete the escaped field name in favor of unescaped/original field name to keep the expected structureFor example if you have
foo-barin your request input, it is sanitized tofoo_barin order to fit the requirements of GraphQL specification. But then, JSON Schema loader recovers it to the originalfoo-barfield name before sending request. But it was sending both field names.input FooBar { foo_bar: String }Before;
{ "foo-bar": "baz", "foo_bar": "baz" }After;
{ "foo-bar": "baz" } -
Updated dependencies [
12430d907,02c018249,f95036a33,12430d907]:- json-machete@0.10.6
- @graphql-mesh/utils@0.37.7
- @graphql-mesh/types@0.78.6
0.24.5
Patch Changes
-
c88a34d82: Now you can configure JSON Schema handler how to stringify query parameters;
queryStringOptions: indices: false arrayFormat: bracketsCheck out the configuration schema to see the options; https://github.com/Urigo/graphql-mesh/blob/master/packages/handlers/json-schema/yaml-config.graphql#L25
-
Updated dependencies [c88a34d82]
- @graphql-mesh/types@0.78.5
- @graphql-mesh/utils@0.37.6
- json-machete@0.10.5
0.24.4
Patch Changes
- Updated dependencies [30d046724]
- @graphql-mesh/utils@0.37.5
- json-machete@0.10.4
- @graphql-mesh/types@0.78.4
0.24.3
Patch Changes
- 738e2f378: Do not visit union elements if links or exposeResponseMetadata is not used during schema generation
- Updated dependencies [738e2f378]
- @graphql-mesh/types@0.78.3
- @graphql-mesh/utils@0.37.4
- json-machete@0.10.3
0.24.2
Patch Changes
-
bad0f40ab: ```yaml operationHeaders: Some-Header: “{context.headers.SOME_HEADER}”
If the interpolated value is empty, JSON Schema loader was sending the header with an empty value. Now it doesn't send the header if the value is empty. -
a2ef35c35: ** Use the new
@whatwg-node/fetchpackage instead ofcross-undici-fetch**cross-undici-fetchhas been renamed to@whatwg-node-fetch. Now Mesh uses this new package.** BREAKING: Drop
serve.handlersin favor of the new plugin system **Now Mesh uses the new plugin system of GraphQL Yoga that uses WHATWG Fetch API instead of Node specific
serve.handlers. That means you can use those plugins with any environment even if you are not using Node.js withmesh start.Please check our docs to see how you can migrate to the new usage. https://www.graphql-mesh.com/docs/guides/subscriptions-webhooks#handle-webhook-http-requests
-
Updated dependencies [a2ef35c35]
- json-machete@0.10.2
- @graphql-mesh/types@0.78.2
- @graphql-mesh/utils@0.37.3
0.24.1
Patch Changes
- @graphql-mesh/types@0.78.1
- @graphql-mesh/utils@0.37.2
- json-machete@0.10.1
0.24.0
Minor Changes
-
eade5bb9f: New
noDeduplicationflagBy default, JSON Schema handler tries to deduplicate similar JSON Schema types;
Let’s say we have the following JSON Schema;
{ "definitions": { "Book": { "type": "object", "title": "Book", "properties": { "title": { "type": "string" }, "author": { "type": "string" }, "price": { "type": "number" }, "similarBooks": { "type": "array", "items": { "$ref": "#/definitions/SimilarBook" } } } }, "SimilarBook": { "type": "object", "title": "Book", "properties": { "title": { "type": "string" }, "author": { "type": "string" }, "price": { "type": "number" }, "similarBooks": { "type": "array", "items": { "$ref": "#/definitions/SimilarBook" } } } } } }And the result will be the following by default;
type Book { title: String author: String price: Float similarBooks: [Book] }But if you set this flag true, it will not deduplicate similar JSON Schema types;
type Book { title: String author: String price: Float similarBooks: [SimilarBook] } type SimilarBook { title: String author: String price: Float similarBooks: [SimilarBook] }
Patch Changes
- Updated dependencies [eade5bb9f]
- Updated dependencies [6e6fd4ab7]
- Updated dependencies [bcd9355ee]
- json-machete@0.10.0
- @graphql-mesh/utils@0.37.1
- @graphql-mesh/types@0.78.0
0.23.0
Minor Changes
-
0401c7617: Improvements on string interpolation ({env.sth} or {context.headers.sth}) for different environments
As we mention in most of our docs, we usually expect a key-value
headerobject in the context. But Fetch-like environments don’t have this kind of object but insteadHeadersobject which is a kindMap. Now Mesh can detect this and automatically convert it to the key-value object especially for Yoga users.Also Mesh now handles
envin a better way for non-Node environments;Consider
import.meta.envasenvif available, else takeglobalThisasenv.
Patch Changes
- Updated dependencies [66f5d0189]
- Updated dependencies [0401c7617]
- @graphql-mesh/types@0.77.1
- @graphql-mesh/cross-helpers@0.2.0
- @graphql-mesh/utils@0.37.0
- json-machete@0.9.2
0.22.0
Minor Changes
-
b69746d2c: feat(json-schema): new exposeResponseMetadata flag to expose the details of the HTTP responses received from the upstream
responseSchema: ... exposeResponseMetadata: trueNow you will have another field called
$responsein the response type;type MyResponseType { myFooField: String _response: ResponseMetadata } type ResponseMetadata { url: URL status: Int method: String headers: JSON body: String }
Patch Changes
- 12e1e5d72: Do not compile JSON Schemas with ajv if function constructors are not supported. This fixes an issue with Mesh and CF Workers. Previously it throws an error because of “new Function” usage
- Updated dependencies [12e1e5d72]
- Updated dependencies [12e1e5d72]
- Updated dependencies [12e1e5d72]
- @graphql-mesh/cross-helpers@0.1.7
- @graphql-mesh/types@0.77.0
- json-machete@0.9.1
- @graphql-mesh/utils@0.36.1
0.21.0
Minor Changes
-
a0950ac6f: Breaking Change:
-
Now you can set a global
customFetchinstead of settingcustomFetchindividually for each handler.customFetchconfiguration field for each handler will no longer work. And alsocustomFetchneeds to be the path of the code file that exports the function asdefault.moduleName#exportNameis not supported for now. -
While programmatically creating the handlers, now you also need
fetchFnto be passed to the constructor;
new GraphQLHandler({ ..., fetchFn: myFetchFn, })readFileOrUrl’s secondconfigparameter is now required. Also this second parameter should take an object withcwd,importFn,fetchandlogger. You can see the diff of handler’s codes as an example.
-
Patch Changes
- Updated dependencies [19d06f6c9]
- Updated dependencies [19d06f6c9]
- Updated dependencies [a0950ac6f]
- @graphql-mesh/utils@0.36.0
- json-machete@0.9.0
- @graphql-mesh/types@0.76.0
0.20.7
Patch Changes
- Updated dependencies [d4754ad08]
- Updated dependencies [2df026e90]
- @graphql-mesh/types@0.75.0
- @graphql-mesh/utils@0.35.7
- json-machete@0.8.15
0.20.6
Patch Changes
- Updated dependencies [ed9ba7f48]
- @graphql-mesh/types@0.74.2
- @graphql-mesh/utils@0.35.6
- json-machete@0.8.14
0.20.5
Patch Changes
- Updated dependencies [41cfb46b4]
- @graphql-mesh/utils@0.35.5
- json-machete@0.8.13
- @graphql-mesh/types@0.74.1
0.20.4
Patch Changes
- Updated dependencies [13b9b30f7]
- @graphql-mesh/string-interpolation@0.3.0
- @graphql-mesh/types@0.74.0
- @graphql-mesh/utils@0.35.4
- json-machete@0.8.12
0.20.3
Patch Changes
- Updated dependencies [9733f490c]
- @graphql-mesh/utils@0.35.3
- json-machete@0.8.11
- @graphql-mesh/types@0.73.3
0.20.2
Patch Changes
- 3c0366d2c: - Support import.meta.env instead of process.env for browsers
- Ponyfill
util.inspectonly if it is not Node env
- Ponyfill
- Updated dependencies [3c0366d2c]
- Updated dependencies [3c0366d2c]
- @graphql-mesh/cross-helpers@0.1.6
- json-machete@0.8.10
- @graphql-mesh/utils@0.35.2
- @graphql-mesh/types@0.73.2
0.20.1
Patch Changes
- Updated dependencies [abe9fcc41]
- @graphql-mesh/utils@0.35.1
- json-machete@0.8.9
- @graphql-mesh/types@0.73.1
0.20.0
Minor Changes
- 974e703e2: No longer import entire lodash library but instead individual smaller packages
Patch Changes
- 974e703e2: Cleanup dependencies
- Updated dependencies [974e703e2]
- Updated dependencies [19a99c055]
- Updated dependencies [974e703e2]
- Updated dependencies [974e703e2]
- Updated dependencies [893d526ab]
- Updated dependencies [974e703e2]
- json-machete@0.8.8
- @graphql-mesh/string-interpolation@0.2.0
- @graphql-mesh/types@0.73.0
- @graphql-mesh/utils@0.35.0
0.19.8
Patch Changes
- Updated dependencies [43eb3d2c2]
- @graphql-mesh/utils@0.34.10
- json-machete@0.8.7
- @graphql-mesh/types@0.72.5
0.19.7
Patch Changes
- Updated dependencies [55ad5ea44]
- @graphql-mesh/utils@0.34.9
- json-machete@0.8.6
- @graphql-mesh/types@0.72.4
0.19.6
Patch Changes
- Updated dependencies [31efa964e]
- @graphql-mesh/utils@0.34.8
- json-machete@0.8.5
- @graphql-mesh/types@0.72.3
0.19.5
Patch Changes
- json-machete@0.8.4
- @graphql-mesh/utils@0.34.7
- @graphql-mesh/types@0.72.2
0.19.4
Patch Changes
- b9beacca2: Bump cross-undici-fetch for Node 14 compatibility and performance improvements
- Updated dependencies [b9beacca2]
- json-machete@0.8.3
- @graphql-mesh/utils@0.34.6
- @graphql-mesh/types@0.72.1
0.19.3
Patch Changes
- Updated dependencies [fa2542468]
- @graphql-mesh/types@0.72.0
- @graphql-mesh/utils@0.34.5
- json-machete@0.8.2
0.19.2
Patch Changes
- Updated dependencies [ddbbec8a8]
- @graphql-mesh/utils@0.34.4
- json-machete@0.8.1
- @graphql-mesh/types@0.71.4
0.19.1
Patch Changes
- 2e9addd80: Bump cross-undici-fetch for Node 18 compat
- Updated dependencies [2e9addd80]
- Updated dependencies [2e9addd80]
- json-machete@0.8.0
- @graphql-mesh/utils@0.34.3
- @graphql-mesh/types@0.71.3
0.19.0
Minor Changes
- 2f395a4b2: feat(openapi): support empty values
0.18.2
Patch Changes
- @graphql-mesh/types@0.71.2
- @graphql-mesh/utils@0.34.2
- json-machete@0.7.15
0.18.1
Patch Changes
- 7856f92d3: Bump all packages
- Updated dependencies [7856f92d3]
- json-machete@0.7.14
- @graphql-mesh/types@0.71.1
- @graphql-mesh/utils@0.34.1
0.18.0
Minor Changes
- 331b62637: feat(openapi): add queryParams config to provide common query params for a source
- 331b62637: feat(json-schema/openapi): support OpenAPI links and json pointer syntax in string interpolation
Patch Changes
- Updated dependencies [331b62637]
- Updated dependencies [f963b57ce]
- Updated dependencies [0644f31f2]
- Updated dependencies [331b62637]
- Updated dependencies [331b62637]
- Updated dependencies [331b62637]
- Updated dependencies [331b62637]
- Updated dependencies [331b62637]
- json-machete@0.7.13
- @graphql-mesh/types@0.71.0
- @graphql-mesh/utils@0.34.0
0.17.26
Patch Changes
- json-machete@0.7.12
- @graphql-mesh/utils@0.33.6
- @graphql-mesh/types@0.70.6
0.17.25
Patch Changes
- @graphql-mesh/types@0.70.5
- @graphql-mesh/utils@0.33.5
- json-machete@0.7.11
0.17.24
Patch Changes
- 35a55e841: Bump GraphQL Tools packages
- Updated dependencies [35a55e841]
- json-machete@0.7.10
- @graphql-mesh/types@0.70.4
- @graphql-mesh/utils@0.33.4
0.17.23
Patch Changes
- @graphql-mesh/types@0.70.3
- @graphql-mesh/utils@0.33.3
- json-machete@0.7.9
0.17.22
Patch Changes
- Updated dependencies [d64c74b75]
- json-machete@0.7.8
0.17.21
Patch Changes
- Updated dependencies [b02f5b008]
- Updated dependencies [114629e47]
- @graphql-mesh/types@0.70.2
- json-machete@0.7.7
- @graphql-mesh/utils@0.33.2
0.17.20
Patch Changes
- 26e69dbe9: fix(json-schema): stringify arrays without indices
0.17.19
Patch Changes
- 2d5c6c72a: add Git repository link in package.json
- Updated dependencies [2d5c6c72a]
- json-machete@0.7.6
- @graphql-mesh/types@0.70.1
- @graphql-mesh/utils@0.33.1
0.17.18
Patch Changes
- Updated dependencies [d567be7b5]
- @graphql-mesh/types@0.70.0
- @graphql-mesh/utils@0.33.0
- json-machete@0.7.5
0.17.17
Patch Changes
- Updated dependencies [f30dba61e]
- @graphql-mesh/types@0.69.0
- @graphql-mesh/utils@0.32.2
- json-machete@0.7.4
0.17.16
Patch Changes
- Updated dependencies [c53203723]
- json-machete@0.7.3
0.17.15
Patch Changes
- Updated dependencies [c6f0314ac]
- json-machete@0.7.2
0.17.14
Patch Changes
- Updated dependencies [be61de529]
- @graphql-mesh/types@0.68.3
- @graphql-mesh/utils@0.32.1
- json-machete@0.7.1
0.17.13
Patch Changes
- Updated dependencies [b1a6df928]
- Updated dependencies [67fb11706]
- @graphql-mesh/types@0.68.2
- json-machete@0.7.0
- @graphql-mesh/utils@0.32.0
0.17.12
Patch Changes
- Updated dependencies [b2c537c2a]
- @graphql-mesh/utils@0.31.0
- @graphql-mesh/types@0.68.1
- json-machete@0.6.1
0.17.11
Patch Changes
- b45dac0c0: fix(json-schema): handle union response types correctly
- Updated dependencies [b45dac0c0]
- json-machete@0.6.0
0.17.10
Patch Changes
- Updated dependencies [6c318b91a]
- @graphql-mesh/types@0.68.0
- @graphql-mesh/utils@0.30.2
- json-machete@0.5.20
0.17.9
Patch Changes
- @graphql-mesh/types@0.67.1
- @graphql-mesh/utils@0.30.1
- json-machete@0.5.19
0.17.8
Patch Changes
- 01bac6bb5: fix - align graphql-tools versions
- Updated dependencies [01bac6bb5]
- Updated dependencies [01bac6bb5]
- @graphql-mesh/types@0.67.0
- @graphql-mesh/utils@0.30.0
- json-machete@0.5.18
0.17.7
Patch Changes
- Updated dependencies [268db0462]
- @graphql-mesh/utils@0.29.0
- json-machete@0.5.17
- @graphql-mesh/types@0.66.6
0.17.6
Patch Changes
- Updated dependencies [2ffb1f287]
- @graphql-mesh/types@0.66.5
- @graphql-mesh/utils@0.28.5
- json-machete@0.5.16
0.17.5
Patch Changes
- Updated dependencies [6d2d46480]
- @graphql-mesh/types@0.66.4
- @graphql-mesh/utils@0.28.4
- json-machete@0.5.15
0.17.4
Patch Changes
- f11d8b9c8: fix: add implicit dependencies
- @graphql-mesh/types@0.66.3
- @graphql-mesh/utils@0.28.3
- json-machete@0.5.14
0.17.3
Patch Changes
- Updated dependencies [fb876e99c]
- @graphql-mesh/types@0.66.2
- @graphql-mesh/utils@0.28.2
- json-machete@0.5.13
0.17.2
Patch Changes
- Updated dependencies [98ff961ff]
- @graphql-mesh/types@0.66.1
- @graphql-mesh/utils@0.28.1
- json-machete@0.5.12
0.17.1
Patch Changes
- 6f07de8fe: fix: do not import process from env
- b481fbc39: enhance: add tslib to dependencies to reduce bundle size
- Updated dependencies [6f07de8fe]
- Updated dependencies [6f07de8fe]
- Updated dependencies [b481fbc39]
- @graphql-mesh/types@0.66.0
- @graphql-mesh/utils@0.28.0
- json-machete@0.5.11
0.17.0
Minor Changes
- 21de17a3d: feat(json-schema): ability to provide additional request body with requestBaseBody in the config
Patch Changes
- Updated dependencies [21de17a3d]
- Updated dependencies [3f4bb09a9]
- @graphql-mesh/types@0.65.0
- @graphql-mesh/utils@0.27.9
- json-machete@0.5.10
0.16.2
Patch Changes
- Updated dependencies [8b8eb5158]
- Updated dependencies [8b8eb5158]
- @graphql-mesh/types@0.64.2
- @graphql-mesh/utils@0.27.8
- json-machete@0.5.9
0.16.1
Patch Changes
- Updated dependencies [ca6bb5ff3]
- Updated dependencies [ca6bb5ff3]
- json-machete@0.5.8
- @graphql-mesh/utils@0.27.7
- @graphql-mesh/types@0.64.1
0.16.0
Minor Changes
- 275f82b53: enhance(json-schema): graphql-upload is no longer needed
0.15.1
Patch Changes
- c84d9e95e: enhance(json-schema): add a debug message about adding response metadata to the final response object
0.15.0
Minor Changes
- e3f941db5: feat(json-schema): make input argument nonnullable if any of fields is nonnulalble
Patch Changes
- 12256ec58: fix(json-schema): fix array normalization
- Updated dependencies [08b250e04]
- @graphql-mesh/types@0.64.0
- @graphql-mesh/utils@0.27.6
- json-machete@0.5.7
0.14.3
Patch Changes
- 1815865c3: fix: bump fixed graphql-tools
- Updated dependencies [1815865c3]
- @graphql-mesh/types@0.63.1
- @graphql-mesh/utils@0.27.5
- json-machete@0.5.6
0.14.2
Patch Changes
- Updated dependencies [b6eca9baa]
- Updated dependencies [b6eca9baa]
- @graphql-mesh/types@0.63.0
- @graphql-mesh/utils@0.27.4
- json-machete@0.5.5
0.14.1
Patch Changes
- Updated dependencies [0d43ecf19]
- @graphql-mesh/types@0.62.2
- @graphql-mesh/utils@0.27.3
- json-machete@0.5.4
0.14.0
Minor Changes
- 15e1f68c5: feat(json-schema): respect given samples in mocks transform
Patch Changes
- Updated dependencies [c71b29004]
- Updated dependencies [447bc3697]
- @graphql-mesh/utils@0.27.2
- @graphql-mesh/types@0.62.1
- json-machete@0.5.3
0.13.6
Patch Changes
- 3a21004c9: fix(json-schema): encode query parameters
- Updated dependencies [240ec7b38]
- Updated dependencies [fcbd12a35]
- @graphql-mesh/types@0.62.0
- @graphql-mesh/utils@0.27.1
- json-machete@0.5.2
0.13.5
Patch Changes
- 05ec30255: fix(json-schema): revert breaking change in the API (export getComposerFromJSONSchema)
0.13.4
Patch Changes
- Updated dependencies [1c8827604]
- json-machete@0.5.1
0.13.3
Patch Changes
- 49e9ca808: fix(json-schema): use Any scalar for empty responses
- Updated dependencies [49e9ca808]
- json-machete@0.5.0
0.13.2
Patch Changes
- Updated dependencies [900a01355]
- @graphql-mesh/utils@0.27.0
- json-machete@0.4.3
0.13.1
Patch Changes
- Updated dependencies [66ca1a366]
- @graphql-mesh/types@0.61.0
- @graphql-mesh/utils@0.26.4
- json-machete@0.4.2
0.13.0
Minor Changes
- a79268b3a: feat(json-schema): handle default error responses correctly
Patch Changes
- Updated dependencies [a79268b3a]
- Updated dependencies [a79268b3a]
- @graphql-mesh/types@0.60.0
- @graphql-mesh/utils@0.26.3
- json-machete@0.4.1
0.12.0
Minor Changes
- 020431bdc: feat(json-schema/openapi/raml): respect error status codes
Patch Changes
- Updated dependencies [020431bdc]
- Updated dependencies [020431bdc]
- Updated dependencies [020431bdc]
- Updated dependencies [020431bdc]
- json-machete@0.4.0
- @graphql-mesh/types@0.59.0
- @graphql-mesh/utils@0.26.2
0.11.2
Patch Changes
- 6bb4cf673: enhance(json-schema): remove the need of info
- Updated dependencies [113091148]
- Updated dependencies [6bb4cf673]
- @graphql-mesh/utils@0.26.1
- @graphql-mesh/types@0.58.0
- json-machete@0.3.7
0.11.1
Patch Changes
- 92d687133: fix(json-schema): boolean types shouldn’t be enums
- 92d687133: fix(json-schema): handle additionalProperties as a part of the actual type
- 92d687133: fix(json-machete): respect reference titles while dereferencing
- Updated dependencies [92d687133]
- json-machete@0.3.6
0.11.0
Minor Changes
- b69233517: feat(json-schema): detailed description for DEBUG mode
0.10.0
Minor Changes
- 6d76179e4: feat(json-schema): return text in the error if response is not json as expected
0.9.0
Minor Changes
- e30494c95: feat: better error messages
0.8.0
Minor Changes
- 1ab0aebbc: feat(json-schema): better error handling
Patch Changes
- Updated dependencies [8e52fd06a]
- Updated dependencies [1ab0aebbc]
- Updated dependencies [56e2257fa]
- Updated dependencies [56e2257fa]
- json-machete@0.3.5
- @graphql-mesh/types@0.57.2
- @graphql-mesh/utils@0.26.0
0.7.4
Patch Changes
- Updated dependencies [2b876f2b8]
- @graphql-mesh/utils@0.25.0
- json-machete@0.3.4
0.7.3
Patch Changes
- 80eb8e92b: fix(json-schema): workaround for falsy enum values
- d907351c5: fix(json-schema): consume array results with singular return types fix(json-schema): handle dynamic values from env in schemaHeaders
- Updated dependencies [d907351c5]
- Updated dependencies [d907351c5]
- json-machete@0.3.3
- @graphql-mesh/types@0.57.1
- @graphql-mesh/utils@0.24.2
0.7.2
Patch Changes
- 4fe346123: fix(json-schema): prevent collision with requestTypeName and responseTypeName
0.7.1
Patch Changes
- Updated dependencies [26d685f2a]
- @graphql-mesh/utils@0.24.1
- json-machete@0.3.2
0.7.0
Minor Changes
- baf004f78: feat(json-schema): respect endpoint given on loading bundle
Patch Changes
- Updated dependencies [cfca98d34]
- @graphql-mesh/types@0.57.0
- @graphql-mesh/utils@0.24.0
- json-machete@0.3.1
0.6.0
Minor Changes
- 5666484d6: update cross-undici-fetch
Patch Changes
- Updated dependencies [5666484d6]
- json-machete@0.3.0
- @graphql-mesh/utils@0.23.0
0.5.1
Patch Changes
- 6c216c309: fix(json-schema): do not process arrays if there is no clue
- 6c216c309: fix(json-schema): handle descriptions correctly
- 8d233db89: fix(json-schema): respect arrays in request object
- Updated dependencies [6c216c309]
- @graphql-mesh/utils@0.22.2
- json-machete@0.2.1
0.5.0
Minor Changes
- e8cc53f11: feat(json-schema): support schemaHeaders for sample and schemas
Patch Changes
- Updated dependencies [c22eb1b5e]
- Updated dependencies [e8cc53f11]
- @graphql-mesh/utils@0.22.1
- json-machete@0.2.0
0.4.0
Minor Changes
- f40b0d42c: Refactor JSON Schema handler code
- f40b0d42c: enhance(json-schema): better auto naming
Patch Changes
- Updated dependencies [f40b0d42c]
- Updated dependencies [f40b0d42c]
- Updated dependencies [ec0d1d639]
- Updated dependencies [1cc0acb9a]
- json-machete@0.1.0
- @graphql-mesh/types@0.56.0
- @graphql-mesh/utils@0.22.0
0.3.5
Patch Changes
- 3bded2bad: enhance(json-schema): use correct GraphQLJSON scalar
- Updated dependencies [3bded2bad]
- json-machete@0.0.27
0.3.4
Patch Changes
- 8de12b4d8: fix(json-machete): dereference imported json files correctly
- Updated dependencies [8de12b4d8]
- json-machete@0.0.26
0.3.3
Patch Changes
- 27c26392d: bump versions
- Updated dependencies [27c26392d]
- Updated dependencies [1b332487c]
- json-machete@0.0.25
- @graphql-mesh/types@0.55.0
- @graphql-mesh/utils@0.21.1
0.3.2
Patch Changes
- Updated dependencies [875d0e48d]
- @graphql-mesh/utils@0.21.0
- json-machete@0.0.24
0.3.1
Patch Changes
- Updated dependencies [761b16ed9]
- @graphql-mesh/types@0.54.1
- @graphql-mesh/utils@0.20.1
- json-machete@0.0.23
0.3.0
Minor Changes
- b7241ebb6: feat(json-schema): Binary Operation support
0.2.0
Minor Changes
- c4d8be6f4: enhance: use undici for Node >v16
- 09f81dd74: GraphQL v16 compatibility
- 267573a16: enhance: resolve all promises
- 09f81dd74: GraphQL v16 compability
Patch Changes
- Updated dependencies [09f81dd74]
- Updated dependencies [09f81dd74]
- @graphql-mesh/types@0.54.0
- @graphql-mesh/utils@0.20.0
- json-machete@0.0.22
0.1.7
Patch Changes
- 592afa2b9: fix(json-schema): if responseSchema not defined, pass the HTTP response as-is
0.1.6
Patch Changes
- 0a1756f9c: fix(json-schema): handle subscriptions correctly
0.1.5
Patch Changes
- Updated dependencies [0dc08e5cc]
- @graphql-mesh/utils@0.19.0
- json-machete@0.0.21
0.1.4
Patch Changes
- Updated dependencies [ac95631ea]
- json-machete@0.0.20
0.1.3
Patch Changes
- 932ce6063: fix(json-schema): sanitize invalid property names for GraphQL
0.1.2
Patch Changes
- 47c4fb402: fix(json-schema): correct TS type for const scalars
0.1.1
Patch Changes
- 963e064f0: chore: update scalars to support included codegen support
0.1.0
Minor Changes
- 6f57be0c1: feat(json-schema): expose GraphQL Tools loader compatible with loadSchema
Patch Changes
- Updated dependencies [6f57be0c1]
- @graphql-mesh/types@0.53.0
- @graphql-mesh/utils@0.18.1
- json-machete@0.0.19