This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
fix(deps): update dependency @graphql-tools/utils to v9 #130
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.2.3
->9.2.1
Release Notes
ardatan/graphql-tools
v9.2.1
Compare Source
Patch Changes
b5c8f640
Thanks @ardatan! - Do not use a globalWeakMap
formemoize2of4
, and introducememoize2of5
v9.2.0
Compare Source
Minor Changes
a94217e9
Thanks @ardatan! - Support TypedDocumentNode in ExecutionRequestPatch Changes
62d074be
Thanks @mayrn-techdivision! - Fixes introspection query issues when visiting field '__type'v9.1.4
Compare Source
Patch Changes
e3ec35ed
Thanks @gilgardosh! - Bug fix: better handle array field types used for alias field namesv9.1.3
Compare Source
Patch Changes
904fe770
Thanks @ardatan! - Fix leak on Node 14 and add cancellation to async iterables correctlyv9.1.2
Compare Source
Patch Changes
13c24883
Thanks @ardatan! - Fix handling argument values in gateway requestv9.1.1
Compare Source
Patch Changes
7411a5e7
Thanks @charlypoly! - Fix validation swallowing fragments on naming conflictsv9.1.0
Compare Source
Minor Changes
c0639dd0
Thanks @ardatan! - TypeError and all other GraphQLError s from argument value parsing should return 400v9.0.1
Compare Source
Patch Changes
d83b1960
Thanks @ardatan! - Fix @stream supportv9.0.0
Compare Source
Major Changes
#4801
8f6d3efc
Thanks @ardatan! - BREAKING:checkValidationErrors
has been dropped andvalidateGraphQlDocuments
now acceptsDocumentNode[]
instead and it throws the originalGraphQLError
s with the correct stack trace#4796
80836fa7
Thanks @saihaj! - updatecollectFields
to support collecting deffered valuesMinor Changes
#4796
80836fa7
Thanks @saihaj! - add@defer
directive#4796
80836fa7
Thanks @saihaj! - export collect field helpers#4796
80836fa7
Thanks @saihaj! - add@stream
directivev8.13.1
Compare Source
Patch Changes
f7daf777
Thanks @glasser! - Fix build break in v8.13.0 in some ESM environments.v8.13.0
Compare Source
Minor Changes
#4778
df5848b8
Thanks @saihaj! - add isIterableObject, isObjectLike, isPromise, promiseReduce, hasOwnProperty#4778
df5848b8
Thanks @saihaj! - addPath
util fromgraphql/jsutils
Patch Changes
df5848b8
Thanks @saihaj! - improve inpsect utilv8.12.0
Compare Source
Minor Changes
43c736bd
Thanks @ardatan! - Do not throw duplicate type error name while rewiring typesv8.11.0
Compare Source
Minor Changes
403ed450
Thanks @nicolaslt! - Add getArgumentsWithDirectivesPatch Changes
71cb4fae
Thanks @dimatill! - Fix pruneSchema to not remove type that is used only as a directive argument typev8.10.1
Compare Source
Patch Changes
4fe3d9c0
Thanks @thgreasi! - Fix typings for TypeScript 4.8v8.10.0
Compare Source
Minor Changes
2609d71f
Thanks @ardatan! - Revert the breaking change introduced in@graphql-tools/merge
v8.9.1
Compare Source
Patch Changes
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
v8.9.0
Compare Source
Minor Changes
2a3b45e
: Allow&
in filenames.Related to https://github.com/dotansimha/graphql-code-generator/issues/6174
v8.8.0
Compare Source
Minor Changes
d76a299
: Support TypeScript module resolution.Patch Changes
a0abbbc
: fix(visitResult): handle introspection fields correctly with an introspection query resultv8.7.0
Compare Source
Minor Changes
4914970
:mergeSchemas
was skippingdefaultFieldResolver
anddefaultMergedResolver
by default while extracting resolvers for each given schema to reduce the overhead. But this doesn't work properly if you mix wrapped schemas and local schemas. So newincludeDefaultMergedResolver
flag is introduced ingetResolversFromSchema
to put default "proxy" resolvers in the extracted resolver map formergeSchemas
.This fixes an issue with alias issue, so nested aliased fields weren't resolved properly because of the missing
defaultMergedResolver
in the final merged schema which should come from the wrapped schema.v8.6.13
Compare Source
Patch Changes
041c5ba
: Use caret range for the tslib dependencyv8.6.12
Compare Source
Patch Changes
da7ad43
: Fix GraphQL v17 incompatibility issues and introducecreateGraphQLError
helper function for backwards compatibility.v8.6.11
Compare Source
Patch Changes
c0762ee
: Incoming GraphQL v17 compatibility #4468v8.6.10
Compare Source
Patch Changes
0fc510c
: Interface implementations should be included when a return type is an interface.v8.6.9
Compare Source
Patch Changes
31a33e2
: pruneSchema will no longer removed used input object type.v8.6.8
Compare Source
Patch Changes
cb23887
: pruneSchema will now prune unused implementations of interfacesv8.6.7
Compare Source
Patch Changes
0bbb176
: Refine generic typings usingextends X
when appropriateTypescript 4.7 has stricter requirements around generics
which is explained well in the related https://github.com/microsoft/TypeScript/pull/48366ll/48366
These changes resolve the errors that these packages will
face when attempting to upgrade to TS 4.7 (still in beta
at the time of writing this). Landing these changes now
will allow other TS libraries which depend on these
packages to experiment with TS 4.7 in the meantime.
v8.6.6
Compare Source
Patch Changes
904c084
: Support deprecated directive on enum valuesv8.6.5
Compare Source
Patch Changes
be2c02d
: fix(utils): use 3 as inspect recursive depthv8.6.4
Compare Source
Patch Changes
d36d530
: fix(utils): pass the value as-is if it cannot be parsed by the actual typev8.6.3
Compare Source
Patch Changes
3da3d66
: fix - align versionsv8.6.2
Compare Source
Patch Changes
1834136
: feat(visitResult): ignore if field not present in visited objectv8.6.1
Compare Source
Patch Changes
041c5ba
: Use caret range for the tslib dependencyv8.6.0
Compare Source
Minor Changes
69b316c
: feat(utils): more withCancel utilsv8.5.5
Compare Source
Patch Changes
7b5d72c
: enhance(utils): better typing for withCancelv8.5.4
Compare Source
Patch Changes
5131561
: enhance: avoid using globalThisv8.5.3
Compare Source
Patch Changes
960e178
: fix: isAsyncIterable should check if it is an object with iterator factory function947a3fe
: enhance(utils): show error with details in inspect fnv8.5.2
Compare Source
Patch Changes
233e037
: fix(utils): respect new specifiedByURL of GraphQL v16v8.5.1
Compare Source
Patch Changes
4bfb342
: enhance: use ^ for tslib dependencyv8.5.0
Compare Source
Minor Changes
ad04dc7
: enhance: make operationType optionalv8.4.0
Compare Source
Minor Changes
149afdd
: fix: getting ready for GraphQL v16v8.3.0
Compare Source
Minor Changes
58262be
: feat(utils): export createDefaultRulesv8.2.5
Compare Source
Patch Changes
1043219
: fix implicit dependenciesv8.2.4
Compare Source
Patch Changes
014937d
: batch-execute enhancements:v8.2.3
Compare Source
Patch Changes
da157d6
: fix(utils): Avoid processing read-only properties on visitData methodv8.2.2
Compare Source
Patch Changes
d4918a7
: fix(commentDescriptions): handle descriptions and comments correctly during mergev8.2.1
Compare Source
Patch Changes
50609df
: fix(utils): print specifiedBy directive correctlybe6fdb8
: fix(utils): bring back breaking change for fixSchemaAstv8.2.0
Compare Source
Minor Changes
c5b0719
: enhance(utils): copy inspect util from graphql-jsc5b0719
: feat: GraphQL v16 supportc5b0719
: enhance(utils): move memoize functions to utilsc5b0719
: enhance(utils): copy collectFields from graphql-js@16 for backwards compatPatch Changes
c5b0719
: enhance(utils): memoize root types utility functionsv8.1.2
Compare Source
Patch Changes
c8c13ed
: enhance: remove TypeMap and small improvementsv8.1.1
Compare Source
Patch Changes
2c807dd
: enhance(buildOperationNodeForField): mutation response return a field of type Queryv8.1.0
Compare Source
Minor Changes
b968463
: feat(validate-documents): more clear error messages with stack67691b7
: -schemaExtensions
option has been added tomergeSchemas
,makeExecutableSchema
andstitchSchemas
configurationsBreaking Changes;
mergeSchemas
andMergeSchemasConfig
from@graphql-tools/merge
to@graphql-tools/schema
package to prevent circular dependency between them.mergeSchemasAsync
has been removed.NamedDefinitionNode
,resetComments
,collectComment
,pushComment
andprintComment
from@graphql-tools/merge
to@graphql-tools/utils
.Patch Changes
9ede806
: enhance(utils): use inspect from graphql-js instead of node:util #3324v8.0.2
Compare Source
Patch Changes
0483004
: fix(utils): support old TypeScript versionsv8.0.1
Compare Source
Patch Changes
b823dba
: fix(utils): fix AggregateErrorConstructor type issuev8.0.0
Compare Source
Major Changes
af9a78d
: BREAKING CHANGENow each loader handles glob patterns internally and returns an array of
Source
object instead of singleSource
GraphQL Tag Pluck now respects code locations and returns graphql-js
Source
objects for each found code blockThanks to the one above,
CodeFileLoader
now returns differentSource
objects for each found SDL code block.7d3e300
: BREAKING CHANGEfieldToFieldConfig
,argsToFieldConfigArgument
andargumentToArgumentConfig
.toConfig
method instead for each.7d3e300
: BREAKING CHANGEdae6dc7
: refactor: ExecutionParams type replaced by Request typerootValue property is now a part of the Request type.
When delegating with delegateToSchema, rootValue can be set multiple ways:
-- rootValue can be passed to delegateToSchema via a named option
-- rootValue can be included within a subschemaConfig
-- otherwise, rootValue is inferred from the originating schema
When using wrapSchema/stitchSchemas, a subschemaConfig can specify the createProxyingResolver function which can pass whatever rootValue it wants to delegateToSchema as above.
6877b91
: BREAKING CHANGES;mergeDeep
now takes an array of sources instead of set of parameters as input and it takes an additional flag to enable prototype mergingInstead of
mergeDeep(...sources)
=>mergeDeep(sources)
c42e811
: BREAKING CHANGES;Request
toExecutionRequest
operationType: OperationTypeNode
field inExecutionRequest
context
increateRequest
andcreateRequestInfo
instead ofdelegateToSchema
Improvements;
defaultExecutor
for a singleGraphQLSchema
so allowgetBatchingExecutor
to memoizebatchingExecutor
correctly.defaultExecutor
is created forsubscription
and other operation types. Only one executor is used.7d3e300
: BREAKING CHANGEAggregateError
implementation. The major difference is the individual errors are kept undererrors
property instead of the object itself withSymbol.iterator
.8c8d4fc
: BREAKING CHANGE: remove cloneSchema7d3e300
: BREAKING CHANGEdebugLog
but usesconsole.log
directly only ifDEBUG
is available underprocess.env
7d3e300
: BREAKING CHANGEcamelCase
naming convention inbuildOperationNodeForField
74581cf
: fix(getDirectives): preserve order around repeatable directivesBREAKING CHANGE: getDirectives now always return an array of individual DirectiveAnnotation objects consisting of
name
andargs
properties.New useful function
getDirective
returns an array of objects representing any args for each use of a single directive (returning the empty object{}
when a directive is used without arguments).Note: The
getDirective
function returns an array even when the specified directive is non-repeatable. This is because one use of this function is to throw an error if more than one directive annotation is used for a non repeatable directive!When specifying directives in extensions, one can use either the old or new format.
c0ca319
: BREAKING CHANGEExecutor
can receiveAsyncIterable
and subscriptions will also be handled byExecutor
. This is a future-proof change for defer, stream and live queries7d3e300
: BREAKING CHANGESchemaVisitor
,visitSchema
andVisitSchemaKind
mapSchema
insteadMinor Changes
9c26b84
: enhance(loaders): remove optional methods from the Loader interface7d3e300
: feat(utils): Respect operationName and rootValue in ExecutionParamsPatch Changes
982c8f5
: enhance(utils): refactor, cleanup and remove extra workv7.10.0
Compare Source
Minor Changes
e632c5d
: Make executors not generic over context typesPatch Changes
99f092f
: fix(getResolversFromSchema) Fix resolvers for type names starting with a single underscore.v7.9.1
Compare Source
Patch Changes
be23817
: enhance(utils): do not extract default resolversv7.9.0
Compare Source
Minor Changes
20d2c7b
: feat(utils): add withCancelv7.8.1
Compare Source
Patch Changes
dbdb78e
: fix(visitResult): don't throw on encountering __typename in request (#2860)v7.8.0
Compare Source
Minor Changes
03c579b
: enhance(utils): astFromDirective doesn't need schema anymorev7.7.3
Compare Source
Patch Changes
d2a17c7
: enhance(printSchemaWithDirectives): show directives before other definitions #2752v7.7.2
Compare Source
Patch Changes
a4f1ee5
: __ is reserved for introspectionv7.7.1
Compare Source
Patch Changes
194ac37
: fix(utils): add createSchemaDefinition again to fix breaking changev7.7.0
Compare Source
Minor Changes
58fd4b2
: feat(types): add TContext to stitchSchemas and executorPatch Changes
43da6b5
: enhance(merge): reduce number of iterationsv7.6.0
Compare Source
Minor Changes
5b637e2
: Add generic pruning filter optionv7.5.2
Compare Source
Patch Changes
de16fff
: Fix pruneSchema with unimplemented interfacesv7.5.1
Compare Source
Patch Changes
33d1b9e
: Fix pruneSchema with unused interfacesv7.5.0
Minor Changes
219ed39
: enhance(utils): Extract getDocumentNodeFromSchema from printSchemaWithDirectivesPatch Changes
219ed39
: fix(utils): fix missing default value of input object type field219ed39
: fix(utils): print specifiedBy directive definitions correctlyv7.4.0
Minor Changes
8f331aa
: enhance(utils): Extract getDocumentNodeFromSchema from printSchemaWithDirectivesPatch Changes
8f331aa
: fix(utils): fix missing default value of input object type fieldv7.3.0
Compare Source
Minor Changes
6387572
: feat(utils): export astFrom* helper functionsv7.2.6
Compare Source
Patch Changes
e53f97b
: fix(utils): provide { done: true } from iterator when complete is called on observer in observableToAsyncIterablev7.2.5
Compare Source
Patch Changes
4fc05eb
: Fixes the handling of repeatable directives in thegetDirectives
method. Previously repeatable directives were nested and duplicated. They will now return as a flat array map:@​mydir(arg: "first") @​mydir(arg: "second")
translates into:
v7.2.4
Compare Source
Patch Changes
6e50d9f
: enhance(stitching-directives): use keyFieldWhen using simple keys, i.e. when using the keyField argument to
@merge
, the keyField can be added implicitly to the types's key. In most cases, therefore,@key
should not be required at all.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.