Releases: dotansimha/graphql-code-generator
June 05, 2025
@graphql-codegen/[email protected]
Patch Changes
-
#10150
e324382
Thanks @ArminWiebigke! - Allow functions to be passed as valid values forUrlSchemaOptions.customFetch
. This was already possible, but the type definitions did not reflect that correctly. -
#10358
157c823
Thanks @eddeee888! - Remove extraneous error stacktrace if fails to load@parcel/watcher
-
Updated dependencies [
e324382
,98392fc
]:- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
-
#10120
98392fc
Thanks @yangirov! - The@graphql-codegen/client-preset
package now supports theenumValues
option. -
Updated dependencies [
e324382
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- #10150
e324382
Thanks @ArminWiebigke! - Allow functions to be passed as valid values forUrlSchemaOptions.customFetch
. This was already possible, but the type definitions did not reflect that correctly.
May 06, 2025
@graphql-codegen/[email protected]
Patch Changes
-
#10338
5d1c4e1
Thanks @eddeee888! - Fix ignoreNoDocuments=true swallowing all errors -
#10333
10ab58d
Thanks @eddeee888! - Improve syntax error messages whilst loading schema/document -
Updated dependencies [
c5efba3
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- #10330
c5efba3
Thanks @jnoordsij! - Make graphql-sock optional peerDep
@graphql-codegen/[email protected]
Patch Changes
- #10330
c5efba3
Thanks @jnoordsij! - Make graphql-sock optional peerDep
@graphql-codegen/[email protected]
Patch Changes
-
#10330
c5efba3
Thanks @jnoordsij! - Make graphql-sock optional peerDep -
Updated dependencies [
c5efba3
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
March 27, 2025
@graphql-codegen/[email protected]
Minor Changes
- #10315
f6909d1
Thanks @eddeee888! - Implement semanticNonNull custom directive
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
f6909d1
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
f6909d1
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Minor Changes
- #10323
f3cf4df
Thanks @eddeee888! - Add support fornullability.errorHandlingClient
. This allows clients to get stronger types with semantic nullability-enabled schemas.
Patch Changes
- Updated dependencies [
f6909d1
]:- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Minor Changes
- #10315
f6909d1
Thanks @eddeee888! - Implement semanticNonNull custom directive
Patch Changes
- Updated dependencies [
f6909d1
]:- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
f6909d1
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
f6909d1
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Minor Changes
- #10323
f3cf4df
Thanks @eddeee888! - Add support fornullability.errorHandlingClient
. This allows clients to get stronger types with semantic nullability-enabled schemas.
Patch Changes
- Updated dependencies [
f6909d1
,f3cf4df
]:- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
f6909d1
]:- @graphql-codegen/[email protected]
March 07, 2025
@graphql-codegen/[email protected]
Minor Changes
- #10307
bfe3c75
Thanks @mvantellingen! - Update generated code to be compatible with TypeScript 5.8erasableSyntaxOnly
flag
@graphql-codegen/[email protected]
Minor Changes
- #10307
bfe3c75
Thanks @mvantellingen! - Update generated code to be compatible with TypeScript 5.8erasableSyntaxOnly
flag
Patch Changes
- Updated dependencies [
bfe3c75
]:- @graphql-codegen/[email protected]
February 23, 2025
@graphql-codegen/[email protected]
Patch Changes
- #10302
d8566c0
Thanks @eddeee888! - Fix Apollo unmask directive incorrectly generating fragmentRefs
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
d8566c0
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
d8566c0
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
-
#10302
d8566c0
Thanks @eddeee888! - Fix Apollo unmask directive incorrectly generating fragmentRefs -
Updated dependencies [
d8566c0
]:- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
d8566c0
]:- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
d8566c0
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
d8566c0
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
-
#10302
d8566c0
Thanks @eddeee888! - Fix Apollo unmask directive incorrectly generating fragmentRefs -
Updated dependencies [
d8566c0
]:- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
d8566c0
]:- @graphql-codegen/[email protected]
February 19, 2025
@graphql-codegen/[email protected]
Minor Changes
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
6d7c1d7
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
6d7c1d7
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Minor Changes
Patch Changes
- Updated dependencies [
6d7c1d7
]:- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
6d7c1d7
]:- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
6d7c1d7
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
6d7c1d7
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
-
#10298
3efc472
Thanks @dotansimha! - Fix a bug where fragment spreads with@client
directives is not being removed from the generated persisted documents -
Updated dependencies [
6d7c1d7
]:- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
6d7c1d7
]:- @graphql-codegen/[email protected]
February 13, 2025
@graphql-codegen/[email protected]
Patch Changes
- #10282
7d7760d
Thanks @oprypkhantc! - Fix watcher watching project root when schema URL is used
February 08, 2025
@graphql-codegen/[email protected]
Minor Changes
- #10214
81b20f5
Thanks @tgandrews! - Add new flag to make the fragment matcher results deterministic
@graphql-codegen/[email protected]
Patch Changes
January 31, 2025
@graphql-codegen/[email protected]
Patch Changes
- #10192
ec07018
Thanks @brianhuang822! - Have gql-tag-operations generate the type for document registry
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
ec07018
]:- @graphql-codegen/[email protected]
January 28, 2025
@graphql-codegen/[email protected]
Patch Changes
-
#10248
72eb86f
Thanks @renovate! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.10.0
↗︎ (from^0.9.20
, independencies
)
- Updated dependency
-
#10227
6f1741a
Thanks @eddeee888! - Fix schema pointers type to allow an array of pointers -
Updated dependencies [
8737dd8
,ed71811
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
-
#10230
60dd72f
Thanks @eddeee888! - Fix generateInternalResolversIfNeeded.__resolveReference making the resolver required__resolveReference
's default behaviour when not declared is to pass the ref to subsequent resolvers i.e. becoming theparent
. So, it means we don't have to make this resolver required.This patch makes
__resolveReference
optional whengenerateInternalResolversIfNeeded.__resolveReference
is set to true.
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
60dd72f
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
60dd72f
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
60dd72f
]:- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
-
#10230
60dd72f
Thanks @eddeee888! - Fix generateInternalResolversIfNeeded.__resolveReference making the resolver required__resolveReference
's default behaviour when not declared is to pass the ref to subsequent resolvers i.e. becoming theparent
. So, it means we don't have to make this resolver required.This patch makes
__resolveReference
optional whengenerateInternalResolversIfNeeded.__resolveReference
is set to true. -
Updated dependencies [
60dd72f
]:- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
60dd72f
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
60dd72f
]:- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Minor Changes
-
#10268
8737dd8
Thanks @eddeee888! - Forward customDirectives to support Apollo unmask -
#10155
ed71811
Thanks @nebbles! - client-preset generated output is configurable with onlyOperationTypes and onlyEnumTypes
Patch Changes
- Updated dependencies [
60dd72f
]:- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
@graphql-codegen/[email protected]
Patch Changes
- Updated dependencies [
60dd72f
]:- @graphql-codegen/[email protected]