Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update dependency graphql-tools to v9 #366

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 24, 2020

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
graphql-tools (source) 6.2.6 -> 9.0.2 age adoption passing confidence

Release Notes

ardatan/graphql-tools (graphql-tools)

v9.0.2

Compare Source

Patch Changes

v9.0.1

Compare Source

Patch Changes

v9.0.0

Compare Source

Major Changes
Patch Changes

v8.3.20

Compare Source

Patch Changes

v8.3.19

Compare Source

Patch Changes

v8.3.18

Compare Source

Patch Changes

v8.3.17

Compare Source

Patch Changes

v8.3.16

Compare Source

Patch Changes

v8.3.15

Compare Source

Patch Changes

v8.3.14

Compare Source

Patch Changes

v8.3.13

Compare Source

Patch Changes

v8.3.12

Compare Source

Patch Changes

v8.3.11

Compare Source

Patch Changes

v8.3.10

Compare Source

Patch Changes

v8.3.9

Compare Source

Patch Changes

v8.3.8

Compare Source

Patch Changes

v8.3.7

Compare Source

Patch Changes

v8.3.6

Compare Source

Patch Changes

v8.3.5

Compare Source

Patch Changes

v8.3.4

Compare Source

Patch Changes

v8.3.3

Compare Source

Patch Changes

v8.3.2

Compare Source

Patch Changes

v8.3.1

Compare Source

Patch Changes

v8.3.0

Compare Source

Minor Changes
  • d76a299: Support TypeScript module resolution.
Patch Changes

v8.2.13

Compare Source

Patch Changes

v8.2.12

Compare Source

Patch Changes

v8.2.11

Compare Source

Patch Changes

v8.2.10

Compare Source

Patch Changes

v8.2.9

Compare Source

Patch Changes

v8.2.8

Compare Source

Patch Changes

v8.2.7

Compare Source

Patch Changes

v8.2.6

Compare Source

Patch Changes

v8.2.5

Compare Source

Patch Changes

v8.2.4

Compare Source

Patch Changes

v8.2.3

Compare Source

Patch Changes

v8.2.2

Compare Source

Patch Changes

v8.2.1

Compare Source

Patch Changes

v8.2.0

Compare Source

Minor Changes
  • c5b0719: feat: GraphQL v16 support
Patch Changes

v8.1.0

Compare Source

Minor Changes

v8.0.0

Compare Source

