@graphql-codegen/cli@6.0.0
Major Changes
-
#10218
140298a
Thanks @eddeee888! - Drop @graphql-tools/prisma-loader -
#10218
140298a
Thanks @eddeee888! - AddallowPartialOutputs
flag to partially write successful generation to files -
#10218
140298a
Thanks @eddeee888! - Migrate inquirer to @inquirer/prompts -
#10218
140298a
Thanks @eddeee888! - Bump dependencies major versions:- cosmiconfig v9
- debounce v2
- jiti v2.3
-
#10218
140298a
Thanks @eddeee888! - Bump listr2 to v9 -
#10218
140298a
Thanks @eddeee888! - Drop Node 18 support
Patch Changes
- Updated dependencies [
140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
]:- @graphql-codegen/plugin-helpers@6.0.0
- @graphql-codegen/client-preset@5.0.0
- @graphql-codegen/core@5.0.0
@graphql-codegen/core@5.0.0
Major Changes
- #10218
140298a
Thanks @eddeee888! - Drop Node 18 support
Patch Changes
- Updated dependencies [
140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
]:- @graphql-codegen/plugin-helpers@6.0.0
@graphql-codegen/add@6.0.0
Major Changes
- #10218
140298a
Thanks @eddeee888! - Drop Node 18 support
Patch Changes
- Updated dependencies [
140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
]:- @graphql-codegen/plugin-helpers@6.0.0
@graphql-codegen/fragment-matcher@6.0.0
Major Changes
- #10218
140298a
Thanks @eddeee888! - Drop Node 18 support
Patch Changes
- Updated dependencies [
140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
]:- @graphql-codegen/plugin-helpers@6.0.0
@graphql-codegen/introspection@5.0.0
Major Changes
- #10218
140298a
Thanks @eddeee888! - Drop Node 18 support
Patch Changes
- Updated dependencies [
140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
]:- @graphql-codegen/visitor-plugin-common@6.0.0
- @graphql-codegen/plugin-helpers@6.0.0
@graphql-codegen/schema-ast@5.0.0
Major Changes
- #10218
140298a
Thanks @eddeee888! - Drop Node 18 support
Patch Changes
- Updated dependencies [
140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
]:- @graphql-codegen/plugin-helpers@6.0.0
@graphql-codegen/time@6.0.0
Major Changes
- #10218
140298a
Thanks @eddeee888! - Drop Node 18 support
Patch Changes
- Updated dependencies [
140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
]:- @graphql-codegen/plugin-helpers@6.0.0
@graphql-codegen/visitor-plugin-common@6.0.0
Major Changes
-
#10218
140298a
Thanks @eddeee888! - BREAKING CHANGES: Do not generate __isTypeOf for non-implementing types or non-union members -
#10218
140298a
Thanks @eddeee888! - Remove deprecated config optiondedupeFragments
-
#10218
140298a
Thanks @eddeee888! - Remove NameNode override -
#10218
140298a
Thanks @eddeee888! - BREAKING CHANGE: Use Record<PropertyKey, never> instead of {} for empty object type -
#10218
140298a
Thanks @eddeee888! - Ensure Federation Interfaces have__resolveReference
if they are resolvable entitiesBREAKING CHANGES: Deprecate
onlyResolveTypeForInterfaces
because majority of use cases cannot implement resolvers in Interfaces.
BREAKING CHANGES: DeprecategenerateInternalResolversIfNeeded.__resolveReference
because types do not have__resolveReference
if they are not Federation entities or are not resolvable. Users should not have to manually set this option. This option was put in to wait for this major version. -
#10218
140298a
Thanks @eddeee888! - BREAKING CHANGE: Improve Federation Entity's resolvers' parent param type: These types were using reference types inline. This makes it hard to handle mappers. The Parent type now all comes from ParentResolverTypes to make handling mappers and parent types simpler. -
#10218
140298a
Thanks @eddeee888! - Bump dependencies major versions:- dependency-graph to v1
-
#10218
140298a
Thanks @eddeee888! - Fixmappers
usage with Federationmappers
was previously used as__resolveReference
's first param (usually called "reference"). However, this is incorrect becausereference
interface comes directly from@key
and@requires
directives. This patch fixes the issue by creating a newFederationTypes
type and use it as the base for federation entity types when being used to type entity references.BREAKING CHANGES: No longer generate
UnwrappedObject
utility type, as this was used to support the wrong previously generated type. -
#10218
140298a
Thanks @eddeee888! - Drop Node 18 support
Minor Changes
- #10218
140298a
Thanks @eddeee888! - Report to meta user defined objects whether they have isTypeOf resolver
Patch Changes
-
#10218
140298a
Thanks @eddeee888! - Update @requires type -
#10218
140298a
Thanks @eddeee888! - Fix fields or object types marked with @external being wrongly generated -
Updated dependencies [
140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
]:- @graphql-codegen/plugin-helpers@6.0.0
@graphql-codegen/typescript-document-nodes@5.0.0
Major Changes
- #10218
140298a
Thanks @eddeee888! - Drop Node 18 support
Patch Changes
- Updated dependencies [
140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
]:- @graphql-codegen/visitor-plugin-common@6.0.0
- @graphql-codegen/plugin-helpers@6.0.0
@graphql-codegen/gql-tag-operations@5.0.0
Major Changes
- #10218
140298a
Thanks @eddeee888! - Drop Node 18 support
Patch Changes
- Updated dependencies [
140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
]:- @graphql-codegen/visitor-plugin-common@6.0.0
- @graphql-codegen/plugin-helpers@6.0.0
@graphql-codegen/typescript-operations@5.0.0
Major Changes
-
#10218
140298a
Thanks @eddeee888! - BREAKING CHANGE: Use Record<PropertyKey, never> instead of {} for empty object type -
#10218
140298a
Thanks @eddeee888! - Drop Node 18 support
Patch Changes
- Updated dependencies [
140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
]:- @graphql-codegen/visitor-plugin-common@6.0.0
- @graphql-codegen/plugin-helpers@6.0.0
- @graphql-codegen/typescript@5.0.0
@graphql-codegen/typescript-resolvers@5.0.0
Major Changes
-
#10218
140298a
Thanks @eddeee888! - BREAKING CHANGES: Do not generate __isTypeOf for non-implementing types or non-union members -
#10218
140298a
Thanks @eddeee888! - BREAKING CHANGE: Use Record<PropertyKey, never> instead of {} for empty object type -
#10218
140298a
Thanks @eddeee888! - Ensure Federation Interfaces have__resolveReference
if they are resolvable entitiesBREAKING CHANGES: Deprecate
onlyResolveTypeForInterfaces
because majority of use cases cannot implement resolvers in Interfaces.
BREAKING CHANGES: DeprecategenerateInternalResolversIfNeeded.__resolveReference
because types do not have__resolveReference
if they are not Federation entities or are not resolvable. Users should not have to manually set this option. This option was put in to wait for this major version. -
#10218
140298a
Thanks @eddeee888! - BREAKING CHANGE: Improve Federation Entity's resolvers' parent param type: These types were using reference types inline. This makes it hard to handle mappers. The Parent type now all comes from ParentResolverTypes to make handling mappers and parent types simpler. -
#10218
140298a
Thanks @eddeee888! - Fixmappers
usage with Federationmappers
was previously used as__resolveReference
's first param (usually called "reference"). However, this is incorrect becausereference
interface comes directly from@key
and@requires
directives. This patch fixes the issue by creating a newFederationTypes
type and use it as the base for federation entity types when being used to type entity references.BREAKING CHANGES: No longer generate
UnwrappedObject
utility type, as this was used to support the wrong previously generated type. -
#10218
140298a
Thanks @eddeee888! - Drop Node 18 support
Minor Changes
- #10218
140298a
Thanks @eddeee888! - Report to meta user defined objects whether they have isTypeOf resolver
Patch Changes
-
#10218
140298a
Thanks @eddeee888! - Update @requires type -
#10218
140298a
Thanks @eddeee888! - Fix fields or object types marked with @external being wrongly generated -
Updated dependencies [
140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
]:- @graphql-codegen/visitor-plugin-common@6.0.0
- @graphql-codegen/plugin-helpers@6.0.0
- @graphql-codegen/typescript@5.0.0
@graphql-codegen/typed-document-node@6.0.0
Major Changes
- #10218
140298a
Thanks @eddeee888! - Drop Node 18 support
Patch Changes
- Updated dependencies [
140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
]:- @graphql-codegen/visitor-plugin-common@6.0.0
- @graphql-codegen/plugin-helpers@6.0.0
@graphql-codegen/typescript@5.0.0
Major Changes
-
#10218
140298a
Thanks @eddeee888! - Remove NameNode override -
#10218
140298a
Thanks @eddeee888! - Drop Node 18 support
Patch Changes
- Updated dependencies [
140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
]:- @graphql-codegen/visitor-plugin-common@6.0.0
- @graphql-codegen/plugin-helpers@6.0.0
- @graphql-codegen/schema-ast@5.0.0
@graphql-codegen/client-preset@5.0.0
Major Changes
-
#10218
140298a
Thanks @eddeee888! - BREAKING CHANGE: Use Record<PropertyKey, never> instead of {} for empty object type -
#10218
140298a
Thanks @eddeee888! - Stop passing through the deprecated config optiondedupeFragments
-
#10218
140298a
Thanks @eddeee888! - Drop Node 18 support
Patch Changes
- Updated dependencies [
140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
]:- @graphql-codegen/visitor-plugin-common@6.0.0
- @graphql-codegen/plugin-helpers@6.0.0
- @graphql-codegen/typescript@5.0.0
- @graphql-codegen/typescript-operations@5.0.0
- @graphql-codegen/add@6.0.0
- @graphql-codegen/gql-tag-operations@5.0.0
- @graphql-codegen/typed-document-node@6.0.0
@graphql-codegen/graphql-modules-preset@5.0.0
Major Changes
- #10218
140298a
Thanks @eddeee888! - Drop Node 18 support
Patch Changes
- Updated dependencies [
140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
]:- @graphql-codegen/visitor-plugin-common@6.0.0
- @graphql-codegen/plugin-helpers@6.0.0
@graphql-codegen/testing@4.0.0
Major Changes
-
#10218
140298a
Thanks @eddeee888! - Bump depdendencies major versions:- nock v14
-
#10218
140298a
Thanks @eddeee888! - Drop Node 18 support
Patch Changes
- Updated dependencies [
140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
,140298a
]:- @graphql-codegen/plugin-helpers@6.0.0
@graphql-codegen/plugin-helpers@6.0.0
Major Changes
-
#10218
140298a
Thanks @eddeee888! - BREAKING CHANGES: Do not generate __isTypeOf for non-implementing types or non-union members -
#10218
140298a
Thanks @eddeee888! - Remove deprecated optionwatchConfig
-
#10218
140298a
Thanks @eddeee888! - Ensure Federation Interfaces have__resolveReference
if they are resolvable entitiesBREAKING CHANGES: Deprecate
onlyResolveTypeForInterfaces
because majority of use cases cannot implement resolvers in Interfaces.
BREAKING CHANGES: DeprecategenerateInternalResolversIfNeeded.__resolveReference
because types do not have__resolveReference
if they are not Federation entities or are not resolvable. Users should not have to manually set this option. This option was put in to wait for this major version. -
#10218
140298a
Thanks @eddeee888! - BREAKING CHANGE: Improve Federation Entity's resolvers' parent param type: These types were using reference types inline. This makes it hard to handle mappers. The Parent type now all comes from ParentResolverTypes to make handling mappers and parent types simpler. -
#10218
140298a
Thanks @eddeee888! - Fixmappers
usage with Federationmappers
was previously used as__resolveReference
's first param (usually called "reference"). However, this is incorrect becausereference
interface comes directly from@key
and@requires
directives. This patch fixes the issue by creating a newFederationTypes
type and use it as the base for federation entity types when being used to type entity references.BREAKING CHANGES: No longer generate
UnwrappedObject
utility type, as this was used to support the wrong previously generated type. -
#10218
140298a
Thanks @eddeee888! - Drop Node 18 support
Minor Changes
- #10218
140298a
Thanks @eddeee888! - AddallowPartialOutputs
flag to partially write successful generation to files
Patch Changes
-
#10218
140298a
Thanks @eddeee888! - Update @requires type -
#10218
140298a
Thanks @eddeee888! - Fix fields or object types marked with @external being wrongly generated