aerogear / keycloak-connect-graphql

Add Keyloak Authentication and Authorization to your GraphQL server.
Apache License 2.0
157 stars 23 forks source link

fix(deps): update dependency @graphql-tools/utils to v7 #111

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 4 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@graphql-tools/utils 6.0.18 -> 7.2.1 age adoption passing confidence

Release Notes

ardatan/graphql-tools ### [`v7.2.1`](https://togithub.com/ardatan/graphql-tools/releases/@​graphql-tools/utils@7.2.1) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/@graphql-tools/utils@7.2.0...@graphql-tools/utils@7.2.1) ##### Patch Changes - [`270046a`](https://togithub.com/ardatan/graphql-tools/commit/270046a1): fix(TransformInputObjectFields): transform variables [#​2353](https://togithub.com/ardatan/graphql-tools/issues/2353) ### [`v7.2.0`](https://togithub.com/ardatan/graphql-tools/releases/@​graphql-tools/utils@7.2.0) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/@graphql-tools/utils@7.1.6...@graphql-tools/utils@7.2.0) ##### Minor Changes - [`c3996f6`](https://togithub.com/ardatan/graphql-tools/commit/c3996f60): enhance(utils): support code-first schemas by allowing directives to be read from extensions ##### Patch Changes - [`c3996f6`](https://togithub.com/ardatan/graphql-tools/commit/c3996f60): fix(stitchingDirectives): complete support for code first schemas - [`c3996f6`](https://togithub.com/ardatan/graphql-tools/commit/c3996f60): fix(printSchemaWithDirectives): should work for code-first schemas as well - [`c3996f6`](https://togithub.com/ardatan/graphql-tools/commit/c3996f60): enhance(utils) filter root field arguments with filterSchema ### [`v7.1.6`](https://togithub.com/ardatan/graphql-tools/releases/@​graphql-tools/utils@7.1.6) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/@graphql-tools/utils@7.1.5...@graphql-tools/utils@7.1.6) ##### Patch Changes - [`cd5da45`](https://togithub.com/ardatan/graphql-tools/commit/cd5da458): fix(utils): fix crashs when return null while visitSchema ### [`v7.1.5`](https://togithub.com/ardatan/graphql-tools/releases/@​graphql-tools/utils@7.1.5) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/@graphql-tools/utils@7.1.4...@graphql-tools/utils@7.1.5) ##### Patch Changes - [`298cd39`](https://togithub.com/ardatan/graphql-tools/commit/298cd39e): fix(url-loader): do not fail multipart request when null variable given ### [`v7.1.4`](https://togithub.com/ardatan/graphql-tools/releases/@​graphql-tools/utils@7.1.4) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/@graphql-tools/utils@7.1.3...@graphql-tools/utils@7.1.4) ##### Patch Changes - [`4240a95`](https://togithub.com/ardatan/graphql-tools/commit/4240a959): fix(utils): fix Observable signature for observableToAsyncIterator ### [`v7.1.3`](https://togithub.com/ardatan/graphql-tools/releases/@​graphql-tools/utils@7.1.3) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/@graphql-tools/utils@7.1.2...@graphql-tools/utils@7.1.3) ##### Patch Changes - [`6165c82`](https://togithub.com/ardatan/graphql-tools/commit/6165c827): Trow on SDL syntax errors ### [`v7.1.2`](https://togithub.com/ardatan/graphql-tools/releases/@​graphql-tools/schema@7.1.2) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/@graphql-tools/utils@7.1.0...@graphql-tools/utils@7.1.2) ##### Patch Changes - [`21da690`](https://togithub.com/ardatan/graphql-tools/commit/21da6904): fix release - Updated dependencies [21da6904] - [@​graphql-tools/utils](https://togithub.com/graphql-tools/utils)[@​7](https://togithub.com/7).1.2 ### [`v7.1.0`](https://togithub.com/ardatan/graphql-tools/releases/@​graphql-tools/schema@7.1.0) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/@graphql-tools/utils@7.0.2...@graphql-tools/utils@7.1.0) ##### Minor Changes - [`4f5a4ef`](https://togithub.com/ardatan/graphql-tools/commit/4f5a4efe): enhance(schema): add some options to improve schema creation performance ##### Patch Changes - [`65ed780`](https://togithub.com/ardatan/graphql-tools/commit/65ed780a): enhance(schema): do not visit resolvers if no validation is selected - [`b79e3a6`](https://togithub.com/ardatan/graphql-tools/commit/b79e3a6b): enhance(schema): do not visit abstract types if requireResolversForResolveType not present - Updated dependencies [4f5a4efe] - [@​graphql-tools/utils](https://togithub.com/graphql-tools/utils)[@​7](https://togithub.com/7).1.0 ### [`v7.0.2`](https://togithub.com/ardatan/graphql-tools/releases/graphql-tools@7.0.2) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/@graphql-tools/utils@7.0.1...@graphql-tools/utils@7.0.2) ##### Patch Changes - [`fb14cd2`](https://togithub.com/ardatan/graphql-tools/commit/fb14cd28): Added export from new optimize package - Updated dependencies [fb14cd28] - [@​graphql-tools/optimize](https://togithub.com/graphql-tools/optimize)[@​1](https://togithub.com/1).0.1 ### [`v7.0.1`](https://togithub.com/ardatan/graphql-tools/releases/graphql-tools@7.0.1) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/@graphql-tools/utils@7.0.0...@graphql-tools/utils@7.0.1) ##### Patch Changes - Updated dependencies [294dedda] - Updated dependencies [294dedda] - Updated dependencies [2b6c813e] - Updated dependencies [8133a907] - Updated dependencies [2b6c813e] - [@​graphql-tools/delegate](https://togithub.com/graphql-tools/delegate)[@​7](https://togithub.com/7).0.1 - [@​graphql-tools/url-loader](https://togithub.com/graphql-tools/url-loader)[@​6](https://togithub.com/6).3.2 - [@​graphql-tools/links](https://togithub.com/graphql-tools/links)[@​7](https://togithub.com/7).0.0 - [@​graphql-tools/utils](https://togithub.com/graphql-tools/utils)[@​7](https://togithub.com/7).0.1 ### [`v7.0.0`](https://togithub.com/ardatan/graphql-tools/releases/graphql-tools@7.0.0) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/@graphql-tools/utils@6.2.4...@graphql-tools/utils@7.0.0) ##### Major Changes - [`a925449`](https://togithub.com/ardatan/graphql-tools/commit/a9254491): - 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-executabel) 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 - Updated dependencies [a9254491] - [@​graphql-tools/batch-delegate](https://togithub.com/graphql-tools/batch-delegate)[@​7](https://togithub.com/7).0.0 - [@​graphql-tools/stitch](https://togithub.com/graphql-tools/stitch)[@​7](https://togithub.com/7).0.1 ### [`v6.2.4`](https://togithub.com/ardatan/graphql-tools/releases/graphql-tools@6.2.4) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v6.2.3...@graphql-tools/utils@6.2.4) ##### Patch Changes - [`533d6d5`](https://togithub.com/ardatan/graphql-tools/commit/533d6d53): Bump all packages to allow adjustments - Updated dependencies [32c3c4f8] - Updated dependencies [32c3c4f8] - Updated dependencies [32c3c4f8] - Updated dependencies [32c3c4f8] - Updated dependencies [32c3c4f8] - Updated dependencies [533d6d53] - [@​graphql-tools/stitch](https://togithub.com/graphql-tools/stitch)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/wrap](https://togithub.com/graphql-tools/wrap)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/import](https://togithub.com/graphql-tools/import)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/merge](https://togithub.com/graphql-tools/merge)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/utils](https://togithub.com/graphql-tools/utils)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/delegate](https://togithub.com/graphql-tools/delegate)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/batch-delegate](https://togithub.com/graphql-tools/batch-delegate)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/graphql-tag-pluck](https://togithub.com/graphql-tools/graphql-tag-pluck)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/links](https://togithub.com/graphql-tools/links)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/load](https://togithub.com/graphql-tools/load)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/code-file-loader](https://togithub.com/graphql-tools/code-file-loader)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/git-loader](https://togithub.com/graphql-tools/git-loader)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/github-loader](https://togithub.com/graphql-tools/github-loader)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/graphql-file-loader](https://togithub.com/graphql-tools/graphql-file-loader)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/json-file-loader](https://togithub.com/graphql-tools/json-file-loader)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/module-loader](https://togithub.com/graphql-tools/module-loader)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/url-loader](https://togithub.com/graphql-tools/url-loader)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/mock](https://togithub.com/graphql-tools/mock)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/relay-operation-optimizer](https://togithub.com/graphql-tools/relay-operation-optimizer)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/resolvers-composition](https://togithub.com/graphql-tools/resolvers-composition)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/schema](https://togithub.com/graphql-tools/schema)[@​6](https://togithub.com/6).2.4 - [@​graphql-tools/load-files](https://togithub.com/graphql-tools/load-files)[@​6](https://togithub.com/6).2.4 ### [`v6.2.3`](https://togithub.com/ardatan/graphql-tools/releases/v6.2.3) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v6.2.2...v6.2.3) > Come talk to us directly on our [Discord channel](http://bit.ly/guild-chat) > Contact us here: [the-guild.dev](https://the-guild.dev/) > > #### What’s Changed - Update dependencies ##### 🚀 Features - Introduce computed fields [@​gmac](https://togithub.com/gmac) ([#​1989](https://togithub.com/ardatan/graphql-tools/issues/1989)) ### [`v6.2.2`](https://togithub.com/ardatan/graphql-tools/releases/v6.2.2) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v6.2.1...v6.2.2) > Come talk to us directly on our [Discord channel](http://bit.ly/guild-chat) > Contact us here: [the-guild.dev](https://the-guild.dev/) > > #### What’s Changed > > #### 🧰 Enhancements - enhance(stitch) Test merge conflicts [@​gmac](https://togithub.com/gmac) ([#​2006](https://togithub.com/ardatan/graphql-tools/issues/2006)) ##### 🐛 Bug Fixes - Handle recursive input types when pruning schemas [@​mdlavin](https://togithub.com/mdlavin) ([#​2023](https://togithub.com/ardatan/graphql-tools/issues/2023)) - Increase maxBuffer to 1MB [@​standy](https://togithub.com/standy) ([#​2018](https://togithub.com/ardatan/graphql-tools/issues/2018)) ### [`v6.2.1`](https://togithub.com/ardatan/graphql-tools/releases/v6.2.1) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v6.2.0...v6.2.1) > Come talk to us directly on our [Discord channel](http://bit.ly/guild-chat) > Contact us here: [the-guild.dev](https://the-guild.dev/) > > #### What’s Changed > > #### 🧰 Enhancements - enhance(stitch): simplify subschema sets [@​yaacovCR](https://togithub.com/yaacovCR) ([#​2001](https://togithub.com/ardatan/graphql-tools/issues/2001)) - enhance(stitch): introduce SubschemaSetConfig [@​yaacovCR](https://togithub.com/yaacovCR) ([#​1994](https://togithub.com/ardatan/graphql-tools/issues/1994)) - enhance(stitching): improve query batching [@​yaacovCR](https://togithub.com/yaacovCR) ([#​1987](https://togithub.com/ardatan/graphql-tools/issues/1987)) - enhance(typeMerging): add options [@​yaacovCR](https://togithub.com/yaacovCR) ([#​1982](https://togithub.com/ardatan/graphql-tools/issues/1982)) ##### 🐛 Bug Fixes - fix(url-loader): should preserve ws and http in the middle of a pointer [@​kamilkisiela](https://togithub.com/kamilkisiela) ([#​1991](https://togithub.com/ardatan/graphql-tools/issues/1991)) - fix(stitch) fix abstract type merge failure [@​gmac](https://togithub.com/gmac) ([#​1981](https://togithub.com/ardatan/graphql-tools/issues/1981)) - fix(typeMerging): fix scalar type merging [@​yaacovCR](https://togithub.com/yaacovCR) ([#​1980](https://togithub.com/ardatan/graphql-tools/issues/1980)) ### [`v6.2.0`](https://togithub.com/ardatan/graphql-tools/releases/v6.2.0) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v6.1.0...v6.2.0) > Come talk to us directly on our [Discord channel](http://bit.ly/guild-chat) > Contact us here: [the-guild.dev](https://the-guild.dev/) > > #### What’s Changed > > #### 🚀 Features - enable batch execution [@​yaacovCR](https://togithub.com/yaacovCR) ([#​1971](https://togithub.com/ardatan/graphql-tools/issues/1971)) ##### 🐛 Bug Fixes - Support InputObjectTypeDefinition & InputObjectTypeExtension for getFieldsWithDirectives [@​danstarns](https://togithub.com/danstarns) ([#​1934](https://togithub.com/ardatan/graphql-tools/issues/1934)) - fix(mocking): support subscriptions [@​ardatan](https://togithub.com/ardatan) ([#​1952](https://togithub.com/ardatan/graphql-tools/issues/1952)) - fix(typeMerging): field selection sets [@​yaacovCR](https://togithub.com/yaacovCR) ([#​1958](https://togithub.com/ardatan/graphql-tools/issues/1958)) ### [`v6.1.0`](https://togithub.com/ardatan/graphql-tools/releases/v6.1.0) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v6.0.18...v6.1.0) > Come talk to us directly on our [Discord channel](http://bit.ly/guild-chat) > Contact us here: [the-guild.dev](https://the-guild.dev/) > > #### What’s Changed > > #### 🧰 Enhancements - Expand extended interface selections for subservice compatibility [@​gmac](https://togithub.com/gmac) ([#​1912](https://togithub.com/ardatan/graphql-tools/issues/1912)) - streamline imports [@​yaacovCR](https://togithub.com/yaacovCR) ([#​1940](https://togithub.com/ardatan/graphql-tools/issues/1940)) - Transforms for normalizing stitched subschema deprecations [@​gmac](https://togithub.com/gmac) ([#​1925](https://togithub.com/ardatan/graphql-tools/issues/1925)) - refactor(typesContainSelectionSet): memoize [@​yaacovCR](https://togithub.com/yaacovCR) ([#​1921](https://togithub.com/ardatan/graphql-tools/issues/1921)) #### 🐛 Bug Fixes - fix(build-operation-for-field): respect field depth [@​ardatan](https://togithub.com/ardatan) ([#​1953](https://togithub.com/ardatan/graphql-tools/issues/1953)) - fix(typeMerging): fix interface merging [@​yaacovCR](https://togithub.com/yaacovCR) ([#​1917](https://togithub.com/ardatan/graphql-tools/issues/1917))

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.