Major Changes
  • 7d3e300: BREAKING CHANGE
    • Now it only exports makeExecutableSchema from @graphql-tools/schema
    • Please migrate to scoped packages(@graphql-tools/*) because this npm package will no longer get updated
Patch Changes

v7.0.5

Compare Source

Patch Changes

v7.0.4

Compare Source

Patch Changes
  • Revert mock package to v7 to avoid breaking changes

v7.0.3

Compare Source

Patch Changes

v7.0.2

Compare Source

Patch Changes

v7.0.1

Compare Source

Patch Changes

v7.0.0

Compare Source

Major Changes
  • a925449: - Resolver validation options should now be set to error, warn or ignore rather than true or false. In previous versions, some of the validators caused errors to be thrown, while some issued warnings. This changes brings consistency to validator behavior.

    • The allowResolversNotInSchema has been renamed to requireResolversToMatchSchema, to harmonize the naming convention of all the validators. The default setting of requireResolversToMatchSchema is error, matching the previous behavior.
    • The delegateToSchema return value has matured and been formalized as an ExternalObject, in which all errors are integrated into the GraphQL response, preserving their initial path. Those advanced users accessing the result directly will note the change in error handling. This also allows for the deprecation of unnecessary helper functions including slicedError, getErrors, getErrorsByPathSegment functions. Only external errors with missing or invalid paths must still be preserved by annotating the remote object with special properties. The new getUnpathedErrors function is therefore necessary for retrieving only these errors. Note also the new annotateExternalObject and mergeExternalObjects functions, as well as the renaming of handleResult to resolveExternalValue.

    • Transform types and the applySchemaTransforms are now relocated to the delegate package; applyRequestTransforms/applyResultTransforms functions have been deprecated, however, as this functionality has been replaced since v6 by the Transformer abstraction.

    • The transformRequest/transformResult methods are now provided additional delegationContext and transformationContext arguments -- these were introduced in v6, but previously optional.

    • The transformSchema method may wish to create additional delegating resolvers and so it is now provided the subschemaConfig and final (non-executable) transformedSchema parameters. As in v6, the transformSchema is kicked off once to produce the non-executable version, and then, if a wrapping schema is being generated, proxying resolvers are created with access to the (non-executable) initial result. In v7, the individual transformSchema methods also get access to the result of the first run, if necessary, they can create additional wrapping schema proxying resolvers.

    • applySchemaTransforms parameters have been updated to match and support the transformSchema parameters above.

    • wrapSchema and generateProxyingResolvers now only take a single options argument with named properties of type SubschemaConfig. The previously possible shorthand version with first argument consisting of a GraphQLSchema and second argument representing the transforms should be reworked as a SubschemaConfig object.

    • Similarly, the ICreateProxyingResolverOptions interface that provides the options for the createProxyingResolver property of SubschemaConfig options has been adjusted. The schema property previously could be set to a GraphQLSchema or a SubschemaConfig object. This property has been removed in favor of a subschemaConfig property that will always be a SubschemaConfig object. The transforms property has been removed; transforms should be included within the SubschemaConfig object.`

    • The format of the wrapping schema has solidified. All non-root fields are expected to use identical resolvers, either defaultMergedResolver or a custom equivalent, with root fields doing the hard work of proxying. Support for custom merged resolvers throught createMergedResolver has been deprecated, as custom merging resolvers conflicts when using stitching's type merging, where resolvers are expected to be identical across subschemas.

    • The WrapFields transform's wrappingResolver option has been removed, as this complicates multiple wrapping layers, as well as planned functionality to wrap subscription root fields in potentially multiple layers, as the wrapping resolvers may be different in different layers. Modifying resolvers can still be performed by use of an additional transform such as TransformRootFields or TransformObjectFields.

    • The ExtendSchema transform has been removed, as it is conceptually simpler just to use stitchSchemas with one subschema.

    • The ReplaceFieldsWithFragment, AddFragmentsByField, AddSelectionSetsByField, and AddMergedTypeSelectionSets transforms has been removed, as they are superseded by the AddSelectionSets and VisitSelectionSets transforms. The AddSelectionSets purposely takes parsed SDL rather than strings, to nudge end users to parse these strings at build time (when possible), rather than at runtime. Parsing of selection set strings can be performed using the parseSelectionSet function from @graphql-tools/utils.

    • stitchSchemas's mergeTypes option is now true by default! This causes the onTypeConflict option to be ignored by default. To use onTypeConflict to select a specific type instead of simply merging, simply set mergeTypes to false.

    • schemas argument has been deprecated, use subschemas, typeDefs, or types, depending on what you are stitching.

    • When using batch delegation in type merging, the argsFromKeys function is now set only via the argsFromKeys property. Previously, if argsFromKeys was absent, it could be read from args.

    • Support for fragment hints has been removed in favor of selection set hints.

    • stitchSchemas now processes all GraphQLSchema and SubschemaConfig subschema input into new Subschema objects, handling schema config directives such aso@computed as well as generating the final transformed schema, stored as the transformedSchema property, if transforms are used. Signatures of the onTypeConflict, fieldConfigMerger, and inputFieldConfigMerger have been updated to include metadata related to the original and transformed subschemas. Note the property name change for onTypeConflict from schema to subschema.

    • Mocks returning objects with fields set as functions are now operating according to upstream graphql-js convention, i.e. these functions take three arguments, args, context, and info with parent available as this rather than as the first argument.
    • filterSchema's fieldFilter will now filter all fields across Object, Interface, and Input types. For the previous Object-only behavior, switch to the objectFieldFilter option.
    • Unused fieldNodes utility functions have been removed.
    • Unused typeContainsSelectionSet function has been removed, and typesContainSelectionSet has been moved to the stitch package.
    • Unnecessary Operation type has been removed in favor of OperationTypeNode from upstream graphql-js.
    • As above, applySchemaTransforms/applyRequestTransforms/applyResultTransforms have been removed from the utils package, as they are implemented elsewhere or no longer necessary.
Patch Changes

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch 9 times, most recently from 6a4b05d to 9bec9da Compare October 30, 2020 22:51
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch 4 times, most recently from 58398da to f394fef Compare November 8, 2020 16:01
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch from f394fef to 782c720 Compare November 9, 2020 22:11
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch 6 times, most recently from 0915509 to 3e0e01a Compare November 22, 2020 20:51
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch 3 times, most recently from e46ff72 to aadde31 Compare December 1, 2020 20:18
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch 5 times, most recently from ac1a9cf to 0cd9296 Compare December 10, 2020 23:55
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch 2 times, most recently from a4b4dd2 to 9b93ce0 Compare December 15, 2020 23:32
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch from c3d3bdf to bc66b9f Compare July 27, 2022 21:05
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch 2 times, most recently from 110eb09 to d4fb19a Compare August 10, 2022 18:31
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch from d4fb19a to 890f449 Compare August 27, 2022 01:17
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch 3 times, most recently from 3a24d52 to ef50416 Compare September 9, 2022 20:18
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch from ef50416 to 6590007 Compare October 8, 2022 23:33
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch 5 times, most recently from 7800e9b to db7f604 Compare November 2, 2022 13:06
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch 2 times, most recently from f087c5c to 1f560ef Compare November 14, 2022 14:06
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch 2 times, most recently from bb649be to 73c14b1 Compare December 7, 2022 17:12
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch from 73c14b1 to fcdbce2 Compare January 12, 2023 11:51
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch 2 times, most recently from 97c83fb to 42eb005 Compare February 1, 2023 18:51
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch from 42eb005 to 59afc66 Compare February 6, 2023 16:25
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch from 59afc66 to 90c0c73 Compare March 7, 2023 04:54
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch from 90c0c73 to e95d6da Compare April 13, 2023 16:56
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch from e95d6da to 9b01eb0 Compare April 25, 2023 09:53
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch from 9b01eb0 to 6bd68e1 Compare May 19, 2023 11:36
@renovate renovate bot changed the title fix: Update dependency graphql-tools to v8 fix: Update dependency graphql-tools to v9 May 19, 2023
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch from 6bd68e1 to d3e70dd Compare February 23, 2024 18:35
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch from d3e70dd to 54c17f7 Compare September 21, 2024 09:58
@renovate renovate bot force-pushed the renovate/major-graphql-tools-monorepo branch from 54c17f7 to df9e72e Compare October 15, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants