json-machete
Changelog for json-machete: every release with its changes and the pull requests behind them.
0.97.8
Patch Changes
-
18cefe7Thanks @ardatan! - Reuse a JSON Schema$reftarget reached via different relative paths instead of mintingType2/Type3duplicates. -
#9633
6f96258Thanks @copilot-swe-agent! - TreatC:/...as an absolute Windows path in$refresolution, not onlyC:\....
0.97.7
Patch Changes
- #9338
62c1082Thanks @ssevertson-svg! - Fix$refresolution for JSON Schema 2020-12$idand$anchorpatterns. Previously,dereferenceObjecttreated all non-fragment$refvalues as file paths, causing ENOENT errors when specs used$id-based URIs or$anchorfragment references (e.g. Petstore 3.1). A pre-scan now indexes$idand$anchordeclarations so they resolve within the document per the spec.
0.97.6
Patch Changes
- #8270
d3656b6Thanks @ardatan! - dependencies updates:- Updated dependency
@json-schema-tools/meta-schema@^1.7.5↗︎ (from1.7.5, independencies) - Updated dependency
cross-inspect@^1.0.1↗︎ (from1.0.1, independencies) - Updated dependency
json-pointer@^0.6.2↗︎ (from0.6.2, independencies) - Updated dependency
to-json-schema@^0.2.5↗︎ (from0.2.5, independencies) - Updated dependency
url-join@^4.0.1↗︎ (from4.0.1, independencies)
- Updated dependency
0.97.5
Patch Changes
- #8092
2ef651aThanks @ardatan! - dependencies updates:- Added dependency
tslib@^2.4.0↗︎ (todependencies) - Removed dependency
tslib@^2.4.0↗︎ (frompeerDependencies)
- Added dependency
0.97.4
Patch Changes
- #7462
48868b0Thanks @renovate! - dependencies updates:- Updated dependency
cross-inspect@1.0.1↗︎ (from1.0.0, independencies)
- Updated dependency
0.97.3
Patch Changes
- #6942
234d2f9Thanks @renovate! - dependencies updates:- Updated dependency
@json-schema-tools/meta-schema@1.7.5↗︎ (from1.7.4, independencies)
- Updated dependency
0.97.2
Patch Changes
- #6832
6521fa0Thanks @renovate! - dependencies updates:- Updated dependency
@json-schema-tools/meta-schema@1.7.4↗︎ (from1.7.0, independencies)
- Updated dependency
0.97.1
Patch Changes
0.97.0
Minor Changes
- #6230
47a50aa6dThanks @ardatan! - BREAKING: All the functions requiresreadFileOrUrlinstead of fetch function and/or import function, and they no longer need a logger instance butdebugLogFnfor verbose logging
0.96.0
Patch Changes
- Updated dependencies
[
5c6a8f784]:- @graphql-mesh/types@0.96.0
- @graphql-mesh/utils@0.96.0
0.95.8
Patch Changes
- Updated dependencies []:
- @graphql-mesh/utils@0.95.8
- @graphql-mesh/types@0.95.8
0.95.7
Patch Changes
- Updated dependencies
[
a13969c77]:- @graphql-mesh/types@0.95.7
- @graphql-mesh/utils@0.95.7
0.95.6
Patch Changes
- Updated dependencies []:
- @graphql-mesh/utils@0.95.6
- @graphql-mesh/types@0.95.6
0.95.5
Patch Changes
- Updated dependencies
[
b8f16a42b,b8f16a42b]:- @graphql-mesh/cross-helpers@0.4.1
- @graphql-mesh/types@0.95.5
- @graphql-mesh/utils@0.95.5
0.95.4
Patch Changes
- Updated dependencies
[
625e5d787]:- @graphql-mesh/types@0.95.4
- @graphql-mesh/utils@0.95.4
0.95.3
Patch Changes
- Updated dependencies
[
33ae7a89a]:- @graphql-mesh/types@0.95.3
- @graphql-mesh/utils@0.95.3
0.95.2
Patch Changes
- Updated dependencies
[
d8da4b282]:- @graphql-mesh/types@0.95.2
- @graphql-mesh/utils@0.95.2
0.95.1
Patch Changes
- Updated dependencies
[
7cdc69e04]:- @graphql-mesh/types@0.95.1
- @graphql-mesh/utils@0.95.1
0.95.0
Patch Changes
- Updated dependencies
[
bb50c4f94]:- @graphql-mesh/types@0.95.0
- @graphql-mesh/utils@0.95.0
0.94.6
Patch Changes
- Updated dependencies
[
d1310cdff]:- @graphql-mesh/utils@0.94.6
- @graphql-mesh/types@0.94.6
0.94.5
Patch Changes
- Updated dependencies
[
f11e9b307]:- @graphql-mesh/utils@0.94.5
- @graphql-mesh/types@0.94.5
0.94.4
Patch Changes
- Updated dependencies
[
ff1678eea]:- @graphql-mesh/types@0.94.4
- @graphql-mesh/utils@0.94.4
0.94.3
Patch Changes
- Updated dependencies []:
- @graphql-mesh/utils@0.94.3
- @graphql-mesh/types@0.94.3
0.94.2
Patch Changes
- Updated dependencies
[
d0d4917f4]:- @graphql-mesh/types@0.94.2
- @graphql-mesh/utils@0.94.2
0.94.1
Patch Changes
- Updated dependencies []:
- @graphql-mesh/types@0.94.1
- @graphql-mesh/utils@0.94.1
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,e881ea609,4296a55f4,e881ea609,01fb0cc85,ef520d91e]:- @graphql-mesh/cross-helpers@0.4.0
- @graphql-mesh/types@0.94.0
- @graphql-mesh/utils@0.94.0
0.93.1
Patch Changes
- #5365
1dd9a6940Thanks @ardatan! - dependencies updates:- 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]:- @graphql-mesh/types@0.93.1
- @graphql-mesh/utils@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
0.18.20
Patch Changes
-
#5252
c90eb5ac6Thanks @ardatan! - Make shared packages peer dependency -
Updated dependencies [
c90eb5ac6]:- @graphql-mesh/cross-helpers@0.3.4
- @graphql-mesh/types@0.91.12
- @graphql-mesh/utils@0.43.20
0.18.19
Patch Changes
- Updated dependencies
[
7e7096695]:- @graphql-mesh/types@0.91.11
- @graphql-mesh/utils@0.43.19
0.18.18
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]:- @graphql-mesh/utils@0.43.18
- @graphql-mesh/types@0.91.10
0.18.17
Patch Changes
- Updated dependencies
[
a272fdbca]:- @graphql-mesh/types@0.91.9
- @graphql-mesh/utils@0.43.17
0.18.16
Patch Changes
- Updated dependencies []:
- @graphql-mesh/types@0.91.8
- @graphql-mesh/utils@0.43.16
0.18.15
Patch Changes
- Updated dependencies
[
fa2c010c1]:- @graphql-mesh/utils@0.43.15
- @graphql-mesh/types@0.91.7
0.18.14
Patch Changes
0.18.13
Patch Changes
- Updated dependencies
[
5c19f8d6f]:- @graphql-mesh/types@0.91.5
- @graphql-mesh/utils@0.43.13
0.18.12
Patch Changes
- Updated dependencies
[
63ab17f0b]:- @graphql-mesh/types@0.91.4
- @graphql-mesh/utils@0.43.12
0.18.11
Patch Changes
0.18.10
Patch Changes
0.18.9
Patch Changes
-
#4674
975715275Thanks @mhassan1! - fix(deps): add missing graphql peer deps -
Updated dependencies [
975715275,989a47802]:- @graphql-mesh/cross-helpers@0.3.3
- @graphql-mesh/types@0.91.2
- @graphql-mesh/utils@0.43.10
0.18.8
Patch Changes
- Updated dependencies
[
d694ccc1f]:- @graphql-mesh/utils@0.43.9
- @graphql-mesh/types@0.91.1
0.18.7
Patch Changes
-
e246b4d63Thanks @ardatan! - Handleitems: nullanddefaultvalues as a JSON string -
#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
-
Updated dependencies [
89bb72165,89bb72165,89bb72165,7e8bb87dd]:- @graphql-mesh/cross-helpers@0.3.2
- @graphql-mesh/types@0.91.0
- @graphql-mesh/utils@0.43.8
0.18.6
Patch Changes
- Updated dependencies
[
2005d2b28,2005d2b28,bcf29dfd0]:- @graphql-mesh/types@0.90.0
- @graphql-mesh/utils@0.43.7
0.18.5
Patch Changes
0.18.4
Patch Changes
-
#4930
c015b02a1Thanks @gilgardosh! - Prettier fixes -
#4988
ad938f485Thanks @renovate! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.6.0↗︎ (from^0.5.0, independencies)
- Updated dependency
-
#5028
994813331Thanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@9.1.4↗︎ (from9.1.3, independencies)
- Updated dependency
-
#5006
1a3642884Thanks @ardatan! - Heal types with `required` only if it is an array -
#5001
debb1c80eThanks @gilgardosh! - Enums that include the value “null” are now converted to nullable -
Updated dependencies [
994813331,994813331,994813331,c015b02a1,d573d203f]:- @graphql-mesh/cross-helpers@0.3.1
- @graphql-mesh/types@0.89.4
- @graphql-mesh/utils@0.43.5
0.18.3
Patch Changes
0.18.2
Patch Changes
- Updated dependencies
[
deb9912e0]:- @graphql-mesh/types@0.89.2
- @graphql-mesh/utils@0.43.3
0.18.1
Patch Changes
0.18.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]:- @graphql-mesh/types@0.89.0
- @graphql-mesh/utils@0.43.1
0.17.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,500a4504c,500a4504c,1a28c92c2]:- @graphql-mesh/cross-helpers@0.3.0
- @graphql-mesh/types@0.88.0
- @graphql-mesh/utils@0.43.0
0.16.5
Patch Changes
- Updated dependencies
[
eba73c626]:- @graphql-mesh/utils@0.42.9
- @graphql-mesh/types@0.87.1
0.16.4
Patch Changes
0.16.3
Patch Changes
0.16.2
Patch Changes
-
#4790
8c7d96cffThanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@9.1.0↗︎ (from9.0.1, independencies)
- Updated dependency
-
#4809
db95881b5Thanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@9.1.1↗︎ (from9.1.0, independencies)
- Updated dependency
-
#4792
d63bd93e0Thanks @ardatan! - Add suffix to the existing “Subscription” types to avoid conflicts -
Updated dependencies [
8c7d96cff,db95881b5,8c7d96cff,990f649ef,db95881b5,8c7d96cff,990f649ef,db95881b5,76deb32d1,baa4fbf82,cf9c6d5e0]:- @graphql-mesh/cross-helpers@0.2.10
- @graphql-mesh/types@0.86.0
- @graphql-mesh/utils@0.42.7
0.16.1
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,c55e68381]:- @graphql-mesh/cross-helpers@0.2.9
- @graphql-mesh/types@0.85.7
- @graphql-mesh/utils@0.42.6
0.16.0
Minor Changes
ee19b91c1Thanks @ardatan! - If any non JS pattern is given in the JSON Schema, automatically convert it to a JS regexp pattern
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]:- @graphql-mesh/cross-helpers@0.2.8
- @graphql-mesh/types@0.85.6
- @graphql-mesh/utils@0.42.5
0.15.14
Patch Changes
-
Updated dependencies [
d5f2d950e]:- @graphql-mesh/utils@0.42.4
- @graphql-mesh/types@0.85.5
0.15.13
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]:- @graphql-mesh/cross-helpers@0.2.7
- @graphql-mesh/types@0.85.4
- @graphql-mesh/utils@0.42.3
0.15.12
Patch Changes
- #4732
704a0bd6eThanks @gilgardosh! - dependencies updates:- Updated dependency
@graphql-mesh/types@0.85.2↗︎ (from0.85.1, independencies) - Updated dependency
@graphql-mesh/utils@0.42.1↗︎ (from0.42.0, independencies)
- Updated dependency
- Updated dependencies
[
704a0bd6e,704a0bd6e]:- @graphql-mesh/types@0.85.3
- @graphql-mesh/utils@0.42.2
0.15.11
Patch Changes
- #4728
c72d904dcThanks @renovate! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.5.0↗︎ (from^0.4.6, independencies)
- Updated dependency
- Updated dependencies
[
09c286994]:- @graphql-mesh/types@0.85.2
- @graphql-mesh/utils@0.42.1
0.15.10
Patch Changes
0.15.9
Patch Changes
0.15.8
Patch Changes
- Updated dependencies
[
637e9e9d8]:- @graphql-mesh/types@0.84.10
- @graphql-mesh/utils@0.41.21
0.15.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
[
dd831a7d1]:- @graphql-mesh/types@0.84.9
- @graphql-mesh/utils@0.41.20
0.15.6
Patch Changes
- Updated dependencies
[
5b44abcd2]:- @graphql-mesh/utils@0.41.19
- @graphql-mesh/types@0.84.8
0.15.5
Patch Changes
0.15.4
Patch Changes
0.15.3
Patch Changes
- Updated dependencies
[
88ab8f9ae]:- @graphql-mesh/utils@0.41.16
- @graphql-mesh/types@0.84.5
0.15.2
Patch Changes
- Updated dependencies
[
186e37bcd]:- @graphql-mesh/utils@0.41.15
- @graphql-mesh/types@0.84.4
0.15.1
Patch Changes
- Updated dependencies
[
93f4ed55d]:- @graphql-mesh/utils@0.41.14
- @graphql-mesh/types@0.84.3
0.15.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! - Forconstdefinitions, force{value}_constpattern for the generated titles instead of path based names
0.14.14
Patch Changes
- Updated dependencies
[
ff251e4c7]:- @graphql-mesh/types@0.84.2
- @graphql-mesh/utils@0.41.13
0.14.13
Patch Changes
- Updated dependencies []:
- @graphql-mesh/types@0.84.1
- @graphql-mesh/utils@0.41.12
0.14.12
Patch Changes
0.14.11
Patch Changes
- Updated dependencies []:
- @graphql-mesh/types@0.83.5
- @graphql-mesh/utils@0.41.10
0.14.10
Patch Changes
-
#4439
78599180dThanks @gilgardosh! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.4.0↗︎ (from^0.3.0, 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-mesh/cross-helpers@0.2.5↗︎ (from0.2.3, independencies) - Updated dependency
@graphql-tools/utils@8.12.0↗︎ (from8.10.1, 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]:- @graphql-mesh/cross-helpers@0.2.6
- @graphql-mesh/types@0.83.4
- @graphql-mesh/utils@0.41.9
0.14.9
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]:- @graphql-mesh/cross-helpers@0.2.5
- @graphql-mesh/types@0.83.3
- @graphql-mesh/utils@0.41.8
0.14.8
Patch Changes
- Updated dependencies
[
d84f81d94]:- @graphql-mesh/utils@0.41.7
- @graphql-mesh/types@0.83.2
0.14.7
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]:- @graphql-mesh/utils@0.41.6
- @graphql-mesh/types@0.83.1
0.14.6
Patch Changes
- Updated dependencies
[
a56ebcec5,24afabece,44b868196]:- @graphql-mesh/types@0.83.0
- @graphql-mesh/utils@0.41.5
0.14.5
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]:- @graphql-mesh/cross-helpers@0.2.4
- @graphql-mesh/types@0.82.3
- @graphql-mesh/utils@0.41.4
0.14.4
Patch Changes
- Updated dependencies
[
b9bb80094]:- @graphql-mesh/types@0.82.2
- @graphql-mesh/utils@0.41.3
0.14.3
Patch Changes
- #4426
3571324cdThanks @ardatan! - Respect original type for GraphQL Codegen TS definitions while generating a scalar type based on a RegExp pattern
0.14.2
Patch Changes
-
e1891993cThanks @ardatan! - Respect descriptions for binary/file fields and number fields with minimum and maximum -
Updated dependencies [
3165827f7]:- @graphql-mesh/types@0.82.1
- @graphql-mesh/utils@0.41.2
0.14.1
Patch Changes
-
#4412
7e9482723Thanks @ardatan! - Accept an array for “type” property in JSON Schema because it was broken and causing a bug that creates an invalidundefinedscalar type.{ "type": ["string", "number", "boolean", "integer", "array"] } -
Updated dependencies [
ca7994fad,ca7994fad]:- @graphql-mesh/types@0.82.0
- @graphql-mesh/utils@0.41.1
0.14.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 -
#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
-
#4405
30bac0246Thanks @ardatan! - Handle multiple content types correctly -
#4405
30bac0246Thanks @ardatan! - Remove properties if an array definition has one -
#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! - Skip creating a scalar type if the given pattern is invalid -
Updated dependencies [
e69462cac,12ae4469a,e69462cac,12ae4469a,15f315959,e69462cac,12ae4469a,df37c40f4,d87907736,7a4023a2c,15f315959]:- @graphql-mesh/cross-helpers@0.2.3
- @graphql-mesh/types@0.81.0
- @graphql-mesh/utils@0.41.0
0.13.2
Patch Changes
-
#4357
be79b20a5Thanks @gilgardosh! - ## Breaking changesOpenAPI has been completely rewritten based on JSON Schema handler from scratch. It’s now more stable and supports more features. However, it produces different output and takes different configuration options.
Please check the migration guide to learn how to migrate your existing OpenAPI handler configuration. Migration Guide from 0.31 to 0.32
This rewrite has been done under
@graphql-mesh/new-openapiname so far, and you can check its changelog to see the progress.@graphql-mesh/new-openapi’sCHANGELOG -
Updated dependencies [
b5c59ffce,be79b20a5,b5c59ffce]:- @graphql-mesh/utils@0.40.0
- @graphql-mesh/types@0.80.2
0.13.1
Patch Changes
- Updated dependencies
[
f23e14eba]:- @graphql-mesh/utils@0.39.0
- @graphql-mesh/types@0.80.1
0.13.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
-
Updated dependencies [
f882aca38]:- @graphql-mesh/types@0.80.0
- @graphql-mesh/utils@0.38.1
0.12.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]:- @graphql-mesh/types@0.79.0
- @graphql-mesh/utils@0.38.0
0.11.2
Patch Changes
-
#4275
a2e59dfddThanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@8.10.0↗︎ (was8.9.1, independencies)
- Updated dependency
-
Updated dependencies [
a2e59dfdd,a2e59dfdd,991373717,a2e59dfdd,991373717]:- @graphql-mesh/cross-helpers@0.2.2
- @graphql-mesh/types@0.78.8
- @graphql-mesh/utils@0.37.9
0.11.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]:- @graphql-mesh/cross-helpers@0.2.1
- @graphql-mesh/types@0.78.7
- @graphql-mesh/utils@0.37.8
0.11.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.

0.10.6
Patch Changes
- #4221
12430d907Thanks @ardatan! - Respect “required” field in anyOf and allOf schemas and fix the bug that puts an Any schema if this kind of schema is present
- #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.
-
#4221
12430d907Thanks @ardatan! - Use single “Any” schema for unknown types defined in “required” in order to prevent duplication -
Updated dependencies [
02c018249]:- @graphql-mesh/utils@0.37.7
0.10.5
Patch Changes
- @graphql-mesh/utils@0.37.6
0.10.4
Patch Changes
- Updated dependencies [30d046724]
- @graphql-mesh/utils@0.37.5
0.10.3
Patch Changes
- @graphql-mesh/utils@0.37.4
0.10.2
Patch Changes
-
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]
- @graphql-mesh/utils@0.37.3
0.10.1
Patch Changes
- @graphql-mesh/utils@0.37.2
0.10.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 [6e6fd4ab7]
- @graphql-mesh/utils@0.37.1
0.9.2
Patch Changes
- Updated dependencies [0401c7617]
- @graphql-mesh/cross-helpers@0.2.0
- @graphql-mesh/utils@0.37.0
0.9.1
Patch Changes
- Updated dependencies [12e1e5d72]
- @graphql-mesh/cross-helpers@0.1.7
- @graphql-mesh/utils@0.36.1
0.9.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
0.8.15
Patch Changes
- @graphql-mesh/utils@0.35.7
0.8.14
Patch Changes
- Updated dependencies [ed9ba7f48]
- @graphql-mesh/utils@0.35.6
0.8.13
Patch Changes
- Updated dependencies [41cfb46b4]
- @graphql-mesh/utils@0.35.5
0.8.12
Patch Changes
- @graphql-mesh/utils@0.35.4
0.8.11
Patch Changes
- Updated dependencies [9733f490c]
- @graphql-mesh/utils@0.35.3
0.8.10
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
- @graphql-mesh/utils@0.35.2
0.8.9
Patch Changes
- Updated dependencies [abe9fcc41]
- @graphql-mesh/utils@0.35.1
0.8.8
Patch Changes
- 974e703e2: Cleanup dependencies
- Updated dependencies [974e703e2]
- Updated dependencies [974e703e2]
- Updated dependencies [974e703e2]
- @graphql-mesh/utils@0.35.0
- @graphql-mesh/cross-helpers@0.1.5
0.8.7
Patch Changes
- Updated dependencies [43eb3d2c2]
- @graphql-mesh/utils@0.34.10
0.8.6
Patch Changes
- Updated dependencies [55ad5ea44]
- @graphql-mesh/cross-helpers@0.1.4
- @graphql-mesh/utils@0.34.9
0.8.5
Patch Changes
- Updated dependencies [31efa964e]
- @graphql-mesh/utils@0.34.8
0.8.4
Patch Changes
- Updated dependencies [66b9b3ddc]
- @graphql-mesh/cross-helpers@0.1.3
- @graphql-mesh/utils@0.34.7
0.8.3
Patch Changes
- b9beacca2: Bump cross-undici-fetch for Node 14 compatibility and performance improvements
- Updated dependencies [b9beacca2]
- @graphql-mesh/utils@0.34.6
0.8.2
Patch Changes
- @graphql-mesh/utils@0.34.5
0.8.1
Patch Changes
- Updated dependencies [ddbbec8a8]
- @graphql-mesh/utils@0.34.4
0.8.0
Minor Changes
- 2e9addd80: Use platform agnostic json-pointer instead of json-ptr
Patch Changes
- 2e9addd80: Bump cross-undici-fetch for Node 18 compat
- Updated dependencies [2e9addd80]
- @graphql-mesh/utils@0.34.3
0.7.15
Patch Changes
- @graphql-mesh/utils@0.34.2
0.7.14
Patch Changes
- 7856f92d3: Bump all packages
- Updated dependencies [7856f92d3]
- @graphql-mesh/cross-helpers@0.1.2
- @graphql-mesh/utils@0.34.1
0.7.13
Patch Changes
- 331b62637: fix(json-machete): Heal generated schemas
- 331b62637: fix(json-machete): if anyOf/oneOf/allOf is singular, use that single value directly
- Updated dependencies [f963b57ce]
- Updated dependencies [0644f31f2]
- Updated dependencies [331b62637]
- Updated dependencies [331b62637]
- Updated dependencies [331b62637]
- @graphql-mesh/utils@0.34.0
0.7.12
Patch Changes
- Updated dependencies [cf0836a64]
- @graphql-mesh/cross-helpers@0.1.1
- @graphql-mesh/utils@0.33.6
0.7.11
Patch Changes
- @graphql-mesh/utils@0.33.5
0.7.10
Patch Changes
- 35a55e841: Bump GraphQL Tools packages
- Updated dependencies [35a55e841]
- @graphql-mesh/utils@0.33.4
0.7.9
Patch Changes
- @graphql-mesh/utils@0.33.3
0.7.8
Patch Changes
- d64c74b75: fix(json-machete): ignore null values in dereferenceObject
0.7.7
Patch Changes
- 114629e47: fix(json-machete): respect int64 types
- @graphql-mesh/utils@0.33.2
0.7.6
Patch Changes
- 2d5c6c72a: add Git repository link in package.json
- Updated dependencies [2d5c6c72a]
- @graphql-mesh/utils@0.33.1
0.7.5
Patch Changes
- Updated dependencies [d567be7b5]
- @graphql-mesh/utils@0.33.0
0.7.4
Patch Changes
- @graphql-mesh/utils@0.32.2
0.7.3
Patch Changes
- c53203723: fix(json-machete): revert old behavior
0.7.2
Patch Changes
- c6f0314ac: fix(json-machete): use util back
0.7.1
Patch Changes
- @graphql-mesh/utils@0.32.1
0.7.0
Minor Changes
- 67fb11706: enhance: improve cross-platform support
Patch Changes
- Updated dependencies [67fb11706]
- @graphql-mesh/utils@0.32.0
0.6.1
Patch Changes
- Updated dependencies [b2c537c2a]
- @graphql-mesh/utils@0.31.0
0.6.0
Minor Changes
- b45dac0c0: feat(json-machete): add missing format if example is provided
0.5.20
Patch Changes
- @graphql-mesh/utils@0.30.2
0.5.19
Patch Changes
- @graphql-mesh/utils@0.30.1
0.5.18
Patch Changes
- Updated dependencies [01bac6bb5]
- Updated dependencies [01bac6bb5]
- @graphql-mesh/utils@0.30.0
0.5.17
Patch Changes
- Updated dependencies [268db0462]
- @graphql-mesh/utils@0.29.0
0.5.16
Patch Changes
- @graphql-mesh/utils@0.28.5
0.5.15
Patch Changes
- @graphql-mesh/utils@0.28.4
0.5.14
Patch Changes
- @graphql-mesh/utils@0.28.3
0.5.13
Patch Changes
- Updated dependencies [fb876e99c]
- @graphql-mesh/utils@0.28.2
0.5.12
Patch Changes
- @graphql-mesh/utils@0.28.1
0.5.11
Patch Changes
- b481fbc39: enhance: add tslib to dependencies to reduce bundle size
- Updated dependencies [6f07de8fe]
- Updated dependencies [6f07de8fe]
- Updated dependencies [b481fbc39]
- @graphql-mesh/utils@0.28.0
0.5.10
Patch Changes
- Updated dependencies [3f4bb09a9]
- @graphql-mesh/utils@0.27.9
0.5.9
Patch Changes
- @graphql-mesh/utils@0.27.8
0.5.8
Patch Changes
- ca6bb5ff3: fix(json-machete): respect items prop in object type
- Updated dependencies [ca6bb5ff3]
- @graphql-mesh/utils@0.27.7
0.5.7
Patch Changes
- @graphql-mesh/utils@0.27.6
0.5.6
Patch Changes
- Updated dependencies [1815865c3]
- @graphql-mesh/utils@0.27.5
0.5.5
Patch Changes
- @graphql-mesh/utils@0.27.4
0.5.4
Patch Changes
- @graphql-mesh/utils@0.27.3
0.5.3
Patch Changes
- Updated dependencies [c71b29004]
- @graphql-mesh/utils@0.27.2
0.5.2
Patch Changes
- Updated dependencies [fcbd12a35]
- @graphql-mesh/utils@0.27.1
0.5.1
Patch Changes
- 1c8827604: fix(openapi): respect definition name
0.5.0
Minor Changes
- 49e9ca808: feat(json-machete): trim descriptions
0.4.3
Patch Changes
- Updated dependencies [900a01355]
- @graphql-mesh/utils@0.27.0
0.4.2
Patch Changes
- @graphql-mesh/utils@0.26.4
0.4.1
Patch Changes
- @graphql-mesh/utils@0.26.3
0.4.0
Minor Changes
- 020431bdc: enhance(json-machete): do not look for annotated schemas
Patch Changes
- @graphql-mesh/utils@0.26.2
0.3.7
Patch Changes
- Updated dependencies [113091148]
- @graphql-mesh/utils@0.26.1
0.3.6
Patch Changes
- 92d687133: fix(json-machete): respect reference titles while dereferencing
0.3.5
Patch Changes
- 8e52fd06a: fix: handle references correctly
- Updated dependencies [56e2257fa]
- Updated dependencies [56e2257fa]
- @graphql-mesh/utils@0.26.0
0.3.4
Patch Changes
- Updated dependencies [2b876f2b8]
- @graphql-mesh/utils@0.25.0
0.3.3
Patch Changes
- d907351c5: fix(json-machete): respect object.items pattern
- d907351c5: new OpenAPI Handler
- Updated dependencies [d907351c5]
- @graphql-mesh/utils@0.24.2
0.3.2
Patch Changes
- Updated dependencies [26d685f2a]
- @graphql-mesh/utils@0.24.1
0.3.1
Patch Changes
- Updated dependencies [cfca98d34]
- @graphql-mesh/utils@0.24.0
0.3.0
Minor Changes
- 5666484d6: update cross-undici-fetch
Patch Changes
- Updated dependencies [5666484d6]
- @graphql-mesh/utils@0.23.0
0.2.1
Patch Changes
- Updated dependencies [6c216c309]
- @graphql-mesh/utils@0.22.2
0.2.0
Minor Changes
- e8cc53f11: feat(json-schema): support schemaHeaders for sample and schemas
Patch Changes
- Updated dependencies [c22eb1b5e]
- @graphql-mesh/utils@0.22.1
0.1.0
Minor Changes
- f40b0d42c: Refactor JSON Schema handler code
- f40b0d42c: enhance(json-schema): better auto naming
Patch Changes
- 1cc0acb9a: fix: normalize imported modules
- Updated dependencies [ec0d1d639]
- Updated dependencies [1cc0acb9a]
- @graphql-mesh/utils@0.22.0
0.0.27
Patch Changes
- 3bded2bad: fix(json-machete): stringify circular objects correctly to compare for deduplicating schema
0.0.26
Patch Changes
- 8de12b4d8: fix(json-machete): dereference imported json files correctly
0.0.25
Patch Changes
- 27c26392d: bump versions
- @graphql-mesh/utils@0.21.1
0.0.24
Patch Changes
- Updated dependencies [875d0e48d]
- @graphql-mesh/utils@0.21.0
0.0.23
Patch Changes
- @graphql-mesh/utils@0.20.1
0.0.22
Patch Changes
- Updated dependencies [09f81dd74]
- Updated dependencies [09f81dd74]
- @graphql-mesh/utils@0.20.0
0.0.21
Patch Changes
- Updated dependencies [0dc08e5cc]
- @graphql-mesh/utils@0.19.0
0.0.20
Patch Changes
- ac95631ea: fix(compareJSONSchemas): check nullability with ”== null”
0.0.19
Patch Changes
- @graphql-mesh/utils@0.18.1
0.0.18
Patch Changes
- Updated dependencies [4ec7a14ba]
- Updated dependencies [811960cdc]
- @graphql-mesh/utils@0.18.0
0.0.17
Patch Changes
- @graphql-mesh/utils@0.17.2
0.0.16
Patch Changes
- @graphql-mesh/utils@0.17.1
0.0.15
Patch Changes
- Updated dependencies [7bd145769]
- @graphql-mesh/utils@0.17.0
0.0.14
Patch Changes
- Updated dependencies [472c5887b]
- @graphql-mesh/utils@0.16.3
0.0.13
Patch Changes
- @graphql-mesh/utils@0.16.2
0.0.12
Patch Changes
- Updated dependencies [46a4f7b73]
- Updated dependencies [aa804d043]
- @graphql-mesh/utils@0.16.1
0.0.11
Patch Changes
- Updated dependencies [9eff8a396]
- @graphql-mesh/utils@0.16.0
0.0.10
Patch Changes
- Updated dependencies [f4f30741d]
- @graphql-mesh/utils@0.15.0
0.0.9
Patch Changes
- Updated dependencies [4545fe72d]
- Updated dependencies [d189b4034]
- @graphql-mesh/utils@0.14.0
0.0.8
Patch Changes
- Updated dependencies [fc51c574d]
- @graphql-mesh/utils@0.13.7
0.0.7
Patch Changes
- @graphql-mesh/utils@0.13.6
0.0.6
Patch Changes
- Updated dependencies [7080a2f1d]
- @graphql-mesh/utils@0.13.5
0.0.5
Patch Changes
- Updated dependencies [0c97b4b75]
- @graphql-mesh/utils@0.13.4
0.0.4
Patch Changes
- @graphql-mesh/utils@0.13.3
0.0.3
Patch Changes
- Updated dependencies [49c8ceb38]
- @graphql-mesh/utils@0.13.2
0.0.2
Patch Changes
- @graphql-mesh/utils@0.13.1
0.0.1
Patch Changes
- d55f30c89: NEW LIBRARY
- Updated dependencies [885ea439a]
- Updated dependencies [d8051f87d]
- @graphql-mesh/utils@0.13.0