A reference implementation of GraphQL for JavaScript
This release contains a new response format for operations containing the experimental @defer & @stream directives. This new response format addresses issues around data duplication, response amplification, and data consistency that affected the previous response format. See https://github.com/graphql/defer-stream-wg/discussions/69 for more information.
execute
should throw if defer/stream directives are present (@yaacovCR)id
and subPath
rather than path
and label
(@yaacovCR)@oneOf
directive (@erikkessler1)git().revList
(@IvanGoncharov)@oneOf
directive (@spawnia)logical-assignment-operators
rule (@IvanGoncharov)replaceAll
instead of RegExp with global flag (@IvanGoncharov)Array.at
(@IvanGoncharov)--rulesdir
option for internal rules. (@IvanGoncharov):loudspeaker: Big shout out to @phryneas, who managed to reproduce this issue and come up with this fix.
process.env
(@IvanGoncharov)GraphQLNonNull<GraphQLType>
codepoints to GraphQLNonNull<GraphQLNullableType>
(@yaacovCR)isNonNullType
(@yaacovCR)buildPerEventExecutionContext
(@yaacovCR)GraphQL*Type
TS types to be more DRY (@yaacovCR)subscribeWithBadFn
function (@yaacovCR)subscribe
code to execute
file (@yaacovCR)exeContext
strategically (@yaacovCR)ObjMap<boolean>
with ES6 Set (@IvanGoncharov).values()
and .entries()
calls (@IvanGoncharov)expectPromise
and expectEqualPromisesOrValues
(@yaacovCR)writeFileSync
(@IvanGoncharov)localRepoPath
utility function (@IvanGoncharov)cspell.yml
(@IvanGoncharov)fetch
instead of http.request
(@IvanGoncharov)mkdirSync
into writeGeneratedFile
(@IvanGoncharov)getOperationRootType
(@IvanGoncharov)assertValidName
& isValidNameError
(@IvanGoncharov)TypeInfo
argument of validate
function (@IvanGoncharov)getFieldDefFn
argument of TypeInfo
constructor (@IvanGoncharov)*Enum
types (@IvanGoncharov)getVisitFn
function (@IvanGoncharov)getFieldDefFn
argument of TypeInfo
const⦠(@IvanGoncharov)TypeInfo
argument of validate
function" (@IvanGoncharov)AccumulatorMap
from groupBy
(@IvanGoncharov)condition
stricter (@IvanGoncharov)assert
instead of invariant
(@IvanGoncharov)stripIgnoredCharacters
tests to fuzzing (@IvanGoncharov)cp
to 'fs.cpSync' in scripts (@IvanGoncharov)tsc
and remove babel
(@IvanGoncharov)benchmark.ts
into resources folder (@IvanGoncharov)require.main
(@IvanGoncharov)